CustusX  18.04
An IGT application
cx::TemporalCalibration Class Reference

#include <cxTemporalCalibration.h>

Public Member Functions

 TemporalCalibration ()
 
void selectData (QString filename)
 
void setDebugFolder (QString path)
 
double calibrate (bool *success)
 

Detailed Description

Class for performing temporal calibration.

Load a US Acquisition data set, and run calibrate(). The algorithm will extract the probe movement from the tracking data and from the us images, and use correlation to find the shift between them.

The shift sign is given from: frames = tracking + shift

Definition at line 43 of file cxTemporalCalibration.h.

Constructor & Destructor Documentation

cx::TemporalCalibration::TemporalCalibration ( )

Definition at line 101 of file cxTemporalCalibration.cpp.

Member Function Documentation

double cx::TemporalCalibration::calibrate ( bool *  success)

Find temporal calibration shift (frames = tracking + shift) from the loaded data series.

  • use correlation to find shifts between volumes
    • use the first image as ref for all others
    • as a first: use global maxima to create data
  • compute the component of the shift in e_z in t space, s(t)
  • compute tracking data along e_z in t space, q(t).
  • use correlation to find shift between the two sequences.
  • the shift is the difference between frame timestamps and tracking timestamps -> temporal calibration.
  • add this as a delta to the current cal.

Definition at line 167 of file cxTemporalCalibration.cpp.

void cx::TemporalCalibration::selectData ( QString  filename)

Definition at line 107 of file cxTemporalCalibration.cpp.

void cx::TemporalCalibration::setDebugFolder ( QString  path)

Definition at line 127 of file cxTemporalCalibration.cpp.


The documentation for this class was generated from the following files: