Back to menu command

Morphological operations

The following dialog allows you to apply the morphological operations to the current image, including dilation, erosion, open, close and skeletonize.

Since morphological operations are performed on a binary image, you need to specify a threshold to convert the current image to black and white. Or this threshold can be decided automatically by VIPBase.

You also need to specify the background color. Morphological operations apply to the foreground pixels only. For example, the "erosion" operation erodes foreground pixels. The following example shows the results of all operations with black or white background color.

The original image:

The result of each morphological operation.

The result image is saved to the file that you specified at the bottom of the dialog.


VIPBase © 2006 Fengjun Lv
Last update: 08/01/2006 (check html)