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

回答(2 个)

logical(abs(I1-I2))

2 个评论

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
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......

请先登录,再进行评论。

提问:

2014-1-21

编辑:

2014-1-21

Community Treasure Hunt

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

Start Hunting!

Translated by