MATLAB Commands Used to Create the Plots


1. Photographic Negative

These are the series of commands that were used to plot the photographic negative:

2. Gamma Transformations

These are the series of commands that were used to plot the gamma transformations:

3. Logarithmic Transformations

These are the series of commands that were used to plot the logarithmic transformations:

 

4. Contrast-Stretching Transformations

These are the series of commands that were used to plot the contrast-stretching transformations with varying E:

These are the series of commands that were used to plot the contrast-stretching transformations with varying m: