Hello,
i need help in converting a video hvec to dicom and back, all i have is be able
all i have is be able storesu to covnert from dicom, but how do i do that back and also losslessly?
it is important to note that we need opensource c++ solution specifically with dcmtk
I have went through the forum none solved this, if you have any tips let me know.
dcmftest dcmmkdir dcmpschk dcmpsrcv dcmqrscp dcmrecv dcmsign
dcmdspfn dcmgpdir dcmmklut dcmprscp dcmpsmk dcmpssnd dcmqrti dcmscale
dcmmkcrv dcmprscu dcmpsprt dcmqridx dcmquant dcmsend
Does these command help?
Best Regards
George
Dicom to hvec and back losslessly
Moderator: Moderator Team
-
- DCMTK Developer
- Posts: 2549
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Re: Dicom to hvec and back losslessly
If you know what you are doing, you could use e.g. dump2dcm or xml2dcm to convert a textual dump / XML dump and referenced HEVC data (I guess you mean this video encoding) to binary DICOM format, and "dcmdump --write-pixel" to convert it back. Unfortunately, dcm2xml does not yet support extracting pixel data and storing it as a separate file (like dcmdump does). Instead, it always encodes binary data inline (hex or base64 encoded). Of course, you could also write a little C++ program that does exactly this in a more specific way.
Of course, this requires that your HEVC data conforms to the specification of the DICOM Transfer Syntax you've chosen. See DICOM PS3.5 Section 8.2.10 and 8.2.11 for details.
If you don't know what I am talking about, you should ask someone to do this for you.
Of course, this requires that your HEVC data conforms to the specification of the DICOM Transfer Syntax you've chosen. See DICOM PS3.5 Section 8.2.10 and 8.2.11 for details.
If you don't know what I am talking about, you should ask someone to do this for you.
Who is online
Users browsing this forum: Bing [Bot], Semrush [Bot] and 1 guest