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

Function test_bitmap_clone

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

Source from the content-addressed store, hash-verified

100
101
102def test_bitmap_clone():
103 bitmap = pycolmap.Bitmap(width=32, height=24, as_rgb=True)
104 cloned = bitmap.clone()
105 assert cloned.width == bitmap.width
106 assert cloned.height == bitmap.height
107 assert cloned.is_rgb == bitmap.is_rgb
108
109
110def test_bitmap_clone_as_grey():

Callers

nothing calls this directly

Calls 1

BitmapMethod · 0.80

Tested by

no test coverage detected