Remove single author from header, fix typo

Functions in this file are from multiple authors, the original
author is attributed in the contributors section and the Git history.
This commit is contained in:
Johannes Schönberger
2015-11-17 10:22:44 -05:00
parent 1278b02161
commit 6e644c4aa6
2 changed files with 7 additions and 8 deletions
+3
View File
@@ -215,3 +215,6 @@
- Jim Fienup, Alexander Iacchetta
In-depth review of sub-pixel shift registration
- Damian Eads
Structuring elements in morphology module.
+4 -8
View File
@@ -1,12 +1,8 @@
"""
:author: Damian Eads, 2009
:license: modified BSD
"""
import numpy as np
from scipy import ndimage as ndi
from .. import draw
def square(width, dtype=np.uint8):
"""Generates a flat, square-shaped structuring element.
@@ -37,7 +33,7 @@ def rectangle(width, height, dtype=np.uint8):
"""Generates a flat, rectangular-shaped structuring element.
Every pixel in the rectangle generated for a given width and given height
belongs to the neighboorhood.
belongs to the neighborhood.
Parameters
----------
@@ -65,7 +61,7 @@ def diamond(radius, dtype=np.uint8):
"""Generates a flat, diamond-shaped structuring element.
A pixel is part of the neighborhood (i.e. labeled 1) if
the city block/manhattan distance between it and the center of
the city block/Manhattan distance between it and the center of
the neighborhood is no greater than radius.
Parameters
@@ -193,7 +189,7 @@ def octahedron(radius, dtype=np.uint8):
This is the 3D equivalent of a diamond.
A pixel is part of the neighborhood (i.e. labeled 1) if
the city block/manhattan distance between it and the center of
the city block/Manhattan distance between it and the center of
the neighborhood is no greater than radius.
Parameters