Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID CalibrationOrMilId, | //in |
MIL_INT64 InquireType, | //in |
void *UserVarPtr | //out |
This function inquires about a setting of a camera calibration context, a calibrated image, a calibrated result buffer, or a fixturing offset object. It can also be used to determine if a camera calibration context is associated with an image, digitizer, or result buffer, and whether or not an image has been corrected.
When working in M_3D_ROBOTICS camera calibration mode, the function returns information about the last camera calibration performed on that object. To inquire about previous camera calibration poses within the M_3D_ROBOTICS camera calibration context, you can use McalInquireSingle() with the Index parameter set to the required camera calibration pose.
If the inquired setting is set to M_DEFAULT (for example, using McalControl()), McalInquire() will return M_DEFAULT. To inquire the actual default value, add M_DEFAULT to the InquireType parameter.
Specifies the identifier of the camera calibration context, image buffer, result buffer, digitizer, or fixturing offset object.
Specifies the setting about which to inquire. The setting for InquireType depends on whether you are inquiring about a camera calibration context, image, result buffer, or digitizer.
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 McalInquire() 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.
For a camera calibration context, InquireType can be set to one of the following.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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 no camera calibration was performed on the camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
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()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration was performed using an explicitly specified translation, scale, and offset from the absolute world coordinate system (McalUniform()). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the plane in which the calibration points are defined. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_ABSOLUTE_COORDINATE_SYSTEM. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the calibration points are defined in the absolute coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the calibration points are defined in the relative coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the status of a camera calibration. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration was successful. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the last call to McalGrid() / McalList() was made with M_ACCUMULATE and the camera calibration was successful. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that McalGrid() was unable to find an appropriate camera calibration grid in the provided image. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the provided calibration points do not contain sufficient spatial information to perform a camera calibration. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the calculation of the camera's parameters has failed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no camera calibration has been performed yet. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera's optical axis is not sufficiently inclined. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the calculation performed by McalGrid() or McalList() with M_DISPLACE_CAMERA_COORD or M_DISPLACE_RELATIVE_COORD has failed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a rigid link exists between the camera coordinate system and the tool coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_ENABLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to remove the link between the two coordinate systems, allowing both to be moved independently. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to link the two coordinate systems, allowing both to be moved together. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum number of iterations to attempt to fit the provided points when calculating the new position of the camera or relative coordinate system, when using McalList() and McalGrid() with M_DISPLACE_CAMERA_COORD or M_DISPLACE_RELATIVE_COORD respectively. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value; the default value is 250. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum number of possible outliers that can occur in the data set used by McalList() or McalGrid() with M_DISPLACE_CAMERA_COORD or M_DISPLACE_RELATIVE_COORD. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value; the default value is 0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the identifier of the system on which the camera calibration context has been allocated. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angle of rotation of the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the angle of rotation, in degrees. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-coordinate of the origin of the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-coordinate of the origin of the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-coordinate of the origin of the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Z-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-position of the origin of the tool coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-position of the origin of the tool coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-position of the origin of the tool coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the default value; the default value is 0.0. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Z-coordinate, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether a cache is used to accelerate McalTransformImage(). SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies not to use a cache. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to use a cache. |
For a camera calibration context that has been calibrated using McalGrid(), the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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 whether the grid's circles are lighter or darker than the background. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Determines the appropriate setting automatically. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid's circles are darker than the background. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the grid's circles are lighter than the background. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the partial chessboard grid has a fiducial. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_NONE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that a Data Matrix code is used as a fiducial in a chessboard grid. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that there is no fiducial in the grid. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the hint angle used to help determine the orientation of the X-axis when calibrating your camera with a partial chessboard grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that no hint angle is used. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the hint angle, measured counter-clockwise. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-coordinate of the hint pixel used to help determine the grid's reference calibration point when calibrating your camera with a grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_NONE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies not to use a hint pixel. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate of the hint pixel, in the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-coordinate of the hint pixel used to help determine the grid's reference calibration point when calibrating your camera with a grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_NONE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies not to use a hint pixel. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate of the hint pixel, in the pixel coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-coordinate of the grid's reference calibration point, in the world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-coordinate of the grid's reference calibration point, in the world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-coordinate of the grid's reference calibration point, in the world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Z-coordinate. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the chessboard grid in the camera calibration image is allowed to be a partial grid. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that McalGrid() will only calibrate the camera setup when a complete grid is found in the image. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that McalGrid() can calibrate the camera setup when a partial grid is found in the image. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the partial chessboard grid in the camera calibration image is assumed to be a rectangle. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Same as M_RECTANGLE. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to include all potential calibration points in the image; McalGrid() will not look for the boundary of the real-world grid. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies to exclude potential calibration points in the image that McalGrid() determines are outside the boundaries of the partial grid. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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 abbreviated name of the world units encoded in the Data Matrix code of the fiducial grid used to calibrate the camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: array of type MIL_TEXT_CHAR
(more
details...)
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are centimeters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are feet. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are inches. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are kilometers. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are meters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are miles. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are mils. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are millimeters. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are micrometers. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the grid units are unknown. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the world units that were encoded in the Data Matrix code of the fiducial grid used to calibrate the camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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. |
1 If the value was passed in a variable, it won't be returned enclosed in MIL_TEXT().
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"). |
For a camera calibration context that has been calibrated using McalGrid() or McalList(), the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-world coordinate of the calibration points. 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. 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 average camera calibration error, in pixels, for all the points used in all successive calls to McalGrid() and McalList(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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 world units, for all the points used in all successive calls to McalGrid() and McalList(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the average camera calibration error, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the maximum camera calibration error, in pixels, for all the points used in all successive calls to McalGrid() and McalList(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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, for all the points used in all successive calls to McalGrid() and McalList(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the maximum camera calibration error, in world units. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
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. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the number of calls made to McalGrid() or McalList() with the same CalibrationOrMilId parameter passed. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the number of camera calibration poses. |
For a camera calibration context that has been calibrated using McalGrid(), McalList(), or McalUniform(), the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the average aspect ratio. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that camera calibration was not successful. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the average aspect ratio. |
For a 3D-based camera calibration context ( M_TSAI_BASED or M_3D_ROBOTICS), the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the width to height ratio of the individual elements of the CCD. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the width and height of the CCD element are equal. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the value of the width of a CCD element divided by its height. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the value of the second order radial distortion coefficient used in the camera calibration algorithm. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the value of the second order radial distortion coefficient. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the effective focal length of the pinhole camera model used in the camera calibration. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the effective focal length of the pinhole camera model, expressed in horizontal pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-coordinate of the intersection of the camera's optical axis and the image plane. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies half of the image's width, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-coordinate of the intersection of the camera's optical axis and the image plane. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies half of the image's height, in pixels. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate, in pixels. |
For any image, result buffer, or digitizer, the InquireType parameter can be set to the following value.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the identifier of the associated camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that there is no camera calibration context associated with the image or digitizer. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image was calibrated using McalUniform(). |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the camera calibration context that is associated with the image or digitizer. |
For a camera calibration context, image, or result buffer, the InquireType parameter can be set to one of the following values. Note that a result buffer has exactly the same calibration information as the calibration information of the image used to obtain the results, if the result buffer's MIL module supports returning results in real-world units; so when you inquire about a result buffer, the information returned is about the image on which the results were obtained.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the specified MIL object is or is associated with a camera calibration context, and whether the associated context was allocated with a 2D-based or 3D-based calibration mode. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the MIL object is not associated with a camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration context was allocated with a 2D-based camera calibration mode, such as M_LINEAR_INTERPOLATION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the camera calibration context was allocated with a 3D-based camera calibration mode, such as M_3D_ROBOTICS. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the camera calibration mode of the associated camera calibration of the specified MIL object. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the MIL object is not associated with a camera calibration. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a 3D camera calibration mode for a camera setup with the camera mounted on a robot arm at an unknown position. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies piecewise linear interpolation mode. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies perspective transformation mode. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies a 3D camera calibration mode based on the technique developed by Roger Y Tsai. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies uniform transformation mode. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the image has a constant pixel size. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image does not have a constant pixel size, or that you are inquiring a camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image has a constant pixel size. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the image has been physically corrected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image has been neither corrected nor calibrated, or that you are inquiring a camera calibration context. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image has been corrected. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires whether the MIL object is a fully corrected depth map. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the MIL object is not a fully corrected depth map. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image is a fully corrected depth map. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the direction the Y-axis of the absolute coordinate system is oriented with respect to its positive X-axis. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the positive Y-axis is oriented 90° clockwise with respect to the positive X-axis. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the positive Y-axis is oriented 90° counter-clockwise with respect to the positive X-axis. |
For an image or result buffer that is calibrated, the InquireType parameter can be set to one of the following values. Note that a result buffer has exactly the same calibration information as the calibration information of the image used to obtain the results, if the result buffer's MIL module supports returning results in real-world units; so when you inquire about a result buffer, the information returned is about the image on which the results were obtained.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-offset of a child buffer relative to the highest calibrated parent image that was originally associated with the camera calibration context. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-offset, relative to the child buffer's highest order calibrated parent buffer. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-offset of a child buffer relative to the highest calibrated parent image that was originally associated with the camera calibration context. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-offset, relative to the child buffer's highest order calibrated parent buffer. |
The following formulas give the relationship between coordinates in pixel units and world units when an image or result buffer is calibrated and has a constant pixel size:
If an image or result buffer is calibrated and has a constant pixel-size, the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the step, in world units, along the Z-axis of the relative coordinate system, represented by one gray level. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies that the image is not a depth map. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the height, in world units, corresponding to a difference of one gray level. INFO |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angle of the X-axis of the pixel coordinate system measured in the relative world coordinate system, starting from the positive X-axis of the relative world coordinate system and going towards its positive Y-axis. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the angle, in degrees. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the width of the pixels in the corrected image. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the width, in world units/pixel. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the height of the pixels in the corrected image. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the height, in world units/pixel. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-coordinate of the center of the top-left pixel in the corrected image. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-coordinate, expressed in the relative world coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-coordinate of the center of the top-left pixel in the corrected image. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-coordinate, expressed in the relative world coordinate system. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Z-coordinate of gray level 0 in the corrected image. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the base height of a gray level of 0, expressed in the relative world coordinate system . |
You can add the following value to the above-mentioned values to determine the default value of an inquire type, regardless of the current value of the inquire type.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the default value of the specified inquire type. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
For a fixturing offset object, the InquireType parameter can be set to one of the following values.
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the angular offset to apply to the reference location when setting the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the angular offset. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the X-offset to apply to the reference location when setting the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the X-offset. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Inquires the Y-offset to apply to the reference location when setting the relative world coordinate system. SET |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Data type info: Data
type: address of a
MIL_DOUBLE
|
||||||||||||||||||||||||||||||||||||||
![]() ![]() ![]() |
Specifies the Y-offset. |
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. |