ViSP
Main Page
Related Pages
Modules
Classes
Examples
All
Classes
Functions
Variables
Enumerations
Enumerator
Friends
Groups
Pages
tutorial-image-reader.cpp
1
2
#include <visp/vpImageIo.h>
3
4
int
main()
5
{
6
try
{
7
vpImage<vpRGBa>
I;
8
vpImageIo::read
(I,
"lena.jpg"
);
9
vpImageIo::write
(I,
"lena.png"
);
10
}
11
catch
(...) {
12
std::cout <<
"Unsupported image format"
<< std::endl;
13
}
14
}
15
tutorial
image
tutorial-image-reader.cpp
Generated on Fri Sep 27 2013 21:09:18 for ViSP by
1.8.4