Hi all of you. Can you tell me if there is a way to extract HBITMAP from an multiframe DICOM file, in order to make a avi file ?
Thank you for any hint/help.
Regards,
Extract HBITAMP from multiframe dcm
Moderator: Moderator Team
-
- Posts: 16
- Joined: Mon, 2016-12-05, 10:00
Re: Extract HBITAMP from multiframe dcm
Or, how can I save every frame from multi-frame DICOM file ? Because if I will achieve this, I will get every HBITMAP from saved files, and make an .avi from that files ...
-
- DCMTK Developer
- Posts: 2052
- Joined: Fri, 2004-11-05, 13:47
- Location: Oldenburg, Germany
- Contact:
Re: Extract HBITAMP from multiframe dcm
Hi,
use the dcm2pnm (or dcmj2pnm) tool to extract all frames and save them to BMP (for example). Option +Fa selects all frames.
In order to do the same thing in your own code, look at how it is done in dcm2pnm.
Best,
Michael
use the dcm2pnm (or dcmj2pnm) tool to extract all frames and save them to BMP (for example). Option +Fa selects all frames.
In order to do the same thing in your own code, look at how it is done in dcm2pnm.
Best,
Michael
-
- Posts: 16
- Joined: Mon, 2016-12-05, 10:00
Re: Extract HBITAMP from multiframe dcm
Kindly thank you, that is how I solved the task: I saved bitmap files, and extract from them HBITMAP structure.
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 1 guest