#include <mitkTrackedBscanDataReader.h>
Inherits mitkRawDataReader.
Inheritance diagram for mitkTrackedBscanDataReader:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
mitkTrackedBscanData * | GetOutput () |
mitkTrackedBscanDataReader is a concrete class to read PAI files to generate mitkTrackedBscanData object for 3D Ultrasound Reconstruction with concrete classes inheriting mitk3DUSReconstructionFilter. Raw Data acquired for 3D Ultrasound Reconstruction are stored as PAI (Positions And Images) files. 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 reader, the code snippet is:
mitkTrackedBscanDataReader *aReader = new mitkTrackedBscanDataReader; aReader->AddFileName(filename); //Only require the head file name "*.hpai" if (aReader->Run()) { mitkTrackedBscanData *aTrackedBscanData = aReader->GetOutput(); Using aTrackedBscanData... }
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 the output the Tracked B-Scan Data the reader has read.
|
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkRawDataReader. |