FingerImage.erodeTo Method¶
Module: FingerImage
Definition¶
Applies morphological erosion to the image.
Erosion is a morphological operation that erodes away the boundaries of foreground objects.
The structuring element is created based on the specified shape and kernel size.
void erodeTo(int shape, int kernelSize, FingerImage dstFingerImage)
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.
dstFingerImage FingerImagein The destination Image that receives the eroded image.
Exceptions
An error has occurred during Finger Library execution.