Answered step by step
Verified Expert Solution
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 D NumPy Array and fill it with data following this NDVI equation:
NDVI NIR REDNIR 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 colorbarscale and add the color legend, labels, etc. to the image.
Scatterplot NDVI values for the objects, set the yaxis to NDVI and the xaxis to the index or a label of the point.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started