PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
Macros | Typedefs | Functions | Variables
AtracsysMarkerCreator.cxx File Reference
#include "PlusConfigure.h"
#include "AtracsysTracker.h"
#include "vtksys/CommandLineArguments.hxx"
#include <algorithm>
#include <fstream>
#include <iomanip>
#include <iostream>
#include <vector>
Include dependency graph for AtracsysMarkerCreator.cxx:

Go to the source code of this file.

Macros

#define ATR_SUCCESS   AtracsysTracker::ATRACSYS_RESULT::SUCCESS
 
#define ATRACSYS_MAX_FIDUCIALS   6
 
#define DEFAULT_NUM_DATA_FRAMES   100
 
#define NUM_BACKGROUND_FRAMES   100
 

Typedefs

typedef AtracsysTracker::ATRACSYS_RESULT ATRACSYS_RESULT
 
typedef std::vector< FiducialfidsFrame
 
typedef std::vector< fidsFramefidsFrameList
 
typedef AtracsysTracker::Fiducial Fiducial
 
typedef AtracsysTracker::Marker Marker
 

Functions

PlusStatus CollectFiducials (fidsFrameList &fidFrameList, int numFrames)
 
int main (int argc, char **argv)
 
PlusStatus PerformBackgroundSubtraction (fidsFrame &backgroundFids, fidsFrame &dataFids)
 
PlusStatus ProcessFiducials (fidsFrameList &fidFrameList, fidsFrame &backgroundFids)
 
PlusStatus WriteGeometryIniFile (const MarkerGeometry geom)
 
PlusStatus ZeroMeanFids (fidsFrame &dataFids)
 

Variables

AtracsysTracker::DEVICE_TYPE DeviceType = AtracsysTracker::UNKNOWN_DEVICE
 
AtracsysTracker Tracker
 

Macro Definition Documentation

◆ ATR_SUCCESS

Definition at line 22 of file AtracsysMarkerCreator.cxx.

◆ ATRACSYS_MAX_FIDUCIALS

#define ATRACSYS_MAX_FIDUCIALS   6

Definition at line 19 of file AtracsysMarkerCreator.cxx.

◆ DEFAULT_NUM_DATA_FRAMES

#define DEFAULT_NUM_DATA_FRAMES   100

Definition at line 18 of file AtracsysMarkerCreator.cxx.

◆ NUM_BACKGROUND_FRAMES

#define NUM_BACKGROUND_FRAMES   100

Definition at line 17 of file AtracsysMarkerCreator.cxx.

Typedef Documentation

◆ ATRACSYS_RESULT

Definition at line 23 of file AtracsysMarkerCreator.cxx.

◆ fidsFrame

typedef std::vector<Fiducial> fidsFrame

Definition at line 29 of file AtracsysMarkerCreator.cxx.

◆ fidsFrameList

typedef std::vector<fidsFrame> fidsFrameList

Definition at line 31 of file AtracsysMarkerCreator.cxx.

◆ Fiducial

Definition at line 24 of file AtracsysMarkerCreator.cxx.

◆ Marker

Definition at line 25 of file AtracsysMarkerCreator.cxx.

Function Documentation

◆ CollectFiducials()

PlusStatus CollectFiducials ( fidsFrameList fidFrameList,
int  numFrames 
)

Definition at line 205 of file AtracsysMarkerCreator.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 50 of file AtracsysMarkerCreator.cxx.

◆ PerformBackgroundSubtraction()

PlusStatus PerformBackgroundSubtraction ( fidsFrame backgroundFids,
fidsFrame dataFids 
)

Definition at line 257 of file AtracsysMarkerCreator.cxx.

◆ ProcessFiducials()

PlusStatus ProcessFiducials ( fidsFrameList fidFrameList,
fidsFrame backgroundFids 
)

Definition at line 236 of file AtracsysMarkerCreator.cxx.

◆ WriteGeometryIniFile()

PlusStatus WriteGeometryIniFile ( const MarkerGeometry  geom)

Definition at line 324 of file AtracsysMarkerCreator.cxx.

◆ ZeroMeanFids()

PlusStatus ZeroMeanFids ( fidsFrame dataFids)

Definition at line 296 of file AtracsysMarkerCreator.cxx.

Variable Documentation

◆ DeviceType

Definition at line 14 of file AtracsysMarkerCreator.cxx.

◆ Tracker

AtracsysTracker Tracker

Definition at line 13 of file AtracsysMarkerCreator.cxx.