aimsdata 6.0.0
Neuroimaging data handling
converter_hsv.h File Reference
#include <cartobase/type/string_conversion.h>
#include <cartobase/type/converter.h>
#include <aims/rgb/rgb.h>
#include <aims/utility/converter_rgb.h>
#include <aims/hsv/hsv.h>
Include dependency graph for converter_hsv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  carto::RawConverter< INP, AimsHSV >
 
class  carto::RawConverter< AimsHSV, OUTP >
 
class  carto::RawConverter< AimsHSV, AimsRGB >
 
class  carto::RawConverter< AimsHSV, AimsRGBA >
 
class  carto::RawConverter< AimsRGB, AimsHSV >
 
class  carto::RawConverter< AimsRGBA, AimsHSV >
 

Namespaces

namespace  carto
 

Macros

#define MIN3(x, y, z)
 
#define MAX3(x, y, z)
 

Functions

template<class T>
void carto::rgbtohsv (const T &in, AimsHSV &out)
 
template<class T>
void carto::hsvtorgb (const AimsHSV &in, T &out)
 

Macro Definition Documentation

◆ MAX3

#define MAX3 ( x,
y,
z )
Value:
((y) >= (z) ? \
((x) >= (y) ? (x) : (y)) \
: \
((x) >= (z) ? (x) : (z)))

Definition at line 48 of file converter_hsv.h.

Referenced by carto::rgbtohsv().

◆ MIN3

#define MIN3 ( x,
y,
z )
Value:
((y) <= (z) ? \
((x) <= (y) ? (x) : (y)) \
: \
((x) <= (z) ? (x) : (z)))

Definition at line 43 of file converter_hsv.h.

Referenced by carto::rgbtohsv().