Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Image Processing Toolbox Functions

Alphabetical List By Category

Import, Export, and Conversion

Read and Write Image Data from Files

imreadRead image from graphics file
imwriteWrite image to graphics file
imfinfoInformation about graphics file
dicominfoRead metadata from DICOM message
dicomreadRead DICOM image
dicomwriteWrite images as DICOM files
dicomreadVolumeConstruct volume from directory of DICOM images
dicomCollectionGather details about related series of DICOM files
dicomanonAnonymize DICOM file
dicomdictGet or set active DICOM data dictionary
dicomdisp Display DICOM file structure
dicomlookupFind attribute in DICOM data dictionary
dicomuidGenerate DICOM unique identifier
images.dicom.decodeUIDGet information about DICOM unique identifier
images.dicom.parseDICOMDIRExtract metadata from DICOMDIR file
niftiinfoRead metadata from NIfTI file
niftiwriteWrite volume to file using NIfTI format
niftireadRead NIfTI image
analyze75infoRead metadata from header file of Analyze 7.5 data set
analyze75readRead image data from image file of Analyze 7.5 data set
interfileinfoRead metadata from Interfile file
interfilereadRead images in Interfile format
nitfinfoRead metadata from National Imagery Transmission Format (NITF) file
nitfreadRead image from NITF file
dpxinfoRead metadata from DPX file
dpxreadRead DPX image

High Dynamic Range Images

hdrreadRead high dynamic range (HDR) image
hdrwriteWrite Radiance high dynamic range (HDR) image file
makehdrCreate high dynamic range image
tonemapRender high dynamic range image for viewing

Large Image Files

isrsetCheck if file is R-Set
openrsetOpen R-Set file
rsetwriteCreate reduced resolution data set from image file
imtoolImage Viewer app
blockprocDistinct block processing for image
ImageAdapterInterface for image I/O

Image Type Conversion

gray2indConvert grayscale or binary image to indexed image
ind2grayConvert indexed image to grayscale image
mat2grayConvert matrix to grayscale image
rgb2grayConvert RGB image or colormap to grayscale
rgb2indConvert RGB image to indexed image
ind2rgbConvert indexed image to RGB image
label2rgbConvert label matrix into RGB image
demosaicConvert Bayer pattern encoded image to truecolor image
imbinarizeBinarize 2-D grayscale image or 3-D volume by thresholding
imquantizeQuantize image using specified quantization levels and output values
multithresh Multilevel image thresholds using Otsu’s method
adaptthreshAdaptive image threshold using local first-order statistics
otsuthreshGlobal histogram threshold using Otsu's method
graythreshGlobal image threshold using Otsu's method
graysliceConvert grayscale image to indexed image using multilevel thresholding
im2doubleConvert image to double precision
im2int16Convert image to 16-bit signed integers
im2java2dConvert image to Java buffered image
im2singleConvert image to single precision
im2uint16Convert image to 16-bit unsigned integers
im2uint8Convert image to 8-bit unsigned integers

Color

rgb2labConvert RGB to CIE 1976 L*a*b*
rgb2ntscConvert RGB color values to NTSC color space
rgb2xyzConvert RGB to CIE 1931 XYZ
rgb2ycbcrConvert RGB color values to YCbCr color space
lab2rgbConvert CIE 1976 L*a*b* to RGB
lab2xyzConvert CIE 1976 L*a*b* to CIE 1931 XYZ
xyz2labConvert CIE 1931 XYZ to CIE 1976 L*a*b*
xyz2rgbConvert CIE 1931 XYZ to RGB
ycbcr2rgbConvert YCbCr color values to RGB color space
ntsc2rgbConvert NTSC values to RGB color space
colorcloudDisplay 3-D color gamut as point cloud in specified color space
lab2doubleConvert L*a*b* data to double
lab2uint16Convert L*a*b* data to uint16
lab2uint8Convert L*a*b* data to uint8
xyz2doubleConvert XYZ color values to double
xyz2uint16Convert XYZ color values to uint16
iccfindSearch for ICC profiles
iccreadRead ICC profile
iccrootFind system default ICC profile repository
iccwriteWrite ICC color profile to disk file
isiccTrue for valid ICC color profile
makecformCreate color transformation structure
applycformApply device-independent color space transformation
imapproxApproximate indexed image by reducing number of colors
chromadaptAdjust color balance of RGB image with chromatic adaptation
colorangleAngle between two RGB vectors
illumgrayEstimate illuminant using gray world algorithm
illumpcaEstimate illuminant using principal component analysis (PCA)
illumwhiteEstimate illuminant using White Patch Retinex algorithm
lin2rgbApply gamma correction to linear RGB values
rgb2linLinearize gamma-corrected RGB values
whitepointXYZ color values of standard illuminants

