From edb18a90b8bbfdf460b60cf775e79693e6283a23 Mon Sep 17 00:00:00 2001 From: TinyOh Date: Fri, 15 Mar 2019 16:27:29 +0800 Subject: [PATCH] fix: points quality --- samples/tutorials/data/get_points.cc | 1 - samples/tutorials/intermediate/get_depth_and_points.cc | 1 - 2 files changed, 2 deletions(-) diff --git a/samples/tutorials/data/get_points.cc b/samples/tutorials/data/get_points.cc index b51c966..0ac59d7 100644 --- a/samples/tutorials/data/get_points.cc +++ b/samples/tutorials/data/get_points.cc @@ -27,7 +27,6 @@ int main(int argc, char *argv[]) { auto &&request = api->SelectStreamRequest(&ok); if (!ok) return 1; api->ConfigStreamRequest(request); - api->SetDisparityComputingMethodType(DisparityComputingMethod::BM); api->EnableStreamData(Stream::POINTS); diff --git a/samples/tutorials/intermediate/get_depth_and_points.cc b/samples/tutorials/intermediate/get_depth_and_points.cc index 63692d1..349a767 100644 --- a/samples/tutorials/intermediate/get_depth_and_points.cc +++ b/samples/tutorials/intermediate/get_depth_and_points.cc @@ -154,7 +154,6 @@ int main(int argc, char *argv[]) { auto &&request = api->SelectStreamRequest(&ok); if (!ok) return 1; api->ConfigStreamRequest(request); - api->SetDisparityComputingMethodType(DisparityComputingMethod::BM); api->SetOptionValue(Option::IR_CONTROL, 80);