LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time absolute difference of two consecutive images

I am running an image acquisition process which I need to extract 2 images each time and find their absolute difference. Is there any way to tell the buffer to do so? I am using a condition loops to do that now. But the buffer number wasn't very correct.

 

Absolute of 2 subseqeunt images.png

0 Kudos
Message 1 of 5
(2,637 Views)

Hi sp@davis,

 

What do you mean by buffer number not being very correct? Does this mean it was correct some of the time but not always?

0 Kudos
Message 2 of 5
(2,601 Views)

Yes. Seems like the odd and even images display doesnt looks right. By right, if I capture image using modulated light source (i.e. synchronized on/off), one image should be blank and the other not, but thats not always happen.

0 Kudos
Message 3 of 5
(2,598 Views)

Are you synchronizing your modulated light source with the speed of your loop? I.e. Is your light turning on and off at the same speed as you are getting data off the queue?

 

 

Or do you mean that you are getting two black images in a row instead of a black-white pattern for instance?

0 Kudos
Message 4 of 5
(2,575 Views)

i dont need the image proceesing loop to be synchronized exactly to the acquisition process. regarding the light modulation and image acquisition; yes they are synchronized. so if i have light modulated by 10 Hz square wave; and my image acquisition rate is twice; i should get odd image as bright and even image as dark. 

0 Kudos
Message 5 of 5
(2,564 Views)