IMAQ Clamp Vertical Min VI
Owning Palette: Measure DistancesInstalled With: NI Vision Development ModuleMeasures a distance in the vertical direction, from the center of the search area towards the horizontal sides of the search area. This VI locates edges along a set of parallel search lines, or rake. The edges are determined based on their contrast and slope.
Settings is a cluster defining the parameters of the edge detection algorithm and the information that is overlaid on the result image. The first three parameters specify the filter used to detect the edges.
|
|||||||||||||||||
Image is a reference to the source image. |
|||||||||||||||||
Rectangle specifies the coordinates of a rectangular search area.
|
|||||||||||||||||
Coordinate System specifies the coordinate system to which the Rectangle is linked. If the Coordinate System input is used (connected), the location of the intensity measurement is shifted and rotated by the difference between the reference position of the coordinate system and its new location. |
|||||||||||||||||
error in (no error) describes the error status before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. This VI or function runs normally only if no error occurred before this VI or function runs. If an error occurs while this VI or function runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
|||||||||||||||||
Edge Coordinates is an array of point clusters consisting of the spatial coordinates of the detected edges. |
|||||||||||||||||
Image Out is a reference to the destination image. The search area and/or the result of the measurement may be overlaid on the image according to the settings. |
|||||||||||||||||
Distance returns the distance measured between the hit lines. |
|||||||||||||||||
Coordinate System (duplicate) is a reference to the coordinate system. |
|||||||||||||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|
Details
A horizontal hit-line to the object is calculated through the uppermost edge detected in the lower half of the search area. A second horizontal hit-line to the object is calculated through the lowermost edge in the upper half of the search area. The distance between those two lines is returned. IMAQ Clamp Vertical Min can overlay on the image returned: the position of the search area, the search lines, the edges found, and the result.