Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new image [ 2 - D NumPy Array ] and fill it with data following this NDVI equation: NDVI = ( NIR RED

Create a new image [2-D NumPy Array] and fill it with data following this NDVI equation:
NDVI =(NIR RED)/(NIR + RED)
You will need to decide which of the bands to use for NIR and Red.
NOTE: Make sure you do not divide by ZERO, so you will need an exception handler (logic in your code to skip division by ZERO). It would be great if you could design a separate user defined function that you would call.
Plot this image and use the YlGn or Greens cmap colorbar/scale and add the color legend, labels, etc. to the image.
Scatterplot NDVI values for the objects, set the y-axis to NDVI and the x-axis to the index or a label of the point.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions