Ask Your Question
1

How to fill the shape which i use minAreaRect or minEnclosingCircle?

asked 2014-04-04 10:58:16 -0600

wuling gravatar image

updated 2014-04-04 10:58:56 -0600

Hi all:

image description

I can use findContours to find any shape contours and also use minarearect or minEnclosingCircle,but i have no idea to fill circle or rectangle of the minimum area enclosing .Does anyone have good ideas? Any help is highly appreciated! Thanks

edit retag flag offensive close merge delete

Comments

2
  • anything drawn with a thickness of -1 will be 'filled' (circle,line,rectangle,drawContours)
  • fillPoly()
  • floodfill()
berak gravatar imageberak ( 2014-04-04 11:05:30 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-04-05 02:22:23 -0600

wuling gravatar image

updated 2014-04-05 02:49:40 -0600

dear berak thanks

edit flag offensive delete link more

Question Tools

Stats

Asked: 2014-04-04 10:58:16 -0600

Seen: 843 times

Last updated: Apr 04 '14