Go to the documentation of this file.
21 #ifndef SH_BMPRGBSAMPLEVALUE_H
22 #define SH_BMPRGBSAMPLEVALUE_H
39 std::string
getName (
void)
const ;
53 {
return ((
EmbValue) ((((rgb.Red & 1) ^ (rgb.Green & 1)) << 1) | ((rgb.Red & 1) ^ (rgb.Blue & 1)))) ; } ;
80 #endif // ndef SH_BMPRGBSAMPLEVALUE_H
std::string getName(void) const
Definition: BmpRGBSampleValue.cc:122
BYTE getGreen(void) const
Definition: BmpRGBSampleValue.h:42
BYTE minus(BYTE a, BYTE b) const
Definition: BmpRGBSampleValue.cc:129
@ DOWN
Definition: BmpRGBSampleValue.h:56
@ GREEN
Definition: BmpRGBSampleValue.h:55
unsigned long UWORD32
Definition: common.h:45
BYTE Green
Definition: RGBTriple.h:51
EmbValue calcEValue(const RGBTriple &rgb) const
Definition: BmpRGBSampleValue.h:51
an (abstract) sample value in a bmp file
Definition: BmpSampleValue.h:31
@ UP
Definition: BmpRGBSampleValue.h:56
BYTE getBlue(void) const
Definition: BmpRGBSampleValue.h:43
SampleValue * getNearestTargetSampleValue(EmbValue t) const
Definition: BmpRGBSampleValue.cc:50
unsigned char BYTE
Definition: common.h:47
BYTE Blue
Definition: RGBTriple.h:52
the value of a sample in a CvrStgFile
Definition: SampleValue.h:61
Definition: RGBTriple.h:26
BYTE EmbValue
Definition: common.h:66
BYTE plus(BYTE a, BYTE b) const
Definition: BmpRGBSampleValue.cc:138
BYTE Red
Definition: RGBTriple.h:50
@ BLUE
Definition: BmpRGBSampleValue.h:55
a sample in a bmp rgb (i.e. 24-bit) file
Definition: BmpRGBSampleValue.h:32
COLOR
Definition: BmpRGBSampleValue.h:55
BmpRGBSampleValue(BYTE r, BYTE g, BYTE b)
Definition: BmpRGBSampleValue.cc:23
RGBTriple Color
Definition: BmpRGBSampleValue.h:43
DIRECTION
Definition: BmpRGBSampleValue.h:56
@ RED
Definition: BmpRGBSampleValue.h:55
void addNTSVCandidates(std::vector< RGBTriple > &cands, const BYTE cube[3][2], COLOR fc, DIRECTION fd, COLOR i1, COLOR i2, EmbValue t) const
Definition: BmpRGBSampleValue.cc:96
UWORD32 calcKey(const RGBTriple &rgb) const
Definition: BmpRGBSampleValue.h:48
UWORD32 calcDistance(const SampleValue *s) const
Definition: BmpRGBSampleValue.cc:37
BYTE getRed(void) const
Definition: BmpRGBSampleValue.h:41