Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Image Perspective Transformation

Hi,
 
I am using LabWindows/CVI with NI-Vision and IMAQ Vision. I was looking for a vision function to perform an image perspective transformation. I did not find anything. Are functions available within the CVI-environment or should I look on other places?
 
Best regards,
Robin de Krijger
0 Kudos
Message 1 of 4
(4,097 Views)
Hi,
 
This can be done using the calibration functions in NI-Vision
 
Examples are installed at:
C:\Program Files\National Instruments\CVI81\samples\Vision\2. Functions\Calibration
 
Hope this Helps
Regards
 
Karsten
Message 2 of 4
(4,078 Views)

Thanx for the prompt reply!

I've seen this. Did not look very deep into it, 'cause I thought that it was not what I need.

I need a perspective transformation in a dynamic environment. The perspective coordinates are calculated dyncamically given some kind of position, angle and distance. And I need to transform an image from perpendicular transformation (rectangle) to perspective transformation (parallellogram)

It seems to me, that the procedure you mentioned, is some kind of learning to determine the perspective distortion.

Or am i mistaken?

0 Kudos
Message 3 of 4
(4,074 Views)

Hi,

Yes that is correct. The calibration works based on a predefined grid and then this grid is read in with the camera. Based on this grid the learn VI will calculate the compensation needed and store this with the Grid Image (you can save this image to disk with the calibration information attached).

Next the calibration info from the grid is copied to the incoming image and used trough the analysis for the images etc. This more static and more ment to get correct measurement result for shape size and distances etc.

NI-Vision does not contain any functions to apply the calculation to the image data directly

Regards

Karsten

0 Kudos
Message 4 of 4
(4,066 Views)