#include <mitkDICOMWriter.h>
Inherits mitkVolumeWriter.
Inheritance diagram for mitkDICOMWriter:
Public Member Functions | |
virtual void | PrintSelf (ostream &os) |
void | SetStudyUID (const string &uid) |
void | SetSeriesUID (const string &uid) |
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();
|
Print the necessary information about this object for the debugging purpose.
Reimplemented from mitkVolumeWriter. |
|
Set Series UID.
|
|
Set Study UID.
|