[Digikam-users] Batch tools, unsharp

Mikolaj Machowski mikmach at wp.pl
Tue Oct 16 17:16:35 BST 2007


Dnia Tuesday 16 of October 2007, Olivier Six napisaƂ:
> Hi everyone,
>
> I already asked about this problem, but got no answer. I will try
> again to explain what my problem is :
>
> The "tools - batch process", if I go to the "filter", and "unsharp",
> in the options, there are 4 settings that I can enter :
>
> Radius, Deviation, Percent, Threshold
>
> In the Imagemagick manuel, it says :
> threshold: The threshold, as a fraction of QuantumRange, needed to
> apply the difference amount (default 0.05).
> (ref :
> http://www.imagemagick.org/script/command-line-options.php?#unsharp)
>
> The problem is that I can only use integers as setting.
>
> It appears the same problem applies for the other parameters.
>
> In the page http://redskiesatnight.com/Articles/IMsharpen/
> I can read :
>
> <quote>
> A typical call to convert might look something like the following:
> $ convert ... -unsharp 1.5x1.2+1.0+0.10 <input file> <output file>
> </quote>
>
> Obviously all parameters could be ?NOT intergers?, but in the
> batch-process, I can enter ONLY integers.
>
> Does anyone have an idea ? Is it a ?bug? in Imagemagick, or in Digikam?

Well, ImageMagick has slightly different attitude toward values.
Almost everything there is in range 0-1 while in other programs it is
usually 1-100 or even 1-1000. IM probably has more scientific attitude
contrary to user friendliness everywhere else. It is not bug per se in
either program. What is a bug for me is inability of digiKam to use
non-integer values for radius. Other values are just different approach.

Threshold in batch tool has range 0-20. I suppose it is just 0-1 in 0.05
steps. Usability bug definitely. You should file it in bugs.kde.org
asking for uniformity between kipi and digiKam.

BTW - for unsharp mask 1.0 application is quite strong, try it with 0.8.

m.




More information about the Digikam-users mailing list