14 #ifndef GDCMIMAGECODEC_H
15 #define GDCMIMAGECODEC_H
40 void SetLossyFlag(
bool l);
41 bool GetLossyFlag()
const;
48 bool DecodeByStreams(std::istream &is_, std::ostream &os);
54 return PlanarConfiguration;
58 assert( pc == 0 || pc == 1 );
59 PlanarConfiguration = pc;
87 NeedOverlayCleanup = b;
98 void SetDimensions(
const unsigned int d[3]);
99 void SetDimensions(
const std::vector<unsigned int> & d);
101 void SetNumberOfDimensions(
unsigned int dim);
102 unsigned int GetNumberOfDimensions()
const;
116 unsigned int Dimensions[3];
120 bool DoOverlayCleanup(std::istream &is_, std::ostream &os);
121 bool DoByteSwap(std::istream &is_, std::ostream &os);
122 bool DoYBR(std::istream &is_, std::ostream &os);
123 bool DoPlanarConfiguration(std::istream &is_, std::ostream &os);
124 bool DoSimpleCopy(std::istream &is_, std::ostream &os);
125 bool DoPaddedCompositePixelCode(std::istream &is_, std::ostream &os);
126 bool DoInvertMonochrome(std::istream &is_, std::ostream &os);
134 #endif //GDCMIMAGECODEC_H