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!
댓글 수: 0
채택된 답변
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 Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!