Synthetic Images

checkerboardCreate checkerboard image
phantomCreate head phantom image
imnoiseAdd noise to image

Display and Exploration

Basic Display

imshowDisplay image
imfuseComposite of two images
imshowpairCompare differences between images
montageDisplay multiple image frames as rectangular montage
immovieMake movie from multiframe image
implayPlay movies, videos, or image sequences
warpDisplay image as texture-mapped surface
iptgetprefGet values of Image Processing Toolbox preferences
iptprefsDisplay Image Processing Toolbox Preferences dialog box
iptsetprefSet Image Processing Toolbox preferences or display valid values

Interactive Exploration with the Image Viewer App

imtoolImage Viewer app
imageinfoImage Information tool
imcontrastAdjust Contrast tool
imdisplayrangeDisplay Range tool
imdistlineDistance tool
impixelinfoPixel Information tool
impixelinfovalPixel Information tool without text label
impixelregionPixel Region tool
immagboxMagnification box for scroll panel
imoverviewOverview tool for image displayed in scroll panel
iptgetprefGet values of Image Processing Toolbox preferences
iptprefsDisplay Image Processing Toolbox Preferences dialog box
iptsetprefSet Image Processing Toolbox preferences or display valid values

Interactive Exploration of Volumetric Data with the Volume Viewer App

iptgetprefGet values of Image Processing Toolbox preferences
iptprefsDisplay Image Processing Toolbox Preferences dialog box
iptsetprefSet Image Processing Toolbox preferences or display valid values

Build Interactive Tools

imageinfoImage Information tool
imcolormaptoolChoose Colormap tool
imcontrastAdjust Contrast tool
imcropCrop image
imdisplayrangeDisplay Range tool
imdistlineDistance tool
impixelinfoPixel Information tool
impixelinfovalPixel Information tool without text label
impixelregionPixel Region tool
impixelregionpanelPixel Region tool panel
immagboxMagnification box for scroll panel
imoverviewOverview tool for image displayed in scroll panel
imoverviewpanelOverview tool panel for image displayed in scroll panel
imsaveSave Image Tool
imscrollpanelScroll panel for interactive image navigation
imellipseCreate draggable ellipse
imfreehandCreate draggable freehand region
imlineCreate draggable, resizable line
impointCreate draggable point
impolyCreate draggable, resizable polygon
imrectCreate draggable rectangle
imroiRegion-of-interest (ROI) base class
getlineSelect polyline with mouse
getptsSpecify points with mouse
getrectSpecify rectangle with mouse
getimageImage data from axes
getimagemodelImage model object from image object
imagemodelImage Model object
axes2pixConvert axes coordinates to pixel coordinates
imattributesInformation about image attributes
imgcaGet current axes containing image
imgcfGet current figure containing image
imgetfileDisplay Open Image dialog box
imputfileDisplay Save Image dialog box
imhandlesGet all image objects
iptaddcallbackAdd function handle to callback list
iptcheckhandleCheck validity of handle
iptgetapiGet Application Programmer Interface (API) for handle
iptGetPointerBehaviorRetrieve pointer behavior from graphics object
ipticondirDirectories containing IPT and MATLAB icons
iptPointerManagerCreate pointer manager in figure
iptremovecallbackDelete function handle from callback list
iptSetPointerBehaviorStore pointer behavior structure in graphics object
iptwindowalignAlign figure windows
makeConstrainToRectFcnCreate rectangularly bounded drag constraint function
truesizeAdjust display size of image

Geometric Transformation and Image Registration

Common Geometric Transformations

imcropCrop image
imresizeResize image
imresize3Resize 3-D volumetric intensity image
imrotateRotate image
imrotate3Rotate 3-D volumetric grayscale image
imtranslateTranslate image
impyramidImage pyramid reduction and expansion

Generic Geometric Transformations

