cube

cube

skimage.morphology.cube(width, dtype=) [source]

Generates a cube-shaped structuring element.

This is the 3D equivalent of a square. Every pixel along the perimeter has a chessboard distance no greater than radius (radius=floor(width/2)) pixels.

Parameters:

width : int

The width, height and depth of the cube.

Returns:

selem : ndarray

A structuring element consisting only of ones, i.e. every pixel belongs to the neighborhood.

Other Parameters:

dtype : data-type

The data type of the structuring element.

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

Please login to continue.