Search found 52 matches

by George
Thu, 2024-04-25, 09:34
Forum: DCMTK - General
Topic: How to change transfer syntax?
Replies: 8
Views: 5248

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
by George
Thu, 2024-04-25, 00:39
Forum: DCMTK - General
Topic: How to change transfer syntax?
Replies: 8
Views: 5248

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
by George
Tue, 2024-04-16, 15:07
Forum: DCMTK - General
Topic: How to save a single frame dicom
Replies: 3
Views: 156

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
by George
Mon, 2024-04-15, 13:57
Forum: DCMTK - General
Topic: How to save a single frame dicom
Replies: 3
Views: 156

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...
by George
Sun, 2024-03-31, 03:58
Forum: DCMTK - General
Topic: img2dcm fail with converted images
Replies: 6
Views: 371

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...
by George
Tue, 2024-03-26, 02:14
Forum: DCMTK - General
Topic: img2dcm fail with converted images
Replies: 6
Views: 371

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
by George
Sat, 2024-03-23, 17:07
Forum: DCMTK - General
Topic: img2dcm fail with converted images
Replies: 6
Views: 371

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...
by George
Sun, 2024-03-17, 12:39
Forum: DCMTK - General
Topic: img2dcm fail with converted images
Replies: 6
Views: 371

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
by George
Sun, 2024-03-17, 02:13
Forum: DCMTK - General
Topic: img2dcm fail with converted images
Replies: 6
Views: 371

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...
by George
Fri, 2024-03-08, 04:22
Forum: DCMTK - General
Topic: Extract frames from a multi-frame image
Replies: 3
Views: 4821

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
by George
Thu, 2024-03-07, 16:32
Forum: DCMTK - General
Topic: lossless
Replies: 3
Views: 230

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...
by George
Wed, 2024-03-06, 16:26
Forum: DCMTK - General
Topic: lossless
Replies: 3
Views: 230

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...
by George
Wed, 2024-03-06, 14:51
Forum: DCMTK - General
Topic: jpeg200 not identified
Replies: 1
Views: 173

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=...
by George
Wed, 2024-03-06, 11:51
Forum: DCMTK - General
Topic: file size got reduced
Replies: 1
Views: 176

file size got reduced

Hello, I am using the below code but its seems that the moment I try to save the pixel all the pixel data get lost and the file size get reeduced, any chance that the saveFile function did cause this loss, if yes how can I prevent them OFCondition status = fileformat.loadFile(dicomFilename.c_str());...
by George
Wed, 2024-03-06, 11:08
Forum: DCMTK - General
Topic: unable to restore photo quality
Replies: 2
Views: 194

Re: unable to restore photo quality

Hello,

How do I force the image to be rendered exactly? So I try to narrow the problem.

Best Regards
George