필터 지우기
필터 지우기

how do we calculate vegetation using ndvi------can u plz provide me with the code

조회 수: 1 (최근 30일)
BUGATHA VARALAKSHMI
BUGATHA VARALAKSHMI 2016년 12월 25일
댓글: yun li 2021년 3월 11일
ndvi
  댓글 수: 3
sajeela khan
sajeela khan 2018년 1월 27일
can u plz tell me the difference between them LandSat8 RapidEye
Manisha Kumawat
Manisha Kumawat 2018년 7월 28일
Can i apply this code on irs Resoursesat images

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

답변 (2개)

Cyrus
Cyrus 2016년 12월 25일
편집: Cyrus 2016년 12월 25일
if it is landsat8 image:
Formula: NDVI = (NIR -R) / (NIR + R)
File_Path = 'path\'; %%keep the \
File_Name = 'LC80292015263LGN00_B';
Band_Number = '3';
Full_File_Name = strcat(File_Path, File_Name, Band_Number, '.TIF');
[G, ~] = geotiffread(Full_File_Name);
clearvars Band_Number Full_File_Name
Band_Number = '4';
Full_File_Name = strcat(File_Path, File_Name, Band_Number, '.TIF');
[R, ~] = geotiffread(Full_File_Name);
clearvars Band_Number Full_File_Name
Band_Number = '5';
Full_File_Name = strcat(File_Path, File_Name, Band_Number, '.TIF');
[NIR, ~] = geotiffread(Full_File_Name);
clearvars File_Path File_Name Band_Number Full_File_Name
G_heq = histeq(G);
R_heq = histeq(R);
NIR_heq = histeq(NIR);
NIR = double(NIR_heq);
R = double(R_heq);
G = double(G_heq);
NDVI = (NIR -R) ./ (NIR + R);
figure(), imshow(NDVI, []), title('NDVI');
colormap(jet);
colorbar;
impixelinfo

sajeela khan
sajeela khan 2018년 1월 27일
how can we find the NDVI using miltispectral image
  댓글 수: 1
Amit Bhasin
Amit Bhasin 2019년 2월 20일
Hey Cyrus,
Thank for the answer. What if I have images collected (multispecratl images; 5 bands; R,G,B, NIR, Red-edge) from a drone?
Thanks

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

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by