24 const std::string &filename);
32bool ReadImage(
const std::string &filename, geometry::Image &
image);
115 float depth_scale = 1000.0);
126 bool deterministic_debug_mode_ =
false;
std::shared_ptr< core::Tensor > image
Definition FilamentRenderer.cpp:328
double t
Definition SurfaceReconstructionPoisson.cpp:172
The Image class stores image with customizable rows, cols, channels, dtype and device.
Definition Image.h:29
geometry::Image Simulate(const geometry::Image &im_src, float depth_scale=1000.0)
Apply noise model to a depth image.
Definition ImageIO.cpp:189
core::Tensor GetNoiseModel() const
Return the noise model.
Definition ImageIO.h:118
void EnableDeterministicDebugMode()
Enable deterministic debug mode. All normally distributed noise will be replaced by 0.
Definition ImageIO.h:122
bool WriteImageToPNG(const std::string &filename, const geometry::Image &image, int quality)
Definition FilePNG.cpp:115
bool ReadImageFromJPG(const std::string &filename, geometry::Image &image)
Definition FileJPG.cpp:86
bool ReadImageFromPNG(const std::string &filename, geometry::Image &image)
Definition FilePNG.cpp:82
bool WriteImageToPNGInMemory(std::vector< uint8_t > &buffer, const t::geometry::Image &image, int quality)
Definition FilePNG.cpp:151
bool WriteImageToJPG(const std::string &filename, const geometry::Image &image, int quality)
Definition FileJPG.cpp:139
bool ReadImageFromPNGInMemory(const uint8_t *data, size_t size, geometry::Image &image)
Definition FilePNG.cpp:94
bool ReadImageFromMemory(const uint8_t *data, size_t size, geometry::Image &image)
Definition ImageIO.cpp:87
bool WriteImage(const std::string &filename, const geometry::Image &image, int quality)
Definition ImageIO.cpp:110
constexpr int kOpen3DImageIODefaultQuality
Definition ImageIO.h:34
std::shared_ptr< geometry::Image > CreateImageFromFile(const std::string &filename)
Definition ImageIO.cpp:56
bool ReadImageFromJPGInMemory(const uint8_t *data, size_t size, geometry::Image &image)
Decode a JPEG image from a memory buffer (no file I/O).
Definition FileJPG.cpp:113
bool ReadImage(const std::string &filename, geometry::Image &image)
Definition ImageIO.cpp:63
Definition PinholeCameraIntrinsic.cpp:16