pixel Segmentation using histograms
이전 댓글 표시
Hi, I am facing with a theoretical confusion and I hope some one can clear it up for me.
Is it possible to find gradients on the basis of a simple histogram?
I came across a mention of an algorithm which finds gradients on the basis of highest peaks of a histogram but I wasn't able to find it on web even after much searching.
Can someone please point me in the right direction if any of you have any idea regarding this? I shall be extremly grateful.
Thanks
Mehwish
채택된 답변
추가 답변 (1개)
댓글 수: 2
Image Analyst
2013년 8월 28일
darkPixels = J < 150; % or whatever.
I(darkPixels) = 255; % Set dark pixels to white in the original image.
imshow(I);
Mehwish
2013년 8월 28일
카테고리
도움말 센터 및 File Exchange에서 Contrast Adjustment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!