39 const std::string &filename);
44 bool ReadImage(
const std::string &filename, geometry::Image &
image);
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:228
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:53
std::shared_ptr< geometry::Image > CreateImageFromFile(const std::string &filename)
Definition: ImageIO.cpp:61
bool WriteImageToPNG(const std::string &filename, const geometry::Image &image, int quality)
Definition: FilePNG.cpp:91
constexpr int kOpen3DImageIODefaultQuality
Definition: ImageIO.h:46
bool WriteImageToJPG(const std::string &filename, const geometry::Image &image, int quality)
Definition: FileJPG.cpp:98
bool ReadImageFromJPG(const std::string &filename, geometry::Image &image)
Definition: FileJPG.cpp:40
bool ReadImageFromPNG(const std::string &filename, geometry::Image &image)
Definition: FilePNG.cpp:62
bool ReadImage(const std::string &filename, geometry::Image &image)
Definition: ImageIO.cpp:68
bool WriteImage(const std::string &filename, const geometry::Image &image, int quality)
Definition: ImageIO.cpp:86
Definition: PinholeCameraIntrinsic.cpp:35