# 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.
GetPoint3DFrom2D(Image, X, Y) | Returns a 3D point structure given the 2D coordinate in pixel space on a height map. The function shows an error if the background shape is not at the bottom of the region, the given coordinates are out of range, or there are no points in the region of interest. Note: The 3D point structure is in real world units mm. Note: If the given point does not have a Z data (missing data in the point cloud due to shadowing), the function still returns the 3D point structure, and the Z component is 0 (plane Y=0).