Download Pre-class Exercise Read in the cameraman image, and find its •

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Transcript
Pre-class Exercise
• Read in the cameraman image, and find its
histogram using Matlab’s imhist function:
% Get histogram H and bins X.
pixels with value X(i).
[H,X] = imhist(I);
H(i) = counts of
– Find the probability density function (pdf) for this
image and plot it.
– Find the cumulative distribution function (CDF) for
the image and plot it (you can use Matlab’s
cumsum function).
Colorado School of Mines
Image and Multidimensional Signal Processing
1
Pre-class Exercise
• Find the mean of the image from the
histogram.
(Hint: see slides
7-8 on lecture
5)
• Find the standard deviation of the image
from the histogram.
Colorado School of Mines
Image and Multidimensional Signal Processing
2
Colorado School of Mines
Image and Multidimensional Signal Processing
3
Similar