How does the imhist function work for RGB image?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
John Doe
am 30 Mai 2020
Bearbeitet: John Doe
am 30 Mai 2020
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 Kommentare
Akzeptierte Antwort
Image Analyst
am 30 Mai 2020
Bearbeitet: Image Analyst
am 30 Mai 2020
Did you try to look at the source code
>> edit imhist.m
Also, see attached demo. You might like it.
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!