Answered step by step
Verified Expert Solution
Question
1 Approved Answer
No need to write any of the called functions, in MATLAB code please. Will rate, thanks in advance. d Wrte the function equalize which takes
No need to write any of the called functions, in MATLAB code please. Will rate, thanks in advance.
d Wrte the function equalize which takes as imput a grayscale image and retums the grayscale image which is the histogram equalized version of the input. This function should: Call compute histogram to compute the histogram of the imput image. . Call plot_histogram to plot the histogram of the imput image. Consider using the bar function. You can change the range of the axes using the axis function. You can change the labels of the axes using the xlabel and ylabel functions . Call histogram transform to compute the transformation fnction T. Use the transformation function T to produce a histogram equalized version of the input image. Call compute histogram to compute the histogram of the equalized image. Call plot histogram to plot the histogam of the equalized image . The function equalize should also print to the console the mean and standard deviations of the input and equalized images. You can use the built in Matlab functions mean and std to compute these directly from the images but first you will need to transform you image matrices into tectors using the Matlab construct your image matrix (:) (and possibly convert your images to type double)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