Search found 57 matches
- Tue, 2024-12-10, 21:45
- Forum: DCMTK - General
- Topic: learning to use dcmtk code
- Replies: 0
- Views: 33
learning to use dcmtk code
Hello, I request a hand, I was going over a dicom code of dcmdump.cc and I need a hand to know how to call filedump() below in order to print metadata and the raw file int dumpFile(STD_NAMESPACE ostream &out, const OFFilename &ifname, const E_FileReadMode readMode, const E_TransferSyntax xfe...
- Mon, 2024-11-18, 09:51
- Forum: DCMTK - General
- Topic: dcmdump, dump2dcm to handle all binary data by external file
- Replies: 5
- Views: 7147
Re: dcmdump, dump2dcm to handle all binary data by external file
I use dcmdump.exe (called with params -q +E -M +L +W) to create a dicom text file that can be modified in a text editor and then use dump2dcm.exe to make a dicom file again. But this does not work for tags (OW, OB, OF) that are not written to a file by the "+W" parameter and are too big t...
- Sat, 2024-11-09, 01:13
- Forum: DCMTK - General
- Topic: Dicom to hvec and back losslessly
- Replies: 1
- Views: 469
Dicom to hvec and back losslessly
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 foru...
- Wed, 2024-05-08, 20:46
- Forum: DCMTK - General
- Topic: dcmcjpls is not able to recover dcmdjpls
- Replies: 0
- Views: 4358
dcmcjpls is not able to recover dcmdjpls
Hello, I am trying to perform decompression of dicom with transfer syntax of jpeg-ls which is jpeg lossless. then restore using compression so I am interested in using dcmdjpls and dcmcjpls but the problem is that I am getting with a number of files core dump and unexpected behaviour, it would be ni...
- Sun, 2024-05-05, 11:30
- Forum: DCMTK - General
- Topic: DICOM
- Replies: 1
- Views: 2272
DICOM
Hello, I am trying to figure out what is wrong with this code as it is not able to read my dicoms transfer syntax specifically jpeg basline string getTransferSyntax(const std::string& filePath) { DcmFileFormat fileFormat; OFCondition status = fileFormat.loadFile(filePath.c_str()); if (status.goo...
- Thu, 2024-04-25, 09:34
- Forum: DCMTK - General
- Topic: How to change transfer syntax?
- Replies: 8
- Views: 9719
Re: How to change transfer syntax?
Hello,
It seems in this thread xfgavin managed to make a transfer syntax conversion from jpeg2000 baseline to little endian using the commands storescu, dcmsend.
Can you explain to me how to do it by giving an example?
Best Regards
George
It seems in this thread xfgavin managed to make a transfer syntax conversion from jpeg2000 baseline to little endian using the commands storescu, dcmsend.
Can you explain to me how to do it by giving an example?
Best Regards
George
- Thu, 2024-04-25, 00:39
- Forum: DCMTK - General
- Topic: How to change transfer syntax?
- Replies: 8
- Views: 9719
Re: How to change transfer syntax?
Hello,
Does this help me in making transfer syntax to another, can you give an example ?
Best Regards
George
Does this help me in making transfer syntax to another, can you give an example ?
Best Regards
George
- Tue, 2024-04-16, 15:07
- Forum: DCMTK - General
- Topic: How to save a single frame dicom
- Replies: 3
- Views: 3253
Re: How to save a single frame dicom
Hello,
I humbly request to know how to do it just in case
also, is there a way that you recommend?
Best Regards
George
I humbly request to know how to do it just in case
also, is there a way that you recommend?
Best Regards
George
- Mon, 2024-04-15, 13:57
- Forum: DCMTK - General
- Topic: How to save a single frame dicom
- Replies: 3
- Views: 3253
How to save a single frame dicom
Hello, I humbly ask to get a dicom of single frame given a multi-frame dicom DicomImage *dicomImage = new DicomImage(dicomConverted.c_str(), CIF_UsePartialAccessToPixelData, frameNumber, 1 ); if (dicomImage->getStatus() != EIS_Normal) { LOG("Error: Unable to load DICOM file: "); delete dic...
- Sun, 2024-03-31, 03:58
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 6
- Views: 4142
Re: img2dcm fail with converted images
Hello, I have added implementation for pgm images as a way to add support for 16bit images but I get a pale black image instead, I am currently trying to investage the issue but it would be nice to help me find the issue. These are the two documents in which I extract the image from and create it ba...
- Tue, 2024-03-26, 02:14
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 6
- Views: 4142
Re: img2dcm fail with converted images
Hello,
I cannot afford this ratio, but I was wondering if this can happen with ppm or pgm or jpeg2000 lossless.
Is there any way to control the ratio?
Best Regards
George
I cannot afford this ratio, but I was wondering if this can happen with ppm or pgm or jpeg2000 lossless.
Is there any way to control the ratio?
Best Regards
George
- Sat, 2024-03-23, 17:07
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 6
- Views: 4142
Re: img2dcm fail with converted images
Hello, I am very intrested in a hand, I am trying to use this code as a png plugin to support 16 bit but it seems that the generated image size is 3 times larger than the image used with img2dcm I am sharing the plug in code #include "dcmtk/config/osconfig.h" #include "dcmtk/dcmdata/l...
- Sun, 2024-03-17, 12:39
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 6
- Views: 4142
Re: img2dcm fail with converted images
Hello,
I went over and taught about this problem, I think the only way to solve it is to manually create this code by using the function writeFrameToDataset
it would be nice to give me an example to make it work, because I am new to this
Best Regards
George
I went over and taught about this problem, I think the only way to solve it is to manually create this code by using the function writeFrameToDataset
it would be nice to give me an example to make it work, because I am new to this
Best Regards
George
- Sun, 2024-03-17, 02:13
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 6
- Views: 4142
img2dcm fail with converted images
Hello, I have used convert (image magic library) to convert between a 24 bit depth bmp to 16 bit depth bmp. but when I use img2dcm it complains that this newly converted file is not recognized, I faced this with freeimage too. Is there any solution for this because I have a need to be able to be ver...
- Fri, 2024-03-08, 04:22
- Forum: DCMTK - General
- Topic: Extract frames from a multi-frame image
- Replies: 3
- Views: 7862
Re: Extract frames from a multi-frame image
it would be nice to give examples on how to extract multi-frames, how to use Fr option and fa option