Click or drag to resize
XDL

XTemplateMatchFind Method

Pyramid refinement 알고리즘으로 매칭을 수행한다.

Namespace: Pixoneer.NXDL.NRS
Assembly: NXDLrs (in NXDLrs.dll) Version: 3.0.0.0
Syntax
C#
public XVertex3d Find(
	int nXT,
	int nYT,
	int nX1S,
	int nX2S,
	int nY1S,
	int nY2S,
	bool subPixel,
	double top2Ratio
)

Parameters

nXT  Int32
[In] 템플릿 이미지의 중심 X.
nYT  Int32
[In] 템플릿 이미지의 중심 Y.
nX1S  Int32
[In] 검색 이미지의 범위(시작 X)
nX2S  Int32
[In] 검색 이미지의 범위(종료 X)
nY1S  Int32
[In] 검색 이미지의 범위(시작 Y)
nY2S  Int32
[In] 검색 이미지의 범위(종료 Y)
subPixel  Boolean
[In] sub-pixels 단위까지 검사하는 경우에는 true, 그렇지 않으면 false
top2Ratio  Double
[In] 가장 높은 상관계수와 두 번째로 높은 상관계수 간의 비율. 1보다 큰 경우에만 적용.

Return Value

XVertex3d
Matched Position.
See Also