Improve indentation

This commit is contained in:
Johannes Schönberger
2013-06-30 13:02:45 +02:00
parent f74c073da1
commit 663092aca0
+8 -11
View File
@@ -100,10 +100,9 @@ def percentile_autolevel(image, selem, out=None, mask=None, shift_x=False,
"""
return _apply(
percentile8_cy.autolevel, percentile16_cy.autolevel,
image, selem, out=out, mask=mask, shift_x=shift_x,
shift_y=shift_y, p0=p0, p1=p1)
return _apply(percentile8_cy.autolevel, percentile16_cy.autolevel,
image, selem, out=out, mask=mask, shift_x=shift_x,
shift_y=shift_y, p0=p0, p1=p1)
def percentile_gradient(image, selem, out=None, mask=None, shift_x=False,
@@ -221,9 +220,8 @@ def percentile_mean_subtraction(image, selem, out=None, mask=None,
shift_y=shift_y, p0=p0, p1=p1)
def percentile_morph_contr_enh(
image, selem, out=None, mask=None, shift_x=False,
shift_y=False, p0=.0, p1=1.):
def percentile_morph_contr_enh(image, selem, out=None, mask=None,
shift_x=False, shift_y=False, p0=.0, p1=1.):
"""Return greyscale local morph_contr_enh of an image.
morph_contr_enh is computed on the given structuring element. Only levels
@@ -371,7 +369,6 @@ def percentile_threshold(image, selem, out=None, mask=None, shift_x=False,
"""
return _apply(
percentile8_cy.threshold, percentile16_cy.threshold,
image, selem, out=out, mask=mask, shift_x=shift_x,
shift_y=shift_y, p0=p0, p1=0.)
return _apply(percentile8_cy.threshold, percentile16_cy.threshold,
image, selem, out=out, mask=mask, shift_x=shift_x,
shift_y=shift_y, p0=p0, p1=0.)