It is currently Tue Apr 16, 2024 6:24 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: New Luminosity Masks Scripts
PostPosted: Sun Nov 24, 2019 6:32 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
Because the Saul Goode LM script is not working in GIMP 2.10.14, Tim Tran created a new script for me. My idea was that the channels should not overlap so that they could be used separately or in combination.

To show my ingratitude, I then modified it (because I had a clear example of Python that I could understand)!
I added a DDDD and LLLL which affect only the very darkest and lightest parts of an image. I also split the M into a medium dark (MD) and medium light (ML).
It allows one to make extreme adjustments using Colours/Curves or Brightness & Contrast without affecting adjacent areas.
Also, by making "loose" selections, one can adjust the required area without changing other parts which may be included within the selection.

I have attached both versions. Tim's is named david_lum_mask.py and my modification david1_lum_mask.py
(Linux users will have to make them executable.)

I hope others will try both versions and give comments and criticism.

david.


Attachments:
david_lum_mask.zip [1.74 KiB]
Downloaded 269 times
david1_lum_mask.zip [2.14 KiB]
Downloaded 303 times
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Sat Dec 07, 2019 7:56 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
Yet another update!
Because luminosity masks can be unusable for low-contrast images (one mask can contain almost all of the picture content), I have modified my previous script.
It now equalizes the layer used to create the masks. The full range of masks are now available for use on low-contrast images.
This avoids the need to produce time-consuming hand drawn masks.

It does not appear to have any negative consequences for photographs of normal contrast.

Linux users will have to make the file executable.

I would appreciate feedback as to its effectiveness.

david.


Attachments:
david2_lum_mask.zip [2.17 KiB]
Downloaded 296 times
Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Thu Dec 12, 2019 12:23 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Oct 10, 2018
Posts: 176
Location: Charlottesville Virginia
David, thanks for your work. I've been trying to make use of layer masks for some time now, following them from the initial essay description to the first scripting of the procedure and the several scripts since then. How to handle especially the middle values has been unsettled from the very beginning. The number of masks created has varied, as well as where to locate the masks in the GIMP work area and how or if to assign modes and visibility. I was glad to have all of the variations because creating such scripts in either scheme or python remains out of my ken.

I can't comment on the technical aspects of the scripts, but, speaking as a user I believe your "ungrateful David" version was the first "complete" version of what was originally attempted. It seemed to work better, was faster, and offered more genuinely usable mask layers than what had come before. (Sometimes script writers left out layers altogether and other times cautioned users that some of them just weren't very useful.) Upon finding your take on the script, I began archiving all the previous versions I had collected and used from time to time.

In my opinion, your update, applying EQ to the initial stages, could point a way for even further creative development. I would be very interested to see where this additional processing approach might lead.

So, just in case you were beginning to wonder ...

Thanks again!


Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Thu Dec 12, 2019 1:27 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
I have version 2 installed. How do I call it up to use the plugin?


Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Thu Dec 12, 2019 2:54 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
mackenzieh,

You should find the script under Python-Fu/David2 Luminosity Masks... Click on this and it should create all the layers and masks.

neurolurker,

I am glad you find it useful. I used the Saul Goode script for several years. When it ceased to work under GIMP 2.10 I decided to incorporate ideas I had thought about for a long time. Although it is not ideal I hope it proves useful to you.

david.


Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Thu Dec 12, 2019 6:21 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jul 06, 2013
Posts: 2605
Location: California
David,

Here is what I see when I load up gimp:
Image
Image
ImageImage

I am running gimp 2.10.14 on Windows 10 64bit. I don't see your plugin.

EDIT:
I now have your plugin.
Image


Last edited by mackenzieh on Thu Dec 12, 2019 6:34 pm, edited 1 time in total.

Top
 Post subject: Re: New Luminosity Masks Scripts
PostPosted: Thu Dec 12, 2019 6:33 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Nov 15, 2014
Posts: 866
mackenzieh,

One of your screen captures is showing it under Python-Fu - David2 Luminosity Masks...
If you click on it, having loaded an image, it should run.

Close to midnight here in the UK. Let me know how you get on and I will look for your reply in the morning.

david.


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) ofn-luminosity-masks

8

No new posts Attachment(s) My latest Luminosity Masks script

1

No new posts Attachment(s) Yet another luminosity mask plug-in!

3

No new posts Attachment(s) Alternative Luminosity Mask Script

6

No new posts Help with masks and layers please!

3



* Login  



Powered by phpBB3 © phpBB Group