Clear Filters
Clear Filters

trying to write a code on Image processing

1 view (last 30 days)
Mrutyunjay
Mrutyunjay on 21 Jan 2014
Edited: mohammed on 21 Jan 2014
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)

Meshooo
Meshooo on 21 Jan 2014
What do you mean by error?

Koteswar Rao  Jerripothula
Koteswar Rao Jerripothula on 21 Jan 2014
logical(abs(I1-I2))
  2 Comments
Mrutyunjay
Mrutyunjay on 21 Jan 2014
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.

Community Treasure Hunt

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

Start Hunting!