37#ifndef AIMS_RGB_RGBNORM_H
38#define AIMS_RGB_RGBNORM_H
58{
return( sqrt( (
int)aa.
red() * (
int)aa.
red()
60 + (
int)aa.
blue() * (
int)aa.
blue() ) );
90{
return( sqrt( (
int)aa.
red() * (
int)aa.
red()
const uint8_t & alpha() const
const uint8_t & blue() const
const uint8_t & red() const
const uint8_t & green() const
const uint8_t & red() const
const uint8_t & green() const
const uint8_t & blue() const
carto::VoxelRGBA AimsRGBA
int operator>=(const AimsRGB &aa, const AimsRGB &bb)
int operator>(const AimsRGB &aa, const AimsRGB &bb)
int operator<(const AimsRGB &aa, const AimsRGB &bb)
int operator<=(const AimsRGB &aa, const AimsRGB &bb)
double norm(const AimsRGB &aa)