Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble following the luminosity mask tutorial.
#1
So I 'm a complete beginner. I just went through all the basic tutorials except the assets folder. I tried to go through the Luminosity mask tutorial, but I'm getting stuck at the "Create Even Darker Masks" section. I don't get results similar to what the tutorial has. When I subtract the lights channel (L) from the darks channel (D) I get something that looks less dark. I think I'm missing a few key steps that would probably be obvious to a more experienced user. I could provide my file for comparison if you want.

Thanks all,

-Kirby
Reply
#2
Is it this tutorial? https://patdavid.net/2013/11/getting-aro...masks.html

It is good to know how it works but there is a script to generate all the channels. You can use it to compare with your results.

However my guess. Are you successively subtracting the L channel selection from the previous or something else.

This is the L channel - from one of the RGB desaturated, and the D is the whole image selected minus the L selection. screenshot https://i.imgur.com/3eZ9RoL.jpg

Subtract again from the last resulting selection gives a DD channel. https://i.imgur.com/QajQEPd.jpg

Pat David can be located on the pixls forum https://discuss.pixls.us/ you could always ask the question there.
Reply
#3
That looks like the same tutorial. But I was following the one from the gimp homepage here: https://www.gimp.org/tutorials/Luminosity_Masks/

Let me go through that and see if it answers my question. I'm not interested in a script as I'm trying to learn how to use it. I'll see if your explanation and pictures help, or I'll ask a more detailed question.

Thanks for your response.

-Kirby

So that's the identical tutorial, at least up to the point I'm failing. I'm going to give as detailed a walk through as I can to see if someone can spot my misunderstanding. I have dragged the red channel down and named it 'L'. At this point:

I select the image, (in image frame rmb -> select -> all) get the marching ants.

On 'L' channel I subtract the image (on 'L' rmb -> subtract from selection) Can now see the marching ants and diagonal bars marching.

Save as a new channel and rename (in image frame rmb -> select -> save to channel) which creates a new channel that I can rename 'D'. Still see the marching ants and diagonal bars.

Up to this point I feel like I'm good. Now let me create the DD channel:

To make sure I'm starting from the same point, I cancel the selection (rmb -> select -> none) no marching ants.

With the 'L' channel selected (note that none of these have the white boarder indicating that the selection is active like on the 'Layers' frame.) I select the image, (in image frame rmb -> select -> all) get the marching ants.

On 'D' channel I subtract the image (on 'D' rmb -> subtract from selection) Can now see the marching ants and diagonal bars marching.

Save as a new channel and rename (in image frame rmb -> select -> save to channel) which creates a new channel that I rename 'DD'. Still see the marching ants and diagonal bars.

I cancel the selection (rmb -> select -> none) no marching ants.

But now I look and the 'DD' Channel looks almost like the 'L' channel, not darker then the 'D' Channel.

https://i.imgur.com/81XA1Rh.png

If I repeat the process only subtracting from the 'DD' channel, to get a 'DDD' Channel, it looks dark, but about the same as the 'D' channel.

https://i.imgur.com/djxbAoP.png

Thanks for your help.

-Kirby
Reply
#4
If you do not like so much about manual work, there is now free plugin available: https://sumppihuuhkaja.blogspot.com/2018...lugin.html
Reply
#5
There is a very similar script-fu here: https://www.gimplearn.net/viewtopic.php?p=148 for for anyone who prefers that format.

I use the original script which creates channels - it is a matter of preference.
Reply
#6
(12-01-2018, 10:04 AM)rich2005 Wrote: There is a very similar script-fu here: https://www.gimplearn.net/viewtopic.php?p=148 for for anyone who prefers that format.

I use the original script which creates channels - it is a matter of preference.

Thank you rich2005 sharing this option which I have totally missed last year while searching ready scripts before rolling my sleeves and writing my own solution.
Reply
#7
(12-01-2018, 09:46 AM)sumppihuuhkaja Wrote: If you do not like so much about manual work, there is now free plugin available: https://sumppihuuhkaja.blogspot.com/2018...lugin.html

Code:
pdb.gimp_edit_copy(tdrawable)
img_HL_L = pdb.gimp_edit_paste(tdrawable, 1)
pdb.gimp_floating_sel_to_layer(img_HL_L)
pdb.gimp_item_set_name(img_HL_L, 'HighLights_Low')

Much faster & simpler to directly copy the layer with gimp_layer_copy() or even the copy() method of the layer.
Reply
#8
(12-01-2018, 11:43 AM)Ofnuts Wrote:
(12-01-2018, 09:46 AM)sumppihuuhkaja Wrote: If you do not like so much about manual work, there is now free plugin available: https://sumppihuuhkaja.blogspot.com/2018...lugin.html

Code:
pdb.gimp_edit_copy(tdrawable)
img_HL_L = pdb.gimp_edit_paste(tdrawable, 1)
pdb.gimp_floating_sel_to_layer(img_HL_L)
pdb.gimp_item_set_name(img_HL_L, 'HighLights_Low')

Much faster & simpler to directly copy the layer with gimp_layer_copy() or even the copy() method of the layer.

Ofnuts thanks for the tip. This was my very first Gimp Python project and I found the documentation of interface occasionally  quite terse which affected to the final outcome.  It is not optimal but it does what it is intended to do.
Reply


Forum Jump: