Right now I'm working on an image processing flow backed with GraphicsMagick (ImageMagick independent fork) and I want to add optional blur
into it.
But people who'll work with it not familiar with Gaussian blur and its radius
and sigma
parameters. So they asked me to accept blur percentage
instead.
I searched for heuristics behind blur percentage
, but I only found that it's an "amount of image taken into consideration for determining each pixels value".
So, the best solution I found is to calculate sigma
based on the following rule:
Does anyone know any better way to determine blur parameters based on its percentage
?