Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2088

Blurred mask on image

$
0
0
Hello, i want to blur specific regions (ellipses) of an image with smooth edges. What i have done so far is: 1. create mask for non blurring area (ellipse) 2. create inverted mask for blurred area 3. copy the original image and using bitwise_and with the mask get the specific areas 4. blurred the image and using bitwise_and with inverted mask 5. combined the to images The edges are "hard" and i wanted to use a blur on the mask to feather the edges. But when i combine the blurred mask the edges become weired. Is there a way to achieve this? If code is needed ill provide.

Viewing all articles
Browse latest Browse all 2088

Trending Articles