Open img

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Open-convolution for a binary image.

Synopsis

imout = open_img(im,window)

Description

Returns the binary image (im) after applying a open filter of the specified size (window). A open operation is an erode operation followed by a dilate operation. Positive window sizes specify a square filter, negative window sizes specifiy a circular filter.

For more advanced options, see MORPH_IMG.

See Also

close_img, dilate_img, erode_img, morph_img