obtain a difference image

2 views (last 30 days)
rest12
rest12 on 10 Jan 2014
Answered: Image Analyst on 10 Jan 2014
Can any body guide me How to obtain a difference image by taking first-order horizontal differences?

Accepted Answer

Image Analyst
Image Analyst on 10 Jan 2014
diffImage = conv2(grayImage, [1, -1], 'same');

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!