Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

IMAQ Rake 3 VI

NI Vision 2011 for LabVIEW Help

Edition Date: June 2011

Part Number: 370281P-01

»View Product Info
Owning Palette: Caliper
Requires: NI Vision Development Module

Finds edges along a set of parallel lines defined inside a rectangular region. Edges are determined based on their contrast and slope.

Details

IMAQ Rake 3

/images/reference/en-XX/help/370281P-01/cbool.gif

Optimized Mode, when TRUE, enables a faster edge detection algorithm that does not return an edge map. When FALSE, enables a standard edge detection algorithm that returns an edge map. The default is TRUE.

/images/reference/en-XX/help/370281P-01/cnclst.gif

Edge Options specifies the parameters that are used to compute the edge gradient information and detect the edges.

/images/reference/en-XX/help/370281P-01/cu32.gif

Edge Polarity specifies the polarity of the edges to be found.

All Edges (0)

(Default) Searches for all edges

Rising Edges (1)

Searches for rising edges

Falling Edges (2)

Searches for falling edges

/images/reference/en-XX/help/370281P-01/cu32.gif

Kernel Size specifies the size of the edge detection kernel. The default is 3.

/images/reference/en-XX/help/370281P-01/cu32.gif

Width specifies the number of pixels averaged perpendicular to the search direction to compute the edge profile strength at each point along the search ROI. The default is 3.

/images/reference/en-XX/help/370281P-01/csgl.gif

Minimum Edge Strength specifies the minimum edge strength (gradient magnitude) required for a detected edge. The default is 10.

/images/reference/en-XX/help/370281P-01/cenum.gif

Interpolation Type specifies the interpolation method used to locate the edge position.

Choose from the following options:

Zero Order (0)

Rounds to the nearest integral edge location

Bilinear (1)

Uses bilinear interpolation to compute the edge location

Bilinear Fixed (4)

(Default) Uses the fixed-point computation of bilinear interpolation to determine the edge location

/images/reference/en-XX/help/370281P-01/cenum.gif

Data Processing Method is the method used to process the data extracted for edge detection.

Average (0)

(Default) Averages the data extracted for edge detection

Median (1)

Takes the median of the data extracted for edge detection

/images/reference/en-XX/help/370281P-01/cgenclasstagrefflat.gif

Image is a reference to the source image.

/images/reference/en-XX/help/370281P-01/ccclst.gif

ROI Descriptor is a descriptor that defines the rectangle or rotated rectangle within which edge detection is performed.

/images/reference/en-XX/help/370281P-01/c1di32.gif

Global Rectangle contains the coordinates of the bounding rectangle.

/images/reference/en-XX/help/370281P-01/c1dcclst.gif

Contours are each of the individual shapes that define an ROI.

/images/reference/en-XX/help/370281P-01/cenum.gif

ID refers to whether the contour is the external or internal edge of an ROI.

/images/reference/en-XX/help/370281P-01/cu32.gif

Type is the shape type of the contour.

/images/reference/en-XX/help/370281P-01/c1di32.gif

Coordinates indicates the relative position of the contour.

/images/reference/en-XX/help/370281P-01/cu32.gif

Step Size is the distance, in pixels, between each parallel line in the rectangular region.

/images/reference/en-XX/help/370281P-01/cu32.gif

Scan Direction specifies the direction in which the VI searches for edges along the parallel search lines. The following options are valid:

Left to Right (0)

The VI searches from left to right.

Right to Left (1)

The VI searches from right to left.

Top to Bottom (2)

The VI searches from top to bottom.

Bottom to Top (3)

The VI searches from bottom to top

/images/reference/en-XX/help/370281P-01/cerrcodeclst.gif

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.

/images/reference/en-XX/help/370281P-01/cbool.gif

status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.

/images/reference/en-XX/help/370281P-01/ci32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370281P-01/cstr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

/images/reference/en-XX/help/370281P-01/cenum.gif

Process determines the type of search. Choose from the following values:

Get First Edge (0)

Returns the first edge.

Get First + Last Edge (1)

Returns the first and last edge.

