Ask Your Question
0

Draw irregular shape plane on Image in opencv

asked 2016-06-29 06:50:48 -0600

Nitin Moradiya gravatar image

updated 2016-06-29 06:51:04 -0600

I want to draw irregular shape plane passing through 4-10 points. This points are making closed loop area so that I can calculate area covered by this points. e.x. I have 6 points, I joined then by lines and now calculate the area covered by this points.

edit retag flag offensive close merge delete

Comments

sturkmen gravatar imagesturkmen ( 2016-06-29 08:50:15 -0600 )edit

It working fine for me... thanks for help........

Nitin Moradiya gravatar imageNitin Moradiya ( 2016-06-30 00:57:20 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-06-29 07:23:10 -0600

J. Romeo gravatar image

Maybe cv::line from point to point and the last with the first?

edit flag offensive delete link more

Comments

Thanks Romeo... I did it, now I want to select the point available inside this closed ROI and assign them different colour.

Nitin Moradiya gravatar imageNitin Moradiya ( 2016-06-29 07:39:13 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-06-29 06:50:48 -0600

Seen: 922 times

Last updated: Jun 29 '16