LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open and process multiple images

I am attempting to open 20 jpeg images to process them in Labview. How can I do this without opening and processing each image individually? Thanks

0 Kudos
Message 1 of 6
(3,270 Views)

sn.png

Message 2 of 6
(3,268 Views)

I cannot get this code to display a path. Could you please explain?

Thanks.

0 Kudos
Message 3 of 6
(3,263 Views)

If you are using .jpeg files instead of .jpg files, you'll need to change that string constant to .jpeg instead of .jpg, so it will look for the correct thing.

 

Also, if you want to display all file paths as an array, wire the output of build path to the other end of the for loop, and it will auto-index into an array.

Colden
Message 4 of 6
(3,241 Views)

Alright. Now I can get the program to display a path to the last file in the folder. Could you maybe post an example about displaying an array of paths? Thank you!

0 Kudos
Message 5 of 6
(3,218 Views)

Right click on the string array output of list folder and select create indicator. If you want the full path you can wire a branch wire from the path indicator in the loop to the edge of the loop. This will create an autoindex tunnel. Right click on the tunnel and select create indicator.

=====================
LabVIEW 2012


0 Kudos
Message 6 of 6
(3,214 Views)