Struct rustml::opencv::GrayImage
[−]
[src]
pub struct GrayImage {
// some fields omitted
}pub struct GrayImage {
// some fields omitted
}impl GrayImagefn from_file(fname: &str) -> Option<GrayImage>fn from_matrix(m: &Matrix<u8>) -> GrayImagefn from_slice(v: &[u8], rows: usize, cols: usize) -> Option<GrayImage>fn from_raw(image: *const IplImage) -> GrayImagefn pixel(&self, x: usize, y: usize) -> Option<GrayValue>fn set_pixel(&mut self, x: usize, y: usize, newval: u8)fn set_pixel_mask(&mut self, mask: &GrayImage, newval: u8)fn pixels_from_mask_as_u8(&self, i: &GrayImage) -> Option<Vec<u8>>fn rectangle(&self, x: usize, y: usize, width: usize, height: usize) -> Vec<u8>fn mask_iter<'q>(&'q self, i: &'q GrayImage) -> MaskIterfn pixel_iter(&self) -> GrayValueIteratorimpl Image for GrayImagefn new(w: usize, h: usize) -> GrayImagefn grid(images: &Vec<Self>, cols: usize, space: usize) -> Option<GrayImage>fn buffer(&self) -> *const IplImagefn pixel_as_rgb(&self, x: usize, y: usize) -> Option<Rgb>fn set_pixel_from_rgb(&self, x: usize, y: usize, p: &Rgb)fn width(&self) -> usizefn height(&self) -> usizefn depth(&self) -> usizefn widthstep(&self) -> usizefn channels(&self) -> usizefn to_file(&self, fname: &str) -> boolfn copy_from<T: Image>(&mut self, img: &T, x: usize, y: usize, width: usize, height: usize, dstx: usize, dsty: usize)fn draw_text(&mut self, txt: &str, x: usize, y: usize, font: &Font)
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct, enum,
trait, typedef (or
tdef).
Search functions by type signature (e.g.
vec -> usize)