- OpenCV =>3.4.3 / 3.4.4
- Operating System / Platform => Windows 64 Bit / ubuntu 16
- Compiler => opencv-contrib-python 3.4.4 / 3.4.3 (from pip)
for unknown reason, sample only runs,
if we use cv.reg_MapShift cv.reg_MapperGradShift and cv.reg_MapperPyramid here:
|
mapTest = cv.reg.MapShift(shift) |
|
|
|
img2 = mapTest.warp(img1) |
|
|
|
mapper = cv.reg.MapperGradShift() |
|
mappPyr = cv.reg.MapperPyramid(mapper) |
(underscores instead of dots)
(easy to fix, but the underscores look quite weird to me)
it also segfaults, if it used like this:
mappPyr = cv.reg_MapperPyramid(cv.reg_MapperGradShift())
instead of:
mapper = cv.reg_MapperGradShift()
mappPyr = cv.reg_MapperPyramid(mapper)
for unknown reason, sample only runs,
if we use
cv.reg_MapShiftcv.reg_MapperGradShiftandcv.reg_MapperPyramidhere:opencv_contrib/modules/reg/samples/reg_shift.py
Lines 10 to 15 in 7670ff2
(underscores instead of dots)
(easy to fix, but the underscores look quite weird to me)
it also segfaults, if it used like this:
instead of: