| Image Processing Toolbox |     ![]()  | 
Morphological Operations
Intensity and Binary Images
 
conndefDefault connectivity array 
imbothatPerform bottom-hat filtering 
imclearborderSuppress light structures connected to image border 
imcloseClose image 
imdilateDilate image 
imerodeErode image 
imextendedmaxExtended-maxima transform 
imextendedminExtended-minima transform 
imfillFill image regions  
imhmaxH-maxima transform 
imhminH-minima transform 
imimposeminImpose minima 
imopenOpen image 
imreconstructPerform morphological reconstruction  
imregionalmaxRegional maxima of image 
imregionalminRegional minima of image 
imtophatPerform tophat filtering 
watershedFind image watershed regions 
Binary Images
 
applylutPerform neighborhood operations using lookup tables 
bwareaArea of objects in binary image 
bwareaopenBinary area open; remove small objects 
bwdistDistance transform 
bweulerEuler number of binary image 
bwfillFill background regions in binary image 
bwhitmissBinary hit-miss operation  
bwlabelLabel connected components in 2-D binary image 
bwlabelnLabel connected components in N-D binary image. 
bwmorphPerform morphological operations on binary image 
bwpackPack binary image 
bwperimFind perimeter of objects in binary image 
bwselectSelect objects in binary image 
bwulterodeUltimate erosion 
bwunpackUnpack a packed binary image 
imregionalminRegional minima of image 
imtophatPerform tophat filtering 
makelutConstruct lookup table for use with  
applylut
Structuring Element (STREL) Creation and Manipulation
 
getheightGet the height of a structuring element 
getneighborsGet structuring element neighbor locations and heights 
getnhoodGet structuring element neighborhood 
getsequenceExtract sequence of decomposed structuring elements 
isflatReturn true for flat structuring element 
reflectReflect structuring element 
strelCreate morphological structuring element 
translateTranslate structuring element 
   | Linear Filtering and Transforms | Region-Based, Neighborhood, and Block Processing | ![]()  |