LogoLogo
WebsiteSupportDownloadsForumsQuick LinksContact Us
v3.2
v3.2
  • OptiTrack Documentation
  • WHAT'S NEW
    • What's New in Motive 3.2
  • QUICK START GUIDES
    • Quick Start Guide: Getting Started
    • Quick Start Guide: Prime Color Camera Setup
    • Quick Start Guide: Precision Capture
    • Quick Start Guide: Tutorial Videos
    • Quick Start Guide: Active Marker Tracking
    • Quick Start Guide: Outdoor Tracking Setup
  • HARDWARE
    • Cameras
      • Ethernet Cameras
        • PrimeX 120
        • PrimeX 41
        • PrimeX 22
        • PrimeX 13
        • PrimeX 13W
        • SlimX 13
        • Prime Color
        • VersaX 22
        • VersaX 41
        • VersaX 120
      • USB Cameras
        • Slim 3U
        • Flex 13
        • Flex 3
        • V120:Duo
        • V120:Trio
        • Adjusting Global Origin for Tracking Bars
    • Prepare Setup Area
    • Camera Mount Structures
    • Camera Placement
    • Ethernet Camera Network Setup
      • General Overview and Specs
      • Windows 10 Network Settings
      • Cabling and Load Balancing
      • Switch Configuration for PrimeX 120
      • NETGEAR ProSafe GSM7228S: Disabling the Broadcast Storm Control
      • White/Blacklisting Cameras
    • USB Camera System Setup
      • USB Camera Network Overview and Specs
      • V120:Duo and Trio Setup
      • Tracking Bar Coordinate System
        • Transforming Coordinate System: Global to Local
    • Aiming and Focusing
    • Camera Status Indicators
  • MOTIVE
    • Installation and License Activation
    • Motive Basics
    • Calibration
      • .mcal XML Calibration Files
      • Continuous Calibration
      • Continuous Calibration (Info Pane)
      • Calibration Squares
    • Markers
    • Assets
      • Gizmo Tool: Translate, Rotate, and Scale
    • Rigid Body Tracking
      • Aligning Rigid Body Pivot Point with a Replicated 3D Model
    • Skeleton Tracking
    • Trained Markersets
    • IMU Sensor Fusion
    • Data Recording
      • Data Types
    • Labeling
    • Data Editing
    • Data Export
      • Data Export: BVH
      • Data Export: C3D
      • Data Export: CSV
      • Data Export: FBX
      • Data Export: TRC
    • Data Streaming
    • Camera Video Types
    • Audio Recording
    • Motive HotKeys
    • Measurement Probe Kit Guide
    • Motive Batch Processor
    • Reconstruction and 2D Mode
  • MOTIVE UI PANES
    • Settings
      • Settings: General
      • Settings: Assets
      • Settings: Live Pipeline
      • Settings: Streaming
      • Settings: Views
      • Settings: Mouse and Keyboard
      • Settings: Audio
    • Assets Pane
    • Builder Pane
    • Constraints Pane
      • Constraints XML Files
    • Calibration Pane
    • Data Pane
    • Devices Pane
    • Edit Tools Pane
    • Graph View Pane
    • Info Pane
    • Labels Pane
    • Log Pane
    • Probe Pane
    • Properties Pane
      • Properties Pane: Camera
      • Properties Pane: Force Plates
      • Properties Pane: NI-DAQ
      • Properties Pane: OptiHub2
      • Properties Pane: Rigid Body
      • Properties Pane: Skeleton
      • Properties Pane: Take
      • Properties Pane: Trained Markerset
      • Properties Pane: eSync2
    • Status Panel
    • Toolbar/Command Bar
    • Control Deck
    • Viewport
  • PLUGINS
    • OptiTrack Blender Plugin
      • OptiTrack Blender Plugin
    • OptiTrack Unreal Engine Plugin
      • Unreal Engine: OptiTrack Live Link Plugin
        • Quick Start Guide: Real-Time Retargeting in Unreal Engine with Live Link Content
        • Unreal Editor for Fortnite (UEFN): OptiTrack Plugin for Live Link Hub
        • Unreal Engine: Live Link Camera Stream Setup
        • Live Link Content: Active Puck Static Meshes
      • Unreal Engine: MotionBuilder Workflow
      • Unreal Engine: HMD Setup
      • Unreal Engine VCS Inputs
    • OptiTrack Unity Plugin
      • Unity: HMD Setup
    • OptiTrack OpenVR Driver
    • OptiTrack MATLAB Plugin
    • Autodesk Maya
      • Autodesk Maya: OptiTrack Insight VCS Plugin
    • Autodesk MotionBuilder
      • Autodesk MotionBuilder Plugin
      • Autodesk MotionBuilder: OptiTrack Skeleton Plugin
      • Autodesk MotionBuilder: OptiTrack Optical Plugin
      • Autodesk MotionBuilder: OptiTrack Insight VCS Plugin
      • Autodesk MotionBuilder: Timecode Data
    • OptiTrack Peripheral API
    • External Plugins
      • Houdini 19 Integration
  • ACTIVE COMPONENTS
    • Active Components Hardware
      • Active Puck
      • Wired AnchorPuck
      • CinePuck
      • Wired CinePuck
      • BaseStation
      • Information for Assembling the Active Tags
      • Manus Glove Setup
    • Configuration
      • Active Batch Programmer
      • Active Hardware Configuration: PuTTY
      • Active Component Firmware Compatibility
    • Active Marker Tracking
      • Active Finger Marker Set
  • SYNCHRONIZATION
    • Synchronization Hardware
      • External Device Sync Guide: eSync 2
      • External Device Sync Guide: OptiHub2
    • Synchronization Setup
    • OptiTrack Timecode
  • VIRTUAL PRODUCTION
    • Unreal Engine: OptiTrack InCamera VFX
    • Entertainment Marker Sets
    • PrimeX 41
  • MOVEMENT SCIENCES
    • Movement Sciences Hardware
      • General Motive Force Plate Setup
      • AMTI Force Plate Setup
      • Bertec Force Plate Setup
      • Kistler Force Plate Setup
      • Delsys EMG Setup
      • NI-DAQ Setup
      • Multiple Device Setup
    • Movement Sciences Marker Sets
      • Biomechanics Marker Sets
      • Biomech (57)
      • Rizzoli Marker Sets
    • For Visual3D Users
    • Prime Color Camera Setup
      • Prime Color Setup: Required Components
      • Prime Color Setup: Hardware Setup
      • Prime Color Camera Setup: Camera Settings
      • Prime Color Camera Setup: Prime Color FS Calibration
      • Prime Color Setup: Data Recording / Export
      • Prime Color Camera Setup: FAQ / Troubleshooting
      • Prime Color Camera Setup: Windows Network Settings
  • VIRTUAL REALITY
    • VR Plugins
      • VR Unreal Engine
        • OptiTrack Unreal Engine Plugin
        • Unreal Engine: OptiTrack Live Link Plugin
          • UE5.1 Live Link Retarget External Workaround
        • Unreal Engine VCS Inputs
      • VR Unity
        • OptiTrack Unity Plugin
      • VR OpenVR
        • OptiTrack OpenVR Driver
    • VR HMD Setup
      • Unreal Engine: HMD Setup
      • Unity: HMD Setup
      • Manually Calibrating the HMD Pivot Point
      • Sync Configuration with an HTC Vive System
    • SlimX 13
    • Active Marker Tracking
      • Active Finger Marker Set
    • Synchronization Hardware
      • External Device Sync Guide: eSync 2
      • External Device Sync Guide: OptiHub2
  • ANIMATION
    • Autodesk Maya
      • Autodesk Maya: OptiTrack Insight VCS Plugin
    • Autodesk MotionBuilder
      • Autodesk MotionBuilder Plugin
      • Autodesk MotionBuilder: OptiTrack Skeleton Plugin
      • Autodesk MotionBuilder: OptiTrack Optical Plugin
      • Autodesk MotionBuilder: OptiTrack Insight VCS Plugin
      • Autodesk MotionBuilder: Timecode Data
  • ROBOTICS
    • MoCap4ROS2 Setup
    • OptiTrack Robot Applications
    • Outdoor Tracking Setup
  • DEVELOPER TOOLS
    • Developer Tools Overview
    • Camera SDK
      • Class: cCameraModule
      • Class: cUID
    • Motive API
      • Motive API: Quick Start Guide
      • Motive API Overview
      • Motive API: Function Reference
      • Motive API Camera Calibration
    • NatNet SDK
      • NatNet 4.1
      • NatNet: Class/Function Reference
      • NatNet: Creating a Managed (C sharp) Client Application
      • NatNet: Creating a Native (C++) Client Application
      • NatNet: Data Types
      • NatNet: Matlab Wrapper
      • NatNet: Migration to NatNet 3.0 libraries
      • NatNet: Remote Requests/Commands
      • NatNet: Sample Projects
      • NatNet: Unicast Data Subscription Commands
      • Latency Measurements
    • VRPN Sample
    • Peripheral API: Glove Devices
  • SKELETON MARKER SETS
    • Full Body
      • Baseline (41)
      • Core (50)
      • Biomech (57)
      • Conventional (39)
    • Full Body + Fingers
      • Baseline + Passive Fingers (49)
      • Baseline + Active Fingers (57)
      • Core + Passive Fingers (54)
      • Core + Active Fingers (62)
    • Upper
      • Baseline Upper (25)
      • Conventional Upper (27)
    • Lower
      • Baseline Lower (20)
      • Helen Hayes Lower (19)
      • Conventional Lower (16)
    • Hand and Fingers
      • Left/Right Hand (4) Active
      • Left/Right Hand (10) Active + Passive
      • Active Finger Marker Set
    • Glove Device Setup
      • Manus Glove Setup
      • StretchSense Glove Setup
    • Rizzoli Marker Sets
    • Entertainment Marker Sets
    • Rigid Body Skeleton Marker Set
  • GENERAL TROUBLESHOOTING
    • Licensing Troubleshooting
    • Windows 11 Optimization for Realtime Applications
    • Network Troubleshooting
    • Troubleshooting Q&A
    • Running Motive on High DPI Displays
    • Firewall Settings
Powered by GitBook
On this page
  • Overview
  • Camera Serial
  • Camera Properties
  • Attributes
  • Intrinsic Values
  • Extrinsic Values
  • Camera Software Filters
  • Camera Hardware Filters
  • Continuous Calibration
  • Color Camera Properties
  • Export for OpenCV Use

Was this helpful?

Export as PDF
  1. MOTIVE
  2. Calibration

.mcal XML Calibration Files

An overview of the data available in the .mcal calibration file.

PreviousCalibrationNextContinuous Calibration

Last updated 1 month ago

Was this helpful?

Overview

Beginning with Motive 3.2, calibration data is stored in an XML file with the file extension .mcal. XML is a human-readable format that can be imported for use in end-user applications.

This page defines the properties in the .mcal file that could be used in third-party applications.

Properties in the calibration file that are not relevant for use outside of Motive are listed and noted as such. These properties may be used by OptiTrack Support for troubleshooting.

Camera Serial

<Camera Serial="M21614">

The serial number of the camera. In Motive, this information is located in the section of the .

Camera Properties

<Properties CameraID="1" ImagerIndex="00" Exposure="250" Threshold="200" Intensity="15" ContinuousIR="0" VideoType="2" FrameRate="120" FrameDecimation="0" GrayscaleDecimation="0" JPEGQua="25" IRFilter="1" AutoGainControl="0" AutoExposureControl="0" HighPower="0" Orientation="0.000000000000000" ImagerGain="0" Enabled="1" EnabledForRecording="1"/>

Properties related to the specified camera, as defined in the pane in Motive.

Camera ID

The camera number assigned by Motive. In the Properties pane, this is shown in the .

ImagerIndex

This value corresponds to the letter prefix in the device serial number, when present. Pre-set values are used for USB-connected devices.

Camera Type
Prefix
Value

Prime Cameras

M

00

USB Cameras

None

00

Tracking Bar Cameras Primary

None

01

Tracking Bar Cameras Secondary

None

02

Tracking Bar Cameras Tertiary

None

03

OptiTrack IO X Duo & Trio Device Break-out Connectors

None

0F

eSync Devices

ES

10

Golftec Cameras

GT

20

Color Cameras

C

30

Active Devices

A

40

Leyard Cameras

L

50

Exposure

The amount of time, in microseconds, that the camera exposes per frame.

Threshold

The minimum brightness required for a camera to detect a pixel. All pixels below the stated threshold will be ignored.

Intensity

This is a legacy setting related to LED power.

ContinuousIR

Indicates whether the camera's infrared lights are set to strobe (0) or to remain on continuously (1).

VideoType

Indicates the video mode of the camera.

Value
Video Mode

2

Object

4

Precision

1

Grayscale

6

MJPEG

FrameRate

The camera system frame rate.

FrameDecimation

Indicates the ratio of frames displayed per total frames captured.

