 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
97 float depth_scale = 1000.0);
108 bool deterministic_debug_mode_ =
false;
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
std::string filename
Definition: PointCloudIO.cpp:47
geometry::Image Simulate(const geometry::Image &im_src, float depth_scale=1000.0)
Apply noise model to a depth image.
Definition: ImageIO.cpp:158
void EnableDeterministicDebugMode()
Enable deterministic debug mode. All normally distributed noise will be replaced by 0.
Definition: ImageIO.h:104
bool WriteImageToPNGInMemory(std::vector< uint8_t > &buffer, const t::geometry::Image &image, int quality)
Definition: FilePNG.cpp:110
bool ReadImageFromJPG(const std::string &filename, geometry::Image &image)
Definition: FileJPG.cpp:41
The Image class stores image with customizable rows, cols, channels, dtype and device.
Definition: Image.h:29
bool WriteImage(const std::string &filename, const geometry::Image &image, int quality)
Definition: ImageIO.cpp:79
core::Tensor GetNoiseModel() const
Return the noise model.
Definition: ImageIO.h:100
bool ReadImage(const std::string &filename, geometry::Image &image)
Definition: ImageIO.cpp:55
bool WriteImageToPNG(const std::string &filename, const geometry::Image &image, int quality)
Definition: FilePNG.cpp:75
DepthNoiseSimulator(const std::string &noise_model_path)
Constructor.
Definition: ImageIO.cpp:99
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
bool ReadImageFromPNG(const std::string &filename, geometry::Image &image)
Definition: FilePNG.cpp:39
std::shared_ptr< geometry::Image > CreateImageFromFile(const std::string &filename)
Definition: ImageIO.cpp:48
bool WriteImageToJPG(const std::string &filename, const geometry::Image &image, int quality)
Definition: FileJPG.cpp:113
constexpr int kCloudViewerImageIODefaultQuality
Definition: ImageIO.h:33