Destination image size of LinearPolar / LogPolar
The documentation says:
void cv::linearPolar (InputArray src, OutputArray dst, Point2f center, double maxRadius, int flags)
- src – Source image
- dst – Destination image. It will have same size and type as src.
- …
Why is the size of the destination image forced to be the same as the one of the source image? Does it make any sense?
As far as I understand, the angular and radial resolution of the resulting image shouldn’t depend on the width and height of the source. Ideally, it should be set manually with some reasonable defaults depending on the maxRadius parameter (say, maxRadius × 2π∙maxRadius to match the resolution of the circle edge, or maxRadius × π∙maxRadius to match the average resolution of the source for LinearPolar).
problem is still the same in 3.3, yet please DO NOT use the deprecated 2.4 c-api version.
Sorry, I’ve just copied the text from the wrong place. I use OpenCV 3 actually.
oook, much better ;)
Should I open an issue in the OpenCV GitHub bugtracker?
too late ;)
(and yes, it would need another overload (abi compability))
I’ve added this: https://github.com/opencv/opencv/issu...
I don't think this is an issue . btw I agree that it would be useful to have this as feature. Time ago I developed a version that works as you request. Please follow your issue on github to get the code and updates. Bye