79261173

Date: 2024-12-07 18:47:46
Score: 1.5
Natty:
Report link

The problem is that design of Gaussian blur is isotropic, meaning it diffuses the intensity of each pixel equally in all directions.

You should try generating a binary mask of the black region, computing its distance transform, and than applying a scaling curve (exponential decay) to map the distance values to intensity values.

If I understood correctly what you are trying to achieve, reading this might help you with the realization.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: haievyiivan