ermig1979 / Simd

C++ image processing and machine learning library with using of SIMD: SSE, AVX, AVX-512, AMX for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM.
http://ermig1979.github.io/Simd
MIT License
2.01k stars 407 forks source link

Helper function for cv::invertAffineTransform() #249

Closed sbudenkov closed 1 year ago

sbudenkov commented 1 year ago

Hi, I can't find something like void cv::invertAffineTransform( InputArray M, OutputArray iM ) from OpenCV. It is also possible with cv::WARP_INVERSE_MAP in cv::warpAffine(). Could you please help me with that. I need it for SimdWarpAffineInit().

ermig1979 commented 1 year ago

http://ermig1979.github.io/Simd/help/group__warp__affine.html#gad69a792126bf952cb14ac3b1c385ece5

sbudenkov commented 1 year ago

I see but what about invert? I need inverted matrix. I can do it using OpenCV but want to do it using Simd.

ermig1979 commented 1 year ago

I added Simd::InvertAffineTransform().

sbudenkov commented 1 year ago

Please close the issue then.