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

Function SmoothImage

src/colmap/image/warp.cc:242–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242void SmoothImage(const float* data,
243 const int rows,
244 const int cols,
245 const float sigma_r,
246 const float sigma_c,
247 float* smoothed) {
248 THROW_CHECK_NOTNULL(data);
249 THROW_CHECK_NOTNULL(smoothed);
250 THROW_CHECK_GT(rows, 0);
251 THROW_CHECK_GT(cols, 0);
252 THROW_CHECK_GT(sigma_r, 0);
253 THROW_CHECK_GT(sigma_c, 0);
254 vl_imsmooth_f(smoothed, cols, data, cols, rows, cols, sigma_c, sigma_r);
255}
256
257void DownsampleImage(const float* data,
258 const int rows,

Callers 2

DownsampleImageFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68