garyscale difference by row and column

3 ビュー (過去 30 日間)
shri sant  gadge baba
shri sant gadge baba 2012 年 1 月 28 日
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.

Community Treasure Hunt

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

Start Hunting!

Translated by