rectangle
-
skimage.morphology.rectangle(width, height, dtype=)
[source] -
Generates a flat, rectangular-shaped structuring element.
Every pixel in the rectangle generated for a given width and given height belongs to the neighborhood.
Parameters: width : int
The width of the rectangle.
height : int
The height of the rectangle.
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.
Please login to continue.