@@ -212,11 +212,11 @@ def subtract_mean_percentile(
212212
213213 Parameters
214214 ----------
215- image : 2-D array (uint8, uint16)
215+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
216216 Input image.
217217 footprint : ndarray of shape (m, n)
218218 The neighborhood expressed as a 2-D array of 1's and 0's.
219- out : 2-D array , same dtype as input `image`
219+ out : ndarray of shape (M, N) , same dtype as input `image`
220220 If None, a new array is allocated.
221221 mask : ndarray
222222 Mask array that defines (>0) area of the image included in the local
@@ -230,7 +230,7 @@ def subtract_mean_percentile(
230230
231231 Returns
232232 -------
233- out : 2-D array , same dtype as input `image`
233+ out : ndarray of shape (M, N) , same dtype as input `image`
234234 Output image.
235235
236236 """
@@ -261,11 +261,11 @@ def enhance_contrast_percentile(
261261
262262 Parameters
263263 ----------
264- image : 2-D array (uint8, uint16)
264+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
265265 Input image.
266266 footprint : ndarray of shape (m, n)
267267 The neighborhood expressed as a 2-D array of 1's and 0's.
268- out : 2-D array , same dtype as input `image`
268+ out : ndarray of shape (M, N) , same dtype as input `image`
269269 If None, a new array is allocated.
270270 mask : ndarray
271271 Mask array that defines (>0) area of the image included in the local
@@ -279,7 +279,7 @@ def enhance_contrast_percentile(
279279
280280 Returns
281281 -------
282- out : 2-D array , same dtype as input `image`
282+ out : ndarray of shape (M, N) , same dtype as input `image`
283283 Output image.
284284
285285 """
@@ -307,11 +307,11 @@ def percentile(image, footprint, out=None, mask=None, shift_x=0, shift_y=0, p0=0
307307
308308 Parameters
309309 ----------
310- image : 2-D array (uint8, uint16)
310+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
311311 Input image.
312312 footprint : ndarray of shape (m, n)
313313 The neighborhood expressed as a 2-D array of 1's and 0's.
314- out : 2-D array , same dtype as input `image`
314+ out : ndarray of shape (M, N) , same dtype as input `image`
315315 If None, a new array is allocated.
316316 mask : ndarray
317317 Mask array that defines (>0) area of the image included in the local
@@ -324,7 +324,7 @@ def percentile(image, footprint, out=None, mask=None, shift_x=0, shift_y=0, p0=0
324324
325325 Returns
326326 -------
327- out : 2-D array , same dtype as input `image`
327+ out : ndarray of shape (M, N) , same dtype as input `image`
328328 Output image.
329329
330330 """
@@ -354,11 +354,11 @@ def pop_percentile(
354354
355355 Parameters
356356 ----------
357- image : 2-D array (uint8, uint16)
357+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
358358 Input image.
359359 footprint : ndarray of shape (m, n)
360360 The neighborhood expressed as a 2-D array of 1's and 0's.
361- out : 2-D array , same dtype as input `image`
361+ out : ndarray of shape (M, N) , same dtype as input `image`
362362 If None, a new array is allocated.
363363 mask : ndarray
364364 Mask array that defines (>0) area of the image included in the local
@@ -372,7 +372,7 @@ def pop_percentile(
372372
373373 Returns
374374 -------
375- out : 2-D array , same dtype as input `image`
375+ out : ndarray of shape (M, N) , same dtype as input `image`
376376 Output image.
377377
378378 """
@@ -402,11 +402,11 @@ def sum_percentile(
402402
403403 Parameters
404404 ----------
405- image : 2-D array (uint8, uint16)
405+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
406406 Input image.
407407 footprint : ndarray of shape (m, n)
408408 The neighborhood expressed as a 2-D array of 1's and 0's.
409- out : 2-D array , same dtype as input `image`
409+ out : ndarray of shape (M, N) , same dtype as input `image`
410410 If None, a new array is allocated.
411411 mask : ndarray
412412 Mask array that defines (>0) area of the image included in the local
@@ -420,7 +420,7 @@ def sum_percentile(
420420
421421 Returns
422422 -------
423- out : 2-D array , same dtype as input `image`
423+ out : ndarray of shape (M, N) , same dtype as input `image`
424424 Output image.
425425
426426 """
@@ -450,11 +450,11 @@ def threshold_percentile(
450450
451451 Parameters
452452 ----------
453- image : 2-D array (uint8, uint16)
453+ image : ndarray of shape (M, N) and dtype (uint8 or uint16)
454454 Input image.
455455 footprint : ndarray of shape (m, n)
456456 The neighborhood expressed as a 2-D array of 1's and 0's.
457- out : 2-D array , same dtype as input `image`
457+ out : ndarray of shape (M, N) , same dtype as input `image`
458458 If None, a new array is allocated.
459459 mask : ndarray
460460 Mask array that defines (>0) area of the image included in the local
@@ -467,7 +467,7 @@ def threshold_percentile(
467467
468468 Returns
469469 -------
470- out : 2-D array , same dtype as input `image`
470+ out : ndarray of shape (M, N) , same dtype as input `image`
471471 Output image.
472472
473473 """
0 commit comments