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

Antworten (2)

Meshooo
Meshooo am 21 Jan. 2014

0 Stimmen

What do you mean by error?
Koteswar Rao Jerripothula
Koteswar Rao Jerripothula am 21 Jan. 2014

0 Stimmen

logical(abs(I1-I2))

2 Kommentare

Mrutyunjay
Mrutyunjay am 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 am 21 Jan. 2014
Bearbeitet: mohammed am 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......

Melden Sie sich an, um zu kommentieren.

Gefragt:

am 21 Jan. 2014

Bearbeitet:

am 21 Jan. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by