imwarpApply geometric transformation to image
findboundsFind output bounds for spatial transformation
fliptformFlip input and output roles of spatial transformation structure
makeresamplerCreate resampling structure
maketformCreate spatial transformation structure (TFORM)
tformarrayApply spatial transformation to N-D array
tformfwdApply forward spatial transformation
tforminvApply inverse spatial transformation
WarperApply same geometric transformation to many images efficiently
imref2d Reference 2-D image to world coordinates
imref3d Reference 3-D image to world coordinates
affine2d2-D affine geometric transformation
affine3d 3-D affine geometric transformation
projective2d 2-D projective geometric transformation
PiecewiseLinearTransformation2D2-D piecewise linear geometric transformation
PolynomialTransformation2D2-D polynomial geometric transformation
LocalWeightedMeanTransformation2D 2-D local weighted mean geometric transformation

Image Registration

imregisterIntensity-based image registration
imregconfigConfigurations for intensity-based registration
imregtform Estimate geometric transformation that aligns two 2-D or 3-D images
imregcorrEstimate geometric transformation that aligns two 2-D images using phase correlation
imregdemonsEstimate displacement field that aligns two 2-D or 3-D images
cpselect Control Point Selection tool
fitgeotransFit geometric transformation to control point pairs
cpcorrTune control point locations using cross-correlation
cpstruct2pairsExtract valid control point pairs from cpstruct structure
imwarpApply geometric transformation to image
MattesMutualInformationMattes mutual information metric configuration
MeanSquaresMean square error metric configuration
RegularStepGradientDescentRegular step gradient descent optimizer configuration
OnePlusOneEvolutionaryOne-plus-one evolutionary optimizer configuration
imref2d Reference 2-D image to world coordinates
imref3d Reference 3-D image to world coordinates
affine2d2-D affine geometric transformation
affine3d 3-D affine geometric transformation
projective2d 2-D projective geometric transformation
PiecewiseLinearTransformation2D2-D piecewise linear geometric transformation
PolynomialTransformation2D2-D polynomial geometric transformation
LocalWeightedMeanTransformation2D 2-D local weighted mean geometric transformation

Image Filtering and Enhancement

Contrast Adjustment

imadjustAdjust image intensity values or colormap
imadjustnAdjust intensity values in N-D volumetric image
imcontrastAdjust Contrast tool
imsharpenSharpen image using unsharp masking
locallapfiltFast Local Laplacian Filtering of images
localcontrastEdge-aware local contrast manipulation of images
localtonemapRender HDR image for viewing while enhancing local contrast
histeqEnhance contrast using histogram equalization
adapthisteqContrast-limited adaptive histogram equalization (CLAHE)
imhistmatchAdjust histogram of 2-D image to match histogram of reference image
imhistmatchnAdjust histogram of N-D image to match histogram of reference image
decorrstretchApply decorrelation stretch to multichannel image
stretchlimFind limits to contrast stretch image
intlutConvert integer values using lookup table
imnoiseAdd noise to image

Image Filtering

imfilterN-D filtering of multidimensional images
fspecialCreate predefined 2-D filter
imgaussfilt2-D Gaussian filtering of images
imgaussfilt33-D Gaussian filtering of 3-D images
imguidedfilterGuided filtering of images
normxcorr2Normalized 2-D cross-correlation
wiener22-D adaptive noise-removal filtering
medfilt22-D median filtering
medfilt33-D median filtering
ordfilt22-D order-statistic filtering
stdfiltLocal standard deviation of image
rangefiltLocal range of image
entropyfiltLocal entropy of grayscale image
nlfilterGeneral sliding-neighborhood operations
imboxfilt2-D box filtering of images
imboxfilt33-D box filtering of 3-D images
padarrayPad array
imreducehazeReduce atmospheric haze
gaborCreate Gabor filter or Gabor filter bank
imgaborfilt Apply Gabor filter or set of filters to 2-D image
integralImageCalculate integral image
integralImage3Calculate 3-D integral image
integralBoxFilter2-D box filtering of integral images
integralBoxFilter33-D box filtering of 3-D integral images
bwareafiltExtract objects from binary image by size
bwpropfiltExtract objects from binary image using properties
fibermetricEnhance elongated or tubular structures in image
freqz22-D frequency response
fsamp22-D FIR filter using frequency sampling
ftrans22-D FIR filter using frequency transformation
fwind12-D FIR filter using 1-D window method
fwind22-D FIR filter using 2-D window method
convmtx22-D convolution matrix

