Sharpening tool, uses blurred mask. Sharpness is modified with few sliders that work like a kind of equalizer. User can control blurring parameters (radius and treshold for selective blur mask). It provides 4 types of output: Sharpenned image, mask, split/comparision mode and mask-to-img differences.
Brightness of image can be affected by levels-like tool that works indirectly - via the mask.
See attached screenshot for more info.
Plugin is multithreaded.
Downloads (source code with instructions for linux) and few sample images http://code.google.com/p/aumask/wiki/Introduction.
Any comments and feature requests welcomed.
| Attachment | Size |
|---|---|
| 126.91 KB | |
| 16.13 KB |
Comments
Thanks for opinion. From
Thanks for opinion.
From programmer's point of view I dont see any obstacle. Only, I'm not much familiar with theory behind color spaces. I will prepare new wiki page on google code, where I will describe current algorithm and where we can define alternatives you propose. With mathematical formulas of course.
A plugin that often offer to
A plugin that often offer to apply the filter only on determinate channel(s) is gmic (as example in most of the filter in Enhancement for sharpening or smoothing)
For this Gmic offers all the possible options, so much that may be confusing:
the most commune and usually the most reasonable for sharpen is apply only on a Luminosity channel to reduce color shift and colour noise.
Manually you may experiment the difference in results
decomposing (as example in LAB or HSL or HSV )
using the filter only on L(ab) or L(hsl) or V(hsv) channel and recombining.
But for the algorithm, it will remain the exactly the same, only the filter may give a option to apply that algorithm to a channel, in one of the color space already available in gimp.
that in the filter code should correspond to call plug-in-decompose, apply the filter as now , just on the chosen channel
, and then call plug-in-recompose .
(i will not know how to code it, just somehow i remembered the names of the function to call )
Im not very familiar with
Im not very familiar with gmic, so I just installed it to see what it is about... looks very complex and powerfull tool...
I just looked at a wiki site about colorspaces – it scaries me. It would take hours and hours to learn it and I'm not interested in theory. And all I need is couple of formulas.
Gimp just doesnt provide API to get lightnes, brightness, luminosity in various colorspaces from RGB image.
There is no call like „give me lumunosity of pixel x,y in HSL colorspace“ nor like “change luminosity of pixel x,z to z“. (Please correct me if I'm wrong)
Gimp provides RGB and needs to get RGB values back, and inbetween you are on your own. Even decompose plugin can provide it – there is no way how to integrate it.
Of course, in theory , you can decompose manualy and then run aumask on particular layer (that represents a channel). But this is complicated for user and a lot of data are lost – because after every transformation data are rounded to be saved as integers 0-255.
So for now I will not work on this. Unless somebody helps me with theory....
one more comment about gmic – sharpening via unsharp mask there looks really good..
Gimp just doesnt provide API
Gimp just doesnt provide API to get lightnes, brightness, luminosity in various colorspaces from RGB image.
The libgimp functions for this are described here:
http://doc.gnu-darwin.org/libgimpcolor/libgimpcolor-GimpColorSpace.html
They are defined in the source tree in the following file:
http://git.gnome.org/browse/gimp/tree/libgimpcolor/gimpcolorspace.c?h=gi...
I did not know about this.
I did not know about this. It looks exactly like what i need for that functionality.
Right now, I'm working on something else, but afterwards I will look at this and will try to incorporate it into my plugin
Never can have too many tools
Never can have too many tools for sharpening and contrast adjustments imo. Any chance you could compile this one for Windows? :)
No, I'm not able to compile
No, I'm not able to compile it for windows. But chances are that somebody will do it and publish a download link here.
I post this plugin here
I post this plugin here mainly to get any feedback and to see if something like this can be usefull for anybody.
Pages