Core Optical, Inc.
BinaryMask GetCircularStructuringElement Method Industrial Strength, Scientific Grade
Geta a BinaryMask representing a circular structing element that can be used in a binary erosion/dilation operation.

Namespace: PrecisionImage.BinarizationAndMorphology
Assembly: PrecisionImage (in PrecisionImage.dll) Version: (

public static BinaryMask GetCircularStructuringElement(
	int Radius


Type: OnlineSystem Int32
An OnlineInt32 indicating the radius of the structuring element to return.

Return Value

A BinaryMask object containing a central circular unmasked region of specified radius.

Use this method to retrieve a BinaryMask object representing a circular structuring element that can be used when invoking the binary erosion/dilation operations GetErodedBinaryMask(BinaryMask, BinaryMask) and GetDilatedBinaryMask(BinaryMask, BinaryMask). The returned BinaryMask is entirely masked except for the central circular area.
See Also