更新时间:2021-08-06 16:38:30
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Basic Image Manipulations
Getting acquainted with the MATLAB environment
The ribbon
The editor
Importing and displaying an image
Time for action – importing and displaying an image
Time for action – using imtool to extract useful information
Applying geometric transformations
Time for action – rotating an image and displaying the result
Time for action – mirroring an image and displaying the result
Time for action – cropping and resizing an image then saving it as BMP
Summary
Chapter 2. Working with Pixels In Grayscale Images
Accessing image pixels and changing their values
Time for action – whiten an area and blacken another
Thresholding an image
Calculating and displaying histograms with imhist
Histogram equalization for contrast enhancement
Contrasting enhancement using imadjust
Contrasting enhancement using imcontrast
Adaptive histogram equalization using adapthisteq
Custom functions for complex tasks
Time for action – using imtool to pinpoint differences
Restoring old photographs
Time for action – restoring your ancestors' photographs
Chapter 3. Morphological Operations and Object Analysis
The importance of binary images
Time for action – understanding the value of thresholding
Enlarging and shrinking a region of interest
Time for action – using dilation and erosion to refine ROIs
Altering structuring elements from strel to suit our needs
Time for action – ROI refinement using strel
Manually defining a non-rectangular ROI
Time for action – making a custom object eraser function
Analyzing objects in an image
Chapter 4. Working with Color Images
An introduction to color image processing
Basic color image manipulations
Setting a rectangular area to a specified color
Time for action – repainting two areas in a color image
Thresholding color images
Time for action – isolating the red pixels in an image
Achieving color masking
Time for action – color isolation
The importance of different color spaces
Time for action – color space transformation
CIE-L*a*b* for more efficient color masking
Time for action – color isolation using CIE-L*a*b*
Fixing illumination issues in RGB color images
Fixing illumination issues in CIE-L*a*b*
A practical example – red eye reduction
Time for action – writing a function for red eye reduction
Taking advantage of eye circularity
Time for action – automating our function for red eye reduction
Chapter 5. 2-Dimensional Image Filtering
An introduction to image filtering
Processing neighborhoods of pixels
The basics of convolution
The ugly mathematical truth
Time for action – applying averaging filters in images
Alternatives to convolution
Using imfilter
Creating filters with fspecial
Different ways to blur an image
Time for action – how much blurring is enough
Time to make art using blurring
Time for action – creating the bokeh effect in an image
Removing noise using blurring
Time for action – trying to remove different types of noise
The importance of the median filter
Time for action – removing salt & pepper with medfilt2
Bringing back the details
Time for action – enhancing the edges in our images
Brighten up the lights
Time for action – brighten up the lights in our soldier picture
Chapter 6. Mixing Images for Science or Art
The importance of mixing or combining images
Using multispectral imaging
Loading and manipulating the multispectral images
Time for action – visible spectrum from a multiband image of Rio
Time for action – working with invisible spectrums
Creating composite images
Time for action – cloning the seagull
One step beyond – blending selected image regions
Time for action – directing a threatening scene
Creating High Dynamic Range images
Time for action – composing your own HDR images
Stitching images for the creation of panoramas
Time for action – basic approach to panorama stitching