Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple images to single image

Hello all,
 
I am taking multiple images using a PixeLink camera through a lens which reduces size to a much smaller image.  These smaller images must be combined proportionally into one larger image.  I simply need to know how to combine multiple images and combine them into one larger image.  Can the single images be placed into an array or do I have to use an image matrix of some sort?  Any help is greatly appreciated.
 
Thanks
 
Here's what I got so far (I'm failry new to the field of Machine Vision and Imaging through LabVIEW).
0 Kudos
Message 1 of 10
(5,759 Views)
In the Vision tools, there is a vi for copying a smaller image into an area of a larger image.  You can use it multiple times to create a collage of smaller images within a single large image.
 
My only concern about using this is alignment.  If the edges of your images don't line up exactly, you will have noticeable seams between the images.
 
Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 10
(5,758 Views)
Hi Steve,

Thank you for using National Instruments forums.

The VI that Bruce is talking about is IMAQ ImageToImage.vi.

Justin Louie
0 Kudos
Message 3 of 10
(5,727 Views)
Hey Bruce and Justin,
 
Is the IMAQ ImageToImage.vi from Vision 8.2?  The VI can't be found, probably because I had to convert Vision 7.1 to work with my LabVIEW 8.2...or is it something else?
 
Thanks,
0 Kudos
Message 4 of 10
(5,653 Views)

ImageToImage should be in all the versions of Vision.  I think it has been around a while.

Look under Vision Utilities -> Image Management to find it.  The icon has a small box with an arrow pointing to a larger box.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 5 of 10
(5,650 Views)

Hey Bruce,

Under Vision Utilities > Image Management I have 10 VIs. 

IMAQ Create, IMAQ Dispose, IMAQ Image Bit Depth, IMAQ Get Image Size, IMAQ Set Image Size, IMAQ Get Image Info, IMAQ Read Custom Data, IMAQ Write Custom Data, IMAQ Get Custom Keys, and IMAQ Remove Custom Data. 

I'll try looking elsewhere for it though...perhaps through the installation it was relocated.

Thanks,

0 Kudos
Message 6 of 10
(5,648 Views)
It is the correct menu, but it is missing several vis.
 
I have frequently found that using the Repair option on the Vision toolkit through Add/Remove Software fixes problems like this.  It looks like you installed stuff in the wrong order.
 
Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 7 of 10
(5,645 Views)
Hey Bruce,
 
Sorry if I'm being a bit of a pain up to this point...but in checking the software there are 47 different NI products that I can alter but I do not see the Vision toolkit...hence, where my problem probably is.  I have NI Motion and NI IMAQ software, but nothing directly mentioning vision.  Hmm...
 
I'm gonna try re-installing my Vision, I hope this works cause it's exactly what I did prior to this.
 
Thanks,
0 Kudos
Message 8 of 10
(5,632 Views)
Ok ok ok...
 
I've progressed a bit toward my ultimate goal... Smiley Surprised
 
I'm taking multiple images and saving them properly, as well as opening them properly.
 
My indicators are not displaying them the way I want to as of now though.
 
I'd like my first image to display in Image 1, my second to come up through Image 2, and the third to come up in Image 3.  Every sequence structure I try opens only one image, my array set up opens up the same image in all 3 indicators, and when I try to put it through a flat sequence my tunnels don't have a set direction and the data cannot flow.
 
Attached is my VI, the Image read comes in the second frame.
 
Thanks!

Message Edited by Steve.Briggs on 08-01-2007 03:48 PM

0 Kudos
Message 9 of 10
(5,603 Views)

Steve,

You used the same name for all three images.  When you use the same name, only one image is created and it is reused.  You need to create three different images with three different names for it to work properly.

Bruce

Bruce Ammons
Ammons Engineering
0 Kudos
Message 10 of 10
(5,597 Views)