MCPcopy Create free account
hub / github.com/RustCV/RustCV / channels

Method channels

rustcv-camera/src/mat.rs:108–110  ·  view source on GitHub ↗

Number of channels (always 3 for BGR). 通道数(BGR 固定为 3)。

(&self)

Source from the content-addressed store, hash-verified

106 /// Number of channels (always 3 for BGR).
107 /// 通道数(BGR 固定为 3)。
108 pub fn channels(&self) -> u32 {
109 self.channels
110 }
111
112 /// Row step in bytes.
113 /// 行步长(字节)。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected