SearchMode Property

NI Vision for Visual Basic

SearchMode Property

Syntax

CWIMAQStraightEdgeOptions.SearchMode

Data Type

CWIMAQStraightEdgeSearchModes

You can use the following constants with this data type:

  • cwimaqUseBestHoughLine—Finds the strongest straight edge using all points detected on a rake.
  • cwimaqUseBestProjectionEdge—Finds the strongest projected edge location to determine the straight edge.
  • cwimaqUseBestRakeEdges—Fits a straight edge on the best points detected using a rake.
  • cwimaqUseFirstProjectionEdge—Uses the location of the first projected edge as the straight edge.
  • cwimaqUseFirstRakeEdges—Fits a straight edge on the first points detected using a rake.

Purpose

Determines the search mode used for finding straight edges.