NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
Public Member Functions | Protected Member Functions | List of all members
mitk::UltrasoundTransformAndImageMerger Class Reference

Merges a directory of images and tracking data into a .mhd file, according to PLUS meta-data specifications. More...

Inheritance diagram for mitk::UltrasoundTransformAndImageMerger:
Inheritance graph
[legend]
Collaboration diagram for mitk::UltrasoundTransformAndImageMerger:
Collaboration graph
[legend]

Public Member Functions

 mitkClassMacroItkParent (UltrasoundTransformAndImageMerger, itk::Object) static Pointer New()
 
void Merge (const std::string &inputMatrixDirectory, const std::string &inputImageDirectory, const std::string &outputImageFileName, const std::string &imageOrientation)
 Does merging. More...
 

Protected Member Functions

 UltrasoundTransformAndImageMerger ()
 
virtual ~UltrasoundTransformAndImageMerger ()
 
 UltrasoundTransformAndImageMerger (const UltrasoundTransformAndImageMerger &)
 
UltrasoundTransformAndImageMergeroperator= (const UltrasoundTransformAndImageMerger &)
 

Detailed Description

Merges a directory of images and tracking data into a .mhd file, according to PLUS meta-data specifications.

This takes each 2D slice, and stacks them into a 3D volume. It writes the data out as a .mhd file. .mhd files have the binary image data in a file ending in .raw, and .mhd is an ASCII header. Therefore PLUS have specified additional information to be stored in the header. This additional information pertains to tracking information collected at the time the images were grabbed. The tracking information normally comprises the probe-to-tracker transform, the reference-to-tracker transform and the stylus-to-tracker transform. For our purposes, we just want to get the data into PLUS to use, for example, the fCal calibration or the temporal calibration. So, inputMatrixDirectory refers to a directory full of probe tracking transformations, giving the probe-to-tracker transform. The reference-to-tracker and stylus-to-tracker are set to identity.

Furthermore, NifTK will record tracking and image data at whatever framerate the devices support. So, this method takes an image, and will interpolate the timestamps of the tracking data, and hence interpolate the transformation matrices.

Constructor & Destructor Documentation

mitk::UltrasoundTransformAndImageMerger::UltrasoundTransformAndImageMerger ( )
protected
mitk::UltrasoundTransformAndImageMerger::~UltrasoundTransformAndImageMerger ( )
protectedvirtual
mitk::UltrasoundTransformAndImageMerger::UltrasoundTransformAndImageMerger ( const UltrasoundTransformAndImageMerger )
protected

Member Function Documentation

void mitk::UltrasoundTransformAndImageMerger::Merge ( const std::string inputMatrixDirectory,
const std::string inputImageDirectory,
const std::string outputImageFileName,
const std::string imageOrientation 
)

Does merging.

mitk::UltrasoundTransformAndImageMerger::mitkClassMacroItkParent ( UltrasoundTransformAndImageMerger  ,
itk::Object   
)
UltrasoundTransformAndImageMerger& mitk::UltrasoundTransformAndImageMerger::operator= ( const UltrasoundTransformAndImageMerger )
protected

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