How to boost the pixel difference of an image.
조회 수: 1 (최근 30일)
이전 댓글 표시
How to find the pixel difference of an image and how to boost the intensity of it.
댓글 수: 0
답변 (1개)
Image Analyst
2012년 8월 23일
I'm not sure what you mean by pixel difference. Do you want to define that? Maybe it is:
pixelDifference = max(grayImage(:)) - min(grayImage(:));
Or perhaps you mean
pixelDifference = conv2(grayImage, [-1 -1 -1;-1 8 -1;-1 -1 -1]/8);
Or you could try imadjust() to increase the contrast (expand the histogram).
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!