Core Optical, Inc.
BinaryMask MethodsIndustrial Strength, Scientific Grade
The BinaryMask type exposes the following members.
Methods

  NameDescription
Public methodClone
Returns a deep clone of the current BinaryMask object.
Public methodCrop
Crops the mask to the specified cropRegion.
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodStatic memberGetCircularStructuringElement
Geta a BinaryMask representing a circular structing element that can be used in a binary erosion/dilation operation.
Public methodGetCroppedMask
Returns a new BinaryMask object based on a region of interest in the current BinaryMask.
Public methodStatic memberGetFusedMask
Returns a single BinaryMask consisting of the fused masked regions of the two input masks.
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetMaskedArea
Gets the total number of masked pixels in the current BinaryMask.
Public methodGetMaskImage
Gets an image of the mask with masked areas colored black and unmasked areas colored white.
Public methodGetMaskImageArray
Gets an array of Bytes portraying the mask. masked areas are 0 and unmasked areas are 255.
Public methodStatic memberGetSharedRegionMask
Returns a BinaryMask consisting of the masked regions common to the two input masks.
Public methodGetState
Retrieves the state of the mask at the specified row and column.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodGetUnMaskedArea
Gets the total number of unmasked pixels in the current BinaryMask.
Public methodInvert
Inverts the current BinaryMask, swapping the unmasked and masked regions.
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodSetState
Sets the state of the mask at the specified row and column to masked (false) or unmasked (true).
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
See Also