Answered step by step
Verified Expert Solution
Question
1 Approved Answer
[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 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
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