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

mitkDICOMWriter Class Reference

mitkDICOMWriter - a concrete writer for writing a volume to DICOM image files More...

#include <mitkDICOMWriter.h>

Inherits mitkVolumeWriter.

Inheritance diagram for mitkDICOMWriter:

Inheritance graph
[legend]
Collaboration diagram for mitkDICOMWriter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintSelf (ostream &os)
void SetStudyUID (const string &uid)
void SetSeriesUID (const string &uid)

Detailed Description

mitkDICOMWriter - a concrete writer for writing a volume to DICOM image files

mitkDICOMWriter writes a volume to a set of DICOM image files. Because the volume is a 3D dataset, it may contain many slices. So the file names must be generated and passed to writer properly.
DICOM files to be writen will take format as follows:
Media Storage SOP Class : Not Specified (UID = "");
Media Storage SOP Instance : Not Specified (UID = "");
Transfer Syntax : Explicit VR Little Endian (UID = "1.2.840.10008.1.2.1");
Implementation Class : Not Specified (UID = "");
Implementation Version Name : Ignored;
Source Application Entity Title : Ignored;
Private Information Creator UID and Private Information : Ignored;

Each file will contain one single image of an image series.
To use this writer, the code snippet is:

    mitkDICOMWriter *aWriter = new mitkDICOMWriter; 
    aWriter->SetInput(aVolume); 
    int imageNum = aVolume->GetImageNum(); 
    Gerenate file names into files[imageNum]; 
    for(int i = 0; i < imageNum; i++) 
        aWriter->AddFileName(files[i]); 
    aWriter->Run(); 


Member Function Documentation

virtual void mitkDICOMWriter::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 mitkVolumeWriter.

void mitkDICOMWriter::SetSeriesUID const string &  uid  ) 
 

Set Series UID.

Parameters:
uid a const reference to a string contains UID

void mitkDICOMWriter::SetStudyUID const string &  uid  ) 
 

Set Study UID.

Parameters:
uid a const reference to a string contains UID


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