You are here

UnsharpMask2.0.12 (Windows binary -source code)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

This plugin is not more maintained but still works very well On Gimp 2.6 and even 2.7
Was developed by Peter Heckert , Windows binary were provided by Michael Schumacher. but the original side is offline from years and all old links dead

i am mirroring both source code and binaries to avoid it can get lost and i repost here also in the hope that may found more users and a maintainer (as i said still works very well ,from gimp 2.0 till 2.7 a maintainer may help for the future )

About the most obvious question, what is the difference with standard unsharp mask that is simple,
what gimp USM offer is a only a subset of what this plugin may do.

gimp USM works ,basically by adding a blurred duplicate ,that as result create a white halo around contour's edges.

As example if you have a black arrow on dark grey BG, a more or less wide white halo around the arrow will made it much more visible and the image more sharp
But that easily lead to effect similar to overdone HDR and work better on the darker part of the image to reveal less dark details

Well USM2 may do that but also the contrary, sharpen by adding a dark halo
To use a similar example may sharpen a gray arrow on a white BG by creating a dark halo around arrow's contour

"Dark halo" sharpening on photos look often more natural then white at the most usual settings,
while pushing for dramatic setting is usually a more pleasant and artistic effect,
( we are used to accept black outlines as in draw,comics, illustration, so are more acceptable for our eyes then white outlines ..
Note that a thin but very intense white halo around contours edges is identical to white outlines, as a thin and very dark halo is identical to black outlines ..this is relevant for "artistic" or "creative" uses )

Interface may look too complex at first but just draw a ideal line under the 4th slider will solve

All what up is "BASIC" : on 4 sliders there 3 correspond exactly to that of the Gimp USM
"+" is to regulate the "white halo sharpening" ,"-" to regulate the "dark halo sharpening"
(NOTE: If both"+" and "-" are set to 0 then plugin do not sharpen but create a gaussian blur )

All what after that ideal line is "ADVANCED" ...default is fine in most cases anyway from there you may correct the gamma, or dose the intensity of the effect differently on shadows, middletones and highlights.

More accurate information are included in the zip.
#####################################################################
If someone may provide a better description is welcome , i am a user and not a developer and my English is quite approximate.

DOWNLOAD
http://photocomix-resources.deviantart.com/art/Lost-Found-Gimp-UnsharpMa...

GIMP Version: 
Code License: 

Comments

I have had very good results with this plug-in. I hope the following will help others build and install. It is straightforward.

I have successfully built it on OpenSuse 10.3 running Gimp 2.2 and on Fedora 13 running Gimp 2.6.10. (Both 64-bit). Makefile you can use to build and install the plug-in is at the end of this post. Be sure to delete the .txt file extension from the source. (I would attach a tarball I generated with everything in one folder, but replies do not allow this, and I do not want to start a new thread.) I use the Makefile because, for Fedora 13, libm must be explicitly linked and this was the easiest way, for me at least, to do it. (The reason can be found here: https://fedoraproject.org/wiki/UnderstandingDSOLinkChange). Platforms that allow indirectly linking libraries should be indifferent to this.

To install into "the machine directory":

make install

To install into "a user directory":

make userinstall

Note: Installation relies on gimptool-2.0, and these terms are from the gimptool man page. You want to use the directory where your Gimp application was built. As an alternative you can use the build option:

make build

Several warnings are generated. These appear to be harmless in the sense that the generated executable works.

Then copy the resulting binary, which will be named Unsharp-Mask2 into the directory where your other plug-ins are located.

You should see in the hierarchical menu under Filters:

Filters -> Enhance -> Unsharp Mask2-0.12

I found a couple of minor gotcha's with Fedora 13. With Gnome, the dialog box extends below the bottom of the screen. KDE is OK. Also, for some reason, on my 64-bit platform, gimptools installed the binary into /usr/lib/gimp/2.0/plug-ins rather than /usr/lib64/gimp/2.0/plug-ins. I just copied into the correct folder by hand.

Here's the Makefile (just copy and paste using your favorite editor and save in the same folder as the source):

CFLAGS = -O3 -Wall $(shell gimptool-2.0 --cflags)
LIBS = $(shell gimptool-2.0 --libs)
PLUGIN = Unsharp-Mask2
SOURCES = unsharp2-0.12.c

# END CONFIG ##################################################################

.PHONY: all build install userinstall clean uninstall useruninstall

all build: $(PLUGIN)

OBJECTS = $(subst .c,.o,$(SOURCES))

$(PLUGIN): $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ -lm $(LIBS)

%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $*.c

install: $(PLUGIN)
@gimptool-2.0 --install-admin-bin $^

userinstall: $(PLUGIN)
@gimptool-2.0 --install-bin $^

uninstall:
@gimptool-2.0 --uninstall-admin-bin $(PLUGIN)

useruninstall:
@gimptool-2.0 --uninstall-bin $(PLUGIN)

clean:
rm -f *.o $(PLUGIN)

I think Photoshop does that by default:

http://registry.gimp.org/node/32018

Subscribe to Comments for "UnsharpMask2.0.12 (Windows binary -source code)"