Video histogram

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 ?

回答(1 个)

the cyclist
the cyclist 2012-1-26

0 个投票

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.

类别

产品

提问:

2012-1-26

Community Treasure Hunt

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

Start Hunting!

Translated by