From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

avi image extraction and save

Solved!
Go to solution

Hi, I have a video in avi form which I would like to segment by each frame and save the image as a tiff. Ive done this in a while loop but it doesn't work. anyone know why?

 

thanks

 

 

Labview 14.0, Labview 12.0
CLAD
Mechanical Engineering Student
Download All
0 Kudos
Message 1 of 3
(3,078 Views)
Solution
Accepted by topic author Stephen1995

Hi Stephen,

 

For file path input, please give complete path including file name for each file.

-Currently directly you are giving application directory as path, to that append the following

-Since you need each image to be saved first get the iteration number and convert to decimal string and concatenate it with .tiff

-Use the resulting string as input to Build Path and base path from application directory.

-Pass the appended path to IMAQ Write File2 VI.

 

Let me know if it works.

 

Thanks
uday
0 Kudos
Message 2 of 3
(3,069 Views)
I spotted my mistake just after posting and I'm pretty sure I did exactly what you put andown it worked. Thanks for the reply
Labview 14.0, Labview 12.0
CLAD
Mechanical Engineering Student
0 Kudos
Message 3 of 3
(3,067 Views)