Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members

mitkTrackedBscanDataReader Class Reference

mitkTrackedBscanDataReader - A concrete class to read PAI files. More...

#include <mitkTrackedBscanDataReader.h>

Inherits mitkRawDataReader.

Inheritance diagram for mitkTrackedBscanDataReader:

Inheritance graph
[legend]
Collaboration diagram for mitkTrackedBscanDataReader:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
mitkTrackedBscanDataGetOutput ()

Detailed Description

mitkTrackedBscanDataReader - A concrete class to read PAI files.

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.


Member Function Documentation

mitkTrackedBscanData* mitkTrackedBscanDataReader::GetOutput  ) 
 

Get the output the Tracked B-Scan Data the reader has read.

Returns:
the output Tracked B-Scan Data.

virtual void mitkTrackedBscanDataReader::PrintSelf ostream &  os  )  [virtual]
 

Print the necessary information about this object for the debugging purpose.

Parameters:
os The specified ostream to output information.

Reimplemented from mitkRawDataReader.


The documentation for this class was generated from the following file:
Generated on Tue Feb 25 15:06:48 2014 for MITK (Medical Imaging ToolKit) by  doxygen 1.4.3