Skip to main content
Skip table of contents

Chief

1 Preface

The Chief program is designed to process the data generated and forwarded by the Worker program enhancing them and adding data before sending the complete and final tracking data to the graphics engine.

The following settings need to be configured in the Chief software:

  • Software configuration to match the specific use case

  • Lens parameters

  • IMU

  • Sender

  • Delay

1.1 Working Principle

  • The Chief will take the position and orientation from the Worker and add the offset values. That way the tracking data will describe the pose of the film camera

  • The Chief leverages the motion sensor (IMU) inside each sensor unit to enhance the tracking data in regards of noise reduction and can decrease the tracking delay

  • The Relocator enables users to change the position and orientation of the world coordinate system.

  • Delay settings can be adjusted for synchronization

  • The lens parameters from the loaded lens file will be used to modify the tracking data for matching real and virtual world. If needed these values can also be adjusted

  • The Chief sends the final tracking data to one or multiple destinations. The desired format can be selected

Illustration 1: Pixotope Vision data flow diagram

2 Requirements for the Chief

2.1 Video input

The Chief permanently needs the SDI video input of the film/broadcast camera. This is needed to synchronize the tracking data that are sent by the Chief to the correct frame rate. The software does not use external reference but uses the video's frame rate instead. Timecode can be embedded.

It should be undelayed and a clean feed, with no on screen menu items or other elements in it.

The Chief video is also needed during the calibration of the system as a reference. Therefore it needs to match the right lens file. After the calibration is finished, the video input can be any SDI input in the production formats frame rate.

Maximum video format depends on the capture card and can be downconverted.

2.2 Data input

2.2.1 Lens data

In case a zoom lens is being used for the tracked camera, the tracking engine needs to receive data that describes zoom and focus values in real time. Only that way it can calculate the corresponding optical parameters based on the respective Pixotope zoom lens calibration.

Pixotope Tracking provides different methods to receive lens data:

  • Canon and Fujinon serial interfaces are supported. The correct adapter will be provided and needs to be connected to the virtual output of the lens

  • Arri’s UMC4 interface for lens data is supported. The data will be transmitted from the UMC4 box over IP

  • The FreeD protocol can be used to transmit lens data to the Chief over IP or via a serial connection or over IP

  • Pixotope’s External Encoders can be mounted to the lens. These encoders will read the position of zoom and focus rings and forward the information to the tracking system. Mechanical cog wheel encoders and contact-free magnetic encoders are both possible solutions

The Pixotope Tracking can also work with non-zoom lenses such as prime lenses. The lens file can easily be created according to the fixed lens calibration manual.

This fixed lens setup can be combined with a single external encoder for the focus, either for defocusing effects for virtual elements or to compensate a significant focus breathing.

On the computers side a serial-to-USB converter is needed for the tracking engine to read this serial data stream over an USB port.

What can you do if the Virtual output is blocked?

In some studio setups, the digital output of the lens is blocked by another system. Note that this “virtual” output is different from the analogue controls and the raw encoder output which may also be included in the same lens connection. The virtual output transmits the full data set of the lens and also allows full control, all via an RS-232 or RS-422 serial connection. This is a two-way-connection and not a mere sender, hence only one control device and one end device can be connected. The devices perform a handshake and the signal can never be split to two control devices.
There are two different cases:

  1. The desired port is blocked by a zoom- or focus-demand. In general, these zoom- or focus-demands would use their own respective analogue pins in the connector and won’t require the digital output. They should be connected to the dedicated ports on the lens, rather than using the virtual connection. If the zoom- or focus-demand does not have a matching connector to switch to another port, either a 20pin-to-8pin-adapter cable or a two-way cable, that splits zoom-/focus-control and virtual output, should be used. Those cables are available from the lens manufacturer.

  2. The desired port is blocked by a control and/or readout device such as a robotic camera control. This will indeed use the RS-232 or RS-422 serial connection and fight over the device control with the tracking engine. Even though there are tricks for both controlling the lens with the robotic and receiving tracking data from the same output, by carefully starting the devices and software in a certain order, this is not reliable and can not be used for production. Possible solutions to this are:

    1. Many robotics and cranes receive the data from the lens and are able to loop them through to the tracking engine. The main requirements are: the system looping through must do so in a way that the data is genlocked, and it must be a format that the Pixotope tracking can understand, such as FreeD, TechnoDolly or Shotoku.

    2. If no other connection is possible, external encoders have to be installed on the lens to work independently of the virtual connection.