Frame Decimation is not supported in all devices.

FrameDecimation Value
Frames displayed : Frames Captured

0

1:1

3

1:4

7

1:8

15

1:16

GrayscaleDecimation

Indicates the ratio of frames displayed per total frames captured when in Grayscale mode.

Grayscale decimation is not supported in all devices.

GrayscaleDecimation Value
Frames displayed : Frames Captured

0

1:1

2

1:4

4

1:16

JPEGQua

For cameras in MJPEG mode, this value indicates the quality of the video recording.

Value
Quality Level

25

Minimum

50

Low

75

Medium

100

High

IRFilter

Indicates whether the camera is set to view infrared spectrum (0) or visible (1) light.

AutoGainControl

This is a legacy property that no longer affects the system calibration.

AutoExposureControl

This is a legacy property that no longer affects the system calibration.

HighPower

Indicates if high power mode is on (1) or off (0) for applicable cameras.

High power mode is only available on Flex 3 and Slim3u USB cameras when used with an OptiHub2.

Orientation

ImagerGain

Indicates the imager gain level for the selected camera. Gain settings can be adjusted to amplify or diminish the brightness of the image.

The valid range for gain values in the calibration file is 0 - 7. In the Motive user interface, gain values are increased by 1 for a more user-friendly experience. Thus, a gain of 3 in the .mcal file will show as a gain of 4 in Motive.

Enabled

Indicates whether the camera is enabled (1) or disabled (0) from contributing to the reconstruction of 3D data, when recording in object mode.

EnabledForRecording

Attributes

<Attributes Revision="31" Model="0" Group="0" ImagerPixelWidth="1280" ImagerPixelHeight="1024"/>

Revision

Internal reference information for the camera.

Model

The internal camera model number.

Group

The camera group number that the selected camera is in.

ImagerPixelWidth

Defines the center point of the imager on the x-axis.

ImagerPixelHeight

Defines the center point of the imager on the y-axis.

Intrinsic Values

<IntrinsicStandardCameraModel LensCenterX="637.832275390625000" LensCenterY="510.441009521484375" HorizontalFocalLength="1201.796875000000000" VerticalFocalLength="1203.632812500000000" k1="0.107947303735803" k2="-0.099437290976564" k3="-0.000059653579376" TangentialX="-0.0008229074672L75" TangentialY="0.000262822252969"/>

Intrinsic values are fixed characteristics of the lens and are used to adjust for lens distortion. These values are not displayed in Motive.

The calibration file contains two types of intrinsic values:

  • OptiTrack Internal Model. Values optimized for Motive's internal calibration calculation. This model is not applicable for use in other contexts.

  • Standard Camera Model. Standardized values that provide accurate results when exported to the OpenCV model.

LensCenterX

The location of the lens center on the imager, on the X axis.

LensCenterY

The location of the lens center on the imager, on the Y axis.

HorizontalFocalLength

The Focal Length of the imager along the Y axis, in pixels.

VerticalFocalLength

The Focal Length of the imager along the X axis, in pixels.

Distortion: K1 / K2 / K3 Values

K values control the amount of radial distortion applied to the image.

Tangential X / Y

Tangential values account for the distortion that occurs when the imager and the lens are not aligned in parallel. TangentialX is the amount of tilt off the X axis, while TangentialY is the amount of tilt off the Y axis.

Extrinsic Values

<Extrinsic X="1.221071839332581" Y="1.693764686584473" Z="-0.834836781024933" OrientMatrix0="-0.684483869006766" OrientMatrix1="-0.344133882888445" OrientMatrix2="0.642692542136324" OrientMatrix3="0.188509695729104" OrientMatrix4="0.768044864618728" OrientMatrix5="0.612022205927955" OrientMatrix6="-0.704234284656498" OrientMatrix7="0.540073102997105" OrientMatrix8="-0.460841746951629"/>

