Although it was possible to retrieve a single frame from a blob of decoded pixel data, the API provided by PixelDecoder required the user to decode all of the frames first.
This PR extends this trait for the possibility to decode only one of the frames in a DICOM object. dicom-toimage has also been optimized by using it.
Although it was possible to retrieve a single frame from a blob of decoded pixel data, the API provided by
PixelDecoder
required the user to decode all of the frames first. This PR extends this trait for the possibility to decode only one of the frames in a DICOM object.dicom-toimage
has also been optimized by using it.