08-10-2010 11:10 AM - edited 08-10-2010 11:11 AM
I have programmed a vi to take apart an AVI file frame by frame=> convert the images to binary=> do an fft=> morphology=>detect circles
the object of the vi is to capture the motion of micron size silica beads and track their movement for optical trap stiffness measurements.
what I would like to add to the program is a pop up window (or option) at the start of the program that allows you to take the first frame of the video, have all the analysis done to that frame, then like in vision assistant be able to select a template from that frame to do shape matching. I would then use that frame in my normal program to track a particular shape. im open to both general lab view advice about pop up windows, how to grab and save a particular portion of an image, or maybe even how the pop up windows work in vision assistant itself.
I have included an earlier vi and a sample avi to run.
08-11-2010 06:16 PM
If you're looking for a pop-up window, I would suggest exploring the external display palette found the in Vision Utilities Palette.The Windraw VI is very much like a normal front panel image display except it is external to the VI, you can then construct ROI's on it and use those in the rest of your code.
As far as rebuilding a custom version of Vision Assistant for your application, this may be a bit more difficult. You could simply call a VI that will open up and "act" as your popup window. You can then create buttons and commands that the user can interact with, and when done, you can close the SubVI and move back to your main application.