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

Method IsRGB

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

Source from the content-addressed store, hash-verified

281bool Bitmap::IsEmpty() const { return NumBytes() == 0; }
282
283bool Bitmap::IsRGB() const { return channels_ == 3; }
284
285bool Bitmap::IsGrey() const { return channels_ == 1; }
286

Callers 12

TEST_PFunction · 0.80
WarpImageBetweenCamerasFunction · 0.80
WarpImageWithHomographyFunction · 0.80
CheckBitmapsEqualFunction · 0.80
CheckBitmapsTransposedFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
TESTFunction · 0.80
BitmapToInputTensorFunction · 0.80
ExtractMethod · 0.80

Calls

no outgoing calls

Tested by 6

TEST_PFunction · 0.64
CheckBitmapsEqualFunction · 0.64
CheckBitmapsTransposedFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64
TESTFunction · 0.64