2.2.2 IMU data

The IMU in the sensor unit should be connected to the tracking engine with a quality ethernet cable no longer than 30 meters. Just like for the lens connection, a serial-to-USB converter is needed on the computers side for the tracking engine to read this serial data stream over an USB port.

If a longer cable connection to the IMU is necessary, Pixotope’s Signal Collector Box (SCB) can be used to extend the range. Also USB extenders can be used.

2.3 Lens file

In case a zoom lens is used, the correct zoom lens calibration file (ZLC) must be loaded onto the tracking engine into the /home/tracking/lenses folder. The zoom lens files can be downloaded from the https://pixotope.tfg.cloud/customer/user/downloads/48/lens.

A fixed lens calibration file can easily be created according to the fixed lens calibration manual.

3 Setup

3.1 Chief Setup Menu

Illustration 2: Chief Setup Menu

  1. Start the Pixotope Chief

  2. Click the Setup button on the bottom left corner. This will open the Setup window

  3. Choose the appropriate configuration for the setup:

    1. Camera: Select the right video I/O device. The standard use case, according to the system requirements is BlackMagic Decklink.

    2. Lens: Select the right lens data interface. Lenses that output serial lens data are either Canon DigitalDrive or Fujinon DigiPower. Choose Fixed Lens for Pixotope Fly

    3. IMU: Select the IMU generation. New models with Pixotope label are Gen3. Older models with a longer Sensor Unit casing and with TrackMen label are Gen2. When the wrong generation is selected no IMU data will be received

    4. Relocator: One Relocator is recommended. In some cases more than one can be useful

    5. Cuboid: Activate the Cuboid

    6. Sender: Choose as many Senders as are needed

    7. Healer and Surveyor: These tools are used by very advanced Pixotope tracking users

  4. Click Save + Quit/Restart. This will restart the Chief with the new setup. The settings in the Chief itself will not be saved when doing this

3.2 Choosing Video Format

Illustration 3: Camera tab

  1. Select your Video I/O device, the Connector type (SDI or HDMI) and the production video format

  2. Click Save and restart the Chief

  3. The Pixotope Vision Video window should now display the live video

3.3 Selecting Serial connections

Connect only one of the serial-to-USB converters to the tracking engine and proceed with one of the steps below. In case external encoders are used, skip chapter 3.3.1.

3.3.1 Lens Serial

lens_device_serial_new.jpg

Illustration 4: LensSerial selection in the Lens tab

  1. Connect the Lens serial-to-USB converter to the tracking engine

  2. Navigate to the Lens tab

  3. Click Rescan and select the device

  4. Click Save and restart the Chief

  5. Navigate to the Lens tab and activate Dump Parameters

  6. Check if the lens data is being dumped in the SystemLog

Lens data can only be dumped when the Chief is receiving a video input!

3.3.2 IMU Serial

imu_device_serial_new.jpg

Illustration 5: IMU Serial selection in the IMU tab

  1. Connect the IMU serial-to-USB converter to the tracking engine

  2. Navigate to the IMU tab

  3. Click Rescan and select the device

  4. Click Save and restart the Chief

  5. Navigate to the IMU tab and activate Dump IMU

  6. Control if the IMU data are being dumped in the System Log

3.3.3 Zoom and Focus Serial

In case external encoders are used, do the following:

  1. Connect either the zoom or the focus serial-to-USB converter to the tracking engine

  2. Navigate to the appropriate tab

  3. Click Rescan and select the device

  4. If both zoom and focus encoders are used: Repeat the steps above for the other device

  5. Click Save and restart the Chief

3.4 Selecting Lens File

lensfileselection2.jpg

Illustration 6: Lens file selection

  1. Select the correct lens file in the Lens tab

  2. Click Save

Lens files are stored in /home/tracking/lenses. Zoom lens files are provided by Pixotope.

4 Operation

Calibrating the Chief, as described in this chapter, has the following prerequisites:

  • The Worker is set up and tracking

  • The Offset between Worker and Chief camera has been calibrated

  • IMU data are received by the Chief

  • Lens data are received by the Chief (in case zoom lens or external encoders are used)

  • The correct Lens file has been selected

  • SDI video of the film camera is received by the Chief and displayed in the Chief Video window

