Effacer les filtres
Effacer les filtres

How to boost the pixel difference of an image.

1 vue (au cours des 30 derniers jours)
Sivakumaran Chandrasekaran
Sivakumaran Chandrasekaran le 23 Août 2012
How to find the pixel difference of an image and how to boost the intensity of it.

Réponses (1)

Image Analyst
Image Analyst le 23 Août 2012
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