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 );
77 for(
size_t i = 0; i < s; ++i )
83 assert( (
size_t)(prgb - rgb) == 3 * s );
ImageChangePlanarConfiguration class.
Definition gdcmImageChangePlanarConfiguration.h:29
~ImageChangePlanarConfiguration()=default
ImageChangePlanarConfiguration()
Definition gdcmImageChangePlanarConfiguration.h:31
static size_t RGBPlanesToRGBPixels(T *out, const T *r, const T *g, const T *b, size_t s)
Definition gdcmImageChangePlanarConfiguration.h:59
unsigned int GetPlanarConfiguration() const
Definition gdcmImageChangePlanarConfiguration.h:36
static size_t RGBPixelsToRGBPlanes(T *r, T *g, T *b, const T *rgb, size_t s)
Definition gdcmImageChangePlanarConfiguration.h:74
void SetPlanarConfiguration(unsigned int pc)
Set/Get requested PlanarConfigation.
Definition gdcmImageChangePlanarConfiguration.h:35
ImageToImageFilter class.
Definition gdcmImageToImageFilter.h:28
#define GDCM_EXPORT
Definition gdcmWin32.h:34