Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

imaqLearnCalibrationPoints

Hi. I want calibration my image using a pattern of 4 points. I have the pixel value and the realworld value of each pixel, but I don't understand and I don't find exemples to pass this values to the imaqLearnCalibrationPoints function.
 
ThankYou very much for your help!
 
  
0 Kudos
Message 1 of 5
(3,630 Views)
Gualty,
have a look to the following path on your PC
C:\Programme\National Instruments\Vision\Examples

You will find several examples for Vision

regards,
ThSa
0 Kudos
Message 2 of 5
(3,608 Views)

Hello ThSa,

       I have seen the examples and the documentation but I am a beginner of CVI (and C also) and I don't  find how pass the pixelvalue and realworldvalue to the imaqLearnCalibrationPoints.

The attached file is a base structure af my application. I want acquire an image and then calibrate it according this values:

pixel                         realworld

100.0,100.0             0.0,0.0

300.0,100.0             50.0,0.0

100.0,300.0             0.0,50.0

300.0,300.0            50.0,50.0

 

Can You send me a correct version af my file with this values passed to the function ?

ThankYou very much for your help! 

 

0 Kudos
Message 3 of 5
(3,596 Views)

Is the answer to your questions posted over here?

http://forums.ni.com/ni/board/message?board.id=200&message.id=8917

 

Regards

AlessioD

0 Kudos
Message 4 of 5
(3,589 Views)

Hey AlessioD,

      I have checked the exemple, but I have an "Too many initializers" error an the cursor is in the point indicated with a "e":

 

PointFloat pixelCoords[] = {{100.0, 100,0},  "e"   {300.0, 100.0}, {100.0, 300.0}, {300.0, 300.0}};

 

Do You know why? ThankYou for your help!

0 Kudos
Message 5 of 5
(3,583 Views)