LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Continue to read file !

Hello, everyone:
 
I have several pictures. I want to combine them into one.
 
First step: Read "Pic1" and "Pic2", combine them into one (called "NewPic1").
 
Second step: Read "Pic3" and "NewPic1", combine them into one (called "NewPic2").
   .
   .
   .
last step: I will get one picture.
 
I want to ask how do i write the part of continuing to read file ?
 
Thanks!
0 Kudos
Message 1 of 6
(2,854 Views)
Hi,
Could you give more detail about what language you are programming in? When you say combine, in what way? Is it just layer on top of layer or make the dimension bigger by adding to the edge of the other picture or some other combination? With your 'continue to read file' bit, you could use a loop to cycle through the file names.
Regards,
0 Kudos
Message 2 of 6
(2,832 Views)

Hi a710756,

which type of file do you want to read? Do you want all pictures side by side or layed over in the new picutre?

Mike

0 Kudos
Message 3 of 6
(2,831 Views)

Hi, Kabul and Mike S81

Thank you for your responses.

I want use LabVIEW 8.2 to write this program.

The program will read pictures(maybe *.png or *.bmp) to do combine.

This "combine" means pictures side by side in the new picture.

I hope someone can help me!  Thanks!  

0 Kudos
Message 4 of 6
(2,798 Views)

Hi a710756,

one solution is to open the pictures with the LabView supplied vis. Merge the image Arrays in the right way, set the new size of the image and write the new image to a new file.

Mike

0 Kudos
Message 5 of 6
(2,796 Views)

Hi a710756,

or you make it like shown in the attached picutre. Hope this helps.

Mike

0 Kudos
Message 6 of 6
(2,792 Views)