Edge Control Reference 15.0
Enumerations

Enumerations

enum  EdgePolarity { POLARITY_DONT_CARE = 0 , POLARITY_POSITIVE = 1 , POLARITY_NEGATIVE = 2 }
 Defines the polarity of the edge. More...
 
enum  SearchFunction { SEARCHFUNCTION_FIRSTEDGE = 0 , SEARCHFUNCTION_ALLEDGES = 1 , SEARCHFUNCTION_EDGEPAIR = 2 , SEARCHFUNCTION_BESTEDGE = 3 }
 Defines the search function being used in the Execute method. More...
 
enum  SearchMode {
  SEARCHMODE_THRESHOLD = 0 , SEARCHMODE_THRESHOLD_SUB = 1 , SEARCHMODE_CONTRAST = 2 , SEARCHMODE_CONTRAST_SUB = 3 ,
  SEARCHMODE_OPTIMIZED_SUB = 4
}
 Defines the search mode being used in the Execute method. More...
 

Detailed Description

Enumeration Type Documentation

◆ EdgePolarity

Defines the polarity of the edge.

Supported platforms:
Win32
Win64
Related Topics:
Polarity1
Enumerator
POLARITY_DONT_CARE 

Don't care about the polarity, use an absolute threshold. Only supported in the SEARCHMODE_OPTIMIZED_SUB SearchMode.

POLARITY_POSITIVE 

Find edges from black to white (gradient).

POLARITY_NEGATIVE 

Find edges from white to black (negative gradient).

◆ SearchFunction

Defines the search function being used in the Execute method.

Supported platforms:
Win32
Win64
Related Topics:
SearchFunction Property
Enumerator
SEARCHFUNCTION_FIRSTEDGE 

Finds the first edge within the search area.

SEARCHFUNCTION_ALLEDGES 

Finds all edges within the search area.

SEARCHFUNCTION_EDGEPAIR 

Finds the left and the right most edges within the search area.

SEARCHFUNCTION_BESTEDGE 

Finds the best edge within the search area. Only supported in the SEARCHMODE_OPTIMIZED_SUB SearchMode.

◆ SearchMode

enum SearchMode

Defines the search mode being used in the Execute method.

Supported platforms:
Win32
Win64
Related Topics:
SearchMode Property
Enumerator
SEARCHMODE_THRESHOLD 

Uses a simple threshold to find the edges. No subpixeling.

SEARCHMODE_THRESHOLD_SUB 

Uses a simple threshold to find the edges with subpixeling.

SEARCHMODE_CONTRAST 

Uses the contrast to find the edges. No subpixeling.

SEARCHMODE_CONTRAST_SUB 

Uses the contrast to find the edges with subpixeling.

SEARCHMODE_OPTIMIZED_SUB 

Uses the 2nd derivation to find the edges with subpixeling. This is the only mode that supports the SEARCHFUNCTION_BESTEDGE SearchFunction.