Commit 63c08d0a authored by adilfaqah's avatar adilfaqah

Fixed the names of methods

parent 2ac196f8
...@@ -7,12 +7,12 @@ import sys ...@@ -7,12 +7,12 @@ import sys
img1 = cv.imread(sys.argv[1]) img1 = cv.imread(sys.argv[1])
img1 = img1.astype(np.float32) img1 = img1.astype(np.float32)
shift = np.array([5., 5.]) shift = np.array([5., 5.])
mapTest = cv.reg.MapShift(shift) mapTest = cv.reg_MapShift(shift)
img2 = mapTest.warp(img1) img2 = mapTest.warp(img1)
mapper = cv.reg.MapperGradShift() mapper = cv.reg_MapperGradShift()
mappPyr = cv.reg.MapperPyramid(mapper) mappPyr = cv.reg_MapperPyramid(mapper)
resMap = mappPyr.calculate(img1, img2) resMap = mappPyr.calculate(img1, img2)
mapShift = cv.reg.MapTypeCaster_toShift(resMap) mapShift = cv.reg.MapTypeCaster_toShift(resMap)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment