Plus applications user manual
2.9.0.0be062e
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
OpticalMarkerTracker is virtual device that provides position tracking of markers using any webcam or camcorder. You can print your own markers on any regular printer and attach to a flat surface on an object. The device uses algorithms implemented in OpenCV and ArUco software libraries.
To get started, print a set of markers and create a configuration file. It is recommended to use "PlusServer: Optical marker tracker using MMF video" configuration file that is included in your Plus installation package (see also at the bottom of this page) and print this sheet that contains a number of markers with different sizes (make sure to print in actual size: scaling should be 100%): marker_sheet_36h12.pdf. If you put the sheet in the field of view of your camera, the device will detect position and orientation of the markers.
To improve tracking accuracy, you need to create a calibration file for your camera as described below. If you need more tracking markers, you can print more by following instructions below.
Camera calibration determines optical properties of your camera (distortion, focal length, etc) to improve tracking accuracy.
camera-index
is the integer index of the camera you want to use (usually 0 or 1).output-file-name
is the desired output file name.marker-size-m
is the size of a marker side in meters.marker-id
is the integer ID of the marker you wish to print.output-file-name
is the desired marker image filename.bit-size
is the number of pixels per interior image bit dictionary
is the marker dictionary you wish to use (we suggest ARUCO_MIP_36h12).output-directory
is the directory to output the marker images to (must already exist).dictionary
is the marker dictionary you wish to use (we suggest ARUCO_MIP_36h12).bit-size
is the number of pixels per interior image bit "OpticalMarkerTracker"
OPTICAL
uses just RGB video.OPTICAL_AND_DEPTH
uses depth data and RGB video (work in progress).ARUCO_MIP_36h12 Use
of this dictionary is recommended. Some pre-generated marker images are included at /ConfigFiles/OpticalMarkerTracker/markers.ARUCO
ARUCO_MIP_16h3
ARUCO_MIP_25h7
ARTAG
ARTOOLKITPLUS
ARTOOLKITPLUSBCH
TAG16h5
TAG25h7
TAG25h9
TAG36h10
TAG36h11
This configuration file can be used with this example 3D Slicer scene: OpticalMarkerTracker_Scene.mrb