Search found 7 matches
- Fri, 2023-02-03, 06:21
- Forum: DCMTK - General
- Topic: Slow Dicom->BMP rendering
- Replies: 4
- Views: 1651
Re: Slow Dicom->BMP rendering
Also, decompressing the JPEG 2000-compressed image first to an uncompressed DICOM image and storing it as a DICOM file in the file system before processing the uncompressed DICOM file with dcm2pnm is probably not the most efficient way of doing it. Is it possible to chain the process in the console...
- Wed, 2023-02-01, 03:13
- Forum: DCMTK - General
- Topic: Slow Dicom->BMP rendering
- Replies: 4
- Views: 1651
Slow Dicom->BMP rendering
Hi, I am trying to render dicom into bmp using dcm2pnm.exe and dcmdjp2k_e.exe. But the rendering is slow(2 sec 83 millisecond). It is fast for test files that I found online but in the actual image, it is quite slow. After closer inspection, I found that most of the render time is taken by the dcmdj...
- Wed, 2023-02-01, 02:44
- Forum: DCMTK - General
- Topic: Dicom image if failing to render into BMP
- Replies: 8
- Views: 2055
Re: Dicom image if failing to render into BMP
I understand, Thank you for the helpJ. Riesmeier wrote: ↑Tue, 2023-01-31, 10:32 Sorry for the confusion, +wb was a typo. I wanted to write +ob, which is just the short version of --write-bmp.
Correct.I am guessing for extending the tool you need the source code access package.
- Tue, 2023-01-31, 10:20
- Forum: DCMTK - General
- Topic: Dicom image if failing to render into BMP
- Replies: 8
- Views: 2055
Re: Dicom image if failing to render into BMP
So, I have to chain the conversion. <dicom file with compressed JPEG 2000 image> → dcmdjp2k → <dicom file with decompressed JPEG 2000 image> → dcm2pnm → <bmp file>. This is correct, unless you extend the command line tool dcm2pnm with JPEG 2000 support, which is rather easy if you've licenced DCMJP...
- Tue, 2023-01-31, 09:47
- Forum: DCMTK - General
- Topic: Dicom image if failing to render into BMP
- Replies: 8
- Views: 2055
Re: Dicom image if failing to render into BMP
Then, the answer is easy: as you can read in the documentation, the public DCMTK does not support JPEG 2000 compression (e.g., there is a list of supported Transfer Syntaxes in the manpage of each tool). If you want to decompress JPEG 2000 compressed images (or compress DICOM images with JPEG 2000)...
- Tue, 2023-01-31, 09:25
- Forum: DCMTK - General
- Topic: Dicom image if failing to render into BMP
- Replies: 8
- Views: 2055
Re: Dicom image if failing to render into BMP
Transfer Syntax UID is 1.2.840.10008.1.2.4.90 (JPEG 2000 Image Compression(Lossless Only))
- Tue, 2023-01-31, 07:30
- Forum: DCMTK - General
- Topic: Dicom image if failing to render into BMP
- Replies: 8
- Views: 2055
Dicom image if failing to render into BMP
Hi, I am trying to render a dicom image. I have tried using the programmatic approach and also the console application. But I am getting the following error. The output of the programmatic approach is: E: can't change to unencapsulated representation for pixel data E: can't determine 'PhotometricInt...