LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array subtraction via shift registers

Solved!
Go to solution

In the case shown there it wouldn't, especially since it is an uninitialised shift register. The data is held in the shift register unless this is the first time that loop is being entered.

 

But that doesn't even matter, the outputs are only read when the loop terminates so you would get the first picture from the tunnel and the comparison image from the shift register.

Message 11 of 13
(573 Views)

Oh, thanks for that clarification. 

0 Kudos
Message 12 of 13
(568 Views)

Another possibility, as I mentioned.  Using a producer/consumer design pattern, grab two images and build a 3D array with it.  Pass to the consumer loop, do the math, and display or write to file.  

ProducerConsumerData 8_BD.png

aputman
Message 13 of 13
(566 Views)