Difference between revisions of "Function:FindTransformECC"

From CUVI Wiki
(Created page with "__NOTOC__ Finds the geometric transform (warp) between two images in terms of the ECC criterion and generates a floating-point 2×3 mapping matrix. The matrix can then be fed to warpAffineBack to align the two images. ====Function====")
 
Line 2: Line 2:
Finds the geometric transform (warp) between two images in terms of the ECC criterion and generates a floating-point 2×3 mapping matrix. The matrix can then be fed to [[Function:WarpAffineBack|warpAffineBack]] to align the two images.
Finds the geometric transform (warp) between two images in terms of the ECC criterion and generates a floating-point 2×3 mapping matrix. The matrix can then be fed to [[Function:WarpAffineBack|warpAffineBack]] to align the two images.
====Function====
====Function====
{|
|style="font-size:100%;"|
<syntaxhighlight lang="cpp">
CuviStatus cuvi::computerVision::findTransformECC(CuviImage& templateImage, CuviImage& inputImage, Cuvi64f t[2][3], Cuvi32s iterations = 50, Cuvi64f threshold = 0.001, const CuviStream& stream = CuviStream());
</syntaxhighlight>
|}

Revision as of 19:40, 19 October 2022

Finds the geometric transform (warp) between two images in terms of the ECC criterion and generates a floating-point 2×3 mapping matrix. The matrix can then be fed to warpAffineBack to align the two images.

Function

CuviStatus cuvi::computerVision::findTransformECC(CuviImage& templateImage, CuviImage& inputImage, Cuvi64f t[2][3], Cuvi32s iterations = 50, Cuvi64f threshold = 0.001, const CuviStream& stream = CuviStream());