EnhanceSingleObjectMatch


Improves accuracy of single object matching by adding a subpixel-precise adjustment.

Applications:Usually used after an edge-based template matching tool.

Syntax

C++
C#
Python
 
def EnhanceSingleObjectMatch(
	inImage: Image,
	inObject: Object2D,
	inObjectEdges: list[Path],
	outObject: Object2D,
	/,
	*,
	inAllowScale: bool = False
)
-> outObjectEdges: list[Path]

Parameters

Name Type Default Description
Input value inImage Image Input image
Input value inObject Object2D Input object
Input value inObjectEdges list[Path] Input object edges
Input value inAllowScale bool False Determines if the object scale can be adjusted
Output value outObject Object2D Object with enhanced accuracy
Output value outObjectEdges list[Path] Edges of the object with enhanced accuracy

Hardware Acceleration

This operation is optimized for SSSE3 technology for pixels of type: UINT8.

This operation is optimized for AVX2 technology for pixels of type: UINT8.

This operation is optimized for NEON technology for pixels of type: UINT8.

This operation supports automatic parallelization for multicore and multiprocessor systems.