aimsdata  4.7.0
Neuroimaging data handling
mathelemrgb.h File Reference
#include <cstdlib>
#include <aims/math/mathelem.h>
#include <aims/rgb/rgb.h>
#include <cartobase/type/datatypeinfo.h>
Include dependency graph for mathelemrgb.h:

Go to the source code of this file.

Namespaces

 aims
 The class for EcatSino data write operation.
 

Functions

Useful math functions for RGB, RGBA types
AimsRGB aims::absdiff (const AimsRGB &x, const AimsRGB &y)
 Get the absolute difference between 2 AimsRGB ie AimsRGB(abs(Rx - Ry), abs(Gx - Gy), abs(Bx - By)) More...
 
AimsRGBA aims::absdiff (const AimsRGBA &x, const AimsRGBA &y)
 Get the absolute difference between 2 AimsRGBA ie AimsRGBA(abs(Rx - Ry), abs(Gx - Gy), abs(Bx - By), abs(Ax - Ay)) More...