void vm::scanner::cuda::computeDists(const Depth& depth, Dists& dists, const Intr& intr) { dists.create(depth.rows(), depth.cols()); device::compute_dists(depth, dists, make_float2(intr.fx, intr.fy), make_float2(intr.cx, intr.cy)); }
void kf::cuda::computeDists(const Depth& depth, Dists& dists, const Intr& intr) { dists.create(depth.rows(), depth.cols()); impl::compute_dists(depth, dists, make_float2(intr.fx, intr.fy), make_float2(intr.cx, intr.cy)); }