garyscale difference by row and column

3 views (last 30 days)
shri sant  gadge baba
shri sant gadge baba on 28 Jan 2012
dear sir i want to find grayscale difference by row as well as column for image recognition plz help in this code

Answers (1)

Image Analyst
Image Analyst on 28 Jan 2012
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!