20 const std::string &filename);
26 const unsigned char *image_data_ptr,
27 size_t image_data_size);
32bool ReadImage(
const std::string &filename, geometry::Image &
image);
41 const unsigned char *image_data_ptr,
42 size_t image_data_size,
43 geometry::Image &
image);
78 size_t image_data_size,
86 size_t image_data_size,
std::shared_ptr< core::Tensor > image
Definition FilamentRenderer.cpp:328
filament::Texture::Format image_format
Definition FilamentResourceManager.cpp:200
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition Image.h:34
std::shared_ptr< geometry::Image > CreateImageFromFile(const std::string &filename)
Definition ImageIO.cpp:47
bool WriteImageToPNG(const std::string &filename, const geometry::Image &image, int quality)
Definition FilePNG.cpp:82
constexpr int kOpen3DImageIODefaultQuality
Definition ImageIO.h:45
std::shared_ptr< geometry::Image > CreateImageFromMemory(const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size)
Definition ImageIO.cpp:98
bool WriteImageToJPG(const std::string &filename, const geometry::Image &image, int quality)
Definition FileJPG.cpp:107
bool ReadImageFromJPG(const std::string &filename, geometry::Image &image)
Definition FileJPG.cpp:38
bool ReadImageFromPNG(const std::string &filename, geometry::Image &image)
Definition FilePNG.cpp:53
bool ReadJPGFromMemory(const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition FileJPG.cpp:172
bool ReadImageFromMemory(const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition ImageIO.cpp:107
bool ReadImage(const std::string &filename, geometry::Image &image)
Definition ImageIO.cpp:54
bool ReadPNGFromMemory(const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition FilePNG.cpp:111
bool WriteImage(const std::string &filename, const geometry::Image &image, int quality)
Definition ImageIO.cpp:78
Definition PinholeCameraIntrinsic.cpp:16