mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Always use _find_images()
This commit is contained in:
@@ -163,11 +163,10 @@ class ImageCollection(object):
|
|||||||
for pattern in load_pattern:
|
for pattern in load_pattern:
|
||||||
self._files.extend(glob(pattern))
|
self._files.extend(glob(pattern))
|
||||||
self._files = sorted(self._files, key=alphanumeric_key)
|
self._files = sorted(self._files, key=alphanumeric_key)
|
||||||
self._numframes = self._find_images()
|
|
||||||
else:
|
else:
|
||||||
self._files = load_pattern
|
self._files = load_pattern
|
||||||
self._numframes = len(load_pattern)
|
|
||||||
self._frame_index = None
|
self._numframes = self._find_images()
|
||||||
|
|
||||||
if conserve_memory:
|
if conserve_memory:
|
||||||
memory_slots = 1
|
memory_slots = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user