Open3D (C++ API)  0.17.0
Namespaces | Functions | Variables
ImageIO.h File Reference

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

#include <string>
#include "open3d/geometry/Image.h"

Go to the source code of this file.

Namespaces

 open3d
 
 open3d::io
 

Functions

std::shared_ptr< geometry::Image > open3d::io::CreateImageFromFile (const std::string &filename)
 
std::shared_ptr< geometry::Image > open3d::io::CreateImageFromMemory (const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size)
 Factory function to create an image from memory. More...
 
bool open3d::io::ReadImage (const std::string &filename, geometry::Image &image)
 
bool open3d::io::ReadImageFromMemory (const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
 
bool open3d::io::WriteImage (const std::string &filename, const geometry::Image &image, int quality)
 
bool open3d::io::ReadImageFromPNG (const std::string &filename, geometry::Image &image)
 
bool open3d::io::WriteImageToPNG (const std::string &filename, const geometry::Image &image, int quality)
 
bool open3d::io::ReadImageFromJPG (const std::string &filename, geometry::Image &image)
 
bool open3d::io::WriteImageToJPG (const std::string &filename, const geometry::Image &image, int quality)
 
bool open3d::io::ReadPNGFromMemory (const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
 The general entrance for reading an Image from memory. More...
 
bool open3d::io::ReadJPGFromMemory (const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
 

Variables

constexpr int open3d::io::kOpen3DImageIODefaultQuality = -1