GDCM
2.2.0
|
ImageChangePhotometricInterpretation class Class to change the Photometric Interpetation of an input DICOM. More...
#include <gdcmImageChangePhotometricInterpretation.h>
Public Member Functions | |
ImageChangePhotometricInterpretation () | |
~ImageChangePhotometricInterpretation () | |
bool | Change () |
Change. | |
const PhotometricInterpretation & | GetPhotometricInterpretation () const |
void | SetPhotometricInterpretation (PhotometricInterpretation const &pi) |
Set/Get requested PhotometricInterpretation. | |
Static Public Member Functions | |
template<typename T > | |
static void | RGB2YBR (T ybr[3], const T rgb[3]) |
colorspace converstion (based on CCIR Recommendation 601-2) | |
template<typename T > | |
static void | YBR2RGB (T rgb[3], const T ybr[3]) |
Protected Member Functions | |
bool | ChangeMonochrome () |
ImageChangePhotometricInterpretation class Class to change the Photometric Interpetation of an input DICOM.
Change.
bool gdcm::ImageChangePhotometricInterpretation::ChangeMonochrome | ( | ) | [protected] |
const PhotometricInterpretation& gdcm::ImageChangePhotometricInterpretation::GetPhotometricInterpretation | ( | ) | const [inline] |
void gdcm::ImageChangePhotometricInterpretation::RGB2YBR | ( | T | ybr[3], |
const T | rgb[3] | ||
) | [static] |
colorspace converstion (based on CCIR Recommendation 601-2)
void gdcm::ImageChangePhotometricInterpretation::SetPhotometricInterpretation | ( | PhotometricInterpretation const & | pi | ) | [inline] |
Set/Get requested PhotometricInterpretation.
void gdcm::ImageChangePhotometricInterpretation::YBR2RGB | ( | T | rgb[3], |
const T | ybr[3] | ||
) | [static] |