47 #include <visp3/core/vpDebug.h> 48 #include <visp3/core/vpImage.h> 49 #include <visp3/core/vpImageConvert.h> 50 #include <visp3/core/vpRGBa.h> 122 static vpImageFormatType getFormat(
const std::string &filename);
123 static std::string getExtension(
const std::string &filename);
136 static void read(
vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
138 static void write(
const vpImage<unsigned char> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
139 static void write(
const vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
141 static void readPFM(
vpImage<float> &I,
const std::string &filename);
149 static void readJPEG(
vpImage<unsigned char> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
150 static void readJPEG(
vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
152 static void readPNG(
vpImage<unsigned char> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
153 static void readPNG(
vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
155 static void writePFM(
const vpImage<float> &I,
const std::string &filename);
158 static void writePGM(
const vpImage<short> &I,
const std::string &filename);
159 static void writePGM(
const vpImage<vpRGBa> &I,
const std::string &filename);
162 static void writePPM(
const vpImage<vpRGBa> &I,
const std::string &filename);
164 static void writeJPEG(
const vpImage<unsigned char> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND,
int quality=90);
165 static void writeJPEG(
const vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND,
int quality=90);
167 static void writePNG(
const vpImage<unsigned char> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
168 static void writePNG(
const vpImage<vpRGBa> &I,
const std::string &filename,
int backend=IO_DEFAULT_BACKEND);
Use embedded simd library.
Use system libraries like libpng or libjpeg.
vpImageIoBackendType
Image IO backend for only jpeg and png formats image loading and saving.
Read/write images with various image format.