GDCM
2.4.0
|
#include <gdcmImageCodec.h>
Public Member Functions | |
ImageCodec () | |
~ImageCodec () | |
bool | CanCode (TransferSyntax const &) const |
Return whether this coder support this transfer syntax (can code it) More... | |
bool | CanDecode (TransferSyntax const &) const |
Return whether this decoder support this transfer syntax (can decode it) More... | |
virtual ImageCodec * | Clone () const =0 |
bool | Decode (DataElement const &is_, DataElement &os) |
Decode. More... | |
const unsigned int * | GetDimensions () const |
virtual bool | GetHeaderInfo (std::istream &is_, TransferSyntax &ts) |
bool | GetLossyFlag () const |
const LookupTable & | GetLUT () const |
bool | GetNeedByteSwap () const |
unsigned int | GetNumberOfDimensions () const |
const PhotometricInterpretation & | GetPhotometricInterpretation () const |
PixelFormat & | GetPixelFormat () |
const PixelFormat & | GetPixelFormat () const |
unsigned int | GetPlanarConfiguration () const |
bool | IsLossy () const |
void | SetDimensions (const unsigned int d[3]) |
void | SetDimensions (const std::vector< unsigned int > &d) |
void | SetLossyFlag (bool l) |
void | SetLUT (LookupTable const &lut) |
void | SetNeedByteSwap (bool b) |
void | SetNeedOverlayCleanup (bool b) |
void | SetNumberOfDimensions (unsigned int dim) |
void | SetPhotometricInterpretation (PhotometricInterpretation const &pi) |
virtual void | SetPixelFormat (PixelFormat const &pf) |
void | SetPlanarConfiguration (unsigned int pc) |
Protected Types | |
typedef SmartPointer< LookupTable > | LUTPtr |
Protected Member Functions | |
bool | DecodeByStreams (std::istream &is_, std::ostream &os) |
bool | DoByteSwap (std::istream &is_, std::ostream &os) |
bool | DoInvertMonochrome (std::istream &is_, std::ostream &os) |
bool | DoOverlayCleanup (std::istream &is_, std::ostream &os) |
bool | DoPaddedCompositePixelCode (std::istream &is_, std::ostream &os) |
bool | DoPlanarConfiguration (std::istream &is_, std::ostream &os) |
bool | DoSimpleCopy (std::istream &is_, std::ostream &os) |
bool | DoYBR (std::istream &is_, std::ostream &os) |
virtual bool | IsValid (PhotometricInterpretation const &pi) |
Protected Attributes | |
unsigned int | Dimensions [3] |
bool | LossyFlag |
LUTPtr | LUT |
bool | NeedByteSwap |
bool | NeedOverlayCleanup |
unsigned int | NumberOfDimensions |
PixelFormat | PF |
PhotometricInterpretation | PI |
unsigned int | PlanarConfiguration |
bool | RequestPaddedCompositePixelCode |
bool | RequestPlanarConfiguration |
Friends | |
class | ImageChangePhotometricInterpretation |
|
protected |
gdcm::ImageCodec::ImageCodec | ( | ) |
gdcm::ImageCodec::~ImageCodec | ( | ) |
|
inlinevirtual |
Return whether this coder support this transfer syntax (can code it)
Implements gdcm::Coder.
Reimplemented in gdcm::JPEGCodec, gdcm::RLECodec, gdcm::PVRGCodec, gdcm::JPEG2000Codec, gdcm::JPEGLSCodec, gdcm::PNMCodec, gdcm::PGXCodec, gdcm::KAKADUCodec, and gdcm::RAWCodec.
|
inlinevirtual |
Return whether this decoder support this transfer syntax (can decode it)
Implements gdcm::Decoder.
Reimplemented in gdcm::JPEGCodec, gdcm::RLECodec, gdcm::PVRGCodec, gdcm::JPEG2000Codec, gdcm::JPEGLSCodec, gdcm::PNMCodec, gdcm::RAWCodec, gdcm::PGXCodec, and gdcm::KAKADUCodec.
|
pure virtual |
Implemented in gdcm::JPEGCodec, gdcm::RLECodec, gdcm::JPEGLSCodec, gdcm::PVRGCodec, gdcm::JPEG2000Codec, gdcm::PNMCodec, gdcm::RAWCodec, gdcm::KAKADUCodec, and gdcm::PGXCodec.
|
virtual |
Decode.
Reimplemented from gdcm::Decoder.
Reimplemented in gdcm::JPEGCodec, gdcm::RLECodec, gdcm::JPEGLSCodec, gdcm::PVRGCodec, gdcm::JPEG2000Codec, gdcm::KAKADUCodec, and gdcm::RAWCodec.
|
protectedvirtual |
Reimplemented from gdcm::Decoder.
Reimplemented in gdcm::JPEGCodec, gdcm::JPEG2000Codec, gdcm::RLECodec, gdcm::RAWCodec, gdcm::JPEG12Codec, gdcm::JPEG16Codec, and gdcm::JPEG8Codec.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inline |
|
virtual |
Reimplemented in gdcm::JPEGCodec, gdcm::RLECodec, gdcm::JPEGLSCodec, gdcm::JPEG2000Codec, gdcm::PNMCodec, gdcm::JPEG12Codec, gdcm::JPEG16Codec, gdcm::JPEG8Codec, gdcm::RAWCodec, and gdcm::PGXCodec.
bool gdcm::ImageCodec::GetLossyFlag | ( | ) | const |
|
inline |
|
inline |
unsigned int gdcm::ImageCodec::GetNumberOfDimensions | ( | ) | const |
const PhotometricInterpretation& gdcm::ImageCodec::GetPhotometricInterpretation | ( | ) | const |
|
inline |
|
inline |
|
inline |
bool gdcm::ImageCodec::IsLossy | ( | ) | const |
|
protectedvirtual |
Reimplemented in gdcm::JPEGCodec.
void gdcm::ImageCodec::SetDimensions | ( | const unsigned int | d[3]) |
void gdcm::ImageCodec::SetDimensions | ( | const std::vector< unsigned int > & | d) |
void gdcm::ImageCodec::SetLossyFlag | ( | bool | l) |
|
inline |
|
inline |
|
inline |
void gdcm::ImageCodec::SetNumberOfDimensions | ( | unsigned int | dim) |
void gdcm::ImageCodec::SetPhotometricInterpretation | ( | PhotometricInterpretation const & | pi) |
|
inlinevirtual |
Reimplemented in gdcm::JPEGCodec.
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |