1 | initial version |
if you take a look at the inbuild help():
help(cv2.linearPolar) Help on built-in function linearPolar:
linearPolar(...) linearPolar(src, center, maxRadius, flags[, dst]) -> dst
you'll see, that you don't have to supply the result image (so the order of the following args is one-off).
it should be simply:
img1 = cv2.linearPolar(circleArr, (256,256), 100, cv2.INTER_LINEAR+cv2.WARP_FILL_OUTLIERS)
2 | No.2 Revision |
if you take a look at the inbuild builtin help():
>>>
help(cv2.linearPolar)
you'll see, that you don't have to supply the result image (so the order of the following args is one-off).
it should be simply:
img1 = cv2.linearPolar(circleArr, (256,256), 100,