Ncam Reality
...
Setting Up
Connecting to Renderers
Orad
8 min
exporting the lens calibration for orad start ncam, and initialize the tracking with the correct camera and lens selected from the database under the menu option export, select export in orad format this will give a dialogue requesting a location and filename it makes sense to store the lens calibration under a desktop/ncam/lenscalibration directory give the file a meaningful name, and include the serial number of the lens e g fujinon ha14x4 5berd s6 6704738 ecf copy the exported file to a thumb drive, and then move the thumb drive to the orad system copy the file to the relevant directory in orad – the engineer/operator can advise on this computing the lens centre offset for orad the ncam lens centre values have to be converted from normalized values into pixel offsets from dead centre of the image sensor to do that, follow these formulae orad x ccd offset = 1 x ( (ncamhorizimagecentre 0 5) image width ) orad y ccd offset = ( (ncam vertimagecentre 0 5) image height ) n b if the system is 1080p the image width =1920 and the image height =1080 if the system is 1080i, i e an interlaced format, then the image height is divided by 2 i e for 1080i image width = 1920 image height = 540 a simple excel spreadsheet can calculate these values for you you only need 2 decimal places of precision e g x xx and y yy configuring ncam to communicate with orad the configuration for ncam to communicate is simple in options/preferences select the datastream tab enable the freed output with the checkbox to “start freed streamer” check that the “sync to video” checkbox is also selected change the kind to be “udp ethernet” check the device/port to be 6301 exit the preferences by pressing ok (note that the file is not saved to disk until the ncam application software is shutdown normally) n b by default the udp port is set to be 6301, but it doesn’t have to be it can be any port that is not in use whichever port ncam is transmitting on, the same port has to be configured in orad configuring orad orad uses a tracking set configuration file to hold all the parameters for the tracking source this is typically found on the windows system under the config directory e g g \config the file is named in the form of "trackingset hdvg nnnn cfg" the values of this file should be edited as necessary n b some of these values can also be modified and saved by using the orad gui, rather than by editing the configuration text file example tracking set config file \# fantastico channel 0 timecode type ntsc drop synchro source tracker 1 synchro source delay 2 synchro delay 0 heads 1 type freed name ncam1 \\ interfaceaddress 10 10 13 24 port 6301 \\ autorange calibration fujinon ha14x4 5berd 6704738 ecf pictureaspect 1 778 \\ reverse r ccdoffset 17 67 2 19 focalscale 0 940 delay 0 00 explanation of tracking set configuration file the configuration file has keyword description and value pairs to set parameters in some cases there is more than one keyword to a description channel this is usually 0 but may be higher in the case of a multi camera environment – the ncam tracking will be on the first virtual camera channel timecode type this has two possible values pal for 50hz operation or ntsc nondrop for 59 94hz operation synchro source tracker set this to 1 synchro source delay set this to 2 synchro delay set this to 0 heads set this to 1 type freed (this is the protocol that orad is expecting to read) name ncam1 (default naming) interfaceaddress 10 10 13 24 (the ip address that has been set on the ncam server) port 6301 (the specific port to communicate on 6301 is the default, but any free port can be used this must be the same port as specified in the ncam preferences/datastream ) autorange (unsure what this parameter does) calibration fujinon ha14x4 5berd 6704738 ecf (the name of the exported ncam lens calibration file that can be found on the orad filesystem – the orad system looks for this exact filename to load) pictureaspect 1 778 (this should be the correct aspect ratio for the image being produced typically this is hd, so it is 16 9 or 1 778 as a decimal) reverse r (if when tracking and panning, the virtual camera in orad appears to be panning in the wrong direction, set reverse r) ccdoffset x xx y yy (these are the x and y sensor offset values in pixels that we computed from the ncam horizontal and vertical image centres ) focalscale 0 940 (this is a value to scale the focal length by to overcome the scaling of the image to cope with distortions in effect, this is a value that is set by a little bit of trial and error, and should best be adjusted through the gui ) delay 0 00 (set this at 0 00 initially) configuring for distortions orad has to have distortions enabled to correctly match the behavior of the physical lens two parameters have to be enabled in the file /usr/re/bin/re xml which is on the hdvg renderer distortions on = yes distortions isenlargeview = yes the re xml file should be saved and then the re processes killed and restarted as follows, from the /usr/re/bin/ directory killall re (kills the current processes) start sh (restarts the processes again – system should be available after 20 seconds or so )