4.1 Cuboid

In order to visualize and examine the tracking data, a composition of video and virtual object is needed. The Chief’s Cuboid serves as a virtual and three-dimensional reference object. It is painted onto the Chief video, meaning that the final tracking data can be examined independently from the graphic engine.

The Cuboid will be placed with its center on the floor plane (X, Y) and on the coordinate-systems origin. The Cuboids center is in the middle of its bottom side. To see how well the Cuboid fits to the origin point, the Center X and Center Y values need to be half the size of the Cuboids Size X and Size Y. This way a bottom corner of the Cuboid sits directly on the origin.

cuboid3.jpg

Illustration 7: Cuboid tab

  1. Navigate to the Cuboid Tab

  2. Activate Paint Cuboid

  3. Set Size, Center, Bottom and Height to fit the use case

  4. Choose Line Width and Color for good visibility

  5. Move the camera quickly and set the optimal Paint Delay

The Paint Delay only affects the Cuboid and not the tracking data output.

4.2 Center Shift

The center shift represents the physical deviation of the lenses center to the actual camera chips center. In theory the image center is in the exact middle of the frame. But in reality there is a more or less small deviation from the theoretical center that is unavoidable due to imperfect lens mounting. The easiest way to make this effect visible is when zooming in and out on a virtual object. The object will seemingly move position when zooming. By adjusting the Center Shift, this effect can be removed.

Since no mounting of a lens to a camera body can be physically perfect, the Center Shift values should be controlled every time the lens has been detached from the camera, even if it is the same lens.

  1. Navigate to the Cuboid tab and activate Paint Cuboid

  2. Zoom in all the way, center a real object point (for example the origin mark) in the center of the image and adjust the focus

Illustration 8: Position the corner of the cuboid in the center of the image while zoomed in using the Relocator

  1. Use the Center Cross in the Cuboid tab to help finding the center of the image

  2. Lock the camera (position, pan and tilt)

  3. Use the Relocator to position a corner of the Cuboid exactly on the real object point

  4. Zoom out all the way

  5. If the Cuboid has changed its position relative to the real object point while zooming, the Center Shift values need to be adjusted

Illustration 9: By only zooming out, the wrong center shift becomes visible

  1. Navigate to the Lens tab and use Center Shift X and Y values to correct the Cuboid position

  2. Zoom back in and check the result

  3. If the Cuboid position is not exactly on the real object point again, repeat the steps from step 5 onward

Illustration 10: After adjusting the center shift values in the lens tab the cuboid sits correct when zoomed in as well as when zoomed out

  1. If the Cuboid is in the correct position when zoomed in as well as when zoomed out, click Save

Remember to delete the Relocator values that you’ve been using for this step, since they were only useful to determine the center shift values with the zoom-method described in this chapter!

4.3 Field of View (FoV)

The field of view is a property that is a visible symmetrical deviation more apparent on the edges of the image and not at all visible in the image center. By adjusting the Fake FoV value a false distortion can be corrected. The Fake FoV value is global, meaning that it affects all zoom positions equally. Discrepancies in the FoV usually differ between the zoom stages. For FoV adjustments over the entire zoom range, a FoV table needs to be created (chapter 4.3.1).

Adjusting the FoV should only be done after adjusting the Center Shift. If the Center Shift value is incorrect this translates in an asymmetrical distortion in the FOV and will result in incorrect values.

Similar to the Center Shift, every time that the lens has been detached from the camera body the FoV values need to be controlled, even if it is the same lens. This is due to imperfections in the physical lens mounting of every camera.

  1. Place the Cuboid on a real object as in chapter 4.2 without using any Relocator (preferably the origin point)

  2. Place the camera far away from the Cuboids position

  3. Pan camera until a corner of the Cuboid is framed on the edge of the image

Illustration 11: The Cuboids corner at the left image edge sits falsely, the one in the image center sits correctly

  1. Check whether a corner of the Cuboid has shifted its position

  2. In the Lens tab, adjust the Fake FoV until the corner of the cuboid sits on the correct position

Illustration 12: Correct Fake Field of View

  1. Check the result by panning the camera. The position of a virtual object should not change when panning or tilting the camera

