Skip to content

Commit f4fff16

Browse files
committed
bug fix for findTransformECC
1 parent a554505 commit f4fff16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

micasense/imageutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def align(pair):
157157
plotutils.plotwithcolorbar(grad2, "match grad level {}".format(level))
158158
print("Starting warp for level {} is:\n {}".format(level,warp_matrix))
159159

160-
cc, warp_matrix = cv2.findTransformECC(grad1, grad2, warp_matrix, warp_mode, criteria)
160+
cc, warp_matrix = cv2.findTransformECC(grad1, grad2, warp_matrix, warp_mode, criteria, None, 1)
161161

162162
if show_debug_images:
163163
print("Warp after alignment level {} is \n{}".format(level,warp_matrix))

0 commit comments

Comments
 (0)