According to the documentation http://www.imagemagick.org/script/comma ... ssian-blur , this can take a "bias" argument.
-gaussian-blur radiusxsigma+bias
What does bias do, or what should it do? I've tried it with various numbers, with or without "%", and it seems to make no difference.
(I ask because I'm building an interface so nip2 can drive IM. If bias doesn't do anything, I'll leave it out.)
Bias isn't mentioned on Anthony's http://www.imagemagick.org/Usage/blur/ page.
The same question applies to motion blur: "-motion-blur radiusxsigma+angle+bias"
Gaussian blur bias
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Gaussian blur bias
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Gaussian blur bias
I don't read code that well, but as far as I can see there is no bias argument for motion-blur or gaussian-blur. If it ever existed, it was probably removed when the code was modified to use morphologic equivalents when morphology was introduced. You can look at effects.c in the magick folder of the software download.
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Gaussian blur bias
Thanks, Fred. I've just seen that the "-sharpen" documentation also mentions bias, which also seems to have no effect.
Perhaps these should be removed from the documentation.
Perhaps these should be removed from the documentation.
snibgo's IM pages: im.snibgo.com
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Gaussian blur bias
I will check with Magick and if not used, remove them.snibgo wrote:Thanks, Fred. I've just seen that the "-sharpen" documentation also mentions bias, which also seems to have no effect.
Perhaps these should be removed from the documentation.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Gaussian blur bias
Magick says they were removed when switching to the morphology equivalent code. I think they were just adding a bias value to the output such as with -bias. But I tested and none of the functions seem to be affected by -bias or -define convolve:bias=. I had never used them and do not think they are that important or useful.
So I will just remove the bias arguments from the options page for those functions later today. Probably won't show until tomorrow or at least a few hours.
So I will just remove the bias arguments from the options page for those functions later today. Probably won't show until tomorrow or at least a few hours.