mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-14 12:50:39 +08:00
Add MultiImg to __all__.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
__all__ = ['Img', 'ImgCollection', 'imread']
|
||||
__all__ = ['Img', 'MultiImg', 'ImgCollection', 'imread']
|
||||
|
||||
from glob import glob
|
||||
import os.path
|
||||
@@ -116,7 +116,6 @@ class MultiImg(object):
|
||||
(576, 384)
|
||||
(576, 384)
|
||||
"""
|
||||
|
||||
def __init__(self, filename, conserve_memory=True):
|
||||
"""Load a multi-img"""
|
||||
self.filename = filename
|
||||
@@ -146,7 +145,6 @@ class MultiImg(object):
|
||||
img.seek(framenum)
|
||||
return np.asarray(img)
|
||||
|
||||
|
||||
def _getallframes(self, img):
|
||||
"""Extract all frames from the multi-img."""
|
||||
frames = []
|
||||
|
||||
Reference in New Issue
Block a user