Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd January 2019, 20:52   #41  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 148
How long does it generally take for the forum admins to approve attachments?
Danette is offline   Reply With Quote
Old 23rd January 2019, 21:57   #42  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,282
Quote:
Originally Posted by Danette View Post
How long does it generally take for the forum admins to approve attachments?
I heard tell that whilst waiting, one guy died and ended up desiccated.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 24th January 2019, 02:11   #43  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 148
Quote:
Originally Posted by StainlessS View Post
I heard tell that whilst waiting, one guy died and ended up desiccated.
Bernardd: please remain hydrated!!
Danette is offline   Reply With Quote
Old 25th January 2019, 11:50   #44  |  Link
Bernardd
Registered User
 
Join Date: Jan 2012
Location: Toulon France
Posts: 192
Hello,

First, this new version always is in accordance with Stainlesss nice and smart redaction to have compatibility with Avisynth x32 and Avisynth+ x64 and the suitable plugins.

Secondly, this version have the same engine than the previous (except for spmid calculation, which is more simple), but operator dialogue is changed. You have now a RGBAdapt function with a AWB mode, which can be refined with original RGBAdapt args.

Third the script do a half automatic white balance, in finish you must control and often adjust pord and spmid.

This script has one target : a better automatic white balance than ColorYUV(autowhite=true).

Thus the script have one display args to show the assesment :

- comparison , default = false, to compare ColorYUV(autowhite=true) output with three other outputs :
------- Top, from left to right, original input, like AutoWhite ColorYUV process.
------- Bottom, from left to right, automatic mode with whole process, tuned script output.

The script automatic mode is not full optimized, often the channel spmid need to be tuned.
For this process, the datas like color channel average, max and min datas are not enougth to descrive the color channel curve, thus not enougth to choice inflexion point of S curve.
Thus the script have one secund display args to verify spmid influency :

- influency , default = false, to compare different process selection outputs :
------- Top, from left to right, original input, automatic mode with whole process, but with spmid = 0.25 for the three channels.
------- Bottom, from left to right, automatic mode with whole process, but with spmid = 0.75 for the three channel, tuned script output.
This display do not show the best solution for spmid, it give you by comparison a way to find the best tune.

The script have two other display args :

- show_scrutinized, default = false, to display the scrutinized area by RT_Stat plugin for data extraction.
- show_info, default = false, to see extracted datas and process args tunes.

The script have the following args to tune the white balance process :

- matrix, defaut = "Rec601", to give the video color space matrix
- x, default = 0.1, to specify the source rectangle under scrutiny by RT_Stat plugin for data extraction
- Y, default = 0.1, see RT_STAT doc
- w, default = 0.1
- h, default = 0.1

- threshold, default = 0.1, to specify extreme pixels percentage to be ignored when datas extraction (see RT_STAT doc)

With this following args, you can choice automatic process combination :
- gain, default = true, gain process enable
- cont, default = true, cont process enable
- bias, default = true, bias process enable
- rpow, default = true, rpow process enable
- spow, default = true, spow process enable

Finally, the script have also the RGBAdapt's args, for bias, gain, cont, rpow, spow, spmid and pord. See RGBAdapt documentation.

Note :
If you have only selected bias, you get like ColorYUV(autowhite = true) ouput. If you tune one RGBAdapt channel bias arg, you change this white balance.

In fact, the script produce a automatic white balance, that you can refine by tunning RGBAdapt args. If all automatic process are desabled, you have only manual RGBAdapt function.

Fast tips :
Run script with default args,
Look influency display to verify if spmid is good, if no, tune channel spmid. After return comparison diplay or output display.
If necessary, now, you can improve the white balance by tunning RGBAdapt args, like channel gain (little change like 0.1 or 0.2) or like bias and rpow together. If you decrease a channel bias you decrease channel inflency in light aera, if you increase the same channel rpow, you increase channel inflency in dark aera.

To refine, you can try to tune all RGBAdapt args, but do not forget, if automatic process is enable, your changes on suitable RGBAdapt args must be little.
Thus the AvsPmod user slider ranges for RGBAdapt args are more little than in the RGBAdapt documentation.

