Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23160

How to access angle and shift information in cv2-reg (OpenCV)?

$
0
0

I have trouble with accessing angle and shift information from the cv2.reg objects Documentation. They cannot be called directly as already discussed in other thread.

Based on the discussion in the link above and on the very spartan documentation, this is my code, which does not lead to any errors, but leads to inaccessible objects:

a = cv2.reg_MapperGradAffine()b = cv2.reg.MapperPyramid(a)retval = b.calculate(im1, im2)c = cv2.reg.MapTypeCaster_toAffine(retval)

It is also not clear to me what is meant by "sourceMap" in the "MapTypeCaster Class" Documentation?

Many thanks in advance!

If further information is needed, please tell me!


Viewing all articles
Browse latest Browse all 23160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>