How to plot - Histogram Processing
조회 수: 1 (최근 30일)
이전 댓글 표시
Histogram Processing
h(rk)= nk
p(rk)=nk/n
I try to perform the Matlab programming with formula equation for the image processing as below
However I am not sure my answer is correct or not
Trial>> clear;
Trial>> x=('cameraman.tif');
Trial>> I=double(x);
Trial>> subplot(1,2,1),imshow(x);
Trial>> subplot(1,2,2),hist(I);
Kindly please provide your opinion and suggestion thus I will be able to improve my computing skills
댓글 수: 0
답변 (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!