필터 지우기
필터 지우기

how to find 10^3 dimensional histogram of a color image?

조회 수: 1 (최근 30일)
christian  bale
christian bale 2012년 1월 10일
i dont know how to find a 10^3 histogram of a color image.so help me

채택된 답변

Walter Roberson
Walter Roberson 2012년 1월 10일
hist(YourImage(:),10^3)
You will probably not find this to be very useful, though, as it will mix the color information for all of the channels together. You need separate histograms if you want to histogram by channel.
For example,
hist(reshape(YourImage(:,:,2),[],1),10^3)

추가 답변 (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