Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Compore two image and color the difference

Hi all!!

I have i problem.

I want create with labview a rudimental video surveillance software wirth camera balser 602f ieee394.

Now, i want compare 2 picture, A and B and create an other image C whit the different pixel are red.

Example: in image A i have a table. In image B i have a table with a pen on the table.

I want an image C  with the pen totaly red colored (different pixel).

Can i use machine vision to create this app?? Please help me!!

0 Kudos
Message 1 of 5
(3,931 Views)

Sure.  Store the initial image as a reference.  For each new image, use absolute subtract to take the difference between the two images.  Use a fixed threshold value that will ignore noise, and maybe do a little processing to clean up the resulting binary image (such as erode, fill, etc.).  Display the image using the binary palette.

 

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 5
(3,917 Views)

Could you post an example please?? 

I have try but the resukt is wrong...

0 Kudos
Message 3 of 5
(3,905 Views)
Can you post samples of your image?
Waleed El-Badry MSc.,MCPD, ISTQB Certified Tester
Assistant Lecturer
Mechatronics Department
Faculty of Engineering
Misr University for Science & Technology



View Waleed El-Badry's profile on LinkedIn

0 Kudos
Message 4 of 5
(3,898 Views)
I have resolved, thank you very mutch work fine!! It's possible color only a part of image, for example using roi?? I want select only a little part of image, for example the center, and make in that part the control of different pixel... I post here the program where i want add the roi function! Thanks all for help!
Download All
Message 5 of 5
(3,865 Views)