mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-14 12:50:39 +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.):
|
def resize(image, output_shape, order=1, mode='constant', cval=0.):
|
||||||
"""Resize image.
|
"""Resize image to match a certain size.
|
||||||
|
|
||||||
Parameters
|
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.):
|
def rescale(image, scale, order=1, mode='constant', cval=0.):
|
||||||
"""Scale image.
|
"""Scale image by a certain factor.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
|||||||
Reference in New Issue
Block a user