I can't do ndvi for Landsat8 satellite image
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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.
0 commentaires
Réponses (3)
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
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
le 25 Mai 2020
9 commentaires
Image Analyst
le 25 Mai 2020
You need a dot before the slash:
Ndvi = (NIR - R) ./ (NIR + R);
Voir également
Catégories
En savoir plus sur Hyperspectral Image Processing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!