Unsharpen mask filter

All about plugins : Suggestions, bugs, etc... /
Tuto por etendadoj : sugestoj, malbonadĵoj, etc...

Modérateur : Modérateurs

jesito
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 3
Inscription : 16 oct. 2006 10:24
Version de PhotoFiltre : 6.2.6
Système d'exploitation : XP et Linux
Processeur : Pentium Mobile 1,5 Ghz
Mémoire RAM : 1M
Localisation : Barcelona

Unsharpen mask filter

Message par jesito »

Hello!
I'd appreciate very much if someone could point me to any "unsharpen mask " kind of filter, to process digital pictures.
Thanks in advance.
Jes.
Tom
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 13217
Inscription : 02 févr. 2005 9:35

Message par Tom »

Hi jesito,

I'm surprised by your question.
Opposite of sharpen, in my lexical tools, is soften.
Two ways are available to soften a picture (native PF6 tools) :
- Menu Filter / Soften
- Menu Filter / Relief / Soften relief

Any mask cann't solve such a request, in my mind.
All the plugins compatible with PF6 are downloadable on the official site.
jesito
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 3
Inscription : 16 oct. 2006 10:24
Version de PhotoFiltre : 6.2.6
Système d'exploitation : XP et Linux
Processeur : Pentium Mobile 1,5 Ghz
Mémoire RAM : 1M
Localisation : Barcelona

Message par jesito »

Hi Tom:

Many thanks for answering.
In the photography terms, "Unsharpen mask" is not related to the "mask" concept in photofilter. Since most of SLR cameras have a filter in front of the CCD sensor, the pictures as taken from the camera, are a little "softened" and need to be "sharpened", (a common practice that is recommended by most of the camera manufacturers, like Canon for instance). You don't get the real sharpness from a picture until you apply what is called "unsharpen mask" on some picture retouching plugins, "low pass filter" on some others, or "intelligent sharpening". I belive this is referred more to the concept that to the real fact of having a "mask" to "sharpen", (I agree with you, this should be an algorithm not a mask in the Photofilter concept).

Here you can get a better description on this topic:

http://www.scantips.com/simple6.html
http://www.mic-d.com/java/digitalimagin ... index.html

The last one describes the algorithm and has an embedded java interpreter, so you can experiment with the resulting effects of this so called "unsharpen mask" algorithm.


Best regards,
Jes.
Corwin13
Seigneur des posts
Seigneur des posts
Messages : 4298
Inscription : 13 nov. 2004 22:33
Version de PhotoFiltre : 6.53, 7.21, PFS 10.14.1, PF11
Système d'exploitation : Windows 10 Famille 64 bits
Processeur : Intel Core i5 3470
Mémoire RAM : 12 Go
Localisation : Métropole Aix-Marseille

Message par Corwin13 »

Hi jesito!

Suggestion: try the PhotoFiltre Studio version (30 days free) with the 8bf plugin named Blur and Sharpen FF plug-ins. Some comments and download link here: http://www.aim-dtp.net/aim/photoshop/v5 ... actory.htm
jesito
Nouveau(elle)|Nouveau|Nouvelle
Nouveau(elle)|Nouveau|Nouvelle
Messages : 3
Inscription : 16 oct. 2006 10:24
Version de PhotoFiltre : 6.2.6
Système d'exploitation : XP et Linux
Processeur : Pentium Mobile 1,5 Ghz
Mémoire RAM : 1M
Localisation : Barcelona

Message par jesito »

Corwin13 a écrit :Hi jesito!

Suggestion: try the PhotoFiltre Studio version (30 days free) with the 8bf plugin named Blur and Sharpen FF plug-ins. Some comments and download link here: http://www.aim-dtp.net/aim/photoshop/v5 ... actory.htm
It looks like it's the way... Thanks!
I'll try it.

Best regards,
Jes.
Tom
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 13217
Inscription : 02 févr. 2005 9:35

Message par Tom »

Ok, it seams clearer, :)

thanks for these very interresting links.
In fact, an Unsharp Mask do exactly the opposite of what his name suggests. :shock: :shock: :shock:
I didn't know this lexical wonder. :roll:

So, i think you want enhance, increase and control a sharpen effect.
- in PF6 freeware, you can find 4 tools in Menu Filter : Sharpen. But i think you've found it.
- However you are perhaps not acquainted with Menu Edition / Fade
This tool can be applied after quite all filters, and offers asset of direct view on the whole workspace.
This is a very usefull function.
- in PF Studio release (efficient shareware for a cheap price) you can use some 8BF filters like Clarity from Xero web site (freeware) :
http://www.xero-graphics.co.uk/freeware.htm
A very powerful tool.

I hope it answer your request. :)
jimclatfelter
Habitué(e)|Habitué|Habituée
Habitué(e)|Habitué|Habituée
Messages : 58
Inscription : 02 sept. 2005 21:28
Version de PhotoFiltre : Studio
Système d'exploitation : Windows Vista
Processeur : AMD Athlon X2
Mémoire RAM : 4 GB
Localisation : Palm Springs, California

Blur-Sharp

Message par jimclatfelter »

R,G,B: ctl(1)<0 ?
(cnv(1,1,1,1,1,1,1,1,1,9) * abs(ctl(1)) + c * (100+ctl(1)))/100 :
(cnv(-1,-1,-1,-1,16,-1,-1,-1,-1,8) * ctl(1) + c * (100-ctl(1)))/100

I use this formula for Focus in my 8bf plugins. If Antonio wants to use it in Photofiltre, it's fine with me. It works with a single slider set at zero to begin with. It's range is -100 for full Blur and +100 for full Sharpen. The Blur and Sharpen are just like the PFS buttons. Any setting above zero will sharpen gradually. Settings below zero will blur gradually.

The c in the formula could be src(x,y,z) instead. It stands for the original unblurred or unsharpened pixel.

The slider code is: ctl(1): "Focus ", range=(-100,100), val=0

I wouldn't mind having a button to call up a Focus slider instead of the Blur and Sharpen buttons. This way there would be no need to Fade the result.

This is just a suggestion. It took me a long time to get the formula figured out, even though its very simple. If you want it, it's yours.
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12835
Inscription : 28 oct. 2003 22:49

Message par Antonio »

I'm working on a new unsharp mask function with dynamic matrxi convolution, i will compare results :wink:
Antonio
Administrateur(trice)|Administrateur|Administratrice
Administrateur(trice)|Administrateur|Administratrice
Messages : 12835
Inscription : 28 oct. 2003 22:49

Message par Antonio »

You can try the beta 9. In the filter Reinforce (unsharp mask) i use a dynamic laplace matrix. The result is good but very slow with high radius values

http://www.photofiltre-studio.com/tmp/pfs810.zip