Pixel
Description
Represents single element of an Image Pixels in Adaptive Vision Library do not correspond to any specific color model.
struct Pixel { float X( void ) const; float Y( void ) const; float Z( void ) const; float W( void ) const; };
Structure fields and default values (if defined) are described below:
- Real X - First component, displayed as Red
- Real Y - Second component, displayed as Green
- Real Z - Third component, displayed as Blue
- Real W - Fourth component
struct Pixel { Real X; Real Y; Real Z; Real W; Real X() const { return X; }; Real Y() const { return Y; }; Real Z() const { return Z; }; Real W() const { return W; }; bool operator == ( const avl::Pixel& rhs ) const { return X == rhs.X && Y == rhs.Y && Z == rhs.Z && W == rhs.W; } bool operator != ( const avl::Pixel& rhs ) const { return !(operator==(rhs)); } };