mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-02 08:47:15 +08:00
Import crop into util package namespace
This commit is contained in:
@@ -3,7 +3,7 @@ from .dtype import (img_as_float, img_as_int, img_as_uint, img_as_ubyte,
|
||||
from .shape import view_as_blocks, view_as_windows
|
||||
from .noise import random_noise
|
||||
|
||||
from .arraypad import pad
|
||||
from .arraypad import pad, crop
|
||||
from ._regular_grid import regular_grid
|
||||
from .unique import unique_rows
|
||||
|
||||
@@ -17,6 +17,7 @@ __all__ = ['img_as_float',
|
||||
'view_as_blocks',
|
||||
'view_as_windows',
|
||||
'pad',
|
||||
'crop',
|
||||
'random_noise',
|
||||
'regular_grid',
|
||||
'unique_rows']
|
||||
|
||||
Reference in New Issue
Block a user