深度相机景深距离可调
Posted 殇堼
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了深度相机景深距离可调相关的知识,希望对你有一定的参考价值。
// License: Apache 2.0. See LICENSE file in root directory.
// Copyright© 2017 Intel Corporation. All Rights Reserved.
#include <librealsense2/rs.hpp>
#include “…/example.hpp”
#include <imgui.h>
#include “imgui_impl_glfw.h”
#include
#include
#include
#include
#include
void render_slider(rect location, float& clipping_dist);
void remove_background(rs2::video_frame& other, const rs2::depth_frame& depth_frame, float depth_scale, float clipping_dist);
float get_depth_scale(rs2::device dev);
rs2_stream find_stream_to_align(const std::vectorrs2::stream_profile& streams);
bool profile_changed(const std::vectorrs2::stream_profile& current, const std::vectorrs2::stream_profile& prev);
int main(int argc, char * argv[]) try
// Create and initialize GUI related objects
window app(1280, 720, “CPP - Align Example”); // Simple
以上是关于深度相机景深距离可调的主要内容,如果未能解决你的问题,请参考以下文章