Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

gdcm::ImageReader Class Reference

#include <gdcmImageReader.h>

Inheritance diagram for gdcm::ImageReader:

gdcm::PixmapReader gdcm::Reader

List of all members.

Detailed Description


its role is to convert the DICOM DataSet into a gdcm::Image representation By default it is also loading the lookup table and overlay when found as they impact the rendering or the image
See PS 3.3-2008, Table C.7-11b IMAGE PIXEL MACRO ATTRIBUTES for the list of attribute that belong to what gdcm calls a 'Image'

Definition at line 35 of file gdcmImageReader.h.

Public Member Functions

FileGetFile ()
const FileGetFile () const
ImageGetImage ()
const ImageGetImage () const
 Return the read image.
PixmapGetPixmap ()
const PixmapGetPixmap () const
 Return the read image.
bool Read ()
bool ReadUpToTag (const Tag &tag, std::set< Tag > const &skiptags)
void SetFile (File &file)
void SetFileName (const char *filename)
void SetStream (std::istream &input_stream)

Protected Member Functions

const ByteValueGetPointerFromElement (Tag const &tag) const
bool ReadACRNEMAImage ()
bool ReadDataSet ()
bool ReadImage (MediaStorage const &ms)
int ReadISFromTag (Tag const &t, std::stringstream &ss, std::string &conversion)
bool ReadMetaInformation ()
 read the DICOM Meta Information Header Find out the TransferSyntax used (default: Little Endian Explicit) we are at the start of group 0x0002 (well after preamble) we are at the beginning of the DataSet
bool ReadPreamble ()
 tells us if "DICM" is found as position 128 (i.e. the file is a 'true dicom' one) If not found then seek back at beginning of file (could be Mallinckrodt or old ACRNEMA with no preamble) we are at the beginning of file we are at the beginning of the DataSet or Meta Information Header
signed short ReadSSFromTag (Tag const &t, std::stringstream &ss, std::string &conversion)
unsigned short ReadUSFromTag (Tag const &t, std::stringstream &ss, std::string &conversion)

Protected Attributes

SmartPointer< FileF
SmartPointer< PixmapPixelData

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

Generated by  Doxygen 1.6.0   Back to index