Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Image Processing Question Where compute_histogram takes a grayscale image returns a vector h that is 256 long that is the normalized histogram of the image.
Image Processing Question Where compute_histogram takes a grayscale image returns a vector h that is 256 long that is the normalized histogram of the image. The values of h range from 0 to 1 and the sum of its components is 1.
In MATLAB code please, Will rate, thanks in advance.
c Write the function histogram_cransform which takes as input a histogram (as returned from compute_histogram) and returns a length 256 vector T which represents the transformation function for histogram equalization. That is, when you index into T using a pixel value from an imput image (offset by 1), you get the value of the pixel in the output image. Thus T is a look-up-table for the transformation. T should be computed using equation 3.3-S(3dedition) or equation 3-15 (4h edition) in the text intensity As noted in the beginning or um commonly referred to as a normalized image histo orm of the transformation in Eq. (3-11) is di 0 the number of possible intensity levels in the image ( Thus a processed (output) image is obtained by usi ng Eq(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