Ask Your Question

how can I fill plane of connected line at the OpenCV ?

asked 2013-03-19 22:21:53 -0600

dennis gravatar image

I had drawing line to point. So the Lines is made like plane.

I want to fill plane some color. But I couldn't fill color of that.

for example if I make triangle use points. I want to fill color in triangle.

How Can I fill plane of connected line at the openCV?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-03-20 04:31:14 -0600

Guanta gravatar image

You can use the function fillPoly which can draw basically any polygon which consists of points, see,%20const%20Point*%20pts,%20const%20int%20npts,%20int%20ncontours,%20const%20Scalar&%20color,%20int%20lineType,%20int%20shift,%20Point%20offset%29 .

edit flag offensive delete link more

Question Tools


Asked: 2013-03-19 22:21:53 -0600

Seen: 944 times

Last updated: Mar 20 '13