error when running warpPolar
When I run the warpPolar I get the result I was expecting. But when I run it on a larger image dftcv_shft.shape, I get (19222, 19418, 2). When trying to run warpPolar on that image Iget the following error:
error: OpenCV(4.2.0) D:\Build\OpenCV\opencv-4.2.0\modules\imgproc\src\imgwarp.cpp:1724: error: (-215:Assertion failed) dst.cols < SHRT_MAX && dst.rows < SHRT_MAX && src.cols < SHRT_MAX && src.rows < SHRT_MAX in function 'cv::remap'
According to warpPolar documentation the array needs be smaller than 32767x32767, which it is but seems to me the error is linked to the size of the array. But it seems the error is from remap!?
Any help would be appreciated.
link to warpPolar
link to remap
Well, looking at the source code, warpPolar calls remap
Right, and remap should be good for arrays smaller than 32767X32767, so what is the problem?
I am not good in english but I think doc is wrong. It should be :Due to current implementation limitations row and column size of an input and output images should be less than 32767.
May be you can post an issue