Bug 121281

Summary: sharpening photograph tool is not working
Product: [Applications] digikam Reporter: bguettner
Component: Plugin-Editor-SharpenAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: 0.9.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0

Description bguettner 2006-02-03 12:45:31 UTC
Version:           0.9.0-svn (using KDE 3.5.1, Kubuntu Package 4:3.5.1-0ubuntu0breezy1 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-10-686

When using sharpening tool and setting the value for "sharpness" to any value > 0 , target area of preview window becomes black. Such effect can be applied and resulting image is black, too.

Output from console:

digikam: Reading JPEG metadata: APP1 (size=6279)
digikam: Reading JPEG metadata: APP13 (size=7514)
digikam: Reading JPEG metadata: APP1 (size=6149)
digikam: SharedLoadingTask 0x864b6b0: image loaded, false
digikam: Sharpen::End of computation !!! ... ( 0 s )
digikam: Preview sharpen completed...
digikam: Sharpen::End of computation !!! ... ( 0 s )
digikam: Preview sharpen completed...
digikam: Preview sharpen completed...
digikam: Sharpen::End of computation !!! ... ( 2 s )
Comment 1 caulier.gilles 2006-02-03 12:50:40 UTC
I cannot accept any bugs report from 0.9.0 because code is under development.

If you read the TODO file, you can see that sharpen algorithm need to be updated to support 16 bits image.

Actually, the code is broken in the tool. This is why you have a black hole instead the image.

I close this file. I will just restored the algorithm to work only why 8 bits images! If you know image filter algorithms, you can help me to finalize this job (:=))))...

Gilles Caulier