Ask Your Question

Nirmalan's profile - activity

2020-10-20 06:42:01 -0500 received badge  Notable Question (source)
2020-01-08 16:33:59 -0500 received badge  Popular Question (source)
2016-10-25 02:59:03 -0500 received badge  Student (source)
2016-10-23 23:11:36 -0500 asked a question Blurred mask on image

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.