diff --git a/samples/tutorials/data/get_points.cc b/samples/tutorials/data/get_points.cc index 0ac59d7..5523767 100644 --- a/samples/tutorials/data/get_points.cc +++ b/samples/tutorials/data/get_points.cc @@ -27,6 +27,8 @@ 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 349a767..805d806 100644 --- a/samples/tutorials/intermediate/get_depth_and_points.cc +++ b/samples/tutorials/intermediate/get_depth_and_points.cc @@ -156,7 +156,7 @@ int main(int argc, char *argv[]) { api->ConfigStreamRequest(request); api->SetOptionValue(Option::IR_CONTROL, 80); - + api->SetDisparityComputingMethodType(DisparityComputingMethod::BM); api->EnableStreamData(Stream::DISPARITY_NORMALIZED); api->EnableStreamData(Stream::POINTS); api->EnableStreamData(Stream::DEPTH);