Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Inverse cv::linearPolar causes missing patch in output

$
0
0
I'm trying apply an inverse linear polar transform to some quadratic images: ![image description](/upfiles/1449503818350147.png) The result, I'd expect is the following (done using Photoshope): ![image description](/upfiles/14495039354933244.png) However, the result I get from OpenCV's linearPolar function is the following: ![image description](/upfiles/14495039247164777.jpg) Some part of the image is missing and can be noticed as a black slice. The code I am using is: linearPolar(in, pol, Point2f(in.cols / 2, in.rows / 2), (in.rows / 2), CV_WARP_FILL_OUTLIERS | CV_INTER_LINEAR | CV_WARP_INVERSE_MAP); Where `in` is the input image, given by `imread`. Am I doing something wrong here?

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>