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

Method InputPadder

src/colmap/feature/aliked.cc:81–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79// Pads image dimensions to be divisible by a given factor.
80struct InputPadder {
81 InputPadder(int height, int width, int divisor = 32)
82 : original_height(height),
83 original_width(width),
84 padded_height(((height + divisor - 1) / divisor) * divisor),
85 padded_width(((width + divisor - 1) / divisor) * divisor) {}
86
87 const int original_height;
88 const int original_width;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected