It is currently 01 Jun 2020, 22:43

• Featuring Members' Works (Image Attachments) •
1: member
2: member
3: member
4: member
5: member

GIMP/GL:  Tutorials | Tips | Questions | Interests | 🡆 Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Change Luminosity Mask Script

Post your Script Requests for GIMP here.
Forum rules
Request your Script(s) for GIMP here in this forum.
Provide details of steps performed in GIMP so that script can be written for the process and also give the request a name so that scripts can be named after.
david
Forum Member

Re: Change Luminosity Mask Script

Post#31 by david » 23 Nov 2019, 19:42


tim,

Now it is confession time!!

Your script was so concise and clear that I have modified it. Mainly to prove to myself that I understood it.
I have added a DDDD and an LLLL to be able to adjust the extreme dark and light areas respectively. I have split the mid (M) into a mid-light (ML) and mid-dark (MD), so now there are ten masked layers.
I have learnt a lot from this exercise, but the orginal concept was from your first script which made it possible to adjust areas separately or in combination and to return and re-adjust different regions.

Attached is my modified version.

david.
david1_lum_mask.py
(13.42 KiB) Downloaded 58 times
1

Krikor
Forum Member

Post#32 by Krikor » 24 Nov 2019, 19:50


:wine_smiley: @david, apparently you already got your early Christmas gift. Have good fun!
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
1

david
Forum Member

Post#33 by david » 25 Nov 2019, 09:13


Krikor,
Yes, Christmas has come early!
Thanks to Tim's clear code it was easy to modify his script. I have checked the spectra for all the channels and they are all different. They can, of course, be made more selective by adjusting the masks with Colours/Curves.
I await feedback from others as to how useful they find the script.
david.
2

Krikor
Forum Member

Post#34 by Krikor » 25 Nov 2019, 20:31


@david , I tried your David1_lum_mask script a bit and ... I loved it! :gimp_clap:
The idea is totally different from that found in the steps taken by the PatDavid tutorial and those scripts based on it, such as Saulsgoode and Ofnuts Luminositys.

Now my turn to make a confession ...
After following your pdf (version 01) I felt little inclined to continue checking the script. As much because I didn't understand your idea as well as because I was busy creating my own masks with the ofnuts script.

But either out of curiosity or insistence, I tried your script again today and ... voilà!

Great job David! Congratulations!! :2_Thumbs:

Observation: The script is missing channel M.

Note that you in the background should have noticed this when you said:

".... I have split the mid (M) into a mid-light (ML) and mid-dark (MD), so now there are ten masked layers. "

It would be a total of 11, not 10. (4 darks + 4 lights + 3 Mids). :hammer_head:

@tim and @david , thanks for this new little toy! :hi5: :thumbsup:
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
0

david
Forum Member

Post#35 by david » 25 Nov 2019, 23:36


Krikor,

Thank you for your kind words.
I perhaps did not explain clearly the idea I wished to achieve.

Your comment about the lack of an "M" - I have split the original M into an MD and ML because it was rather broad. However, both have their peak in the centre, but one decays more rapidly towards the light side and the other more rapidly towards the dark side. It was the best I could manage. I have attached the spectra for the two channels to make it clearer than my attempts at explanation!

david.
spectra_mid.zip
(18.66 KiB) Downloaded 55 times
0

Issabella
Script Tester

Post#36 by Issabella » 26 Nov 2019, 09:02


Congrats David! You have got what you were trying for long. Thanks for sharing and explain it. :gimp_clap:
Issabella

Don’t be afraid to start over. It’s a new chance to rebuild what you want.
0

Krikor
Forum Member

Post#37 by Krikor » 26 Nov 2019, 17:10


:fb_haha: :fb_haha:
"# After being created, that ungrateful wretch, david, modified it by adding layers LLLL.
# DDDD and replacing M with a medium dark (MD) and medium light (ML)."
- David -
:lol: :D
"I feel that in both art and music, it's not the success that matters but the pleasure it gives you. Focus on the pleasure and the learning will come naturally." - Brian Weston
0


GIMP/GL:  Tutorials | Tips | Questions | Interests | 🡆 Script Requests
Recommendations:  Index | Top 10
Resources:  Python-Fu Plug-ins | Scheme-Fu Scripts | GIMP
Python:  Lessons | Questions | Exercises
The Arts:  GIMPed | GIMPed Photos | Other | Contests | Public Domain Images | Isolated Images | Blender
Inkscape
Social:  Say Hello | Anything Goes | Shares | FCSP

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests