Image

Each of the following functions references a Image data structure as the first parameter.

Function

Description

GetArea(Image)

Returns the number of pixels processed in an area. The Image structure must be created by a FindCircleDefects function. For more information, see FindCircleDefects.

GetBrightPixelCount(Image)

Returns the number of pixels above the Threshold. The Image structure must be created by a FindCircleDefects function. For more information, see FindCircleDefects.

GetCol(Image, Index)

Returns the starting column coordinate.

GetDarkPixelCount(Image)

Returns the number of pixels below the threshold. The Image structure must be created by a FindCircleDefects function. For more information, see FindCircleDefects.

GetExposure(Image)

Returns the current Exposure parameter setting (in milliseconds) for the most recent acquisition. The GetExposure function must reference the Image data structure created by the AcquireImage function in cell A0. For more information, see AcquireImage.

Note: If the Automatic Exposure parameter is enabled in the AcquireImage function, the GetExposure function returns the exposure time that is automatically determined by the software.

GetHigh(Image)

Returns the number of rows.

GetPixelValue(Image, Fixture, Point)

Returns the grey value of a pixel at a specified point.

GetRegion(Image)

Returns a Region data structure that contains the region coordinates of the referenced Image function. The output may be used as an External Region parameter reference for Vision Tools that support the External Region parameter. For more information, see Image Functions.

GetRow(Image, Index)

Returns the starting row coordinate.

GetString(Image)

Returns the string sent to an In-Sight slave when it receives a network trigger from an In-Sight master. The default Image data structure in cell A0 on the master system must have a string specified in its Master Data parameter. For more information, see AcquireImage.

GetThresh(Image)

Returns the current binary threshold value. The GetThresh function must reference an Image data structure created by either the Filter function (the Filter Type must be set to Binarize, Greyscale Distance or Sharpen) or the PointFilter function (Binarize must be the specified Operation). For more information, see Filter and PointFilter.

Note:
  • The Filter function is only available on In-Sight vision systems running In-Sight firmware 5.1.0 and later.
  • The PointFilter function is only available on In-Sight vision systems running In-Sight firmware 4.9.1 and earlier.

GetWide(Image)

Returns the number of columns.