unsharp parameters: GIMP -> IM

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
User avatar
GreenKoopa
Posts: 457
Joined: 2010-11-04T17:24:08-07:00
Authentication code: 8675308

Re: unsharp parameters: GIMP -> IM

Post by GreenKoopa »

I was testing for an approximate parameter conversion, not the method, and this thread died for two weeks so I didn't keep my results. The graph of the GIMP unsharp was not smooth. Being 8-bit didn't help, but it seemed worse than that. Large values for amount in GIMP yielded poor results.
joew
Posts: 42
Joined: 2012-08-23T01:19:56-07:00
Authentication code: 67789

Re: unsharp parameters: GIMP -> IM

Post by joew »

http://redskiesatnight.com/2005/04/06/s ... ge-magick/ suggests to use sigma=sqrt(radius) when radisu is bigger than 1.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: unsharp parameters: GIMP -> IM

Post by snibgo »

That article, which is about 6 years old, has very dodgy advice. See the comments.

As a general rule it's best to choose the sigma, and set radius=0 so IM will choose the least radius that doesn't clip the function. If you must choose a radius, perhaps for speed reasons, then radius = 3 * sigma is usually good.
snibgo's IM pages: im.snibgo.com
Post Reply