garyscale difference by row and column

조회 수: 2 (최근 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