MCPcopy Create free account
hub / github.com/daniel-e/rustml / pixel

Method pixel

src/opencv/mod.rs:494–497  ·  view source on GitHub ↗
(&self, x: usize, y: usize)

Source from the content-addressed store, hash-verified

492 }
493
494 pub fn pixel(&self, x: usize, y: usize) -> Option<Rgb> {
495
496 self.pixel_as_rgb(x, y)
497 }
498
499 // TODO move this into trait
500 pub fn draw_box(&mut self, x: usize, y: usize, w: usize, h: usize, color: &Rgb) {

Callers 4

set_pixel_maskMethod · 0.80
rectangleMethod · 0.80
nextMethod · 0.80
test_colorimageFunction · 0.80

Calls 1

pixel_as_rgbMethod · 0.80

Tested by 1

test_colorimageFunction · 0.64