Image width.
Image height.
Image options.
ReadonlyalphaSpecifying that the mask has no an alpha channel.
ReadonlybitThe number of bits per value in each channel (always 1).
ReadonlychannelsThe number of channels in the mask, including the alpha channel (always 1).
ReadonlycolorThe color model of the mask (always BINARY).
ReadonlycomponentsThe number of color channels in the image, excluding the alpha channel (always 1).
ReadonlyheightThe number of rows of the mask.
ReadonlymaxThe maximum value that a pixel channel can have.
ReadonlyoriginOrigin of the image relative to a the parent image.
ReadonlysizeThe total number of bits in the mask (width × height).
ReadonlywidthThe number of columns of the mask.
Perform an AND operation on two masks.
Second mask.
Optionaloptions: AndOptionsAnd options.
AND of the two masks.
Bottom hat of an image.
Optionaloptions: BottomHatOptionsBottom hat options.
The bottom-hatted image.
Remove elements connected to the borders of an image.
Optionaloptions: ClearBorderOptionsClear border options.
The processed image.
Copy the mask to another one by specifying the location in the target mask.
The target mask.
Options.
The target with the source copied to it.
Dilate an image.
Optionaloptions: DilateOptionsDilate options.
The dilated image.
Draw a line defined by two points onto a mask.
Line starting point.
Line ending point.
Draw Line options.
The mask with the line drawing.
Draw a set of points on a mask.
Array of points.
Draw points on Image options.
New mask.
Draw a polygon defined by an array of points onto an mask.
Polygon vertices.
Draw Line options.
The mask with the polygon drawing.
Draw a polyline defined by an array of points on a mask.
Polyline array of points.
Draw polyline options.
The mask with the polyline drawing.
Draw a rectangle defined by position of the top-left corner, width and height.
Draw rectangle options.
The image with the rectangle drawing.
Fill the mask with a value.
Value of the bit.
The mask instance.
Apply flood fill algorithm from a given starting point.
Optionaloptions: FloodFillOptionsFlood fill options.
The filled mask.
Get the value of a bit.
Column index.
Row index.
The bit value.
Get the value of a bit using index.
Index of the pixel.
Value of the bit.
Get the coordinates of the points on the border of a shape defined in a mask.
Optionaloptions: GetBorderPointsOptionsGet border points options.
Array of border points.
Get the vertices of the convex Hull polygon of a mask.
Array of the vertices of the convex Hull in clockwise order.
Get the corners of the minimum bounding rectangle of a shape defined in a mask.
Array of border points.
Get the number of pixels that do not have the value 0.
Get a pixel of the mask.
Column index.
Row index.
The pixel.
Get a pixel using its index.
Index of the pixel.
The pixel.
Return the raw mask data.
The raw data.
Get the value of a bit. Function exists for compatibility with Image.
Column index.
Row index.
Index of the channel, must be zero.
The bit value.
Get the value of a bit using index. Function exists for compatibility with Image.
Index of the pixel.
Index of the channel, must be zero.
Value of the bit.
Get the value of a specific bit. Select bit using a point.
Coordinates of the desired biz.
Value of the bit.
Invert the colors of the mask.
Optionaloptions: InvertOptionsInversion options.
The inverted mask.
Apply morphological gradient to an image.
Optionaloptions: MorphologicalGradientOptionsMorphological gradient options.
The processed image.
Paint a mask onto another mask and the given position and with the given value.
Mask to paint.
Optionaloptions: PaintMaskOnMaskOptionsPaint mask options.
The painted mask.
Set the value of a bit.
Column index.
Row index.
New bit value.
Set the value of a bit using index.
Index of the pixel.
Value to set.
Set a pixel.
Column index.
Row index.
The pixel value.
Set a pixel using its index.
Index of the pixel.
New value of the pixel to set.
Set the value of a bit. Function exists for compatibility with Image.
Column index.
Row index.
Index of the channel, must be zero.
New bit value.
Set the value of a bit using index. Function exists for compatibility with Image.
Index of the pixel.
Index of the channel, must be zero.
Value to set.
Set a pixel to a given value if the coordinates are inside the mask.
Column index.
Row index.
New color of the pixel to set.
Fill holes in regions of interest.
Optionaloptions: SolidFillOptionsFlood fill options.
The filled mask.
Subtract other from a mask.
Image to subtract.
Optionaloptions: SubtractImageOptionsInversion options.
The subtracted mask.
Top hat of an image.
Optionaloptions: TopHatOptionsTop hat options.
The top-hatted image.
StaticcreateCreate a new Mask based on the properties of an existing one.
Reference Mask.
Mask options.
New mask.
Staticfrom
Construct a new Mask knowing its dimensions.