MCPcopy Create free account
hub / github.com/colmap/colmap / Pitch

Method Pitch

src/colmap/sensor/bitmap.h:279–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277int Bitmap::BitsPerPixel() const { return channels_ * 8; }
278
279int Bitmap::Pitch() const { return width_ * channels_; }
280
281bool Bitmap::IsEmpty() const { return NumBytes() == 0; }
282

Callers 2

ExtractMethod · 0.80
BitmapToInputTensorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected