To check if an input image is normalized, you can use the imhist
function in Matlab to plot the histogram of the image. The histogram of a normalized image usually has an equal distribution of pixel values across the entire intensity range.
main.m415 chars21 lines
If the histogram of the image has a relatively equal distribution of pixel values across the entire intensity range and the resulting binarized image shows clear distinction between the object and background, then the input image is most likely normalized.
gistlibby LogSnag