[digikam] [Bug 335666] New: Has unsharp allows for radius <= 1 and it ignores the decimal part

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 335666] New: Has unsharp allows for radius <= 1 and it ignores the decimal part

pochini
https://bugs.kde.org/show_bug.cgi?id=335666

            Bug ID: 335666
           Summary: Has unsharp allows for radius <= 1 and it ignores the
                    decimal part
    Classification: Unclassified
           Product: digikam
           Version: 4.0.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Image Editor
          Assignee: [hidden email]
          Reporter: [hidden email]

Unsharp mask tool allows the user to set a radius <= 1.0 and in that case is
just overexposes the image. Furthermore, it ignores the decimal part of the
number. Any value between 1.01 and 1.99, 2.00-2.99 and so on are the same. It
behaves like very old versions of digikam. I checked v4.0.0-beta4 and it does
not have this issue.

Reproducible: Always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 335666] Has unsharp allows for radius <= 1 and it ignores the decimal part

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=335666

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |4.1.0
         Resolution|---                         |FIXED
      Latest Commit|                            |http://commits.kde.org/digi
                   |                            |kam/86f5988b7b15b9de8e93750
                   |                            |ad5d40db434ab8361

--- Comment #1 from Gilles Caulier <[hidden email]> ---
Git commit 86f5988b7b15b9de8e93750ad5d40db434ab8361 by Gilles Caulier.
Committed on 02/06/2014 at 14:09.
Pushed by cgilles into branch 'master'.

With 4.0.0 release, blur filter algorithm have been changed, and radius
argument precision have been dropped due to use an interger value intead a
float value.
This commit fix this wrong cast to take a acre about radius precision with
UnsharpMask filter
FIXED-IN: 4.1.0

M  +3    -1    NEWS
M  +3    -3    imageplugins/enhance/sharpentool.cpp
M  +1    -1    imageplugins/enhance/sharpentool.h
M  +25   -24   libs/dimg/filters/sharp/sharpsettings.cpp
M  +1    -1    libs/dimg/filters/sharp/sharpsettings.h
M  +4    -4    libs/dimg/filters/sharp/unsharpmaskfilter.cpp
M  +2    -2    libs/dimg/filters/sharp/unsharpmaskfilter.h

http://commits.kde.org/digikam/86f5988b7b15b9de8e93750ad5d40db434ab8361

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[digikam] [Bug 335666] Has unsharp allows for radius <= 1 and it ignores the decimal part

pascalio
In reply to this post by pochini
https://bugs.kde.org/show_bug.cgi?id=335666

pascalio <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #2 from pascalio <[hidden email]> ---
Hello,
I'm sorry to say so but the bug doesn't seem to be fixed to me... In digikam
4.2.0 (from Ubuntu's repositories, Ubuntu 14.10) the USM still overexposes
images with radius < 1 and "amount" param sets the amount of overexposition...
Moreover, radius > 1 results in massive over-sharpening as compared to 3.5.0's
behaviour: I used to batch process some pictures in 3.5.0 with radius = 8,
amount = 1 and threshold = 0.05 to get a subtly sharpened image, but the very
same batch workflow in 4.2.0 yield a completely transformed image (ie. highly
oversharpened, much more global contrast, looks like an enormous radius blur on
top of an enormous USM contrast amount)

I compiled and installed 4.1.0 and the result was the same.
I get the same on to different machines running Ubuntu 14.10 and digikam 4.1.0
or 4.2.0.
Reproducible: still always

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel