33 #include "dcmtk/config/osconfig.h" 35 #include "dcmtk/dcmdata/dctypes.h" 36 #include "dcmtk/dcmdata/dcfilefo.h" 37 #include "dcmtk/dcmdata/dcxfer.h" 38 #include "dcmtk/dcmimgle/diobjcou.h" 39 #include "dcmtk/ofstd/ofstring.h" 41 #define INCLUDE_CSTDDEF 42 #include "dcmtk/ofstd/ofstdinc.h" 80 const unsigned long flags = 0,
81 const unsigned long fstart = 0,
82 const unsigned long fcount = 0);
93 const E_TransferSyntax xfer,
94 const unsigned long flags = 0,
95 const unsigned long fstart = 0,
96 const unsigned long fcount = 0);
235 const unsigned long pos = 0,
237 const OFBool allowSigned = OFFalse)
const;
249 const unsigned long pos = 0)
const;
261 const unsigned long pos = 0)
const;
273 const unsigned long pos = 0)
const;
285 const unsigned long pos = 0)
const;
296 const Uint16 *&returnVal,
308 const char *&returnVal,
322 const unsigned long pos = 0,
348 const unsigned long pos = 0,
349 const OFBool allowSigned = OFFalse);
359 const Uint16 *&returnVal);
369 const char *&returnVal);
381 const unsigned long pos = 0);
unsigned long getValue(const DcmTagKey &tag, Uint16 &returnVal, const unsigned long pos=0, DcmObject *item=NULL, const OFBool allowSigned=OFFalse) const
get value of given tag (Uint16)
class maintaining a attribute tag (group and element number)
DcmPixelData * PixelData
reference to pixel data object
unsigned long getFrameCount() const
get number of frames to be processed
abstract base class for all DICOM elements
class representing a DICOM Sequence of Items (SQ).
DiDocument(const char *filename, const unsigned long flags=0, const unsigned long fstart=0, const unsigned long fcount=0)
constructor, open a DICOM file
unsigned long getSequence(const DcmTagKey &tag, DcmSequenceOfItems *&seq) const
get sequence of given tag
Class to count number of instances (objects created from a certain class).
unsigned long getVM(const DcmTagKey &tag) const
get value multiplicity (VM) of given tag
The class DcmPixelData stores different pixel representations identified by a type (the transfer synt...
Interface class to DICOM data management (dcmdata).
DcmElement * search(const DcmTagKey &tag, DcmObject *obj=NULL) const
search for given tag
unsigned long getFrameStart() const
get first frame to be processed
DcmPixelData * getPixelData() const
get pixel data object
Abstract base class for most classes in module dcmdata.
DcmDataset * getDataset() const
get current DICOM dataset
OFBool isCompressed() const
check whether pixel data only exist in compressed format
static unsigned long getElemValue(const DcmElement *elem, Uint16 &returnVal, const unsigned long pos=0, const OFBool allowSigned=OFFalse)
get value of given element (Uint16)
OFString PhotometricInterpretation
photometric interpretation (color model)
a class that allows for a lookup of Transfer Syntax properties and readable descriptions ...
E_TransferSyntax Xfer
transfer syntax used for reading the dataset
virtual ~DiDocument()
destructor
DcmObject * getDicomObject() const
get current DICOM object (dataset)
this class manages a stack of pointers to DcmObject instances.
unsigned long FrameStart
first frame to be processed
a class handling the DICOM dataset format (files without meta header)
E_TransferSyntax getTransferSyntax() const
get transfer syntax of the DICOM dataset
const char * getPhotometricInterpretation() const
get photometric interpretation (color model).
OFBool isEncapsulated() const
return true if transfer syntax is encapsulated, false otherwise
a simple string class that implements a subset of std::string.
const char * c_str() const
returns a pointer to the initial element of an array of length size()+1 whose first size() elements e...
void convertPixelData()
convert pixel data to uncompressed representation (if required)
DcmFileFormat * FileFormat
reference to DICOM fileformat (read from file, maybe NULL)
int good() const
check whether current document is valid
DcmObject * Object
reference to DICOM dataset (in memory)
unsigned long Flags
configuration flags
unsigned long getFlags() const
get configuration flags
unsigned long FrameCount
number of frames to be processed