Question: Changing the range of gray values in an image. a. Write a program that stretches the gray values from the range of the gray values

Changing the range of gray values in an image. a. Write a program that stretches the gray values from the range of the gray values [min,max] to the range [A,B]: () = (&'()()'min) max ' min + . Choose different values of A and B to produce four cases: 1. min < , max < B; 2. min > , max < ; 3. min < , max > B; 4. min > , max > B. Use the grayscale version of the pears.png image. b. Apply the function imadjust from matlab: imadjust(img, [min,max], [A,B]) for the four choices you selected in (a). See class notes. Display the original image, and the 4 scaled images. Note your parameter choices in your write up.

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!