disk

disk

skimage.morphology.disk(radius, dtype=) [source]

Generates a flat, disk-shaped structuring element.

A pixel is within the neighborhood if the euclidean distance between it and the origin is no greater than radius.

Parameters:

radius : int

The radius of the disk-shaped structuring element.

Returns:

selem : ndarray

The structuring element where elements of the neighborhood are 1 and 0 otherwise.

Other Parameters:

dtype : data-type

The data type of the structuring element.

doc_scikit_image
2017-01-12 17:20:48
Comments
Leave a Comment

Please login to continue.