Commit 6723b539 authored by Edwin Carlinet's avatar Edwin Carlinet
Browse files

Add documentation for rectangle.

parent 68588355
......@@ -8,3 +8,4 @@ Structural Elements
:maxdepth: 1
.. doxygenstruct:: mln::se::rect2d
.. rubric:: Performance
The rectangle is decomposable in two lines, so that the speed of a dilation (or
erosion) by a rectangle does not depend on the size of the rectangle.
Example 1. Dilation by rectangle
.. code-block:: pylenecpp
#include <mln/core/se/rect2d.hpp>
mln::se::rect2d (21, 21);
auto output = mln::morpho::structural::dilate(input, rect);
.. image:: /images/lena_gray.jpg
:width: 49%
.. image:: /images/morpho_dilation_1.png
:width: 49%
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment