.. _`Morphology (single input)`: .. _`syip.morphology_single_input`: Morphology (single input) ~~~~~~~~~~~~~~~~~~~~~~~~~ .. image:: image_filtering.svg :width: 48 Uses morphology based algorithms with a built-in structuring element :Algorithms: - `convex hull, image`_ Computes the convex hull of a binary image. The convex hull is the set of pixels included in the smallest convexpolygon that surround all white pixels in the input image. - `convex hull, objects`_ Computes the convex hull of each object in a binary image. The convex hull is the set of pixels included in the smallest convexpolygon that surround all white pixels in the input image. This function uses labeling to define unique objects, findsthe convex hull of each using convex_hull_image, and combines these regions with logical OR. Be aware the convexhulls of unconnected objects may overlap in the result - `labeling`_ Creates a unique integer label for each connected component in an integer valued or binary image. **diagonal neighborhood:** If true then also consider diagonals for connectivity - `remove small holes`_ Removes small holes from an integer or boolean image. **diagonal neighborhood:** If true then also consider diagonals for connectivity **n:** Maximum size in pixels of areas to remove (default 64) - `remove small objects`_ Removes connected components smaller than the given size. **diagonal neighborhood:** If true then also consider diagonals for connectivity **n:** Maximum size in pixels of areas to remove (default 64) - `skeletonize`_ Returns the skeleton of a binary image. Thinning is used to reduce each connected component in a binary image to a single-pixel wide skeleton. .. _convex hull, image: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.convex_hull_image .. _convex hull, objects: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.convex_hull_object .. _labeling: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.label .. _remove small holes: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.remove_small_holes .. _remove small objects: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.remove_small_objects .. _skeletonize: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.skeletonize :Inputs: **source** : image source image to filter :Outputs: **result** : image result after filtering *Ports*: **Inputs**: :source: image source image to filter **Outputs**: :result: image result after filtering *Configuration*: **algorithm** (no description) **n** (no description) **diagonal neighborhood** (no description) .. automodule:: node_morphology2 .. class:: MorphologySingleInput