$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ima-load.cc
1 #include <mln/core/image/image2d.hh>
2 #include <mln/io/pbm/load.hh>
3 
4 #include "doc/tools/data.hh"
5 
6 int main()
7 {
8  using namespace mln;
9  /* FIXME: MLN_DOC_DIR looks probably confusing in the
10  documentation... But we have to handle parallel builds. Maybe a
11  solution could be to prepare the the build dir for data? */
12  // \{
13  image2d<bool> ima;
14  io::pbm::load(ima, MLN_DOC_DIR "/img/small.pbm");
15  // \}
16 }