PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
Extract the motion component along the the principal axis of the motion. Used for computing a position metric from a periodically moving tool. More...
#include <src/PlusCalibration/vtkTemporalCalibrationAlgo/vtkPlusPrincipalMotionDetectionAlgo.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
void | ComputePrincipalAxis (std::deque< itk::Point< double, 3 > > &trackerPositions, itk::Point< double, 3 > &principalAxisOfMotion, int numValidFrames) |
virtual const char * | GetClassName () |
void | GetDetectedPositions (std::deque< double > &positions) |
void | GetDetectedTimestamps (std::deque< double > ×tamps) |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
void | SetProbeToReferenceTransformName (const std::string &probeToReferenceTransformName) |
void | SetSignalTimeRange (double rangeMin, double rangeMax) |
void | SetTrackerFrames (vtkIGSIOTrackedFrameList *trackerFrames) |
PlusStatus | Update () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlusPrincipalMotionDetectionAlgo * | New () |
static vtkPlusPrincipalMotionDetectionAlgo * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
PlusStatus | ComputeTrackerPositionMetric () |
PlusStatus | VerifyInputFrames () |
vtkPlusPrincipalMotionDetectionAlgo () | |
virtual | ~vtkPlusPrincipalMotionDetectionAlgo () |
Protected Attributes | |
std::string | m_ProbeToReferenceTransformName |
double | m_SignalTimeRangeMax |
double | m_SignalTimeRangeMin |
std::deque< double > | m_SignalTimestamps |
std::deque< double > | m_SignalValues |
vtkIGSIOTrackedFrameList * | m_TrackerFrames |
Extract the motion component along the the principal axis of the motion. Used for computing a position metric from a periodically moving tool.
=Plus=header=begin====================================================== Program: Plus Copyright (c) Laboratory for Percutaneous Surgery. All rights reserved. See License.txt for details. =========================================================Plus=header=end
Definition at line 20 of file vtkPlusPrincipalMotionDetectionAlgo.h.
typedef vtkObject vtkPlusPrincipalMotionDetectionAlgo::Superclass |
Definition at line 24 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 25 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
protectedvirtual |
Definition at line 32 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
void vtkPlusPrincipalMotionDetectionAlgo::ComputePrincipalAxis | ( | std::deque< itk::Point< double, 3 > > & | trackerPositions, |
itk::Point< double, 3 > & | principalAxisOfMotion, | ||
int | numValidFrames | ||
) |
Definition at line 164 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
protected |
Definition at line 79 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
virtual |
void vtkPlusPrincipalMotionDetectionAlgo::GetDetectedPositions | ( | std::deque< double > & | positions | ) |
Get the line positions on the frames where a line was successfully detected
Definition at line 246 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
void vtkPlusPrincipalMotionDetectionAlgo::GetDetectedTimestamps | ( | std::deque< double > & | timestamps | ) |
Get the timestamps of the frames where a line was successfully detected
Definition at line 240 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
virtual |
|
static |
|
static |
|
virtual |
Definition at line 37 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
static |
void vtkPlusPrincipalMotionDetectionAlgo::SetProbeToReferenceTransformName | ( | const std::string & | probeToReferenceTransformName | ) |
Sets the name of the transform to be used for tracking data. Default is "ProbeToReference"
Definition at line 56 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
void vtkPlusPrincipalMotionDetectionAlgo::SetSignalTimeRange | ( | double | rangeMin, |
double | rangeMax | ||
) |
Sets the time range where the signal will be extracted from. If rangeMax<rangeMin then all the input frames will be used to genereate the signal.
Definition at line 49 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
void vtkPlusPrincipalMotionDetectionAlgo::SetTrackerFrames | ( | vtkIGSIOTrackedFrameList * | trackerFrames | ) |
Sets the input US video frames
Definition at line 43 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
PlusStatus vtkPlusPrincipalMotionDetectionAlgo::Update | ( | ) |
Run the line detection algorithm on the input video frames
errorDetail | if the algorithm fails then the details of the problem are returned in this string |
Definition at line 226 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
protected |
Definition at line 62 of file vtkPlusPrincipalMotionDetectionAlgo.cxx.
|
protected |
Definition at line 58 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 64 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 63 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 61 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 60 of file vtkPlusPrincipalMotionDetectionAlgo.h.
|
protected |
Definition at line 57 of file vtkPlusPrincipalMotionDetectionAlgo.h.