rgbtriple(3)

NAME

RGBTriple

SYNOPSIS

#include <RGBTriple.h>
Public Member Functions
RGBTriple (void)
RGBTriple (BYTE r, BYTE g, BYTE b)
UWORD32 calcDistance (const RGBTriple &t) const
bool operator== (const RGBTriple &t) const
bool operator!= (const RGBTriple &t) const
Public Attributes
BYTE Red
BYTE Green
BYTE Blue

Constructor & Destructor Documentation

RGBTriple::RGBTriple (void) [inline] RGBTriple::RGBTriple (BYTE r, BYTE g, BYTE b) [inline]

Member Function Documentation

UWORD32 RGBTriple::calcDistance (const RGBTriple & t) const
get the squared distance in the RGB cube between this triple and the
triple t
Parameters:
t another RGB triple
Returns:
the square of the euclidean distance between this and t
bool RGBTriple::operator== (const RGBTriple & t) const
returns true iff this triple and t are equal (i.e. have the same rgb
values)
bool RGBTriple::operator!= (const RGBTriple & t) const
return true iff this triple and t are not equal (i.e. have different
rgb values)

Member Data Documentation

BYTE RGBTriple::Red
BYTE RGBTriple::Green
BYTE RGBTriple::Blue

Author

Generated automatically by Doxygen for steghide from the source code.
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout