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!
@D.Griffiths or @Mettphysik, maybe do you remember how to solve this? You both already worked on this problem.