필터 지우기
필터 지우기

temperature and gray level

조회 수: 1 (최근 30일)
monika  SINGH
monika SINGH 2019년 4월 15일
답변: KSSV 2019년 4월 16일
is there any relation between gray level and thermal image?
  댓글 수: 5
monika  SINGH
monika SINGH 2019년 4월 16일
편집: monika SINGH 2019년 4월 16일
do you have any document proving this fact?
Rik
Rik 2019년 4월 16일
No, but it seems common sense to me. If you have a temperature sensor, the value it returns should increase for increasing temperature. (unless the mapping is reversed, which should be in your camera documentation)

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
KSSV 2019년 4월 16일
I hope this demo code might help you:
N = 100 ;
x = rand(N,1) ;
y = rand(N,1) ;
s = rand(N,1) ; % Say intensity
% Assign colors
the_range=range(s); % find range of data
min_val = min(s); % find maximum value of data
max_val = max(s) ; % find minimum value of data
idx = floor(((s-min_val)/the_range)*63)+1;
p = colormap(gray) ;
col = p(idx,:) ;
subplot(121)
scatter(x,y,30,col,'filled')
colorbar
subplot(122)
scatter(x,y,30,s,'filled')
colorbar

카테고리

Help CenterFile Exchange에서 Red에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by