Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

image calibration labview

I am trying to calibrate an image using a grid, for non linear calibration. I have firstly a program that works when just reading from two files. but when i try to convert this to a vi that snaps the grid and then learns the calibration, saves the image to file(.PNG). Then the image that needs to be calibrated is taken and calibrated against the image of the grid saved. help!
The error for imaq set calibration is "incompatible image size"
see the two versions below, the first one works the second does, any alteration would be much appreciated.
brendanbarry@campus.ie
0 Kudos
Message 1 of 5
(3,773 Views)
Hello BennyB,

Can you attach your code

Kind Regards


Steven Bird
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(3,759 Views)
Here you go, thanks alot for having a look!
0 Kudos
Message 3 of 5
(3,753 Views)
0 Kudos
Message 4 of 5
(3,724 Views)
Hello Bennyb,

I have looked at your code and noticed that when you create your image you are not specifying the image type when using the IMAQ create VI. I believe this doesn't help matters.

Anyway the best way forward for you if this doesnt work is to look at the simple examples that ship with LV:

C:\Program Files\National Instruments\LabVIEW 7.1\examples\Vision\2. Functions\Calibration

Look at the Simple Calibration Example and the Non Linear Calibration Example. You should be able to move forward from here.

Hope this helps

Kind Regards

Steven Bird
Applications Engineer
National Instruments
0 Kudos
Message 5 of 5
(3,710 Views)