FingerImage.dilate Method

Module: FingerImage

Definition

Applies morphological dilation to the image in-place.

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 dilate(int shape, int kernelSize)

Parameters

shape int
in Shape of the morphological structuring element: 0=Rectangle, 1=Cross, 2=Ellipse.

kernelSize int
in Size of the structuring element. Must be positive and odd.

Exceptions

An error has occurred during Finger Library execution.