Position: X / Y / Z

The camera's location in X/Y/Z coordinates.

Rotation: OrientMatrix 0 - 8

Values that comprise the rotation matrix where the camera's rotation values are stored. Motive uses Row Major rotation matrices.

Camera Software Filters

<CameraSoftwareFilters FilterLevel="2" MarkerMinSize="4" MarkerMaxSize="3000" MarkerMinRoundness="0.600000023841858"/>

FilterLevel

Indicates the Filter Type to apply to a 2D object for it to be included in the Point Cloud reconstruction. Possible choices are Size & Roundness (2). or None (0).

MarkerMinSize

The minimum pixel size for a 2D object to be included in the Point Cloud reconstruction.

MarkerMaxSize

The maximum pixel size for a 2D object to be included in the Point Cloud reconstruction.

MarkerMinRoundness

The minimum circularity threshold a 2D object must meet to be included in the Point Cloud reconstruction.

Camera Hardware Filters

<CameraHardwareFilters GrayscaleFloor="48" ObjectMargin="2" ObjectSkew="64" AspectTolerance="64" AspectBase="1" AspectStep="1" ROIIntrusion="1" ROIGuardBand="0.500000000000000"/>

GrayscaleFloor

The pixel intensity of the grayscale floor.

ObjectMargin

The minimum number of pixels required between objects before they begin to overlap.

ObjectSkew

The number of pixels a 2D object is allowed to lean.

AspectTolerance

The maximum allowable aspect tolerance to process a 2D object (width:height).

AspectBase

The allowable aspect tolerance for very small objects.

Aspect Step

The rate at which the aspect tolerance relaxes as object size increase.

RIOIntrusion

Indicates whether the intrusion band setting is on (1) or off (0).

RIOGuardBand

The size of the guard region beyond the object margin for neighbor detection. Corresponds to the Intrusion Band property.

Continuous Calibration

<Calibration PartitionID="1"/>

PartitionID

The partition group assigned to the camera for continuous calibration.

Color Camera Properties

<ColorCamera CameraResolution="3" ColorCompressionMode="1" ColorCompression="0.200000002980232" ColorBitRate="0.300000011920929" ColorGamma="0.560000002384186" SubModel="0"/>

CameraResolution

This property sets the resolution of the images captured by the selected camera.

Value
Resolution

0

1080

1

720

2

540

3

272

ColorCompressionMode

The type of compression that will be applied to the captured images.

Value
Compression Mode

1

Constant Bit-Rate

0

Variable Bit-Rate

ColorCompression

The percentage of the maximum data transmission speed to allocate for the camera.

ColorBitRate

The selected color camera's output transmission rate, as a fraction of the maximum (100 MB/s).

ColorGamma

SubModel

The camera sub-model, as shown in the Camera details.

Export for OpenCV Use

The .mcal XML file can be exported for use with the OpenCV platform.

  • From the File menu, select Export Calibration...

  • Browse to the directory where you would like the file exported to.

  • The default file name includes the timestamp of the export, not for the calibration itself.

For instructions on importing the .mcal file into your OpenCV project, please consult the documentation for the applicable platform.

Indicates the angle of the camera's view. This property can be adjusted in Motive from the menu in the .

Indicates whether the setting is enabled (1) or not (0).

These values are found in the of the Camera Properties in Motive.

Extrinsic values define the physical location of the camera. In Motive, the position values are shown in the Details section of .

Camera Software filter properties are found on the . Some are advanced settings.

Camera Hardware filter properties are found on the . All are advanced settings.

Camera properties relevant to continuous calibration are found in the pane.

Additional properties specific to Color Cameras are located in the pane. These properties are not included in the .mcal file if there are no color cameras present.

This value is applicable only when the is set to 1 (Constant Bit-Rate).

The amount of correction applied to the selected camera's output image.

Camera Properties
Camera Properties
Camera Properties
ColorCompressionMode
Camera Properties
Camera Properties
Camera Details
Number field
Reconstruction
Details section
gamma
Settings Panel > Live Pipeline > Camera tab
Settings Panel > Live Pipeline > Camera tab
The Motive File menu.
Camera Settings
Cameras View of the Viewport