14 #ifndef GDCMIMAGECHANGEPLANARCONFIGURATION_H
15 #define GDCMIMAGECHANGEPLANARCONFIGURATION_H
41 static size_t RGBPlanesToRGBPixels(T *out,
const T *r,
const T *g,
const T *b,
size_t s);
47 static size_t RGBPixelsToRGBPlanes(T *r, T *g, T *b,
const T* rgb,
size_t s);
55 unsigned int PlanarConfiguration;
62 for(
size_t i = 0; i < s; ++i )
69 assert( (
size_t)(pout - out) == 3 * s *
sizeof(T) );
77 for(
size_t i = 0; i < s; ++i )
83 assert( (
size_t)(prgb - rgb) == 3 * s *
sizeof(T) );
90 #endif //GDCMIMAGECHANGEPLANARCONFIGURATION_H
static size_t RGBPlanesToRGBPixels(T *out, const T *r, const T *g, const T *b, size_t s)
Definition: gdcmImageChangePlanarConfiguration.h:59
ImageChangePlanarConfiguration class Class to change the Planar configuration of an input DICOM By de...
Definition: gdcmImageChangePlanarConfiguration.h:28
ImageToImageFilter class Super class for all filter taking an image and producing an output image...
Definition: gdcmImageToImageFilter.h:27
#define GDCM_EXPORT
Definition: gdcmWin32.h:34
static size_t RGBPixelsToRGBPlanes(T *r, T *g, T *b, const T *rgb, size_t s)
Definition: gdcmImageChangePlanarConfiguration.h:74
unsigned int GetPlanarConfiguration() const
Definition: gdcmImageChangePlanarConfiguration.h:36
ImageChangePlanarConfiguration()
Definition: gdcmImageChangePlanarConfiguration.h:31
~ImageChangePlanarConfiguration()
Definition: gdcmImageChangePlanarConfiguration.h:32
Definition: gdcmASN1.h:20
void SetPlanarConfiguration(unsigned int pc)
Set/Get requested PlanarConfigation.
Definition: gdcmImageChangePlanarConfiguration.h:35