imageio.plugins.pydicom.PydicomPlugin.iter#
- PydicomPlugin.iter(*, raw: bool = False, **kwargs) Iterator[ndarray][source]#
Yield decoded frames one at a time (frame-wise decode).
- Parameters:
- rawbool
Same meaning as
read(..., raw=...). DefaultFalseapplies full reconstruction per frame.- kwargsAny
Forwarded to pydicom
iter_pixels.
- Yields:
- framenp.ndarray
One frame with shape
(rows, cols[, channels]).