Flaw Detection Vision Data Access Functions

Functions that get values from a Surface Flaw data structure.

Note: Each of the following functions references a SurfaceFlaw data structure as the first parameter.

Function

Description

GetAngle(Structure, [Index])

Returns the Angle of the indexed edge.

GetArea(Structure, [Index]) Returns an area value.
GetAverageIntensity(Structure, [Index]) Returns the average intensity of the flaw.
GetHeight(Structure, [Index]) Returns a height value.

GetNFound(Structure)

Returns the total number of flaws found.

GetPerimeter(Structure, [Index]) Returns a perimeter value.
GetRoundedness(Structure, [Index]) Returns the roundedness of the flaw.

GetTotalFlawArea(Structure)

Returns the total area of all of the flaws detected by the SurfaceFlaw function.

GetWidth(Structure, [Index]) Returns a width value.
GetX(Structure, [Index1], [Index2]) Returns a x-coordinate.
GetY(Structure, [Index1], [Index2]) Returns a y-coordinate.