Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Olena
pylene
Commits
6723b539
Commit
6723b539
authored
Feb 05, 2018
by
Edwin Carlinet
Browse files
Add documentation for rectangle.
parent
68588355
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/source/core.rst
View file @
6723b539
...
...
@@ -8,3 +8,4 @@ Structural Elements
:maxdepth: 1
core/se/disc
core/se/rectangle
doc/source/core/se/rectangle.rst
0 → 100644
View file @
6723b539
Rectangle
=========
.. doxygenstruct:: mln::se::rect2d
:members:
.. 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%
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment