FindTransformRectOptions
Defines the parameters of the algorithm the function uses to locate the object and the information the function overlays to the image.
Elements
Name | Type | Description |
---|---|---|
threshold | int | Specifies the threshold for the contrast of the edge. The function identifies only edges with a contrast greater than this value in the detection process. Contrast is defined as the difference between the average pixel intensity before the edge and the average pixel intensity after the edge. |
width | int | Specifies the number of pixels that are averaged to find the contrast at either side of the edge. |
steepness | int | Specifies the slope of the edge. This value represents the number of pixels that correspond to the transition area of the edge. |
subsamplingRatio | int | Specifies the number of pixels that separates two consecutive search lines of the rake. |
mainAxisDirection | RakeDirection | Specifies the order and direction in which the function searches the edge along the main axis. This direction must be perpendicular to secondaryAxisDirection. |
secondaryAxisDirection | RakeDirection | Specifies the order and direction in which the function searches the edge along the secondary axis. This direction must be perpendicular to mainAxisDirection. |
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 on the result image. If you do not want this information overlaid onto the image, set this element to FALSE. |