imbothat() - Image Processing
IM2 = imbothat(IM,SE) performs morphological
bottom-hat filtering on the grayscale or binary input image, IM,
returning the filtered image, IM2. SE is
a structuring element returned by the strel function. SE must
be a single structuring element object, not an array containing multiple
structuring element objects. IM2 = imbothat(IM,NHOOD) performs morphological
bottom-hat filtering where NHOOD is an array of
0's and 1's that specifies the size and shape of the structuring element.
This is equivalent to imbothat(IM,strel(NHOOD)).gpuarrayIM2 = imbothat(gpuarrayIM,___) performs
operation on a graphics processing unit (GPU), where gpuarrayIM is
a gpuArray of class uint8 or logical.
This syntax requires the Parallel Computing Toolbox™.Code Generation support:
Yes.MATLAB Function Block support:
Yes.
Syntax
IM2 = imbothat(IM,SE)IM2 = imbothat(IM,NHOOD)gpuarrayIM2 = imbothat(gpuarrayIM,___)
Example
original = gpuArray(imread('pout.tif'));
Output / Return Value
Limitations
Alternatives / See Also
Reference