Question: [Q5 25pts] a) Implement the histogram specification using a piece-wise linear reference distribution function, as described in Sec.4.6.3 in the book Digital Image Processing. Define

 [Q5 25pts] a) Implement the histogram specification using a piece-wise linear

[Q5 25pts] a) Implement the histogram specification using a piece-wise linear reference distribution function, as described in Sec.4.6.3 in the book Digital Image Processing. Define a new object class with all necessary instance variables to represent the distribution function and implement the required functions PL(i)(Eqn. (4.23)) and Pu 1(b)(Eqn.(4.24)) as methods of this class. b) Test your code on the gray-scale version of your selfie photo reference distribution: L ((0, 0.1),(50,0.15), (110,0.3), (170,0.7),(220,0.95),(255,1)). Print the histograms of original image and output image. [Q5 25pts] a) Implement the histogram specification using a piece-wise linear reference distribution function, as described in Sec.4.6.3 in the book Digital Image Processing. Define a new object class with all necessary instance variables to represent the distribution function and implement the required functions PL(i)(Eqn. (4.23)) and Pu 1(b)(Eqn.(4.24)) as methods of this class. b) Test your code on the gray-scale version of your selfie photo reference distribution: L ((0, 0.1),(50,0.15), (110,0.3), (170,0.7),(220,0.95),(255,1)). Print the histograms of original image and output image

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!