Ask Your Question

kzm's profile - activity

2015-04-22 02:25:36 -0500 received badge  Enthusiast
2015-04-10 08:43:14 -0500 received badge  Student (source)
2015-04-10 08:02:12 -0500 asked a question Maximum thickness of polylines

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?