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

Method depth

src/opencv/mod.rs:218–218  ·  view source on GitHub ↗

Returns the color depth of the image.

(&self)

Source from the content-addressed store, hash-verified

216
217 /// Returns the color depth of the image.
218 fn depth(&self) -> usize { unsafe { (*self.buffer()).depth as usize } }
219
220 /// Internal method which returns the length of one row in bytes.
221 ///

Callers 1

from_fileMethod · 0.80

Implementers 1

mod.rssrc/opencv/mod.rs

Calls 1

bufferMethod · 0.80

Tested by

no test coverage detected