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. |
26th November 2012, 12:35 | #1 | Link | ||
Registered User
Join Date: Apr 2010
Posts: 175
|
YDifferenceFromPrevious, AverageLuma ?
Hi,
"YUV is a color model - or color space - that consists of one luma (a.k.a. brightness) component, Y" (wiki) Code : Quote:
Quote:
91.439629 - 90.837395 = 0.599534 YDifferenceFromPrevious = 6.917845 So what is the real relationship between YDiff and luma, or the computation made here ? I know Ydifference computes the total difference between two frames by pixels, but how ? then even 6.917845 is too low. I need to select frames while they have more luma than previous and next, but since Ydiff returns absolute (not signed) values i can't use it, i tried yesterday but i didn't succeed. I need to access average luma of previous and next frame, imho. That's a lot of questions Thanks, L |
||
26th November 2012, 14:39 | #2 | Link | ||
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Quote:
Note that using GRunT, you can get these easily with AverageLuma(-1) and AverageLuma(1). Last edited by Gavino; 26th November 2012 at 14:42. |
||
26th November 2012, 14:45 | #3 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
__________________
my repositories |
27th November 2012, 11:39 | #4 | Link |
Registered User
Join Date: Apr 2010
Posts: 175
|
Thanks to all, Gavino ok i understand it better now, and Chikuzen, it seems a bit similar to native YPlane function.
Edit : i think i could have use also R-Stat for accessing other frames, but Grunt is much easier.. Last edited by lisztfr9; 27th November 2012 at 11:57. |
27th November 2012, 16:52 | #5 | Link | |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Quote:
(maybe its the extra typing involved ie "RT_").
__________________
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 ??? |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|