08-17-2005 01:51 PM
08-18-2005 07:42 PM
08-19-2005 09:57 AM
Thanks Robert. I figured out that I can get the thresholding to work by reading each frame and using the IMAQ cast image sub-VI to convert the individual images to grayscale. However, I'm using the camera to measure changes in intensity over time. I had a problem with my previous set-up (using a sony camcorder) because I imported the images into photoshop and converted color images to grayscale, but the conversion was treating each picture differently and constructing an evenly distributed histogram for all of them, so when I thresholded the images, I had the same number of pixels in each image even though the relative intensity among them was clearly different. Is the cast image sub-VI doing that or is it giving me a real measure of intensity? Do I need to convert the image from RGB to HSI first? It doesn't show any hue or saturation, just intensity, so does that mean the cast image sub-VI is giving me unaltered intensity???
Is there any way to change the create avi sub-VI to create a U8 video? That would simplify this problem a lot.
Thanks,
Kelly
08-22-2005 09:31 AM
08-22-2005 10:15 AM
I'm using LabView and Vision 7.1 student edition, which I got about 6 months ago.
Thanks,
Kelly
08-22-2005 11:52 AM
08-22-2005 01:07 PM
Greg,
Apparently I can't get the free update for the student edition... any other ideas?
Thanks,
Kelly
08-22-2005 06:27 PM
Greg,
I tried saving the Create AVI sub-VI under a different name and adding an "Image type" input. I think I did it right because I copied it from the IMAQ Create sub-VI which has an Image Type input. It doesn't give me any errors and lets me record video, but my avis are still color and I'm not sure why. It seems like it's just ignoring my input and sticking with the default. So then I was playing with different inputs in the Create AVI sub-VI (not the one I messed with, the original one) and it doesn't seem to take an input for Frames per second. No matter what I input, when I check the avi with Get AVI Info in another program, it tells me the avi has 29 frames per second. The camera is set through Measurement and Automation Explorer to record 7.5 fps. Any idea what's wrong here? So I think when I go to play my video, it's reading the fps as 29 and running it back at the wrong speed, but how do I know whether the video was actually recorded at 7.5 or 29 fps?
Thanks,
Kelly
08-29-2005 02:20 PM
08-29-2005 03:25 PM
Hi Robert,
No, when I wire 7.5 fps to the Create AVI sub-VI and then check it with Get AVI info, it says it's 29 fps. Now that I've figured that out, I can play my video back at normal speed by using a numerical constant instead of the frames per second from get AVI info, which works fine because all of my videos are taken at 7.5 fps, but I don't know why it doesn't work properly.
Kelly