Click here to show toolbars of the Web Online Help System: show toolbars |
MIL_ID SystemId, | //in |
MIL_INT64 Mode, | //in |
MIL_INT64 ModeFlag, | //in |
MIL_ID *CalibrationIdPtr | //out |
This function allocates a camera calibration context or a fixturing offset object.
When allocating a camera calibration context, use McalGrid() or McalList() to define the pixel-to-world mapping for the camera calibration context. For a uniform pixel-to-world mapping, instead of using McalGrid() or McalList(), use McalUniform().
When allocating a fixturing offset object, use McalFixture() to place the relative coordinate system at a fixed offset from the analysis/processing object.
When the camera calibration or fixturing offset object is no longer required, you should free it with McalFree().
Specifies the system on which to allocate the camera calibration context. This parameter should be set to one of the following values:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies the default Host system of the current MIL application. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a valid system identifier, previously allocated using MsysAlloc(). |
Specifies the camera calibration mode, if allocating a camera calibration context. Otherwise, specifies to allocate a fixturing offset.
When allocating a camera calibration context, this parameter must be set to one of the following values:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Same as M_LINEAR_INTERPOLATION. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a 3D camera calibration mode for a camera setup with the camera mounted on a robot arm at an unknown position. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies piecewise linear interpolation mode. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies perspective transformation mode. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies a 3D camera calibration mode based on the technique developed by Roger Y Tsai. |
||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies uniform transformation mode. |
When allocating a fixturing offset object, set this parameter to the following value:
![]() |
|||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Description | ||||||||||||||||||||||||||||||||||||||
![]() ![]() |
Specifies to allocate a fixturing offset object, used to store the positional and angular offset of the relative coordinate system from the object to be processed or analyzed when fixturing. |
Header | Include mil.h. |
Library | Use mil.lib; milcal.lib. |
DLL | Requires mil.dll; milcal.dll. |