FindTransformRectsOptions2

NI Vision for LabWindows/CVI Function

FindTransformRectsOptions2

Describes how you want the function to search for edges and the information the function overlays to the image.

Elements

Name

Type

Description

direction FindReferenceDirection Specifies the direction and orientation in which the function searches for the primary axis.
showSearchArea int If TRUE, the function overlays the search area on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showSearchLines int If TRUE, the function overlays the search lines used to locate the edges on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showEdgesFound int If TRUE, the function overlays the locations of the edges found on the image. If you do not want this information overlaid onto the image, set this element to FALSE.
showResult int If TRUE, the function overlays the hit lines to the object and the edge used to generate the hit line on the result image. When applicable, the function also overlays the location of any measurements made by the function. If you do not want this information overlaid onto the image, set this element to FALSE.
searchAreaColor RGBValue Specifies the RGB color value to use to overlay the search area.
searchLinesColor RGBValue Specifies the RGB color value to use to overlay the search lines.
searchEdgesColor RGBValue Specifies the RGB color value to use to overlay the search edges.
resultColor RGBValue Specifies the RGB color value to use to overlay the results.
overlayGroupName char* Specifies the overlay group name to assign to the overlays. Set this element to NULL to add overlays to the default group.
primaryEdgeOptions EdgeOptions2 Specifies the parameters used to compute the edge gradient information and detect the edges got the primary ROI.
secondaryEdgeOptions EdgeOptions2 Specifies the parameters used to compute the edge gradient information and detect the edges for the secondary ROI.