Question: Write a Matlab code which take a single 2-D matrix input argument (an image) and 1. Scale the matrix so that the maximum pixel value
Write a Matlab code which take a single 2-D matrix input argument (an image) and
1. Scale the matrix so that the maximum pixel value is =1
2. Calculate the mean pixel value of the scaled matrix
3. Condtionally prints the following strings to the monitor
"Image is dark" if the mean x<0.5
"Image is normal" if the mean x=0.5
"image is bright" if the mean x>0.5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
