Approve the Cookies
This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and our Privacy Policy.
OK
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Guest
Forums  •   • New posts  •   • RTAT  •   • 'Best of'  •   • Gallery  •   • Gear
Register to forums    Log in

 
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
Thread started 23 Apr 2009 (Thursday) 16:59
Search threadPrev/next
sponsored links (only for non-logged)

Some Basics with GIMP 2.6.x - 2: Layers/Masks - Selective colour example

 
KarlosDaJackal
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
Apr 23, 2009 16:59 |  #1

GIMP Layers/Masks - Black and White, Selective Colour

We will do a selective colour practical example to show how layers and masks work, see the attached image below if you don't know what a selective colour is.

1. Open a colour image

2. Right click the Background Layer and choose "Duplicate Layer" or press ctrl+shift+D, you should now have a layer called background copy, lets give it another name, like black and white. Double click the text "background copy" and type in "Black and White". While you are at it rename the Background layer to colour (or Color if you in the USA)

3. So now we have two layers with different names. We should probably make one of them Black and white. I vote we change the layer called "Black and white" so make sure it is selected in the layers dialog box, when working with layers its important to forget what is displayed as its may not be the selected layer.

4. Click Colors >> Desaturate, choose whichever of the 3 options looks best to you the image will update as you change the options so you will see what the result will be, before you click OK. I choose luminosity for my image, and hit ok.

5. Your whole image should be black and white now, you still have a color version, but it is covered by the Black and white version as the black any white layer is on top. Imagine you printed 2 images one in B+W the other Colour, and the B+W is sitting on top, this is the same situation you have here. If you wanted to, you can change the order of the layers using the up/down buttons in the layer box. You could put the colour on top, or the black and white on top (we only have 2 layers, lets leave the B+W on top)

6. Wouldn't it be cool if we could leave the B+W on top but cut a hole in it and see through to the color version? Lets try it with the eraser tool first. click the eraser tool (or press SHIFT+E) and try erase a line on the object you want to be in colour. It won't work you will just get a white line (or whatever colour is the background colour). Effectively what we have done is strip the ink or paint off the layer, we can see the paper but the paper is not transparent. Lets undo this mistake hit CTRL+Z or press Edit >> Undo.

7. Images that come out of cameras are not transparent normally, but thats easily fixed. Right click on the Black and White layer and choose "Add Alpha Channel", nothing visual will happen, but try erase just a simple line again and you will see that now we can see through this layer to the colour one underneat, now to do our selective colour image with one thing in colour the rest in black and white we could keep erasing a hole in the black and white layer. Actually no, lets not do that, it would be slow and tedious especially when working around edges, and what if we change our mind later on what we want in colour? We would have to start again, it would work but its not smart. Lets undo our erase (CTRL+Z or Edit >> undo)

8. Instead we will use a Layer Mask, quite simple this is a companion to the layer, that we can work on and go back and edit any time we want. Right click the black and white layer and choose "Add Layer Mask" then choose "White (full opacity)" and click "Add". What this does is it tells gimp, that everything you paint black you want to be transparent, and white is not transparent. Gimp then puts a mask over the layer that is all white to start with. We can now paint our target black, don't worry if you paint to much as instead of hitting undo, you can just change the paint color to white and tidy it up. press P (or the paint tool), make sure you have the color set to black (hint first of the 2 large squares under the tool icons is the foreground colour). Pick whatever brush shape and size suits you best and start painting your subject. Tidy up any spilt paint by painting white over the top of it.

Notice how our paint affected the mask only and not the layer itself, nothing actually went black or white it just became visible or invisible. When you add a mask by default you will be in edit mask mode. If you want to actually edit the layer you can right click the layer and uncheck "Edit Layer Mask", if you later want to come back and mess with the mask, just recheck "Edit Layer Mask"

9. You should now have an image that is mostly black and white with only what you painted showing through as colour. None of this work is destructive, we have not taken anything away from the original image and we can go in and edit the masks or layers any time we want. We can turn whole layers on and off by clicking the "eye" icon next to them in the layers box. Have a look see what is on each of the layers. We can also do other weird and wonderful things with layers. Select the black and white layer and change its opacity from 100 to 70, this "opacity" basically is an overall transparency for the layer, some of the colour layer should show through at 70 and look very low in saturation. At 0 this layer is totally invisible just like if it was turned off. Anything we can do to the Layer we can also do to the mask, including all manner of filters. Things like blurs can work really well when applies to masks as they allow us to fade the affect in and out rather than have a hard edge. Of course if you turn off "Edit Layer Mask" you will blur the image not the Mask effect.

