Log in

View Full Version : RT_YPlaneStdev


lisztfr9
2nd June 2014, 22:23
Hi,

@StainlessS,

Currently i can't figure out what RT_YPlaneStdev does :


Description :

"Returns FLOAT value luma Standard Deviation (0.0 -> 255.0) in frame(n+delta) for area x,y,w,h."

Example :

scriptclip(""" sum =RT_YPlaneStdev(Last) Subtitle(String(Sum) ) """)
# Luma sample standard deviation of current_frame.

Standard deviation, compared to the whole clip ? Then the info should only be accurate once the whole clip is scanned. Then while it is displayed, it isn't so much accurate ... ?

Ok thanks, L

Edit : i guess it's STdev of the pixels (Y) inside the frame.

StainlessS
3rd June 2014, 15:16
Hi, looks like there was a little copy & paste involved there, should have read something like


scriptclip(""" std =RT_YPlaneStdev(Last) Subtitle(String(std) ) """)
# Luma standard deviation of current_frame.


Sorry about that, have corrected doc for next issue.

Also note, was originally with Bessel's correction, changed to without Bessel's correction as suggested by Martin53.