08-19-2013 12:04 PM - edited 08-19-2013 12:05 PM
Hi All,
I have a Vi which do the image subrtaction, basically subtracting a video grab from a still image, What I want to do is get the signed image data and add a scalar value like 128 or 255 to final subtracted image and display that image. Attached is the vi please let me know where I am doing wrong and how can I make it right,
08-19-2013 01:12 PM
I do not have the Visions VIs so I cannot tell mauch about what your program is doing.
The standard arithmetic functions are polymorphic, meaning that they will work with many numeric data types. In particular the Add and Subtract pimitives will accept an array on one input and a scalar on the other. The output will be an array the same size as the input array with the scalar value added to or subtracted from each value in the input array.
Lynn
08-19-2013 01:26 PM
Those nested loops aren't realy necessary (Nor is wiring the sizes to the N terminals. Auto indexing takes care of that for you)
08-19-2013 04:25 PM
@JÞB wrote:
Those nested loops aren't realy necessary (Nor is wiring the sizes to the N terminals. Auto indexing takes care of that for you)
Hi all,
Thanks for the response was really helpful, I have one more problem, not able to convert the live video image into array, should I be something different? as of now whenever I try to execute the vi , the image toa array doesnt display the array , probing the same it says "not executed".