Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID CalibrationId, | //in |
MIL_INT Index, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function allows you to inquire about the settings of a single pose in the sequence of poses performed to calibrate M_3D_ROBOTICS camera calibration contexts. Every call to McalGrid() or McalList() with M_ACCUMULATE corresponds to a pose used to obtain information about the camera setup during the camera calibration process.
Specifies the index of the pose of a M_3D_ROBOTICS camera calibration context from which settings should be inquired. The first call corresponds to the index value 0 and the last one is the return value of McalInquire() with M_NUMBER_OF_CALIBRATION_POSES minus one.
Specifies the setting about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to return the value of the inquired setting. Since the McalInquireSingle() function also returns the requested information, you can set this parameter to M_NULL.
See the Parameter associations section for possible values that can be returned.
The tables below list possible values for the InquireType parameter and possible values returned to the UserVarPtr parameter.
The InquireType parameter can be set to one of the following values only after calibrating with McalGrid().
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of columns in the camera calibration grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of columns. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of world units between columns. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the spacing between columns. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-position of the top-left circle of a circle grid, or the top-left point connecting four squares in a chessboard grid, in the camera calibration plane coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-position, in the camera calibration plane coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-position of the top-left circle of a circle grid, or the top-left point connecting four squares in a chessboard grid, in the camera calibration plane coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-position, in the camera calibration plane coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-position of the top-left circle of a circle grid, or the top-left point connecting four squares in a chessboard grid, in the camera calibration plane coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Z-position, in the camera calibration plane coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the type of grid used to perform the camera calibration. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a chessboard grid. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a grid of circles. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the units returned by M_GRID_UNITS. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_TEXT_CHAR
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the units of measurement encoded in a chessboard grid with a fiducial. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in centimeters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in feet. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in inches. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in kilometers. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in meters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in micrometers. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in miles. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in millimeters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid units are measured in mils. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that grid units are measured in an unknown unit. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of rows in the camera calibration grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of rows. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the spacing between rows in the camera calibration grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the spacing between rows, in world units. |
You can add the following value to the above-mentioned value to get the string's length.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Retrieves the length of the string, including the terminating null character ("\0"). |
The InquireType parameter can be set to one of the following values after a call to either McalGrid() or McalList().
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the average camera calibration error in the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the average camera calibration error, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the average camera calibration error in the absolute coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the average camera calibration error, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-pixel coordinate of the calibration points. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_DOUBLE
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-pixel coordinate of the calibration points. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_DOUBLE
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the type of data that was used to perform the camera calibration. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration was performed using a camera calibration grid (McalGrid()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration was performed by explicitly specifying the correspondence between some pixels and their real-world coordinates (McalList()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-world coordinate of the calibration points that are computed based on explicitly specified values. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_DOUBLE
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate, in real-world units of the camera calibration plane (M_CALIBRATION_PLANE). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-world coordinate of the calibration points that are computed based on explicitly specified values. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_DOUBLE
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate, in real-world units of the camera calibration plane (M_CALIBRATION_PLANE). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-world coordinate of the calibration points that are based on explicitly specified values. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: array of type
MIL_DOUBLE (more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Z-coordinate, in real-world units of the camera calibration plane (M_CALIBRATION_PLANE). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum camera calibration error, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum camera calibration error, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum camera calibration error, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum camera calibration error, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of calibration points found by McalGrid() or passed to McalList(). SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of calibration points. |
You can add one of the following values to the above-mentioned values to cast the requested information to the required data type.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a char. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
char
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_DOUBLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: array of type
MIL_DOUBLE | address of a
MIL_DOUBLE (more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_FLOAT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_FLOAT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_ID. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_ID
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested results to a MIL_INT16. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT16
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT32. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT32
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Casts the requested information to a MIL_INT64. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info:
Data type: address of a
MIL_INT64
|
Header | Include mil.h. |
Library | Use mil.lib; milcal.lib. |
DLL | Requires mil.dll; milcal.dll. |