Image.dilateTo Method¶
Module: Image
Definition¶
Applies morphological dilation to the image.
Dilation is a morphological operation that expands the boundaries of foreground objects.
The structuring element is created based on the specified shape and kernel size.
void dilateTo(int shape, int kernelSize, Image dstImage)
Parameters
shape intin Shape of the morphological structuring element: 0=Rectangle, 1=Cross, 2=Ellipse.
kernelSize intin Size of the structuring element. Must be positive and odd.
dstImage Imagein The destination Image that receives the dilated image.
Exceptions
An error has occurred during Face Library execution.