Open3D (C++ API)
0.18.0+252c867
|
#include <ImageIO.h>
Public Member Functions | |
DepthNoiseSimulator (const std::string &noise_model_path) | |
Constructor. More... | |
geometry::Image | Simulate (const geometry::Image &im_src, float depth_scale=1000.0) |
Apply noise model to a depth image. More... | |
core::Tensor | GetNoiseModel () const |
Return the noise model. More... | |
void | EnableDeterministicDebugMode () |
Enable deterministic debug mode. All normally distributed noise will be replaced by 0. More... | |
Simulate depth image noise from a given noise distortion model. The distortion model is based on Teichman et. al. "Unsupervised intrinsic calibration of depth sensors via SLAM" RSS 2009. Also see Redwood dataset
|
explicit |
Constructor.
noise_model | Path to the noise model file. See http://redwood-data.org/indoor/dataset.html for the format. Or, you may use one of our example datasets, e.g., RedwoodIndoorLivingRoom1. |
|
inline |
Enable deterministic debug mode. All normally distributed noise will be replaced by 0.
|
inline |
Return the noise model.
geometry::Image open3d::t::io::DepthNoiseSimulator::Simulate | ( | const geometry::Image & | im_src, |
float | depth_scale = 1000.0 |
||
) |
Apply noise model to a depth image.
im_src | Source depth image, must be with dtype UInt16 or Float32, channels==1. |
depth_scale | Scale factor to the depth image. As a sanity check, if the dtype is Float32, the depth_scale must be 1.0. If the dtype is is UInt16, the depth_scale is typically larger than 1.0, e.g. it can be 1000.0. |
im_src
.