What unit does the frequency have (MATLAB Color Histogram)?

1 次查看(过去 30 天)
Hello !
I used the code snippet at the end of the page of https://de.mathworks.com/help/matlab/creating_plots/color-analysis-with-bivariate-histogram.html and also got a histogram, where the frequency is plotted over the RGB color value. I was just wondering what unit the frequency on the y-axis has, because the values are quite high (up to ~7000). Is it number of screen-pixels with that color?
Thanks a lot for your help!

采纳的回答

Duncan Po
Duncan Po 2019-10-4
The Y axis is number of pixels. The image in the example is 384x512, so it has 196608 pixels.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by