You are here

Difference Layer Script

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
elsamuko-difference-layers.scm3.19 KB

This script generates two difference layers from the two layers on the top, A is the original image layer, B the modified (e.g. sharpened) one on top:
A - B = C
B - A = D
A - C + D = B

It's similar to GIMP's built-in Grain Extract/Merge function, but the tonal range is bigger.
Now you can apply further editing and "switch on/off" the differnce by switching the visibility of the subtractive and the additive layer. Also you can change the modification intensity by changing the opacity of these two layers.

Copy it into the scripts folder from GIMP, you will find it then under Layer -> Difference Layers.

Example image:
http://www.flickr.com/photos/28653536@N07/4113253102/
Difference Layers
Left: B A
Right: D C A B

Finally a big thank you to Shelly and Roy from the Flickr GIMP group:
http://www.flickr.com/photos/shelly-and-roy/
Update1: I renamed the script from "Adjustment" to "Difference", which describes the script's function better.

For all scripts together, go here:
http://sites.google.com/site/elsamuko/gimp

Code License: 
GIMP Version: 
Scripting Engine: 

Comments

interesting maybe some examples may help to understand how to use it at best

(may be more clear for who used PS "adjustment layer" )

Done :D

Subscribe to Comments for "Difference Layer Script"