View Full Version : Writing ColorYUV LooseMinimum and LooseMaximum to text file?


Wrapscallion
26th May 2023, 19:50
Hey there. I'm just trying to write the ColorYUV LooseMinimum and LooseMaximum values to a text file, with frame counts.

I've tried to do this with YPlaneMin and YPlaneMax, and I can get them to write the absolute lowest and absolute highest pixel values, but if I try YPlaneMin(threshold=0.4) or YPlaneMax(threshold=0.4) it always returns -1 for every frame.

Any idea how I could do this, or if I could be doing something wrong with those previous commands?

coolgit
26th May 2023, 21:01
Try RT_YPlaneMin RT_YPlaneMax

Wrapscallion
26th May 2023, 21:22
That works! Thanks very much!