14 #ifndef GDCMIMAGECODEC_H
15 #define GDCMIMAGECODEC_H
40 void SetLossyFlag(
bool l);
41 bool GetLossyFlag()
const;
46 bool DecodeByStreams(std::istream &is_, std::ostream &os);
52 return PlanarConfiguration;
56 assert( pc == 0 || pc == 1 );
57 PlanarConfiguration = pc;
85 NeedOverlayCleanup = b;
96 void SetDimensions(
const unsigned int d[3]);
97 void SetDimensions(
const std::vector<unsigned int> & d);
99 void SetNumberOfDimensions(
unsigned int dim);
100 unsigned int GetNumberOfDimensions()
const;
114 unsigned int Dimensions[3];
118 bool DoOverlayCleanup(std::istream &is_, std::ostream &os);
119 bool DoByteSwap(std::istream &is_, std::ostream &os);
120 bool DoYBR(std::istream &is_, std::ostream &os);
121 bool DoPlanarConfiguration(std::istream &is_, std::ostream &os);
122 bool DoSimpleCopy(std::istream &is_, std::ostream &os);
123 bool DoPaddedCompositePixelCode(std::istream &is_, std::ostream &os);
124 bool DoInvertMonochrome(std::istream &is_, std::ostream &os);
132 #endif //GDCMIMAGECODEC_H
LookupTable class.
Definition: gdcmLookupTable.h:29
bool RequestPlanarConfiguration
Definition: gdcmImageCodec.h:103
const PixelFormat & GetPixelFormat() const
Definition: gdcmImageCodec.h:64
void SetLUT(LookupTable const &lut)
Definition: gdcmImageCodec.h:87
void SetPlanarConfiguration(unsigned int pc)
Definition: gdcmImageCodec.h:54
SmartPointer< LookupTable > LUTPtr
Definition: gdcmImageCodec.h:112
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
PhotometricInterpretation PI
Definition: gdcmImageCodec.h:107
bool RequestPaddedCompositePixelCode
Definition: gdcmImageCodec.h:104
unsigned int PlanarConfiguration
Definition: gdcmImageCodec.h:106
ImageCodec.
Definition: gdcmImageCodec.h:30
bool GetNeedByteSwap() const
Definition: gdcmImageCodec.h:75
bool NeedByteSwap
Definition: gdcmImageCodec.h:109
Codec class.
Definition: gdcmCodec.h:26
Class to represent a Data Element either Implicit or Explicit.
Definition: gdcmDataElement.h:58
const unsigned int * GetDimensions() const
Definition: gdcmImageCodec.h:98
bool LossyFlag
Definition: gdcmImageCodec.h:116
virtual void SetPixelFormat(PixelFormat const &pf)
Definition: gdcmImageCodec.h:68
Class to manipulate Transfer Syntax.
Definition: gdcmTransferSyntax.h:39
void SetNeedByteSwap(bool b)
Definition: gdcmImageCodec.h:79
unsigned int GetPlanarConfiguration() const
Definition: gdcmImageCodec.h:50
bool NeedOverlayCleanup
Definition: gdcmImageCodec.h:110
const LookupTable & GetLUT() const
Definition: gdcmImageCodec.h:91
Class to represent an PhotometricInterpretation.
Definition: gdcmPhotometricInterpretation.h:28
bool CanCode(TransferSyntax const &) const
Return whether this coder support this transfer syntax (can code it)
Definition: gdcmImageCodec.h:36
unsigned int NumberOfDimensions
Definition: gdcmImageCodec.h:115
PixelFormat PF
Definition: gdcmImageCodec.h:108
LUTPtr LUT
Definition: gdcmImageCodec.h:113
PixelFormat & GetPixelFormat()
Definition: gdcmImageCodec.h:60
void SetNeedOverlayCleanup(bool b)
Definition: gdcmImageCodec.h:83
bool CanDecode(TransferSyntax const &) const
Return whether this decoder support this transfer syntax (can decode it)
Definition: gdcmImageCodec.h:37
ImageChangePhotometricInterpretation class Class to change the Photometric Interpetation of an input ...
Definition: gdcmImageChangePhotometricInterpretation.h:28
Definition: gdcmTerminal.h:52