garyscale difference by row and column

3 vues (au cours des 30 derniers jours)
shri sant  gadge baba
shri sant gadge baba le 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

Réponses (1)

Image Analyst
Image Analyst le 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!

Translated by