Use common spelling for greylevel

This commit is contained in:
Johannes Schönberger
2012-11-12 20:07:02 +01:00
parent d0d5df0d68
commit 4a0b22aff5
4 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ def mean(np.ndarray[np.uint16_t, ndim=2] image,
np.ndarray[np.uint8_t, ndim=2] mask=None,
np.ndarray[np.uint16_t, ndim=2] out=None,
char shift_x=0, char shift_y=0, int bitdepth=8, int s0=1, int s1=1):
"""average gray level (clipped on uint8)
"""average greylevel (clipped on uint8)
"""
_core16(kernel_mean, image, selem, mask, out, shift_x, shift_y,
bitdepth, 0., 0., s0, s1)
+4 -4
View File
@@ -14,7 +14,7 @@ maximum value present in the image.
The pixel neighborhood is defined by:
* the given structuring element
* an interval [g-s0,g+s1] in gray level around g the processed pixel gray level
* an interval [g-s0,g+s1] in greylevel around g the processed pixel greylevel
The kernel is flat (i.e. each pixel belonging to the neighborhood contributes
equally).
@@ -78,9 +78,9 @@ def bilateral_mean(image, selem, out=None, mask=None, shift_x=False,
Spatial closeness is measured by considering only the local pixel
neighborhood given by a structuring element (selem).
Radiometric similarity is defined by the gray level interval [g-s0,g+s1]
where g is the current pixel gray level. Only pixels belonging to the
structuring element AND having a gray level inside this interval are
Radiometric similarity is defined by the greylevel interval [g-s0,g+s1]
where g is the current pixel greylevel. Only pixels belonging to the
structuring element AND having a greylevel inside this interval are
averaged. Return greyscale local bilateral_mean of an image.
Parameters
+1 -1
View File
@@ -447,7 +447,7 @@ def modal(image, selem, out=None, mask=None, shift_x=False, shift_y=False):
def morph_contr_enh(image, selem, out=None, mask=None, shift_x=False,
shift_y=False):
"""Enhance an image replacing each pixel by the local maximum if pixel
graylevel is closest to maximimum than local minimum OR local minimum
greylevel is closest to maximimum than local minimum OR local minimum
otherwise.
Parameters