garyscale difference by row and column

1 次查看(过去 30 天)
dear sir i want to find grayscale difference by row as well as column for image recognition plz help in this code

回答(1 个)

Image Analyst
Image Analyst 2012-1-28
You can use imfilter, conv2, or graycomatrix. Maybe something like
kernel = [-1 -1 -1; -1 8 -1; -1 -1 -1];
differenceImage = conv2(inputImage, kernel);
Look them up, then refine your vague question and come back if you still can't figure out what to do.

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by