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!