Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Stiching 2 images together

Hi,
I am trying to join images from 2 cameras into one long image for Analysis with IMAQ software.
I need to do this to get the required pixel accuracy across the length in question (6.5").
Any suggestion son how this can be done, I've searched through the IMAQ help and cant find anything, It should be fairly simple, right ?
 
Regards
0 Kudos
Message 1 of 5
(7,619 Views)
Hi Daltech,
 
Here is a picture of what you need to do.  You take the image sizes, resize the image you want to be the final image (to double the length), then you take the second image and using the "Image to Image.vi" you place the second image on the resized image, at an offset.
If you have any other questions please just post back.
 
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland
Download All
Message 2 of 5
(7,608 Views)

Thanks Adam,

Are all those function available through Visual Basic, I don't use Labview/

Ruairi

0 Kudos
Message 3 of 5
(7,605 Views)
Hi,
 
Sorry about that.  The functions are avaliable when you install the appropriate vision modules and support.
Below is an example of the call you would use to get to the Image-Image (the final vi I displayed)
 
CWIMAQVision1.ImageToImage CWIMAQViewer1.Image, CWIMAQViewer2.Image, nPosX, nPosY
For full detials and some examples, go to
Start>>Programs>>National Instruments>>Vision>>Documentation>>NI Vision for Visual Basic Reference Help
 
This will have all of the funcitons avaliable listed and how to use them.  Some of the eamples are useful too.
 
Thanx
 
AdamB
Applications Engineering Team Leader | National Instruments | UK & Ireland
0 Kudos
Message 4 of 5
(7,599 Views)

You've saved the day Adam,

Works perfectly,

Great Support,

 

Ruairi

 

0 Kudos
Message 5 of 5
(7,595 Views)