09-01-2010 01:57 AM
I am trying to do a simple task yet I have been unable to complete it successfully.
I have an avi video and I want to extract a particular frame from it, then I want to subtract this frame to other frames in the video, this could be helpful for instance to remove the background from a video. The video corresponds to a bubble that grows and collapses in a few frames.
I am able to do the subtraction from operation (i.e.. Frame 2 - frame 1); I then convert the resulting image to a grayscale image (SSL) with the IMAQ cast image VI/ However, the resulting image is all black. I expected to see the difference between the two images as a dark ring that shows the growth of the bubble and not only a black image.
Can somebody give me a hand with this problem?
I am attaching the VI and the video(Test.avi).