Gray8

Fields

uint8_t gray

Functions

Gray8
Gray8
bool operator==
bool operator!=

Detailed Description

struct Gray8

A gray color, where the channel is in discrete [0, 255] space.

Public Functions

Gray8() = default
inline explicit Gray8(uint8_t gray)
inline bool operator==(Gray8 const &that) const
inline bool operator!=(Gray8 const &that) const

Public Members

uint8_t gray