How does the imhist function work for RGB image?
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello everyone.
I looked up the use of imhist function. It plots the histogram for a grayscale image. But if the input is an RGB image, it still produces a histogram? Is it converting the RGB to grayscale and then showing the histogram?
And would it be technically correct to show the histogram for a RGB image this way? Thanks in advance!
댓글 수: 0
채택된 답변
Image Analyst
2020년 5월 30일
편집: Image Analyst
2020년 5월 30일
Did you try to look at the source code
>> edit imhist.m
Also, see attached demo. You might like it.
추가 답변 (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!