ofn-luminosity-masks - Printable Version +- Gimp-Forum.net (https://www.gimp-forum.net) +-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP) +--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP) +--- Thread: ofn-luminosity-masks (/Thread-ofn-luminosity-masks) |
ofn-luminosity-masks - Ofnuts - 11-14-2019 My own take on luminosity masks. While it pays its dues to PatDavid's canonical tutorial on the subject, it creates the same masks using a different and (hopefully) more efficient method that allows:
* Only PatDavid's masks, no custom masks yet * Only for Gimp 2.10 (seems to hit a bug in 2.8) Enjoy. RE: ofn-luminosity-masks - Blighty - 11-14-2019 The link needs to be corrected, it goes to a log-in page. I did download from the usual place. (This post can be deleted once link is corrected) RE: ofn-luminosity-masks - Krikor - 11-14-2019 Link ok. This is the third Ofnuts plugin I am the first to download! :-) RE: ofn-luminosity-masks - Blighty - 11-14-2019 The DDD mask is selecting whites. (DDD is the only one I have tested.) What I did: Create a DDD mask and bucket fill with red. Did the same for the Tin Tran version for comparison. RE: ofn-luminosity-masks - Ofnuts - 11-14-2019 To see the mask, you can just use `Selection>Selection Editor (and enlarge the window...). Found the problem, slight typo in the curve values. Will publish later today, in case another minor thing surfaces. [attachment=3435]
After the fix: The front of the engine, in black, like the sky and the platform, are not in the selection. RE: ofn-luminosity-masks - Krikor - 11-14-2019 Comparing the expected result (left) with the one obtained, one can notice a slight difference in the middle tones. (Maybe because I created xcf in version 2.10.12 and tested this script on 2.10.14) But in DDD the difference is quite big. Lights [attachment=3436] Mids [attachment=3437] Darks [attachment=3438] RE: ofn-luminosity-masks - Ofnuts - 11-14-2019 As noted there is a bug in DDD. If you want to fix it, before I republish replace the line: Code: ('Darks/DDD', 'Standard mask',[0.00,1.00,0.33,0.00,1.00,0.00]), The buggy DDD is more or less DDD+LL. One can also ask what is the "expected" value, since no script strictly follows the original tutorial. RE: ofn-luminosity-masks - Krikor - 11-14-2019 (11-14-2019, 03:40 PM)Ofnuts Wrote: As noted there is a bug in DDD. If you want to fix it, before I republish replace the line: After the change, the DDD is as expected! :-) (not speaking strictly) I have tried to say that similar to the results obtained with both the Saulgoode script and those presented on Pat David's page. This script gives me a lot of fun, thanks so much for updating it Ofnuts! RE: ofn-luminosity-masks - Ofnuts - 11-16-2019 Uploaded a new version. Added feature; define your own mask(s) in a side file. Enjoy. RE: ofn-luminosity-masks - Krikor - 11-16-2019 (11-16-2019, 06:14 PM)Ofnuts Wrote: Uploaded a new version. Added feature; define your own mask(s) in a side file. Enjoy. Ofnuts, But what if the curve also has points on other RGB channels? The image shows the configuration of my curve. If I only use the values from line # 9 after Points 34, would it be enough for the mask to represent the curve? [attachment=3444] I defined my mask without using the points of the Red, Blue and Green curves. There was a closeness to what I expected. [attachment=3445] |