 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
27 const unsigned char *image_data_ptr,
28 size_t image_data_size);
34 geometry::Image &
image);
43 const unsigned char *image_data_ptr,
44 size_t image_data_size,
45 geometry::Image &
image);
71 size_t image_data_size,
87 size_t image_data_size,
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
std::string filename
Definition: PointCloudIO.cpp:47
bool ReadImageFromMemory(const std::string &image_format, const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition: ImageIO.cpp:123
bool WriteImageToJPG(const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality)
Definition: ImageIO.cpp:377
constexpr int kCloudViewerImageIODefaultQuality
Definition: ImageIO.h:47
bool WriteImageToPNG(const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality)
Definition: ImageIO.cpp:219
bool ReadImageFromPNG(const std::string &filename, geometry::Image &image)
Definition: ImageIO.cpp:158
bool WriteImage(const std::string &filename, const geometry::Image &image, int quality=kCloudViewerImageIODefaultQuality)
Definition: ImageIO.cpp:139
#define CV_IO_LIB_API
Definition: CV_io.h:15
std::shared_ptr< core::Tensor > image
Definition: FilamentRenderer.cpp:184
bool ReadJPGFromMemory(const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition: ImageIO.cpp:317
std::shared_ptr< geometry::Image > CreateImageFromFile(const std::string &filename)
Definition: ImageIO.cpp:83
bool ReadImage(const std::string &filename, geometry::Image &image)
Definition: ImageIO.cpp:99
bool ReadImageFromJPG(const std::string &filename, geometry::Image &image)
Definition: ImageIO.cpp:248
std::shared_ptr< geometry::Image > 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.
Definition: ImageIO.cpp:90
filament::Texture::Format image_format
Definition: FilamentResourceManager.cpp:179
The Image class stores image with customizable width, height, num of channels and bytes per channel.
Definition: Image.h:33
bool ReadPNGFromMemory(const unsigned char *image_data_ptr, size_t image_data_size, geometry::Image &image)
Definition: ImageIO.cpp:187