Have fun.... Layers allow you to work smart think of a portrait, you could have a background on the bottom layer, your portrait subject on the next layer, and finally your logo/watermark on the top layer, maybe even an frame/border on a 4th layer. The choice is up to you, and when you want to work on items in the picture you can have them isolated from each other. Changing the contrast on your background layer wont affect your portrait subjects contrast and vice versa. Mask are an additional tool to allow you to work between layers in parts without making irreversible changes, so if you have an idea you can explore it without wasting too much time and having to start again.

Masks are well integrated, it should be possible to instead of painting a transparency shape do the following
1. Write your name in big White letters
2. Select the individual white letters using one of the selection tools
3. Convert the selection to a mask (hint when you did add layer mask it was an option)
Result should be a black and white image with your name on it, but your name will be written in colour on the image. Many more possibilities, go play and post the results if you like.


HOSTED PHOTO
please log in to view hosted photos in full size.


My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
Rockindaddy
Hatchling
9 posts
Joined Nov 2009
     
Nov 27, 2009 19:51 |  #2

This was a great tutorial. However, when I try to add a layer mask to do other things I am having trouble. For instance, trying to dodge & burn on a layer mask doesn't seem to work, or I am not selecting the right mask properties?


Canon EOS Rebel Xsi, EF-S 18-55 mm IS

  
  LOG IN TO REPLY
dinifra
Senior Member
Avatar
457 posts
Gallery: 69 photos
Likes: 71
Joined Feb 2010
Location: Rome, Italy
     
Feb 21, 2010 10:52 as a reply to  @ Rockindaddy's post |  #3

Thanks a lot for the tutorial, here below my first tempt:


HOSTED PHOTO
please log in to view hosted photos in full size.


Canon EOS 400D - Canon EOS 77D - Tamron 17-50 f2.8 XR Di II AF - Canon 70-200 f/4 EF L IS - Flash Nissin Di866
My Flickr (external link)
My Instagram (external link)

  
  LOG IN TO REPLY
tshw1973
Member
Avatar
76 posts
Joined Sep 2009
Location: Manchester UK
     
Mar 24, 2010 17:15 as a reply to  @ dinifra's post |  #4

mine as well


IMAGE NOT FOUND
HTTP response: NOT FOUND | MIME changed to 'image/png'

Canon 500d, 17-55mm f2.8 IS, 55-250mm f4-5.6IS, Speedlite 430 EX II

  
  LOG IN TO REPLY
tshw1973
Member
Avatar
76 posts
Joined Sep 2009
Location: Manchester UK
     
Mar 24, 2010 17:35 as a reply to  @ tshw1973's post |  #5

another

IMAGE: http://img717.imageshack.us/img717/1516/salcombemerge.jpg

Canon 500d, 17-55mm f2.8 IS, 55-250mm f4-5.6IS, Speedlite 430 EX II

  
  LOG IN TO REPLY
ddthtlc
Mostly Lurking
19 posts
Joined Jul 2009
     
Mar 24, 2010 18:08 |  #6

I am trying hard to follow this. When I get to stage 7 and use the eraser I dont see the colour underneath I am getting a transparency? help




  
  LOG IN TO REPLY
ddthtlc
Mostly Lurking
19 posts
Joined Jul 2009
     
Mar 24, 2010 18:17 |  #7

Ignore above post i figured it.




  
  LOG IN TO REPLY
Nevtiger
Member
Avatar
122 posts
Joined Oct 2008
Location: Andover, UK
     
Mar 25, 2010 05:17 |  #8

Karlos, can you get this stickied to the GIMP tutorials?


70D + 18-135mm
Stolen (But not forgotten): Canon 50D and Tamron 17-50mm 2.8.
Given to Daughter: Canon 55 - 250mm
In Bag: Canon 100-400L

  
  LOG IN TO REPLY
KarlosDaJackal
THREAD ­ STARTER
Goldmember
Avatar
1,740 posts
Likes: 1
Joined Jul 2008
Location: Dublin, Ireland
     
Mar 25, 2010 15:55 |  #9

Nevtiger wrote in post #9866960 (external link)
Karlos, can you get this stickied to the GIMP tutorials?

Its link 3 in this stickied thread over here
https://photography-on-the.net/forum/showthre​ad.php?t=683358


My Website (external link) - Flick (external link)r (external link) - Model Mayhem (external link) - Folio32 (external link)
Gimp Tutorials by me on POTN
Gear List

  
  LOG IN TO REPLY
surgeonhawkeye
Goldmember
Avatar
1,923 posts
Gallery: 43 photos
Likes: 304
Joined May 2010
Location: Bogota, Colombia!
     
Jun 20, 2010 22:17 |  #10

My test


HOSTED PHOTO
please log in to view hosted photos in full size.


