Recently to accomplish the final assignment of Digital Signal Processing Experiment, we decide to do something about digital image processing using MATLAB and LabView. And the reference book is Digital Image Processing Using MATLAB Second Edition by Rafael C. Gonzalez et al. Here I’d like to keep the notes, mainly the functions that’s useful.
imadjust: adjust image intensity
g = imadjust(f, [0 1], [1 0]); shows the negative image, which is same as the function
g = imcomplement(f)
gamma specifies the shape of the curve that maps the intensity values in
f to create
gamma is less than 1, the mapping is weighted toward higher(brighter) output values. If
gamma is greater than 1, the mapping is weighted toward lower(darker) output values.