I can't do ndvi for Landsat8 satellite image

2 vues (au cours des 30 derniers jours)
Yavuzhan Çepni
Yavuzhan Çepni le 24 Mai 2020
Commenté : Yavuzhan Çepni le 26 Mai 2020
Good day to everyone. I just started Matlab and I am facing NDVI problem.ndvi = (NIR - R) ./ (NIR + R) I know the code but I can't define R and NIR I will be working on the Landsat8 image. Please help. Thanks in advance.

Réponses (3)

Image Analyst
Image Analyst le 24 Mai 2020
Somehow you need to read in the band images. For example, can you use multibandread()?
  8 commentaires
Image Analyst
Image Analyst le 25 Mai 2020
Maybe the txt file will tell you what band/image is what wavelength. What's in it? Can you attach the txt file? Or else ask the owners of the site.
Yavuzhan Çepni
Yavuzhan Çepni le 26 Mai 2020
Thank you very much, you took your time, but I took care of it. There are already 12 tapes in the folder, all completed one by one. Thank you so much.

Connectez-vous pour commenter.


Yavuzhan Çepni
Yavuzhan Çepni le 25 Mai 2020

Yavuzhan Çepni
Yavuzhan Çepni le 25 Mai 2020
  9 commentaires
Image Analyst
Image Analyst le 25 Mai 2020
You need a dot before the slash:
Ndvi = (NIR - R) ./ (NIR + R);
Yavuzhan Çepni
Yavuzhan Çepni le 25 Mai 2020
yes, but the real problem is I can't identify the R and NIR bands, so I can't do that.I tried it many times but it does not.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Hyperspectral Image Processing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by