I love this
http://www.facebook.co​m …N/1467601553693​26?ref=sgm (external link)
http://http …home/surgeonhaw​keye/index (external link)
http://surgeonhawkeye.​500px.com/home (external link)flickr (external link)

  
  LOG IN TO REPLY
Novissime
Member
Avatar
53 posts
Likes: 1
Joined Oct 2007
Location: South of Boston
     
Apr 17, 2011 09:55 as a reply to  @ surgeonhawkeye's post |  #11

Quick trial of the technique. Works well I think. Thank you for posting the tutorial.


HOSTED PHOTO
please log in to view hosted photos in full size.


Novissime
400D, 28-105 3.5-5.6, 85 1.8, 17-50 2.8, 300 4L IS

  
  LOG IN TO REPLY
HoosierJoe
Goldmember
Avatar
2,579 posts
Gallery: 5 photos
Likes: 38
Joined Jan 2008
Location: Central Indiana
     
Apr 25, 2011 11:33 |  #12

Thanks for the thread. I just started using GIMP.



Ain't nothin but a thing.

  
  LOG IN TO REPLY
ThatTeenPhotographer
Senior Member
Avatar
290 posts
Likes: 4
Joined Aug 2011
Location: Austin, Texas
     
Oct 16, 2011 14:04 |  #13

IMAGE: http://farm7.static.flickr.com/6158/6170980618_8ecd08167a_b.jpg
IMAGE LINK: http://www.flickr.com …zyphotography/6​170980618/  (external link)
Soda Bottles (external link) by LukeWrightPhotography (external link), on Flickr
All GIMP

Facebook (external link)|flickr (external link)|Website (external link)
Rebel XSi (450D), 50mm 1.8 II, EF-S 18-55, Tamron AF 70-300 Di LD, CS6, Rebel 2000 & Access to Many Old Film Cameras
Working on a 365

  
  LOG IN TO REPLY
R3dHawk
Member
Avatar
200 posts
Gallery: 14 photos
Likes: 105
Joined Dec 2010
Location: Pershore, Worcestershre, UK
     
Jan 20, 2012 07:30 |  #14

My first attempt

IMG NOTICE: [NOT AN IMAGE URL, NOT RENDERED INLINE]

Comments appreciated

Chris H
Canon 70D & 20D, Sigma 10-20mm, Canon 24-85mm, Canon 55-250mm IS, Canon 100-400L

https://www.flickr.com​/photos/144655374@N06/ (external link)

  
  LOG IN TO REPLY
Just_CHill
Senior Member
Avatar
290 posts
Joined Dec 2012
Location: Georgia
     
Dec 17, 2012 23:17 |  #15

I know this is an old thread but I had to say thanks! I've always wanted to know how to do this and now I do (well, the basics that is)! Good times!


Canon 1D MkIII | Canon 600D | Canon 28-300 f/3.5-5.6 IS | Canon 60mm f/2.8 | Canon 17-55 f/2.8 IS
Flickr (external link)
The shirt says "More Bass"

  
  LOG IN TO REPLY
sponsored links (only for non-logged)

26,319 views & 0 likes for this thread, 14 members have posted to it.
Some Basics with GIMP 2.6.x - 2: Layers/Masks - Selective colour example
FORUMS Post Processing, Marketing & Presenting Photos RAW, Post Processing & Printing 
AAA
x 1600
y 1600

Jump to forum...   •  Rules   •  Forums   •  New posts   •  RTAT   •  'Best of'   •  Gallery   •  Gear   •  Reviews   •  Member list   •  Polls   •  Image rules   •  Search   •  Password reset   •  Home

Not a member yet?
Register to forums
Registered members may log in to forums and access all the features: full search, image upload, follow forums, own gear list and ratings, likes, more forums, private messaging, thread follow, notifications, own gallery, all settings, view hosted photos, own reviews, see more and do more... and all is free. Don't be a stranger - register now and start posting!


COOKIES DISCLAIMER: This website uses cookies to improve your user experience. By using this site, you agree to our use of cookies and to our privacy policy.
Privacy policy and cookie usage info.


POWERED BY AMASS forum software 2.58forum software
version 2.58 /
code and design
by Pekka Saarinen ©
for photography-on-the.net

Latest registered member is roman89
1172 guests, 219 members online
Simultaneous users record so far is 15,144, that happened on Nov 22, 2018

Photography-on-the.net Digital Photography Forums is the website for photographers and all who love great photos, camera and post processing techniques, gear talk, discussion and sharing. Professionals, hobbyists, newbies and those who don't even own a camera -- all are welcome regardless of skill, favourite brand, gear, gender or age. Registering and usage is free.