$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
doc/examples/paste.cc
1
#include <mln/core/image/image2d.hh>
2
3
// \{
4
template
<
typename
I,
typename
J>
5
void
paste
(
const
I&
data
, J& dest)
6
{
7
mln_piter(I) p(data.domain());
8
for_all(p)
9
dest(p) = data(p);
10
}
11
// \}
12
13
int
main()
14
{
15
}
doc
examples
paste.cc
Copyright (C) 2012 EPITA Research and Development Laboratory (LRDE)