Public Member Functions | Protected Member Functions

gdcm::ImageReader Class Reference

ImageReader. More...

#include <gdcmImageReader.h>

Inheritance diagram for gdcm::ImageReader:
Inheritance graph
[legend]
Collaboration diagram for gdcm::ImageReader:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ImageReader ()
 ~ImageReader ()
const ImageGetImage () const
 Return the read image.
ImageGetImage ()
bool Read ()

Protected Member Functions

bool ReadACRNEMAImage ()
bool ReadImage (MediaStorage const &ms)

Detailed Description

ImageReader.

Note:
its role is to convert the DICOM DataSet into a gdcm::Image representation Image is different from Pixmap has it has a position and a direction in Space.
See also:
Image
Examples:

CheckBigEndianBug.cxx, CompressImage.cxx, ConvertToQImage.cxx, FixBrokenJ2K.cxx, GetJPEGSamplePrecision.cxx, HelloVizWorld.cxx, MergeTwoFiles.cxx, MrProtocol.cxx, PatchFile.cxx, and threadgdcm.cxx.


Constructor & Destructor Documentation

gdcm::ImageReader::ImageReader (  )
gdcm::ImageReader::~ImageReader (  )

Member Function Documentation

const Image& gdcm::ImageReader::GetImage (  ) const
Image& gdcm::ImageReader::GetImage (  )
bool gdcm::ImageReader::Read (  ) [virtual]

Read the DICOM image. There are two reason for failure: 1. The input filename is not DICOM 2. The input DICOM file does not contains an Image.

Reimplemented from gdcm::PixmapReader.

Examples:
CheckBigEndianBug.cxx, CompressImage.cxx, ConvertToQImage.cxx, FixBrokenJ2K.cxx, GetJPEGSamplePrecision.cxx, HelloVizWorld.cxx, MergeTwoFiles.cxx, MrProtocol.cxx, PatchFile.cxx, and threadgdcm.cxx.
bool gdcm::ImageReader::ReadACRNEMAImage (  ) [protected, virtual]

Reimplemented from gdcm::PixmapReader.

bool gdcm::ImageReader::ReadImage ( MediaStorage const &  ms ) [protected, virtual]

Reimplemented from gdcm::PixmapReader.


The documentation for this class was generated from the following file:

Generated on Sat Dec 4 2010 08:59:49 for GDCM by doxygen 1.7.2
SourceForge.net Logo