Probelm in implementing Adaptive Histogram Equalization
이전 댓글 표시
Hi,
I am trying to implement Contrast Limited Adaptive Historgram Equalization an image using the command adapthisteq(I) but i am getting error like
"Error using adapthisteq
Expected input number 1, I, to be two-dimensional."
I have attached my image here, can anyone pls guide me the problem with it.
Note: since the file format of tif is not supported in the attachment, therefore i am attaching jpg format of my file.
Thanks
답변 (2개)
Follow the workflow shown here:
Image Analyst
2019년 10월 8일
Before calling adapthisteq(), cast the image to gray level if it's not already:
if ndims(I) == 3
I = rgb2gray(I)
end
카테고리
도움말 센터 및 File Exchange에서 Contrast Adjustment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!