Search found 54 matches
- Wed, 2024-05-08, 20:46
- Forum: DCMTK - General
- Topic: dcmcjpls is not able to recover dcmdjpls
- Replies: 0
- Views: 117
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: 93
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: 5608
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: 5608
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: 354
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: 354
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: 817
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: 817
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: 817
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: 817
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: 817
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: 5235
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
- Thu, 2024-03-07, 16:32
- Forum: DCMTK - General
- Topic: lossless
- Replies: 3
- Views: 645
Re: lossless
Hello, I have another issue, I tried to use this file after using gdcmconv on it to decompress it and then I tried to use the previous code ( added again below ), the problem is that it printed a black image instead. DicomImage *dicomImage = new DicomImage(dicomConverted.c_str(), CIF_UsePartialAcces...
- Wed, 2024-03-06, 16:26
- Forum: DCMTK - General
- Topic: lossless
- Replies: 3
- Views: 645
lossless
Hello, sorry for this simple question but does dcmtk tools like img2dcm and the code below perform any lossless behavior in compression for the data DicomImage *dicomImage = new DicomImage(dicomConverted.c_str(), CIF_UsePartialAccessToPixelData, frameNumber, 1 ); if (dicomImage->getStatus() != EIS_N...
- Wed, 2024-03-06, 14:51
- Forum: DCMTK - General
- Topic: jpeg200 not identified
- Replies: 1
- Views: 560
jpeg200 not identified
Hello, This is the below code does not identify the attached nanox file as jpeg2000 can you assist and tell us why? I think the command ataset->findAndGetString(DCM_TransferSyntaxUID, transferSyntax).good() do not work good? https://drive.google.com/file/d/1Eld9fUY7fCXkIsLX-dwaEJF6emlaJEoS/view?usp=...