05-26-2016 10:45 AM
Hello,
I am developing a vision system to detect a mobile robot in a room, and a navigation system for the rover in the environment (user will specify a point in the map and the rover should navigate to it with obstacles avoidance)
I’ve already mounted the camera (Lifecam Studio) already near the ceiling ~3m from the ground.
The camera is not perpendicular to the ground because it is at the top corner of the room to cover the whole room view. So I have perspective error and lens distortion.
According to (Chapter 6 – Calibrating Images, NI Vision for LabVIEW User Manual), there are 3 steps to calibrate the imaging system:
I am assuming that these 3 steps are included in NI Vision Assistant (Process Images>Image Calibration>New Calibration).
Step1: Calibration Type: I’ve chosen Point Coordinates Calibration, is that type suitable for this case?
Step3: Specify Reference Points, I’ve chosen 4 different points corresponding to the square pattern in the floor,
The square is 30cmx30cm. What values should I put in the Real-World Coordinates (X,Y) –Unit:cm, for each of the 4 points ? (Check Image 1)
After finishing all the steps, a calibration file will be created. How could I attach the calibration file created by vision assistant to the VI which I created to develop the system (Check Image 2)
According to (Chapter 6 – Calibrating Images, Attach Calibration Information, NI Vision for LabVIEW User Manual),
IMAQ Set Calibration Info VI, can be used for an image, the case here is a video feedback and a real time application, is there any example for that? Not the one included with the vision module, perspective calibration.vi
I’m assuming also that the steps I’ve done in vision assistant is an alternative way for the calibration from doing it through the VI itself (Vision and Motion>Vision Utilities>Calibration).
Thank you in advance.
05-27-2016 04:28 AM
05-27-2016 07:22 AM
3 questions:
1- Step1: Calibration Type: I’ve chosen Point Coordinates Calibration, is that type suitable for this case?
2- What values should I put in the Real-World Coordinates (X,Y) –Unit:cm, for each of the 4 points ? (Check Image 1)
3- How could I attach the calibration file created by vision assistant to the VI which I created to develop the system (Check Image 2) ?
I’m assuming also that the steps I’ve done in vision assistant is an alternative way for the calibration from doing it through the VI itself (Vision and Motion>Vision Utilities>Calibration). Is that assumption right ?
05-27-2016 07:44 AM
05-27-2016 07:49 AM
05-27-2016 07:53 AM
05-28-2016 09:07 AM
Thank you for your help,
I did the calibration in vision assistant and completed all the steps. A .png file is generated then
the thing is, How can I display the calibrtion accuracy informations (most importantly cursor position: real world (cm) ) in my vi ? while running (camera grab) at certain FPS
I did a try by inserting IMAQ Read Image and Vision Info (check the picture), the file path is the .png image generated by vision assistant and then IMAQ is vision info present 2, calibration
is IMAQ Read Image and Vision Info wired correctly ?
05-31-2016 03:03 PM
Hello Joeynn,
You can use the “IMAQ Get Calibration Info 3.vi” to retrieve most of the calibration accuracy properties. Below is a simple example demonstrating how to use the VI.
I do not believe that you will be able to get the cursor position from the calibration accuracy properties. A cursor position is considered an Indicator property (not a calibration property). You can use a property node to retrieve the “Cursor” property from the image Indicator on your front panel.
Picture Properties:
http://zone.ni.com/reference/en-XX/help/371361H-01/lvprop/picture_p/
Regards,
j_bou