Morphological Operations

bwhitmissBinary hit-miss operation
bwmorphMorphological operations on binary images
bwulterodeUltimate erosion
bwareaopenRemove small objects from binary image
imbothatBottom-hat filtering
imclearborderSuppress light structures connected to image border
imcloseMorphologically close image
imdilateDilate image
imerodeErode image
imextendedmaxExtended-maxima transform
imextendedminExtended-minima transform
imfillFill image regions and holes
imhmaxH-maxima transform
imhminH-minima transform
imimposeminImpose minima
imopenMorphologically open image
imreconstructMorphological reconstruction
imregionalmaxRegional maxima
imregionalminRegional minima
imtophatTop-hat filtering
watershedWatershed transform
conndefCreate connectivity array
iptcheckconnCheck validity of connectivity argument
applylutNeighborhood operations on binary images using lookup tables
bwlookup Nonlinear filtering using lookup tables
makelutCreate lookup table for use with bwlookup
strelMorphological structuring element
offsetstrelMorphological offset structuring element

Deblurring

deconvblindDeblur image using blind deconvolution
deconvlucyDeblur image using Lucy-Richardson method
deconvregDeblur image using regularized filter
deconvwnrDeblur image using Wiener filter
edgetaperTaper discontinuities along image edges
otf2psfConvert optical transfer function to point-spread function
psf2otfConvert point-spread function to optical transfer function
padarrayPad array

ROI-Based Processing

roipolySpecify polygonal region of interest (ROI)
poly2maskConvert region of interest (ROI) polygon to region mask
regionfillFill in specified regions in image using inward interpolation
roicolorSelect region of interest (ROI) based on color
roifilt2Filter region of interest (ROI) in image
imellipseCreate draggable ellipse
imfreehandCreate draggable freehand region
impolyCreate draggable, resizable polygon
imrectCreate draggable rectangle
imroiRegion-of-interest (ROI) base class

Neighborhood and Block Processing

blockprocDistinct block processing for image
bestblkDetermine optimal block size for block processing
nlfilterGeneral sliding-neighborhood operations
col2imRearrange matrix columns into blocks
colfiltColumnwise neighborhood operations
im2colRearrange image blocks into columns
ImageAdapterInterface for image I/O

Image Arithmetic

imabsdiffAbsolute difference of two images
imaddAdd two images or add constant to image
imapplymatrixLinear combination of color channels
imcomplementComplement image
imdivideDivide one image into another or divide image by constant
imlincombLinear combination of images
immultiplyMultiply two images or multiply image by constant
imsubtractSubtract one image from another or subtract constant from image

Image Segmentation and Analysis

Object Analysis

bwboundariesTrace region boundaries in binary image
bwtraceboundaryTrace object in binary image
visboundariesPlot region boundaries
edgeFind edges in intensity image
edge3Find edges in 3-D intensity volume
imfindcirclesFind circles using circular Hough transform
viscirclesCreate circle
imgradient Gradient magnitude and direction of an image
imgradientxy Directional gradients of an image
imgradient3Find 3-D gradient magnitude and direction of images
imgradientxyzFind the directional gradients of a 3-D image
houghHough transform
houghlinesExtract line segments based on Hough transform
houghpeaksIdentify peaks in Hough transform
radonRadon transform
iradonInverse Radon transform
qtdecompQuadtree decomposition
qtgetblkBlock values in quadtree decomposition
qtsetblkSet block values in quadtree decomposition

Region and Image Properties

regionprops Measure properties of image regions
regionprops3Measure properties of 3-D volumetric image regions
bwareaArea of objects in binary image
bwareafiltExtract objects from binary image by size
bwconncompFind connected components in binary image
bwconvhullGenerate convex hull image from binary image
bwdistDistance transform of binary image
bwdistgeodesicGeodesic distance transform of binary image
bweulerEuler number of binary image
bwperimFind perimeter of objects in binary image
bwpropfiltExtract objects from binary image using properties
bwselectSelect objects in binary image
bwselect3Select objects in binary image
graydistGray-weighted distance transform of grayscale image
imcontourCreate contour plot of image data
imhistHistogram of image data
impixelPixel color values
improfilePixel-value cross-sections along line segments
corr22-D correlation coefficient
mean2Average or mean of matrix elements
std2Standard deviation of matrix elements
bwlabelLabel connected components in 2-D binary image
bwlabelnLabel connected components in binary image
labelmatrixCreate label matrix from bwconncomp structure
bwpackPack binary image
bwunpackUnpack binary image