4.3.1 FoV Table

For creating an FoV table the correct FoV values need to be determined for a number of zoom steps between fully zoomed in and fully zoomed out. These values are written into a table file. The Chief interpolates between these values while the lens is zooming.

  1. Make sure that tracking is working properly, the Chief is receiving lens data and the Center Shift has been adjusted

  2. Place the Cuboid as in the previous chapter and make sure it is sitting correctly

The FoV has no effect in the image center. So even without any FoV adjustments the correct placement of a virtual object can be determined in the image center.

  1. Place the camera far away from the Cuboids position

  2. Click on the operating systems Menu button and open the Text Editor

  3. Enter a number of sample values from 0 to 1 in 0.1 step, each value in a new line. For a better resolution in the wide angle area, add 0.03 and 0.06

Illustration 13: Type the zoom steps in the first column into the FoV table file

  1. Go to the Lens tab and activate the Dump Parameters option. The incoming data from the lens, as well
    as the calculated values, will be written in the System Log.

  2. Find the zoom parameter (z: …), which represents the lenses zoom position, normalized to a value between 0 (wide angle) and 1 (zoomed in)

zoomparameter.jpg

Illustration 14: Zoom parameter 0.0 in wide angle

  1. Zoom out fully to the physical limit of the lens

  2. Find the correct FoV value for this zoom position just like in the previous chapter 4.3

  3. In the text editor click behind the 0.0 in the first line and press the tabulator key or the space bar

  4. Type in the FoV value

Illustration 15: The FoV value for the widest angle

  1. Zoom in until the zoom parameter is approximately 0.03

  2. Find the correct FoV value for this zoom position

  3. Repeat these steps until a value is determined for each step

  4. Save this text document in the folder /home/tracking/lenses with the same name as the zoom lens calibration file which is being used, but with the ending .fov instead of .zlc

Illustration 16: Finished FoV table with the correct file name

  1. Activate Use FoV Table in the Lens tab

Activating the Use FoV Table option will overwrite any previous Fake FoV settings for as long as it is checked.

  1. Save and restart the Chief

  2. Check for a line in the system log: “Fov table correctly read”

  3. Control if the FoV values are correctly applied in each zoom step

  4. If the FoV is incorrect at a certain zoom step, another table entry can be created. Add the entry of this zoom step value in the table and disable Use FoV Table to determine the correct FoV value

4.4 Sender

The Sender Tab is where you can define where to forward the tracking data to as well as control parameters to match the desired graphics engine.

You can have multiple Sender tabs sending to different IP’s and graphics vendors. The amount of Senders and FreeD Senders in the Chief is determined in the Chiefs Setup (chapter 3.1).

  1. Insert the IP of the graphics engine in Host and choose a port to send to

  2. Select one of the presets from the dropdown menu corresponding to your graphics engine vendor

  3. As soon as IP and port are entered, the tracking data are constantly being sent to this address

sender.jpg

Illustration 17: Sender tab

A Host IP that ends with .255 is a broadcast Sender, that sends to all IPs in that range.

4.5 Delay

Setting the Delay

To visualize the delay between graphical elements and the real world video content, you need to see both at the same time in the graphics engine output. The easiest way to set the delay is to place an AR object on a real world reference object, for example on the Pixotope checkerboard on the floor.

The final delay can’t be adjusted with the cuboid in the Chief video. It has a different delay than the graphic engine and can be adjusted with the Paint Delay in the Cuboid tab.

There are four different delay settings as described in the following chapters. Begin by opening the Delay tab of the Chief window to adjust Sample and Send Delay.

4.5.1 Sample Delay

The Sample Delay is used to synchronize graphical elements and real world video content. It is not purely a delay, but also includes the processing time of the tracking. The minimum value for the Sample Delay is 40ms for Pixotope Tracking.
In order to effectively adjust the delay of video and tracking, the following procedure is recommended:

  1. Set the minimum value for Sample Delay (40ms)

  2. Do quick and short pans to find out whether the real world video content is lagging or the graphical elements

  3. Set a video delay in frames on the keyer or in the graphic engine so that the graphics are slightly ahead

  4. Gradually increase the Sample Delay until the graphical elements are synchronized with the video

4.5.2 Send Delay

