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