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

Method cols

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

Image width (number of columns). 图像宽度(列数)。

(&self)

Source from the content-addressed store, hash-verified

100 /// Image width (number of columns).
101 /// 图像宽度(列数)。
102 pub fn cols(&self) -> u32 {
103 self.cols
104 }
105
106 /// Number of channels (always 3 for BGR).
107 /// 通道数(BGR 固定为 3)。

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected