IMAQ Edge Tool 3 VI
- Updated2023-02-21
- 7 minute(s) read
Requires: NI Vision Development Module
Finds edges along a path defined in the image.
Supported Image Types

![]() |
Optimized Mode, when TRUE, enables a faster edge detection algorithm that does not return gradient values. When FALSE, enables a standard edge detection algorithm that returns gradient values. The default is TRUE. |
||||||||||||||||||||||||||||
![]() |
Edge Options specifies the parameters that are used to compute the edge gradient information and detect the edges.
|
||||||||||||||||||||||||||||
![]() |
Image is a reference to the source image. |
||||||||||||||||||||||||||||
![]() |
ROI Descriptor is a descriptor that defines the rectangle, rotated rectangle, annulus, oval, line, broken line, polygon, or freehand region within which edge detection is performed.
|
||||||||||||||||||||||||||||
![]() |
Process determines the type of search. Choose from the following values:
|
||||||||||||||||||||||||||||
![]() |
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.
|
||||||||||||||||||||||||||||
![]() |
Reverse Direction, when TRUE, reverses the direction that the ROI traverses to find edges. |
||||||||||||||||||||||||||||
![]() |
Image (duplicate) is a reference to the source image. |
||||||||||||||||||||||||||||
![]() |
Edge Information is an array that contains information about each detected edge.
|
||||||||||||||||||||||||||||
![]() |
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. |
||||||||||||||||||||||||||||
![]() |
Gradient Values is an array that contains the calculated edge strengths along the user-defined search area. |
||||||||||||||||||||||||||||
![]() |
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.
|
Examples
Refer to the following for an example that uses this VI.
- LabVIEW\examples\Vision\Caliper\Edge Detection.vi




















