pub struct Color { /* private fields */ }
Expand description
This class represents color in BGR order.
Implementations§
source§impl Color
impl Color
sourcepub fn default() -> Result<Color>
pub fn default() -> Result<Color>
/////////////////////////////////////////////////////////////////////////////////////////////////// cv::viz::Color
sourcepub fn new(gray: f64) -> Result<Color>
pub fn new(gray: f64) -> Result<Color>
The three channels will have the same value equal to gray.