It is currently Fri Apr 26, 2024 2:10 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Someone has updated Whitebalance script for 2.10?
PostPosted: Mon Jul 23, 2018 5:29 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: May 03, 2015
Posts: 13
Location: Genova, Italy
I upgrade from 2.8.22 to 2.10.4. Apart from several problems due to different versions of the same DLL required by some plugin, I noticed that the script Whitebalance.scm by Luca de Alfaro stopped working ("Error while executing script-fu-whitebalance: Error: eval: unbound variable: RED-LUT")

The last update on the developer page was on 2009, with the version for GIMP 2.6 (that work also in 2.8) http://luca.dealfaro.org/photography/Whitebalance so I imagine that the development of the script is stopped.

Someone has updated it to work for 2.10?


Attachments:
whitebalance.scm [5.27 KiB]
Downloaded 135 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: Someone has updated Whitebalance script for 2.10?
PostPosted: Mon Jul 23, 2018 11:21 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
the definition of the colors have been changed, from xxx-LUT to HISTOGRAM-xxx.
Hence you have to change lines 139-141 to say:
    (gimp-curves-explicit drawable HISTOGRAM-RED   num_bytes red-curve  )
    (gimp-curves-explicit drawable HISTOGRAM-GREEN num_bytes green-curve)
    (gimp-curves-explicit drawable HISTOGRAM-BLUE  num_bytes blue-curve )


If you feel uncomfortable in doing this yourself, here the updated version
Attachment:
whitebalance_upd.7z [2.2 KiB]
Downloaded 242 times

_________________
"Where am I ?"


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Tue Jul 24, 2018 2:19 am  (#3) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4739
This script is possibly less useful in 2.10 (or can at least be greatly simplified) since a good deal of it is concerned about working in linear space, when this is a given in Gimp 2.10 (in additions these corrections are best done in a high-precision image).

_________________
Image


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Tue Jul 24, 2018 9:17 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: May 03, 2015
Posts: 13
Location: Genova, Italy
Thank you!
Sometimes I try to do the white balance correction through the curves, but with this script things were faster when I do not need much precision.

I will keep in mind the new definition of the colors xxx-LUT --> HISTOGRAM-xxx if I were having similar problems with other scripts.


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Tue Aug 21, 2018 12:04 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Even if this function -as Ofnuts pointed out- is less useful in Gimp 2.10, I updated also my personal filter.
Here it is:
Attachment:
DIEGO_ENHANCE_WhiteBalanceStretch210.7z [4.91 KiB]
Downloaded 209 times


A test:
original
Attachment:
18-dickey-chapelle Original.jpg
18-dickey-chapelle Original.jpg [ 199.13 KiB | Viewed 3427 times ]


After the application of the filter (moderate option, no post-process)
Attachment:
2018-08-21 06-55-29, 18-dickey-chapelle,  auto colours balanced (moderate).jpg
2018-08-21 06-55-29, 18-dickey-chapelle, auto colours balanced (moderate).jpg [ 228.55 KiB | Viewed 3427 times ]

_________________
"Where am I ?"


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Tue Aug 21, 2018 1:48 pm  (#6) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Please:
those who have downloaded the plug-in (8 so far) can run it and post samples/comments?
Thanks.

_________________
"Where am I ?"


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Fri Aug 24, 2018 11:44 pm  (#7) 
Offline
GimpChat Member

Joined: May 12, 2015
Posts: 4694
Attachment:
Diego White Balance Stretch 2.10.6.gif
Diego White Balance Stretch 2.10.6.gif [ 465.12 KiB | Viewed 3334 times ]


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Sat Aug 25, 2018 12:58 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Thanks Pat for your try. (It seems to work properly)

_________________
"Where am I ?"


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Sat Aug 25, 2018 1:27 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12658
Location: Spain, Aragón
Your filter works great, Dinasset. :clap :tyspin


Attachments:
dress-female-flowers-92332_original.jpg
dress-female-flowers-92332_original.jpg [ 152.49 KiB | Viewed 3325 times ]
dress-female-flowers-92332_DN_white balance stretch.jpg
dress-female-flowers-92332_DN_white balance stretch.jpg [ 181.78 KiB | Viewed 3325 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Sat Aug 25, 2018 4:02 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Jan 20, 2013
Posts: 14816
Location: roma, italy
Thanks Isabella, for your try.

(I guess that -at the end- we will always rely only on Issabella and Pat625; all the other downloaders -now 13- can be considered "USV": unidentified silent visitors…)

_________________
"Where am I ?"


Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Sun Aug 26, 2018 5:34 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12658
Location: Spain, Aragón
Here two more tests using this great filter, Dinasset. :tyspin


Attachments:
Apartment.JPG
Apartment.JPG [ 199.58 KiB | Viewed 1001 times ]
Apartment_DN_White Balance Stretch_Gimp-2.10.JPG
Apartment_DN_White Balance Stretch_Gimp-2.10.JPG [ 225.12 KiB | Viewed 1001 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Someone has updated Whitebalance script for 2.10?
PostPosted: Sun Aug 26, 2018 5:34 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12658
Location: Spain, Aragón
:bigthup


Attachments:
beach-clouds-dawn-635279.jpg
beach-clouds-dawn-635279.jpg [ 187.23 KiB | Viewed 1001 times ]
beach-clouds-dawn-DN_WhiteBalanceStretch.jpg
beach-clouds-dawn-DN_WhiteBalanceStretch.jpg [ 207.07 KiB | Viewed 1001 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) Cannot run test script-fu script via console

7

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Script-fu

6

No new posts script not showing

3



* Login  



Powered by phpBB3 © phpBB Group