$extrastylesheet
Olena
User documentation 2.1
An Image Processing Platform
Milena
Getting started
API Reference Manual
All Classes
Examples
Demos
Publications
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
win-create-2.cc
1
#include <mln/core/alias/window2d.hh>
2
#include <mln/convert/to.hh>
3
4
int
main()
5
{
6
using namespace
mln;
7
8
// \{
9
bool
b[9] = { 1, 0, 0,
10
1, 0, 0,
11
1, 0, 0 };
12
13
bool
b2[3][3] = { { 1, 0, 0 },
14
{ 1, 0, 0 },
15
{ 1, 0, 0 } };
16
17
window2d
win
= convert::to<window2d>(b);
18
window2d
win2
= convert::to<window2d>(b2);
19
// \}
20
21
}
doc
examples
win-create-2.cc
Copyright (C) 2012 EPITA Research and Development Laboratory (LRDE)