The Send Delay adjusts the sending time within a frame to adjust to the clock of the graphics engine. If the graphic jitters or jumps when slowly panning, gradually increase the Send Delay until the effect disappears. If no such effect is visible, it can be left at the default value of 8ms.

The value 0ms is the exact beginning of the frame. If the video format is for example 50Hz, 20ms would have the same effect as 0ms. That means a value between 0 and 20ms had to be found.

4.5.3 IMU Prediction

Using the IMU as an additional sensor, a movement prediction can be made to reduce the total delay for the tracking data. This is done with the Predict (ms) setting in the IMU tab, described in the next chapter.

4.5.4 Lens Delay

The serial lens data stream is collected via separate encoders and therefore has its own delay setting (see Illustration 1). After the Sample Delay has been successfully determined, go to the WorkerCam tab. Unlike Sample and Send Delay the Lens Delay value is measured in fields, not milliseconds.

Adjust the Lens Delay value using quick and small zoom changes.

4.6 IMU

The IMU tab controls the behavior of the Inertial Measurement Unit which is built in the Sensor Unit case. The IMU has two purposes:

  1. Reducing data noise in the tracking data. This removes shaking in graphical elements which might be visible when zooming in on them

  2. Reducing tracking delay by predicting the direction of camera movement

imutab.jpg

Illustration 18: IMU tab

4.6.1 Activation

Index and Scale values are automatically set correctly when you choose the IMU generation in the Setup (see chapter 3.1).

In order to use the IMU, the following steps need to be taken:

  1. Activate Dump IMU and check the System Log to see if the IMU data are received

  2. Lock the camera so that the Sensor Unit is completely still

  3. Activate Update Biases for one or a few seconds. This enters the Bias values

  4. Activate Use gyros and Use accelerometers and deactivate Dump IMU

  5. Save

4.6.2 Suppress

The suppress values determine the threshold where noise in the data is removed by the IMU. There is a value above which an increase has no effect anymore. Usually default values (0.500 or 0.600) don’t need to be changed.

4.6.3 Follow

The follow values determine the amount of influence the IMU has on the tracking data. A higher value means a lower influence of the IMU. 1.0 means that no IMU data is used. This means for visibly negative effects of the IMU these values need to be increased. Usually the default value 0.100 does not need to be changed.

If graphical elements visibly change/correct their position after a movement has stopped, this effect can potentially be removed by increasing Gyro follow and Accel follow for example to 0.200.

4.6.4 Prediction

An increase in this value will result in tracking data being sent with less delay. The minimum value is 0 (tracking delay = Sample Delay). The upper limit depends on the setting of the Sample Delay in the Delay tab. Exceeding the value of the Sample Delay will cause no change in the total tracking delay.

That means by setting a minimum Sample Delay of 40ms and increasing the Prediction value the total tracking delay is getting closer to zero.

4.7 Modifying Tracking

Adjusting the tracking after a correct setup is not needed. As a user there are two ways of modifying the tracking data in regards of position and orientation:

  1. With the Relocator position and orientation of the tracking world coordinate system can be adjusted. Pos X,Y and Z move this coordinate system along the axes defined in the reconstruction. Pan, Tilt and Roll change the axes angles around the studio origin. Pan rotates the world around the Z-axis (pointing up), Tilt rotates the world around the X-axis (pointing to the right) and Roll rotates the world around the Y-axis (pointing forward).

  2. The Adjust Chief settings in the WorkerCam tab modify the offset values. Pos X,Y and Z move the camera coordinate system along its axes. Pan, Tilt and Roll changes the axis angles around the cameras nodal point. The camera is pointed along the camera Y-axis. A Pan of 10 degrees would shift all virtual objects permanently to the right within the perspective of the camera, no matter where the camera is positioned.

To put it simple: the Relocator moves virtual objects in the studio in relation to the studio coordinate system whereas adjusting the Chief moves virtual objects in relation to the camera. Keep in mind that Adjusting the Chief modifies the offset values, which were calibrated before. If these values seem to improve the precision, it should be considered to recalibrate the offset. Otherwise adjusting the Chief values should not exceed changes higher than a few centimeters and or more than 1 degree.

If position or orientation of the tracking are not as expected, all calibration steps should be controlled and where required redone before adjusting with a Relocator or the Adjust Chief settings.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.