imtophat
Top-hat filtering
Description
Examples
Input Arguments
Output Arguments
Tips
If the dimensionality of the image
Iis greater than the dimensionality of the structuring element, then theimtophatfunction applies the same morphological opening to all planes along the higher dimensions.You can use this behavior to perform top-hat filtering on RGB images. Specify a 2-D structuring element for RGB images to operate on each color channel separately.
When you specify a structuring element neighborhood,
imtophatdetermines the center element ofnhoodbyfloor((size(nhood)+1)/2).


