Image Vision Data Access Functions

This topic lists the Vision Data Access Functions that reference an Image data structure as the first parameter.

Function Description

GetArea(Image, [Index])

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

GetBrightPixelCount(Image)

Returns the number of pixels above the Threshold. The Image structure must be created by a FindCircleDefects function.

GetDarkPixelCount(Image)

Returns the number of pixels below the threshold. The Image structure must be created by a FindCircleDefects function.

GetHeight(Image, [Index])

Returns a height value.

GetPixelValue(Image, Fixture, Point)

Returns the greyscale value, 0-255, at a specified Point in an Image.

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.

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.

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).

GetWidth(Image, [Index])

Returns a width value.

GetX(Image, [Index1], [Index2])

Returns the x-coordinate.

GetY(Image, Index)

Returns the y-coordinate.