|
GDCM
2.2.3
|
ImageChangePlanarConfiguration class Class to change the Planar configuration of an input DICOM By default it will change into the more usual reprensentation: PlanarConfiguration = 0. More...
#include <gdcmImageChangePlanarConfiguration.h>


Public Member Functions | |
| ImageChangePlanarConfiguration () | |
| ~ImageChangePlanarConfiguration () | |
| bool | Change () |
| Change. | |
| unsigned int | GetPlanarConfiguration () const |
| void | SetPlanarConfiguration (unsigned int pc) |
| Set/Get requested PlanarConfigation. | |
Static Public Member Functions | |
| template<typename T > | |
| static size_t | RGBPixelsToRGBPlanes (T *r, T *g, T *b, const T *rgb, size_t s) |
| template<typename T > | |
| static size_t | RGBPlanesToRGBPixels (T *out, const T *r, const T *g, const T *b, size_t s) |
ImageChangePlanarConfiguration class Class to change the Planar configuration of an input DICOM By default it will change into the more usual reprensentation: PlanarConfiguration = 0.
Change.
| unsigned int gdcm::ImageChangePlanarConfiguration::GetPlanarConfiguration | ( | ) | const [inline] |
| size_t gdcm::ImageChangePlanarConfiguration::RGBPixelsToRGBPlanes | ( | T * | r, |
| T * | g, | ||
| T * | b, | ||
| const T * | rgb, | ||
| size_t | s | ||
| ) | [static] |
Convert a regular RGB pixel image (R,G,B,R,G,B...) into a planar R,G,B image (R,R..,G,G...B,B)
| size_t gdcm::ImageChangePlanarConfiguration::RGBPlanesToRGBPixels | ( | T * | out, |
| const T * | r, | ||
| const T * | g, | ||
| const T * | b, | ||
| size_t | s | ||
| ) | [static] |
s is the size of one plane (r,g or b). Thus the output buffer needs to be at least 3*s bytes long s can be seen as the number of RGB pixels in the output
| void gdcm::ImageChangePlanarConfiguration::SetPlanarConfiguration | ( | unsigned int | pc | ) | [inline] |
Set/Get requested PlanarConfigation.
1.7.6.1