Search found 10 matches

by George
Tue, 2023-11-21, 17:52
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

dcmdump CSTORERQ_converted.dcm # Dicom-File-Format # Dicom-Meta-Information-Header # Used TransferSyntax: Little Endian Explicit (0002,0000) UL 206 # 4, 1 FileMetaInformationGroupLength (0002,0001) OB 00\01 # 2, 1 FileMetaInformationVersion (0002,0002) UI =VLWholeSlideMicroscopyImageStorage # 30, 1 ...
by George
Mon, 2023-11-20, 13:00
Forum: DCMTK - General
Topic: Difference in ImageStatus after processing dicom file using dcmtk library
Replies: 9
Views: 893

Re: Difference in ImageStatus after processing dicom file using dcmtk library

I have looked at the test image you provided. Due to the file size, you simply cannot decompress it, because the decompressed pixel data element would be larger than 4 GBytes, the upper limit for (7fe0,0010) Pixel Data in uncompressed format. You can, however, use DcmElement::getUncompressedFrame()...
by George
Mon, 2023-11-20, 11:47
Forum: DCMTK - General
Topic: Transfer syntax conversion
Replies: 3
Views: 185

Re: Transfer syntax conversion

I wanted to add that I am still trying to use it :~/dcmjp2k-3.6.7-linux-x86_64-eval/bin_static$ locate dicom.dic /home/george_z/dcmjp2k-3.6.7-linux-x86_64-eval/share/dcmtk/dicom.dic /home/george_z/dcmtk/dcmdata/data/dicom.dic /usr/local/share/dcmtk-3.6.7-DEV/dicom.dic /usr/share/libdcmtk16/dicom.dic...
by George
Mon, 2023-11-20, 11:38
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

Hello, I would love to mention that I tried your advise and I was managed to use the code better but I still had the error below: I: processing frame 1031 to 1040 I: processing frame 1041 to 1050 I: processing frame 1051 to 1060 E: can't access partial value from byte offset 833617920 to 841482239: ...
by George
Mon, 2023-11-20, 01:07
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

I have a version that is in normal format and was decompressed and I still have issues with the code sir, any idea why? :~$ g++ -I./dcmtk/dcmimgle/include/ -I./dcmtk/build/config/include/ -I./dcmtk/ofstd/include/ -I./dcmtk/dcmdata/include/ -I./dcmtk/oflog/include/ -I./dcmtk/dcmjpeg/include/ xe.cpp ....
by George
Sun, 2023-11-19, 09:47
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

I used the last code of J. Riesmeier and I noticed that I still have an issue. ~$ g++ -I./dcmtk/dcmimgle/include/ -I./dcmtk/build/config/include/ -I./dcmtk/ofstd/include/ -I./dcmtk/dcmdata/include/ -I./dcmtk/oflog/include/ -I./dcmtk/dcmjpeg/include/ xe.cpp ./dcmtk/build/lib/libcmr.a ./dcmtk/build/li...
by George
Tue, 2023-11-14, 14:52
Forum: DCMTK - General
Topic: Transfer syntax conversion
Replies: 3
Views: 185

Transfer syntax conversion

Hello, I am facing an issue with the transfer syntax of this dicom file it is JPEG2000 https://drive.google.com/file/d/1rBZw-oQ-5iLjliKMHXt7y4bbvAtvD5D6/view?usp=drive_link this is the result for running dcmjp2k E: DcmDataDictionary: Cannot open file: /usr/share/libdcmtk12/dicom.dic* W: no data dict...
by George
Tue, 2023-11-14, 10:50
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

Hello, I would also add that I tried using the below code and it failed with this output: #include "dcmtk/dcmimgle/dcmimage.h" #include "dcmtk/dcmdata/dctk.h" int main(int argc, char* argv[]) { if (argc != 2) { std::cerr << "Usage: " << argv[0] << " <DICOM_FILE_PATH>" << std::endl; return EXIT_FAILU...
by George
Tue, 2023-11-14, 10:33
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Re: Large dicom files

Hello,

Also can you give an example please with main, also should I be worried about the JPEG200 would it interfere.

Best Regards
George
by George
Mon, 2023-11-13, 22:31
Forum: DCMTK - General
Topic: Large dicom files
Replies: 12
Views: 716

Large dicom files

Hello, I am a beginner with new dcmtk tools, I am really in a need to be able to split large dicom files into N dicoms or at least extract all its frames into bmp properly. This is the file https://drive.google.com/file/d/1rBZw-oQ-5iLjliKMHXt7y4bbvAtvD5D6/view?usp=sharing I tried many tools our ther...