|
GDCM 3.0.24
|
#include <gdcmBitmap.h>
Public Member Functions | |
| Bitmap () | |
| ~Bitmap () override | |
| virtual bool | AreOverlaysInPixelData () const |
| void | Clear () |
| bool | GetBuffer (char *buffer) const |
| Access the raw data. | |
| unsigned long | GetBufferLength () const |
| unsigned int | GetColumns () const |
| DataElement & | GetDataElement () |
| const DataElement & | GetDataElement () const |
| unsigned int | GetDimension (unsigned int idx) const |
| const unsigned int * | GetDimensions () const |
| Return the dimension of the pixel data, first dimension (x), then 2nd (y), then 3rd (z)... | |
| LookupTable & | GetLUT () |
| const LookupTable & | GetLUT () const |
| bool | GetNeedByteSwap () const |
| INTERNAL do not use. | |
| unsigned int | GetNumberOfDimensions () const |
| Return the number of dimension of the pixel data bytes; for example 2 for a 2D matrices of values. | |
| const PhotometricInterpretation & | GetPhotometricInterpretation () const |
| return the photometric interpretation | |
| PixelFormat & | GetPixelFormat () |
| const PixelFormat & | GetPixelFormat () const |
| Get/Set PixelFormat. | |
| unsigned int | GetPlanarConfiguration () const |
| return the planar configuration | |
| unsigned int | GetRows () const |
| const TransferSyntax & | GetTransferSyntax () const |
| bool | IsEmpty () const |
| bool | IsLossy () const |
| Return whether or not the image was compressed using a lossy compressor or not. | |
| bool | IsTransferSyntaxCompatible (TransferSyntax const &ts) const |
| void | Print (std::ostream &) const override |
| void | SetColumns (unsigned int col) |
| void | SetDataElement (DataElement const &de) |
| void | SetDimension (unsigned int idx, unsigned int dim) |
| void | SetDimensions (const unsigned int dims[3]) |
| void | SetLossyFlag (bool f) |
| Specifically set that the image was compressed using a lossy compression mechanism. | |
| void | SetLUT (LookupTable const &lut) |
| Set/Get LUT. | |
| void | SetNeedByteSwap (bool b) |
| void | SetNumberOfDimensions (unsigned int dim) |
| void | SetPhotometricInterpretation (PhotometricInterpretation const &pi) |
| void | SetPixelFormat (PixelFormat const &pf) |
| void | SetPlanarConfiguration (unsigned int pc) |
| void | SetRows (unsigned int rows) |
| void | SetTransferSyntax (TransferSyntax const &ts) |
| Transfer syntax. | |
| virtual bool | UnusedBitsPresentInPixelData () const |
Public Member Functions inherited from gdcm::Object | |
| Object () | |
| Object (const Object &) | |
| Special requirement for copy/cstor, assignment operator. | |
| virtual | ~Object () |
| void | operator= (const Object &) |
Protected Types | |
| typedef SmartPointer< LookupTable > | LUTPtr |
Protected Member Functions | |
| bool | ComputeLossyFlag () |
| bool | GetBuffer2 (std::ostream &os) const |
| bool | TryJPEG2000Codec (char *buffer, bool &lossyflag) const |
| bool | TryJPEG2000Codec2 (std::ostream &os) const |
| bool | TryJPEGCodec (char *buffer, bool &lossyflag) const |
| bool | TryJPEGCodec2 (std::ostream &os) const |
| bool | TryJPEGLSCodec (char *buffer, bool &lossyflag) const |
| bool | TryKAKADUCodec (char *buffer, bool &lossyflag) const |
| bool | TryPVRGCodec (char *buffer, bool &lossyflag) const |
| bool | TryRAWCodec (char *buffer, bool &lossyflag) const |
| bool | TryRLECodec (char *buffer, bool &lossyflag) const |
Protected Member Functions inherited from gdcm::Object | |
| void | Register () |
| void | UnRegister () |
Protected Attributes | |
| std::vector< unsigned int > | Dimensions |
| bool | LossyFlag |
| LUTPtr | LUT |
| bool | NeedByteSwap |
| unsigned int | NumberOfDimensions |
| PixelFormat | PF |
| PhotometricInterpretation | PI |
| DataElement | PixelData |
| unsigned int | PlanarConfiguration |
| TransferSyntax | TS |
Friends | |
| class | ImageChangeTransferSyntax |
| class | PixmapReader |
Bitmap class.
A bitmap based image. Used as parent for both IconImage and the main Pixel Data Image It does not contains any World Space information (IPP, IOP)
|
protected |
| gdcm::Bitmap::Bitmap | ( | ) |
|
override |
|
inlinevirtual |
Reimplemented in gdcm::Pixmap.
| void gdcm::Bitmap::Clear | ( | ) |
|
protected |
| bool gdcm::Bitmap::GetBuffer | ( | char * | buffer | ) | const |
Access the raw data.
|
protected |
| unsigned long gdcm::Bitmap::GetBufferLength | ( | ) | const |
Return the length of the image after decompression WARNING for palette color: It will NOT take into account the Palette Color thus you need to multiply this length by 3 if computing the size of equivalent RGB image
|
inline |
|
inline |
|
inline |
| unsigned int gdcm::Bitmap::GetDimension | ( | unsigned int | idx | ) | const |
| const unsigned int * gdcm::Bitmap::GetDimensions | ( | ) | const |
Return the dimension of the pixel data, first dimension (x), then 2nd (y), then 3rd (z)...
|
inline |
|
inline |
|
inline |
INTERNAL do not use.
| unsigned int gdcm::Bitmap::GetNumberOfDimensions | ( | ) | const |
Return the number of dimension of the pixel data bytes; for example 2 for a 2D matrices of values.
| const PhotometricInterpretation & gdcm::Bitmap::GetPhotometricInterpretation | ( | ) | const |
return the photometric interpretation
|
inline |
|
inline |
| unsigned int gdcm::Bitmap::GetPlanarConfiguration | ( | ) | const |
return the planar configuration
|
inline |
|
inline |
|
inline |
| bool gdcm::Bitmap::IsLossy | ( | ) | const |
Return whether or not the image was compressed using a lossy compressor or not.
| bool gdcm::Bitmap::IsTransferSyntaxCompatible | ( | TransferSyntax const & | ts | ) | const |
|
overridevirtual |
Reimplemented from gdcm::Object.
Reimplemented in gdcm::Pixmap, and gdcm::Image.
|
inline |
|
inline |
| void gdcm::Bitmap::SetDimension | ( | unsigned int | idx, |
| unsigned int | dim | ||
| ) |
| void gdcm::Bitmap::SetDimensions | ( | const unsigned int | dims[3] | ) |
|
inline |
Specifically set that the image was compressed using a lossy compression mechanism.
|
inline |
Set/Get LUT.
|
inline |
| void gdcm::Bitmap::SetNumberOfDimensions | ( | unsigned int | dim | ) |
| void gdcm::Bitmap::SetPhotometricInterpretation | ( | PhotometricInterpretation const & | pi | ) |
|
inline |
| void gdcm::Bitmap::SetPlanarConfiguration | ( | unsigned int | pc | ) |
|
inline |
|
inline |
Transfer syntax.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlinevirtual |
Reimplemented in gdcm::Pixmap.
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |