PlusLib
2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
|
Reconstructs a volume from tracked frames. More...
#include <src/PlusVolumeReconstruction/vtkPlusVolumeReconstructor.h>
Public Types | |
typedef vtkIGSIOVolumeReconstructor | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) override |
virtual PlusStatus | SaveReconstructedVolumeToFile (const std::string &filename, bool accumulation=false, bool useCompression=true) override |
virtual PlusStatus | SaveReconstructedVolumeToFile (const std::string &filename, bool accumulation=false, bool useCompression=true, std::vector< std::string > *customFields=nullptr, std::vector< std::string > *customValues=nullptr) |
virtual PlusStatus | SaveReconstructedVolumeToMetafile (const std::string &filename, bool accumulation=false, bool useCompression=true, std::vector< std::string > *customFields=nullptr, std::vector< std::string > *customValues=nullptr) |
virtual PlusStatus | UpdateImportanceMask () override |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPlusVolumeReconstructor * | New () |
static vtkPlusVolumeReconstructor * | SafeDownCast (vtkObject *o) |
static PlusStatus | SaveReconstructedVolumeToFile (vtkImageData *volumeToSave, const std::string &filename, bool useCompression=true, std::vector< std::string > *customFields=nullptr, std::vector< std::string > *customValues=nullptr) |
static PlusStatus | SaveReconstructedVolumeToMetafile (vtkImageData *volumeToSave, const std::string &filename, bool useCompression=true, std::vector< std::string > *customFields=nullptr, std::vector< std::string > *customValues=nullptr) |
Protected Member Functions | |
vtkPlusVolumeReconstructor () | |
virtual | ~vtkPlusVolumeReconstructor () |
Reconstructs a volume from tracked frames.
This is a convenience class for inserting tracked frames into a volume using the vtkPlusPasteSliceIntoVolume algorithm. It reads/writes reconstruction parameters and the calibration matrix from configuration XML data element and can also compute the size of the output volume that can contain all the frames.
Coordinate systems to be used in this class: Image: Coordinate system aligned to the frame. Unit: pixels. Origin: the first pixel in the image pixel array as stored in memory. Not cropped to US content of the image. Tool: Unit: mm. Origin: origin of the sensor/DRB mounted on the tracked tool (probe). Tracker: Unit: mm. Origin: origin of the tracker device (usually camera or EM transmitter). Reference: Unit: mm. Origin: origin of the sensor/DRB mounted on the reference tool (DRB fixed to the imaged object)
If no reference DRB is used then use Identity ReferenceToTracker transforms, and so Reference will be the same as Tracker. So we can still refer to the output system as Reference.
Definition at line 42 of file vtkPlusVolumeReconstructor.h.
typedef vtkIGSIOVolumeReconstructor vtkPlusVolumeReconstructor::Superclass |
Definition at line 47 of file vtkPlusVolumeReconstructor.h.
|
protected |
Definition at line 20 of file vtkPlusVolumeReconstructor.cxx.
|
protectedvirtual |
Definition at line 25 of file vtkPlusVolumeReconstructor.cxx.
|
virtual |
|
virtual |
|
static |
|
static |
|
overridevirtual |
Definition at line 30 of file vtkPlusVolumeReconstructor.cxx.
|
static |
|
overridevirtual |
Save reconstructed volume to file
filename | Path and filename of the output file \accumulation True if accumulation buffer needs to be saved, false if gray levels (default) \useCompression True if compression is turned on (default), false otherwise \customFields List of custom header fields to insert into the output file \customValues List of custom header values corresponding to customFields to insert into the output file |
Definition at line 36 of file vtkPlusVolumeReconstructor.cxx.
|
virtual |
Definition at line 42 of file vtkPlusVolumeReconstructor.cxx.
|
static |
Save reconstructed volume to file
volumeToSave | Reconstructed volume to be saved |
filename | Path and filename of the output file \useCompression True if compression is turned on (default), false otherwise \customFields List of custom header fields to insert into the output file \customValues List of custom header values corresponding to customFields to insert into the output file |
Definition at line 65 of file vtkPlusVolumeReconstructor.cxx.
|
inlinevirtual |
Definition at line 62 of file vtkPlusVolumeReconstructor.h.
|
inlinestatic |
Definition at line 73 of file vtkPlusVolumeReconstructor.h.
|
overridevirtual |
Definition at line 103 of file vtkPlusVolumeReconstructor.cxx.