Since examples are based on 2D images pixels are actually "points" however we
will call them "sites" which is the most generic name.
Here is also a list of common variable name conventions:
Object Variable name Site p Value v Neighboor n A site close to another site p q
Olena is organized in a namespace hierarchy. Everything is declared by Olena within the ’mln::’ namespace, and possibly a sub-namespace such as ’mln::arith::’ (arithmetic operations on images), ’mln::morpho::’ (morphological operations), etc. Usually, the namespace hierarchy is mapped to the mln directory tree. For the sake of simplicity, we will neglect the ’mln::’ prefix in all the code examples.
Methods provided by objects in the library are in constant time. If you need a specific method but you cannot find it, you may find an algorithm which can compute the information you need.
Before writing your first program, please be aware of these hints:
$ g++ -DNDEBUG -Ipath/to/mln my_program.cc