Texture Analysis

entropyEntropy of grayscale image
entropyfiltLocal entropy of grayscale image
rangefiltLocal range of image
stdfiltLocal standard deviation of image
graycomatrixCreate gray-level co-occurrence matrix from image
graycopropsProperties of gray-level co-occurrence matrix

Image Quality

immse Mean-squared error
psnrPeak Signal-to-Noise Ratio (PSNR)
ssimStructural Similarity Index (SSIM) for measuring image quality
brisqueBlind/Referenceless Image Spatial Quality Evaluator (BRISQUE) no-reference image quality score
fitbrisqueFit custom model for BRISQUE image quality score
brisqueModelBlind/Referenceless Image Spatial Quality Evaluator (BRISQUE) model
niqeNaturalness Image Quality Evaluator (NIQE) no-reference image quality score
fitniqeFit custom model for NIQE image quality score
niqeModelNaturalness Image Quality Evaluator (NIQE) model
esfrChartImatest® edge spatial frequency response (eSFR) test chart
measureSharpnessMeasure spatial frequency response using Imatest® eSFR chart
measureChromaticAberrationMeasure chromatic aberration at slanted edges using Imatest® eSFR chart
measureColorMeasure color reproduction using Imatest® eSFR chart
measureNoiseMeasure noise using Imatest® eSFR chart
measureIlluminantMeasure scene illuminant using Imatest® eSFR chart
displayChartDisplay Imatest® eSFR chart with overlaid regions of interest
displayColorPatchDisplay visual color reproduction as color patches
plotSFRPlot spatial frequency response of edge
plotChromaticityPlot color reproduction on chromaticity diagram

Image Segmentation

activecontour Segment image into foreground and background using active contour
imsegfmmBinary image segmentation using Fast Marching Method
imseggeodesic Segment image into two or three regions using geodesic distance-based color segmentation
gradientweightCalculate weights for image pixels based on image gradient
graydiffweightCalculate weights for image pixels based on grayscale intensity difference
grayconnected Select contiguous image region with similar gray values
graythreshGlobal image threshold using Otsu's method
multithresh Multilevel image thresholds using Otsu’s method
otsuthreshGlobal histogram threshold using Otsu's method
adaptthreshAdaptive image threshold using local first-order statistics
boundarymaskFind region boundaries of segmentation
superpixels2-D superpixel oversegmentation of images
lazysnappingSegment image into foreground and background using graph-based segmentation
superpixels33-D superpixel oversegmentation of 3-D image
imoverlayBurn binary mask into 2-D image
labeloverlayOverlay label matrix regions on 2-D image
label2idxConvert label matrix to cell array of linear indices
jaccardJaccard similarity coefficient for image segmentation
diceSørensen-Dice similarity coefficient for image segmentation
bfscoreContour matching score for image segmentation

Image Transforms

bwdistDistance transform of binary image
bwdistgeodesicGeodesic distance transform of binary image
graydistGray-weighted distance transform of grayscale image
houghHough transform
houghlinesExtract line segments based on Hough transform
houghpeaksIdentify peaks in Hough transform
dct22-D discrete cosine transform
dctmtxDiscrete cosine transform matrix
fan2paraConvert fan-beam projections to parallel-beam
fanbeamFan-beam transform
idct22-D inverse discrete cosine transform
ifanbeamInverse fan-beam transform
iradonInverse Radon transform
para2fanConvert parallel-beam projections to fan-beam
radonRadon transform
fft22-D fast Fourier transform
fftshiftShift zero-frequency component to center of spectrum
ifft22-D inverse fast Fourier transform
ifftshiftInverse zero-frequency shift

Deep Learning for Image Processing

denoiseImageDenoise image using deep neural network
denoisingNetworkGet image denoising network
denoisingImageSourceDenoising image source
dnCNNLayersGet denoising convolutional neural network layers

3-D Volumetric Image Processing

