|
XrsCalcNCC Method
|
Normalized Cross Correlation를 계산한다.
Namespace: Pixoneer.NXDL.NRSAssembly: NXDLrs (in NXDLrs.dll) Version: 3.0.0.0
Syntaxpublic static double CalcNCC(
XGrid gridT,
XGrid gridS,
int xT,
int yT,
int xS,
int yS,
int masksizeX,
int masksizeY,
bool crossHairSearch
)
Parameters
- gridT XGrid
- [In] 템플릿 데이터.
- gridS XGrid
- [In] 검색 데이터.
- xT Int32
- [In] 템플릿 데이터 중심 X.
- yT Int32
- [In] 템플릿 데이터 중심 Y.
- xS Int32
- [In] 검색 데이터 중심 X.
- yS Int32
- [In] Search Y size.
- masksizeX Int32
- [In] 커널 X 크기.
- masksizeY Int32
- [In] 커널 Y 크기.
- crossHairSearch Boolean
- [In] Cross Hair 적용시 true(4-way), false이면 8-way적용.
Return Value
Double NCC값. NCC를 계산할 수 없는 경우 -1이 반환된다.
See Also