필터 지우기
필터 지우기

How to boost the pixel difference of an image.

조회 수: 1 (최근 30일)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran 2012년 8월 23일
How to find the pixel difference of an image and how to boost the intensity of it.

답변 (1개)

Image Analyst
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).

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by