dicomreadRead DICOM image
dicomreadVolumeConstruct volume from directory of DICOM images
imbinarizeBinarize 2-D grayscale image or 3-D volume by thresholding
niftiinfoRead metadata from NIfTI file
niftiwriteWrite volume to file using NIfTI format
niftireadRead NIfTI image
imabsdiffAbsolute difference of two images
imaddAdd two images or add constant to image
imdivideDivide one image into another or divide image by constant
immultiplyMultiply two images or multiply image by constant
imsubtractSubtract one image from another or subtract constant from image
imregisterIntensity-based image registration
imregdemonsEstimate displacement field that aligns two 2-D or 3-D images
imresize3Resize 3-D volumetric intensity image
imrotate3Rotate 3-D volumetric grayscale image
imwarpApply geometric transformation to image
histeqEnhance contrast using histogram equalization
imadjustnAdjust intensity values in N-D volumetric image
imboxfilt33-D box filtering of 3-D images
imfilterN-D filtering of multidimensional images
imgaussfilt33-D Gaussian filtering of 3-D images
imhistmatchnAdjust histogram of N-D image to match histogram of reference image
integralBoxFilter33-D box filtering of 3-D integral images
integralImage3Calculate 3-D integral image
medfilt33-D median filtering
bwareaopenRemove small objects from binary image
bwconncompFind connected components in binary image
imbothatBottom-hat filtering
imcloseMorphologically close image
imdilateDilate image
imerodeErode image
imopenMorphologically open image
imreconstructMorphological reconstruction
imregionalmaxRegional maxima
imregionalminRegional minima
imtophatTop-hat filtering
watershedWatershed transform
activecontour Segment image into foreground and background using active contour
bfscoreContour matching score for image segmentation
bwselect3Select objects in binary image
diceSørensen-Dice similarity coefficient for image segmentation
edge3Find edges in 3-D intensity volume
gradientweightCalculate weights for image pixels based on image gradient
graydiffweightCalculate weights for image pixels based on grayscale intensity difference
imgradient3Find 3-D gradient magnitude and direction of images
imgradientxyzFind the directional gradients of a 3-D image
imhistHistogram of image data
imsegfmmBinary image segmentation using Fast Marching Method
jaccardJaccard similarity coefficient for image segmentation
regionprops Measure properties of image regions
superpixels33-D superpixel oversegmentation of 3-D image
imref3d Reference 3-D image to world coordinates
affine3d 3-D affine geometric transformation
strelMorphological structuring element
offsetstrelMorphological offset structuring element

Code Generation

