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);
50 unsigned int GetPlanarConfiguration()
const
52 return PlanarConfiguration;
54 void SetPlanarConfiguration(
unsigned int pc)
56 assert( pc == 0 || pc == 1 );
57 PlanarConfiguration = pc;
75 bool GetNeedByteSwap()
const
79 void SetNeedByteSwap(
bool b)
83 void SetNeedOverlayCleanup(
bool b)
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