Visual Servoing Platform
version 3.2.0 under development (2019-01-22)
Main Page
Related Pages
Modules
Namespaces
Classes
Examples
tutorial-image-reader.cpp
#include <visp3/io/vpImageIo.h>
int
main()
{
try
{
vpImage<vpRGBa>
I;
vpImageIo::read
(I,
"monkey.jpeg"
);
vpImageIo::write
(I,
"monkey.png"
);
}
catch
(
const
vpException
&e) {
std::cout << e.
getMessage
() << std::endl;
}
catch
(...) {
std::cout <<
"Unsupported image format"
<< std::endl;
}
}
Generated by
1.8.11