Comment :
The script have always two functions :
AWB_Func(), which call the second function and add only two comparison displays opportunity, in default mode this comparison display are desabled.
RGBAdapt_AWB_Process(), which is the script for AWB with technical settings like "scrutinized aera", "color matrix", and process combination to produce AWB (gain and contrast, and bias or whole).

Thus, one script with one line like AWB_Func(), give the same output that one script with one line RGBAdapt_AWB_Process(). This output is the AWB with whole process and their default settings.

The script release file content two avs files, one for the functions, the secund for the client.
The script need to load this plugins in accordance with avisynth version :
- GRunT author Gavino http://forum.doom9.org/showthread.php?t=139337 and the posts 35 and 39 for x64 versions by Yesmanitsbearman.
- GScript author Gavino http://forum.doom9.org/showthread.php?t=147846, x32 only, no need with Avisynth +
- RGBAdapt author Stainless http://forum.doom9.org/showthread.php?t=170642
- RT_Stats author Stainless https://forum.doom9.org/showthread.p...13#post1584313

If you use AvsPmod, you can uncomment lines 67 to 115 to have UserSliders facility.

The script here in attachment
and here https://www.dropbox.com/s/95q3uhvo5i...202019.7z?dl=0

I think this version is a candidat release, i have no idea to improve it, to make it more automatic.

Bernard

PS : DropBox link for thirsty people
Attached Files
File Type: 7z RGBAdapt Awb Process x32 x64 jan 2019.7z (6.7 KB, 10 views)

Last edited by Bernardd; 25th January 2019 at 13:14.
Bernardd is offline   Reply With Quote
Old 31st January 2019, 21:21   #45  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 148
I agree with others: this is a noticeable improvement over the earlier versions - even using defaults. Flesh tones are better and colors and whites are warmer. Better than the likes of ColorYUV and, in many situations, WhiteBalance.

Congratulations, Bernard, on turning StainlessS good work into what appears to be a simple one-size-fits-all white balance capability.

Of course, a dll would eliminate all the lines needed in the script, but I can appreciate that such coding is more than you want to get involved in.
Danette is offline   Reply With Quote
Old 1st February 2019, 07:29   #46  |  Link
manono
Moderator
 
Join Date: Oct 2001
Location: Hawaii
Posts: 7,209
Quote:
Originally Posted by Danette View Post
How long does it generally take for the forum admins to approve attachments?
Although I visit this forum regularly, I hadn't read this thread as I work almost entirely with black and white material and it didn't interest me. But I had a look, saw your question, and approved all pending attachments. On behalf of us lazy mods, I apologize.

To answer your question, anywhere from immediately to never.
manono is offline   Reply With Quote
Old 1st February 2019, 15:10   #47  |  Link
Danette
Registered User
 
Join Date: Apr 2013
Posts: 148
Quote:
Originally Posted by manono View Post
Although I visit this forum regularly, I hadn't read this thread as I work almost entirely with black and white material and it didn't interest me. But I had a look, saw your question, and approved all pending attachments. On behalf of us lazy mods, I apologize.

To answer your question, anywhere from immediately to never.
Thanks. I'll complain when they start paying you to do this.
Danette is offline   Reply With Quote
Old 1st February 2019, 21:06   #48  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 6,282
A bit OT.
Quote:
Originally Posted by foxyshadis View Post
Report your own post, say "approve plz" and it'll get approved. I don't think the 200k thing is a real limit.

Unfortunately vBulletin in all of its wisdom notifies mods of reports but does NOT notify us of pending approvals, so the only option is to wade into threads on the off chance someone might have attached something. There's the mod panel, but it's... lousy, at best. I check on this thread twice a week, but it's so active I miss a lot. Now that we all work way more than full time, the rules page really needs a Rule #0: Report your own post for prompt service.
https://forum.doom9.org/showthread.p...90#post1837290

The REPORT icon is the little red triangle under your avatar [ideally on post containing the attachment, or add which post you refer to].

EDIT:
Quote:
Originally Posted by Danette View Post
Thanks. I'll complain when they start paying you to do this.
I'll complain a lot more often, when they start paying me to do that.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 1st February 2019 at 21:35.
StainlessS is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:22.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.