フィルターのクリア

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
  1 件のコメント
yun li
yun li 2021 年 3 月 11 日
Excuse me, how to calculate NDVI for an image with multi-band information?

サインインしてコメントする。


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 Center および File ExchangeBiomedical Imaging についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by