Log in

View Full Version : Color Distribution


martina
21st June 2006, 15:46
Hi,
is there any way to write down to a file the distribution of the Y, U and V components of a video frame?
I know I can see the distribution using the histogram("levels"), but it would be great if I could have the raw data instead of the graph.
That's because I'm trying to retrieve similar images from a video using the color distribution.
Any help?
thanks a lot

martina

Zarxrax
21st June 2006, 17:30
Look at the ColorYUV filter. I think you need ColorYUV(analyze=true)

martina
21st June 2006, 19:01
No, ColorYUV(analyze=true) simply write over each frame some information about the average, max, min values of YUV.
What I need is for each frame, the raw data upon which the three histogram (using histogram("levels") are done. That means a series of value (x,y) for each level and for each frame.