Visual Servoing Platform
version 3.2.0 under development (2019-01-22)
Main Page
Related Pages
Modules
Namespaces
Classes
Examples
HelloWorld.cpp
1
#include <iostream>
2
3
#include <visp3/core/vpDebug.h>
4
#include <visp3/core/vpImage.h>
5
#include <visp3/io/vpImageIo.h>
6
7
int
main()
8
{
9
std::cout <<
"ViSP Hello World example"
<< std::endl;
10
11
vpImage<unsigned char>
I(288, 384);
12
13
I = 128;
14
15
std::cout <<
"ViSP creates \"./myimage.pgm\" B&W image "
<< std::endl;
16
vpImageIo::write
(I,
"./myimage.pgm"
);
17
18
return
0;
19
}
vpImageIo::write
static void write(const vpImage< unsigned char > &I, const std::string &filename)
Definition:
vpImageIo.cpp:375
vpImage< unsigned char >
local
soft
visp
ViSP-web-script
visp
example
manual
hello-world
Makefile
HelloWorld.cpp
Generated by
1.8.11