Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.