Maximum thickness of polylines [closed]
I would like to draw a polyline with thiness bigger than 255, but this assert won't allow me to do that.
https://github.com/Itseez/opencv/blob...
CV_Assert( pts && npts && ncontours >= 0 &&
0 <= thickness && thickness <= 255 &&
0 <= shift && shift <= XY_SHIFT );
After removing this assertion and recompiling OpenCV, drawing polyline with thickness bigger than 255 is possible and seems to be working very good. Is there any specific reason why is this limited to 255 by default?
@kzm I do not know to answer your question, but why don't you try to make a pull/bugfix/feature request explaining the case. I am sure you will get an answer from the devs, and maybe indeed it is a bug and then you will have the opportunity to to provide a bugfix ;-).