Logo Search packages:      
Sourcecode: gdcm version File versions

gdcm::PhotometricInterpretation Class Reference

#include <gdcmPhotometricInterpretation.h>

List of all members.


Detailed Description

Class to represent an PhotometricInterpretation.

Definition at line 29 of file gdcmPhotometricInterpretation.h.


Public Types

enum  PIType {
  UNKNOW = 0, MONOCHROME1, MONOCHROME2, PALETTE_COLOR,
  RGB, HSV, ARGB, CMYK,
  YBR_FULL, YBR_FULL_422, YBR_PARTIAL_422, YBR_PARTIAL_420,
  YBR_ICT, YBR_RCT, PI_END
}

Public Member Functions

unsigned short GetSamplesPerPixel () const
 return the value for Sample Per Pixel associated with a particular Photometric Interpretation
const char * GetString () const
bool IsLossless () const
bool IsLossy () const
bool IsSameColorSpace (PhotometricInterpretation const &pi) const
 operator PIType () const
 PhotometricInterpretation (PIType pi=UNKNOW)

Static Public Member Functions

static const char * GetPIString (PIType pi)
static PIType GetPIType (const char *pi)
static bool IsRetired (PIType pi)

Private Attributes

PIType PIField

Friends

std::ostream & operator<< (std::ostream &os, const PhotometricInterpretation &pi)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index