ImageChangePhotometricInterpretation class.
More...
#include <gdcmImageChangePhotometricInterpretation.h>
|
| template<typename T > |
| static void | RGB2YBR (T ybr[3], const T rgb[3], unsigned short storedbits=8) |
| |
| template<typename T > |
| static void | YBR2RGB (T rgb[3], const T ybr[3], unsigned short storedbits=8) |
| |
ImageChangePhotometricInterpretation class.
Class to change the Photometric Interpretation of an input DICOM
◆ ImageChangePhotometricInterpretation()
| gdcm::ImageChangePhotometricInterpretation::ImageChangePhotometricInterpretation |
( |
| ) |
|
|
inline |
◆ ~ImageChangePhotometricInterpretation()
| gdcm::ImageChangePhotometricInterpretation::~ImageChangePhotometricInterpretation |
( |
| ) |
|
|
default |
◆ Change()
| bool gdcm::ImageChangePhotometricInterpretation::Change |
( |
| ) |
|
◆ ChangeMonochrome()
| bool gdcm::ImageChangePhotometricInterpretation::ChangeMonochrome |
( |
| ) |
|
|
protected |
◆ ChangeRGB2YBR()
| bool gdcm::ImageChangePhotometricInterpretation::ChangeRGB2YBR |
( |
| ) |
|
|
protected |
◆ ChangeYBR2RGB()
| bool gdcm::ImageChangePhotometricInterpretation::ChangeYBR2RGB |
( |
| ) |
|
|
protected |
◆ GetPhotometricInterpretation()
◆ RGB2YBR()
template<typename T >
| void gdcm::ImageChangePhotometricInterpretation::RGB2YBR |
( |
T |
ybr[3], |
|
|
const T |
rgb[3], |
|
|
unsigned short |
storedbits = 8 |
|
) |
| |
|
static |
colorspace conversion (based on CCIR Recommendation 601-2) -> T.871
References gdcm::Round().
◆ SetPhotometricInterpretation()
◆ YBR2RGB()
template<typename T >
| void gdcm::ImageChangePhotometricInterpretation::YBR2RGB |
( |
T |
rgb[3], |
|
|
const T |
ybr[3], |
|
|
unsigned short |
storedbits = 8 |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: