mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-29 10:45:16 +08:00
Enhance short description of resize and rescale functions
This commit is contained in:
@@ -4,7 +4,7 @@ from ._geometric import (warp, SimilarityTransform, AffineTransform,
|
||||
|
||||
|
||||
def resize(image, output_shape, order=1, mode='constant', cval=0.):
|
||||
"""Resize image.
|
||||
"""Resize image to match a certain size.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -53,7 +53,7 @@ def resize(image, output_shape, order=1, mode='constant', cval=0.):
|
||||
|
||||
|
||||
def rescale(image, scale, order=1, mode='constant', cval=0.):
|
||||
"""Scale image.
|
||||
"""Scale image by a certain factor.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
Reference in New Issue
Block a user