Get All Edges (2)

(Default) Returns all edges found along the search path(s).

Get Best Edge (3)

Returns the strongest edges found along the search path(s).

/images/reference/en-XX/help/370281P-01/i1dnclst.gif

First Edges returns information about all edges detected as first edges.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Pixel) is the location of the edge point in the image in pixel units.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Real-World) is the location of the edge point in the image in calibrated units. When the image is not calibrated, this is the location is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Pixel) is the location of the edge from the first point of the search line along the boundary of the input ROI in pixels.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Real-World) is the location of the edge from the first point of the search line along the boundary of the input ROI in calibrated units. When the image is not calibrated, this distance is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Strength is the strength (gradient magnitude) at the located edge.

/images/reference/en-XX/help/370281P-01/idbl.gif

Noise is the strength of the noise associated with the current edge.

/images/reference/en-XX/help/370281P-01/ibool.gif

Rising? indicates the polarity of the edge. If TRUE, the edge is a Rising Edge.

/images/reference/en-XX/help/370281P-01/i1dnclst.gif

Last Edges returns information about all edges detected as last edges.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Pixel) is the location of the edge point in the image in pixel units.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Real-World) is the location of the edge point in the image in calibrated units. When the image is not calibrated, this is the location is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Pixel) is the location of the edge from the first point of the search line along the boundary of the input ROI in pixels.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Real-World) is the location of the edge from the first point of the search line along the boundary of the input ROI in calibrated units. When the image is not calibrated, this distance is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Strength is the strength (gradient magnitude) at the located edge.

/images/reference/en-XX/help/370281P-01/idbl.gif

Noise is the strength of the noise associated with the current edge.

/images/reference/en-XX/help/370281P-01/ibool.gif

Rising? indicates the polarity of the edge. If TRUE, the edge is a Rising Edge.

/images/reference/en-XX/help/370281P-01/i1dcclst.gif

Search Lines contains information about the search lines used to detect the edges.

/images/reference/en-XX/help/370281P-01/inclst.gif

Start Point is the start point of the search line in pixel units.

/images/reference/en-XX/help/370281P-01/inclst.gif

End Point is the end point of the search line in pixel units.

/images/reference/en-XX/help/370281P-01/i1dcclst.gif

Edges contains information of all the edges detected along the search line.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Pixel) is the location of the edge point in the image in pixel units.

/images/reference/en-XX/help/370281P-01/inclst.gif

Location (Real-World) is the location of the edge point in the image in calibrated units. When the image is not calibrated, this is the location is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Pixel) is the location of the edge from the first point of the search line along the boundary of the input ROI in pixels.

/images/reference/en-XX/help/370281P-01/idbl.gif

Distance (Real-World) is the location of the edge from the first point of the search line along the boundary of the input ROI in calibrated units. When the image is not calibrated, this distance is in pixel units.

/images/reference/en-XX/help/370281P-01/idbl.gif

Strength is the strength (gradient magnitude) at the located edge.

/images/reference/en-XX/help/370281P-01/idbl.gif

Noise is the strength of the noise associated with the current edge.

/images/reference/en-XX/help/370281P-01/ibool.gif

Rising? indicates the polarity of the edge. If TRUE, the edge is a Rising Edge.

/images/reference/en-XX/help/370281P-01/i1ddbl.gif

Edge Map is an array that contains the calculated edge strengths along the search line.

/images/reference/en-XX/help/370281P-01/ibool.gif

Calibration Valid indicates if the calibration information associated with the edges found along the search line is valid. If the calibration information is invalid for any pixel that is used for edge detection, the Calibration Valid Boolean is FALSE.

/images/reference/en-XX/help/370281P-01/ierrcodeclst.gif

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.

/images/reference/en-XX/help/370281P-01/ibool.gif

status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.

/images/reference/en-XX/help/370281P-01/ii32.gif

code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.

/images/reference/en-XX/help/370281P-01/istr.gif

source describes the origin of the error or warning and is, in most cases, the name of the VI or function that produced the error or warning. The default is an empty string.

Details

The following figure illustrates the rake:


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit