trying to write a code on Image processing

1 次查看(过去 30 天)
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 个)

Meshooo
Meshooo 2014-1-21
What do you mean by error?

Koteswar Rao  Jerripothula
logical(abs(I1-I2))
  2 个评论
Mrutyunjay
Mrutyunjay 2014-1-21
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 2014-1-21
编辑:mohammed 2014-1-21
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......

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by