imreadRead image from graphics file
hsv2rgbConvert HSV colors to RGB
im2doubleConvert image to double precision
im2int16Convert image to 16-bit signed integers
im2singleConvert image to single precision
im2uint16Convert image to 16-bit unsigned integers
im2uint8Convert image to 8-bit unsigned integers
lab2rgbConvert CIE 1976 L*a*b* to RGB
rgb2grayConvert RGB image or colormap to grayscale
rgb2hsvConvert RGB colors to HSV
rgb2labConvert RGB to CIE 1976 L*a*b*
rgb2ycbcrConvert RGB color values to YCbCr color space
ycbcr2rgbConvert YCbCr color values to RGB color space
imbinarizeBinarize 2-D grayscale image or 3-D volume by thresholding
imquantizeQuantize image using specified quantization levels and output values
multithresh Multilevel image thresholds using Otsu’s method
adaptthreshAdaptive image threshold using local first-order statistics
otsuthreshGlobal histogram threshold using Otsu's method
demosaicConvert Bayer pattern encoded image to truecolor image
getrangefromclassDefault display range of image based on its class
label2rgbConvert label matrix into RGB image
iptcheckmapCheck validity of colormap
fitgeotransFit geometric transformation to control point pairs
imcropCrop image
imresizeResize image
imrotateRotate image
imtranslateTranslate image
imwarpApply geometric transformation to image
impyramidImage pyramid reduction and expansion
histeqEnhance contrast using histogram equalization
imadjustAdjust image intensity values or colormap
imabsdiffAbsolute difference of two images
imlincombLinear combination of images
imcomplementComplement image
imoverlayBurn binary mask into 2-D image
intlutConvert integer values using lookup table
stretchlimFind limits to contrast stretch image
bwareaopenRemove small objects from binary image
bwlookup Nonlinear filtering using lookup tables
bwmorphMorphological operations on binary images
imbothatBottom-hat filtering
imclearborderSuppress light structures connected to image border
imcloseMorphologically close image
imdilateDilate image
imerodeErode image
imextendedmaxExtended-maxima transform
imextendedminExtended-minima transform
imfillFill image regions and holes
imhmaxH-maxima transform
imhminH-minima transform
imopenMorphologically open image
imreconstructMorphological reconstruction
imregionalmaxRegional maxima
imregionalminRegional minima
imtophatTop-hat filtering
watershedWatershed transform
conndefCreate connectivity array
iptcheckconnCheck validity of connectivity argument
boundarymaskFind region boundaries of segmentation
bwboundariesTrace region boundaries in binary image
bwconncompFind connected components in binary image
bwdistDistance transform of binary image
bweulerEuler number of binary image
bwlabelLabel connected components in 2-D binary image
bwtraceboundaryTrace object in binary image
bwpackPack binary image
bwunpackUnpack binary image
bwperimFind perimeter of objects in binary image
bwselectSelect objects in binary image
edgeFind edges in intensity image
grayconnected Select contiguous image region with similar gray values
imgradient3Find 3-D gradient magnitude and direction of images
imgradientxyzFind the directional gradients of a 3-D image
houghHough transform
houghlinesExtract line segments based on Hough transform
houghpeaksIdentify peaks in Hough transform
getrangefromclassDefault display range of image based on its class
grayconnected Select contiguous image region with similar gray values
imfindcirclesFind circles using circular Hough transform
immse Mean-squared error
imoverlayBurn binary mask into 2-D image
label2idxConvert label matrix to cell array of linear indices
mean2Average or mean of matrix elements
psnrPeak Signal-to-Noise Ratio (PSNR)
regionprops Measure properties of image regions
superpixels2-D superpixel oversegmentation of images
superpixels33-D superpixel oversegmentation of 3-D image
imfilterN-D filtering of multidimensional images
imboxfilt2-D box filtering of images
imgaborfilt Apply Gabor filter or set of filters to 2-D image
imgaussfilt2-D Gaussian filtering of images
fspecialCreate predefined 2-D filter
integralBoxFilter2-D box filtering of integral images
integralImageCalculate integral image
medfilt22-D median filtering
ordfilt22-D order-statistic filtering
padarrayPad array
imref2d Reference 2-D image to world coordinates
imref3d Reference 3-D image to world coordinates
affine2d2-D affine geometric transformation
projective2d 2-D projective geometric transformation
strelMorphological structuring element
offsetstrelMorphological offset structuring element

GPU Computing

im2doubleConvert image to double precision
im2singleConvert image to single precision
im2uint8Convert image to 8-bit unsigned integers
im2uint16Convert image to 16-bit unsigned integers
imnoiseAdd noise to image
mat2grayConvert matrix to grayscale image
rgb2grayConvert RGB image or colormap to grayscale
rgb2ycbcrConvert RGB color values to YCbCr color space
ycbcr2rgbConvert YCbCr color values to RGB color space
imshowDisplay image
imregdemonsEstimate displacement field that aligns two 2-D or 3-D images
imresizeResize image
imrotateRotate image
histeqEnhance contrast using histogram equalization
imabsdiffAbsolute difference of two images
imadjustAdjust image intensity values or colormap
imcomplementComplement image
imfilterN-D filtering of multidimensional images
imlincombLinear combination of images
medfilt22-D median filtering
normxcorr2Normalized 2-D cross-correlation
padarrayPad array
stdfiltLocal standard deviation of image
stretchlimFind limits to contrast stretch image
bwlookup Nonlinear filtering using lookup tables
bwmorphMorphological operations on binary images
imbothatBottom-hat filtering
imcloseMorphologically close image
imdilateDilate image
imerodeErode image
imfillFill image regions and holes
imopenMorphologically open image
imreconstructMorphological reconstruction
imtophatTop-hat filtering
bwdistDistance transform of binary image
bwlabelLabel connected components in 2-D binary image
corr22-D correlation coefficient
edgeFind edges in intensity image
imgradient Gradient magnitude and direction of an image
imgradientxy Directional gradients of an image
imhistHistogram of image data
iradonInverse Radon transform
mean2Average or mean of matrix elements
radonRadon transform
regionprops Measure properties of image regions
std2Standard deviation of matrix elements
Was this topic helpful?