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

Function test_bitmap_init_width_height_grey

src/pycolmap/sensor/bitmap_test.py:28–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26
27
28def test_bitmap_init_width_height_grey():
29 bitmap = pycolmap.Bitmap(width=64, height=48, as_rgb=False)
30 assert bitmap.width == 64
31 assert bitmap.height == 48
32 assert bitmap.is_grey
33
34
35def test_bitmap_init_with_linear_colorspace():

Callers

nothing calls this directly

Calls 1

BitmapMethod · 0.80

Tested by

no test coverage detected