#include <mitkTrackedBscanDataWriter.h>
Inherits mitkRawDataWriter.
Inheritance diagram for mitkTrackedBscanDataWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetInput (mitkTrackedBscanData *inData) |
mitkTrackedBscanData * | GetInput () |
mitkTrackedBscanDataWriter is a concrete class to write mitkTrackedBscanData object to PAI files. Raw Data acquired for 3D Ultrasound Reconstruction are stored as PAI (Positions And Images) files on the hard disk. A HPAI (Head for PAIs) file is stored together with the PAI files. The HPAI contains number of PAI files, B-Scan image size and spacings, calibrated PToR matrix, predetermined TToC matrix, predetermined volume size and volume spacings. Each PAI file contains the data of a B-scan image and the relative RToT matrix.
To use this writer, the code snippet is:
mitkTrackedBscanDataWriter *aWriter = new mitkTrackedBscanDataWriter; aWriter->SetInput(TrackedBscanData); aWriter->AddFileName(filename); //Only require the head file name "*.hpai" aWriter->Run();
Note: The HPAI and PAI are customized file formats defined by the Medical Image Processing Group, Institute of Automation, Chinese Academy of Sciences. Please read the Manual or Examples to find the file formats.
|
Get input volume.
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkRawDataWriter. |
|
Set input volume to write to disk file.
|