Morphology (single input)

../../../../_images/image_filtering.svg

Uses morphology based algorithms with a built-in structuring element

Documentation

Algorithms

convex hull, image

Computes the convex hull of a binary image. The convex hull is the set of pixels included in the smallest convex polygon that surround all white pixels in the input image.

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.convex_hull_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 convex polygon 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

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.convex_hull_object

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

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.label

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)

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.remove_small_holes

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)

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.remove_small_objects

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.

More info: http://scikit-image.org/docs/0.13.x/api/skimage.morphology.html#skimage.morphology.skeletonize

Definition

Input ports

source image

source image to filter

Output ports

result image

result after filtering

Configuration

Algorithm (algorithm)

(no description)

diagonal neighborhood (diagonal neighborhood)

(no description)

n (n)

(no description)

Implementation

class node_morphology2.MorphologySingleInput[source]