Dilate a binary image
=====================

Synopsis
--------

Dilate regions by using a specified kernel, also known as a structuring element.
In this example, the white regions are enlarged.

Doxygen
-------

.. doxygenclass:: itk::BinaryDilateImageFilter

* `BinaryDilateImageFilter detailed doxygen documentation`_

.. doxygenclass:: itk::BinaryBallStructuringElement

* `BinaryBallStructuringElement detailed doxygen documentation`_

.. _BinaryDilateImageFilter detailed doxygen documentation:   http://www.itk.org/Doxygen/html/classitk_1_1BinaryDilateImageFilter.html
.. _BinaryBallStructuringElement detailed doxygen documentation:   http://www.itk.org/Doxygen/html/classitk_1_1BinaryBallStructuringElement.html

Code
----

C++
...

.. literalinclude:: BinaryDilateImageFilter.cxx

Results
-------

.. figure:: Yinyang.png
  :scale: 50%
  :alt: Input yin-yang image.

  Input binary image.

.. figure:: BinaryDilateImageFilterOutputBaseline.png
  :scale: 50%
  :alt: Dilated output.

  Dilated output.

Dilate a binary image
=====================

Synopsis
--------

Dilate regions by using a specified kernel, also known as a structuring element.
In this example, the white regions are enlarged.

Doxygen
-------

.. doxygenclass:: itk::BinaryDilateImageFilter
  :no-link:

* `BinaryDilateImageFilter detailed doxygen documentation`_

.. doxygenclass:: itk::BinaryBallStructuringElement
  :no-link:

* `BinaryBallStructuringElement detailed doxygen documentation`_

.. _BinaryDilateImageFilter detailed doxygen documentation:   http://www.itk.org/Doxygen/html/classitk_1_1BinaryDilateImageFilter.html
.. _BinaryBallStructuringElement detailed doxygen documentation:   http://www.itk.org/Doxygen/html/classitk_1_1BinaryBallStructuringElement.html

Code
----

C++
...

.. literalinclude:: BinaryDilateImageFilter.cxx

Results
-------

.. figure:: Yinyang.png
  :scale: 50%
  :alt: Input yin-yang image.

  Input binary image.

.. figure:: BinaryDilateImageFilterOutputBaseline.png
  :scale: 50%
  :alt: Dilated output.

  Dilated output.

Use :no-link: for the breathe references.
Use :no-link: for the breathe references.

The links it generates do not appear to be valid.
