Video histogram

1 view (last 30 days)
Lior
Lior on 26 Jan 2012
I'm trying to plot an histogram of a video file that will show me on X coordinate which frame it is, on Y the gray level and on Z the number of pixels. any idea how to do it ?

Answers (1)

the cyclist
the cyclist on 26 Jan 2012
Do you have the Statistics Toolbox? I think the hist3() function will do what you want.
If you don't, I there are some files in the File Exchange that will do 3-dimensional histograms.

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!