:ocv:func:`erode`,
:ocv:func:`morphologyEx`,
:ocv:func:`createMorphologyFilter`
+ :ocv:func:`getStructuringElement`
+
-.. Sample code::
+.. note::
- * : An example using the morphological dilate operation can be found at opencv_source_code/samples/cpp/morphology2.cpp
+ * An example using the morphological dilate operation can be found at opencv_source_code/samples/cpp/morphology2.cpp
+
+
+
erode
-----
Erodes an image by using a specific structuring element.
:ocv:func:`dilate`,
:ocv:func:`morphologyEx`,
- :ocv:func:`createMorphologyFilter`
+ :ocv:func:`createMorphologyFilter`,
+ :ocv:func:`getStructuringElement`
-.. Sample code::
+.. note::
- * : An example using the morphological erode operation can be found at opencv_source_code/samples/cpp/morphology2.cpp
+ * An example using the morphological erode operation can be found at opencv_source_code/samples/cpp/morphology2.cpp
filter2D
--------
:ocv:func:`dilate`,
:ocv:func:`erode`,
- :ocv:func:`createMorphologyFilter`
+ :ocv:func:`createMorphologyFilter`,
+ :ocv:func:`getStructuringElement`
-.. Sample code::
+.. note::
- * : An example using the morphologyEx function for the morphological opening and closing operations can be found at opencv_source_code/samples/cpp/morphology2.cpp
+ * An example using the morphologyEx function for the morphological opening and closing operations can be found at opencv_source_code/samples/cpp/morphology2.cpp
Laplacian
---------
.. [Meyer92] Meyer, F. *Color Image Segmentation*, ICIP92, 1992
- .. [Telea04] Alexandru Telea, *An Image Inpainting Technique Based on the Fast Marching Method*. Journal of Graphics, GPU, and Game Tools 9 1, pp 23-34 (2004)
-.. Sample code::
+.. note::
- * : An example using the GrabCut algorithm can be found at opencv_source_code/samples/cpp/grabcut.cpp
+ * An example using the GrabCut algorithm can be found at opencv_source_code/samples/cpp/grabcut.cpp
- * : PYTHON : An example using the GrabCut algorithm can be found at opencv_source_code/samples/python2/grabcut.py
+ * (Python) An example using the GrabCut algorithm can be found at opencv_source_code/samples/python2/grabcut.py
http://en.wikipedia.org/wiki/Inpainting
for more details.
-.. Sample code::
+.. note::
- * : An example using the inpainting technique can be found at opencv_source_code/samples/cpp/inpaint.cpp
+ * An example using the inpainting technique can be found at opencv_source_code/samples/cpp/inpaint.cpp
- * : PYTHON : An example using the inpainting technique can be found at opencv_source_code/samples/python2/inpaint.py
+ * (Python) An example using the inpainting technique can be found at opencv_source_code/samples/python2/inpaint.py
+
+
+ .. [Telea04] Telea, Alexandru. "An image inpainting technique based on the fast marching method." Journal of graphics tools 9, no. 1 (2004): 23-34.
+
+ .. [Navier01] Bertalmio, Marcelo, Andrea L. Bertozzi, and Guillermo Sapiro. "Navier-stokes, fluid dynamics, and image and video inpainting." In Computer Vision and Pattern Recognition, 2001. CVPR 2001. Proceedings of the 2001 IEEE Computer Society Conference on, vol. 1, pp. I-355. IEEE, 2001.
-