aimsdata  5.0.5
Neuroimaging data handling
converter_hsv.h File Reference
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

 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,
 
)
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,
 
)
Value:
((y) <= (z) ? \
((x) <= (y) ? (x) : (y)) \
: \
((x) <= (z) ? (x) : (z)))

Definition at line 43 of file converter_hsv.h.

Referenced by carto::rgbtohsv().