Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Mar 21, 2020
1 parent dd546b4 commit 62ef678
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/python.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ namespace py = pybind11;

using CameraIntrinsicsTuple = std::tuple<double, double, double>;

void normals_from_depth_wrapper(const std::string &depth_in_path, const std::string &normals_out_path,
void normals_from_depth_wrapper(const std::string &depth_in_path,
const std::string &normals_out_path,
CameraIntrinsicsTuple intrinsics_tuple, int window_size,
float max_rel_depth_diff = 0.1) {
float max_rel_depth_diff) {
CameraIntrinsics intrinsics{};
intrinsics.f = std::get<0>(intrinsics_tuple);
intrinsics.cx = std::get<1>(intrinsics_tuple);
Expand Down

0 comments on commit 62ef678

Please sign in to comment.