CWIMAQImage
CWIMAQImage represents image data and properties that you can configure on a per image basis.
Properties
BitDepth | Bit depth of the image. |
BorderWidth | Width, in pixels, of the border created around an image. The default value is 2. |
HasAnyVisionInfo | Boolean that indicates if there is extra vision information associated with the image. |
HasCustomData | Boolean that indicates if there is any custom data associated with the image. |
HasOverlay | Boolean that indicates if there is any overlay information associated with the image. |
Height | Height of the image in pixels. |
IsCalibrated | Boolean that indicates if any calibration information is associated with the image. |
IsClear | Boolean that indicates if the image is clear. True indicates that all the image pixels are 0. |
IsColorTemplate | Boolean that indicates if the image is a color template. |
IsGeometricTemplate | Boolean that indicates if the image is a geometric template. |
IsGoldenTemplate | Boolean that indicates if the image is a golden template. |
IsGrayscaleTemplate | Boolean that indicates if the image is a grayscale template. |
IsTemplate | Boolean that indicates if any pattern matching template information is associated with the image. |
MaskOffset | Offset of the mask image if CWIMAQImage is a mask image. |
MaskOffsetX | Obsolete—Use MaskOffset instead. X-offset of the mask image if CWIMAQImage is a mask image. |
MaskOffsetY | Obsolete—Use MaskOffset instead. Y-offset of the mask image if CWIMAQImage is a mask image. |
Overlays | Collection of CWIMAQOverlay objects that are associated with the image. Presently, there is only one overlay per collection. Each overlay can contain multiple items. |
SkipCount | Skip count of an image in an acquisition. |
Type | Pixel type of the image. |
Width | Width of the image in pixels. |
Methods
ArrayToImage | Creates an image from an array. |
ImageToArray | Extracts a pixel array from an image. |
RemoveVisionInfo | Removes the specified vision information types from an image. |
SetSize | Sets the size of an image. |