Which is the best and the fastest way to work with
multi-frame images?
I use DcmFileFormat::loadFile() and
DcmFileFormat::getDataset() methods.
Then I create a new DicomImage(a_pDataset, EXS_Unknown, CIF_MayDetachPixelData) and call
DicomImage::createWindowsDIB()
with the current frame number to play the image.
But it works slow
Best regards,
Alexander.
Multi-Frame Images
Moderator: Moderator Team
-
- Posts: 53
- Joined: Thu, 2005-04-14, 15:07
- Location: St. Petersburg, Russia
-
- ICSMED DICOM Services
- Posts: 2217
- Joined: Fri, 2004-10-29, 21:38
- Location: Oldenburg, Germany
-
- Posts: 53
- Joined: Thu, 2005-04-14, 15:07
- Location: St. Petersburg, Russia
[quote="Jörg Riesmeier"]What is slow: the creation of the DicomImage instance or the call of createWindowsDIB()?[/quote]
The creation of the DicomImage instance is slow too,
but it is not critical for small multi-frame images
and because it (creation) is done once.
The slow work of createWindowsDIB is critical.
I use the same scheme for playing different one-frame images (files)
and for playing multi-frame images.
In first case it works fine.
Regards,
Alexander.
The creation of the DicomImage instance is slow too,
but it is not critical for small multi-frame images
and because it (creation) is done once.
The slow work of createWindowsDIB is critical.
I use the same scheme for playing different one-frame images (files)
and for playing multi-frame images.
In first case it works fine.
Regards,
Alexander.
-
- Posts: 53
- Joined: Thu, 2005-04-14, 15:07
- Location: St. Petersburg, Russia
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 1 guest