Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cx::TemporalCalibration Class Reference

#include <cxTemporalCalibration.h>

Public Member Functions

 TemporalCalibration ()
 
void selectData (QString filename, FileManagerServicePtr filemanager)
 
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 102 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 168 of file cxTemporalCalibration.cpp.

void cx::TemporalCalibration::selectData ( QString  filename,
FileManagerServicePtr  filemanager 
)

Definition at line 108 of file cxTemporalCalibration.cpp.

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

Definition at line 128 of file cxTemporalCalibration.cpp.


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