Question: Contrast Stretching: Write your own program to implement a piecewise linear transformation for contrast adjustment using MATLAB/C/C++/Java/Python. The piecewise linear transformation function is illustrated in


Contrast Stretching: Write your own program to implement a piecewise linear transformation for contrast adjustment using MATLAB/C/C++/Java/Python. The piecewise linear transformation function is illustrated in Fig. 1. Apply the transformation to an 8-bit gray-level image (a low-contrast image of your choice) to adjust its visual appearance. Experiment the transformation with three different sets of parameters: (ri, si) & (r2, s2). on to an8-itgrayovel imaont tne transformation with three (1) Show the original image and its intensity transformed images; (2) Describe specific change(s) (in terms of visual appearance) in the intensity adjusted image after each transformation (of different set of parameters) is applied; (3) Turn in your implementation codes in a separate file. Output intensity Level s ( ) r2, S2 (r1, ) r Input Intensity Level Fig. 1. Ilustration of a piecewise linear transformation function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
