08-20-2015 01:00 PM
Hi,
I have a camera image streaming in via "IMAQ Grab Acquire.vi".
I would like to do a "max hold" of this image.
In other words, imagine I'm looking at the image of a flashlight in a dark room. Right now you see the flashlight moving around on the image. I'd like to have it persist indefinitely, so that the flashlight instead 'draws' a persistent bright trail as it moves around the image.
How can I do this?
08-20-2015 01:11 PM - edited 08-20-2015 01:12 PM
The IMAQ Add VI might be what you want, where you just add each image to the previous, but you might end up with an overexposed image as you go on and on. I would suggest using a combination of the IMAQ processing VIs to get your result. Trial and error.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
08-20-2015 02:51 PM
To rephrase what James said, if all you do is pile the images on top of each other (which you can surely do), you are, in effect, simply "averaging" over all the images. What this basically does is to emphasize the stationary parts of the image, washing out the moving parts, sort of the exact opposite of what you want. You'll have to be clever (and probably non-linear) ...
Bob Schor
08-20-2015 05:50 PM - edited 08-20-2015 05:53 PM
You might have to use image to array and use the LabVIEW max&min function between your new image and the old image stored as an array on a shift register or feedback node.