trying to write a code on Image processing

I am a beginner in Image Processing using MatLab and I am trying to write a code which compares and detects the error between two images and marks the particular error portion and I am using Matlab 2011b., kindly help me

Answers (2)

What do you mean by error?
logical(abs(I1-I2))

2 Comments

This is my code
close all a1=imread('master_image.png'); a=im2bw(a1); figure, imshow(a) b1=imread('test_image.png'); b=im2bw(b1); figure, imshow(b) k= imabsdiff(a,b); figure, imshow(k)
Im trying to find the difference in two images and the function 'logical(abs(a-b))' isn't working
mohammed
mohammed on 21 Jan 2014
Edited: mohammed on 21 Jan 2014
Dear Mrutyunjay
Can you Tell me what error you are getting in your problem? or else what result you want ?
the Program what you wrote had no Error......

Sign in to comment.

Asked:

on 21 Jan 2014

Edited:

on 21 Jan 2014

Community Treasure Hunt

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

Start Hunting!