Additional Inherited Members | |
Public Member Functions inherited from ILCrossMarkDetector | |
LPVErrorCode | Detect (ILImage *img, ILRegion *region, ILCrossMarkResults **results) |
void | SetMarkRange (int grayLB, int grayUB) |
void | SetSizeRange (int lb, int ub) |
Public Member Functions inherited from ILObject | |
ILObject * | Copy () |
LPVErrorCode | Load (LString filename) |
void | Reset () |
LPVErrorCode | Save (LString filename) |
BOOL | Valid () |
Properties inherited from ILCrossMarkDetector | |
double | FitDistThreshold [get, set] |
The distance threshold is used for the fitting of the cross lines, as the maximum acceptable distance between the fitting results and the valid fitting points. Those exceed the limitation will be treated as outliers and then excluded from the fitting. By default, it's set to 0, means we'll decide a proper threshold on the fly during detection, according the cross mark's size and width. | |
int | KernelSize [get, set] |
The kernel size used in edge filtering, should be an odd number which is ≥ 3, say 3, 5, 7, etc. | |
int | MarkRangeLB [get] |
The lower bound of the mark's grayscale value range when custom thresholding is used. | |
int | MarkRangeUB [get] |
The upper bound of the mark's grayscale value range when custom thresholding is used. | |
int | MaxCount [get, set] |
The maximum of cross marks to find. If there are more than the setting counts of cross marks, sort the candidates then pick the tops. | |
int | NoiseThreshold [get, set] |
The noise threshold is used to filter false detections, which is the required minimum luminance difference between the cross mark and the background. It's in 1 ~ 100. By default, it's set to 20. | |
LPVPolarity | Polarity [get, set] |
The detection polarity, either object or edge polarity is acceptable. Edge polarities are recommended to use when the cross mark's edge is clear and stable. . More... | |
int | SizeRangeLB [get] |
The lower bound of the mark's size range. | |
int | SizeRangeUB [get] |
The upper bound of the mark's size range. | |
BOOL | UseAutoThreshold [get, set] |
Whether to use auto-thresholding for candidate position extraction. By default, it's true. Local-adaptive thresholding is adopted when there's available mark size range, otherwise global-adaptive thresholding is used. | |
double | Width [get, set] |
The width of the cross mark's two cross lines. By default, it's set to 0, means we'll guess a proper width on the fly during detection. | |
This class implements the interface ILCrossMarkDetector, and is used to create an instance of cross mark detector.