Circular kernel with sectors as subregions opencv

asked 2014-03-15 18:03:29 -0500

dm gravatar image

updated 2014-03-16 02:16:30 -0500

berak gravatar image

I am an opencv newbie . I need to create a circular kernel with 8 sectors as subregions to perform kuwahara filter on an image . I am creating the kernel using opencv as

"Mat kernel=getStructuringElement(CV_SHAPE_ELLIPSE,Size(3,3),Point(-1,-1));"

I need to obtain the sectors and subsequently apply the filter to it. Any ideas on how to get the sectors will be greatly appreciated .

edit retag flag offensive close merge delete