Page 1 of 1

How do I get "-selective-blur" to work?

Posted: 2010-10-03T00:14:48-07:00
by KonfuseKitty
Using IM 6.6.3.6 on Ubuntu 10.04, no matter what geometry setting I use with "-selective-blur", the command has no effect. The strange thing is that with a higher setting, the processing takes longer, but no effect in the end. Is this a bug or am I doing it wrong? I use it as "-selective-blur 6x16", or "-selective-blur 16x6", with many different number combinations used in the geometry setting. It may be worth noting that "-adaptive-blur" which has the same syntax works well.

Re: How do I get "-selective-blur" to work?

Posted: 2010-10-04T12:04:39-07:00
by KonfuseKitty
No-one? Fred? Anyone? Does -selective-blur work for you?

Re: How do I get "-selective-blur" to work?

Posted: 2010-10-04T13:02:59-07:00
by fmw42
KonfuseKitty wrote:No-one? Fred? Anyone? Does -selective-blur work for you?

Selective blur needs a contrast threshold. I have updated the user documentation on the options page to make that more clear.

Image

convert cameraman.png -selective-blur 0x3+50% cameraman_sblur_0x3_50.png

Image

Re: How do I get "-selective-blur" to work?

Posted: 2010-10-05T01:33:53-07:00
by KonfuseKitty
Thanks, Fred, that works. Playing around with the settings, "-selective-blur 4x4+10%" produces good results for colour noise reduction. Cheers! :)

Re: How do I get "-selective-blur" to work?

Posted: 2010-10-05T09:49:15-07:00
by fmw42
KonfuseKitty wrote:Thanks, Fred, that works. Playing around with the settings, "-selective-blur 4x4+10%" produces good results for colour noise reduction. Cheers! :)

Yes, I used an overkill 50% to emphasize the fact. I found 10 - 25% more pleasing, also