Search found 2396 matches

by J. Riesmeier
Fri, 2023-02-03, 09:27
Forum: DCMTK - General
Topic: Slow Dicom->BMP rendering
Replies: 4
Views: 77

Re: Slow Dicom->BMP rendering

I assume it is possible via source code/library.
This is one option. Another one would be to write the output of dcmdjp2k to stdout and pipe the data to dcm2pnm, but this would require the latest development snapshot of both tools.
by J. Riesmeier
Thu, 2023-02-02, 12:46
Forum: DCMTK - General
Topic: Slow Dicom->BMP rendering
Replies: 4
Views: 77

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.
by J. Riesmeier
Tue, 2023-01-31, 10:32
Forum: DCMTK - General
Topic: Dicom image if failing to render into BMP
Replies: 8
Views: 68

Re: Dicom image if failing to render into BMP

Sorry for the confusion, +wb was a typo. I wanted to write +ob, which is just the short version of --write-bmp.
I am guessing for extending the tool you need the source code access package.
Correct.
by J. Riesmeier
Tue, 2023-01-31, 10:03
Forum: DCMTK - General
Topic: Dicom image if failing to render into BMP
Replies: 8
Views: 68

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...
by J. Riesmeier
Tue, 2023-01-31, 09:33
Forum: DCMTK - General
Topic: Dicom image if failing to render into BMP
Replies: 8
Views: 68

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),...
by J. Riesmeier
Tue, 2023-01-31, 09:07
Forum: DCMTK - General
Topic: Dicom image if failing to render into BMP
Replies: 8
Views: 68

Re: Dicom image if failing to render into BMP

What is the Transfer Syntax of the DICOM dataset?
by J. Riesmeier
Sat, 2023-01-28, 17:57
Forum: DCMRT
Topic: Invalid item in loop over sequences
Replies: 1
Views: 48

Re: Invalid item in loop over sequences

Thank you for the report. We have to check this and will get back to you then.
by J. Riesmeier
Fri, 2022-12-23, 16:08
Forum: DCMTK - General
Topic: GSPS or SR ?
Replies: 7
Views: 320

Re: GSPS or SR ?

What about creating your own sample GSPS objects using e.g. DICOMscope or Weasis.
by J. Riesmeier
Tue, 2022-12-20, 15:51
Forum: DCMTK - General
Topic: GSPS or SR ?
Replies: 7
Views: 320

Re: GSPS or SR ?

Both serve different purposes, so SR will (most probably) never be extended by visual aspects. This is where the GSPS (and its variants for color image, etc.) comes into play: you could, of course, create an SR document (with semantically enriched numeric measurements, coded entries and the like) th...
by J. Riesmeier
Mon, 2022-12-19, 19:48
Forum: DCMTK - General
Topic: GSPS or SR ?
Replies: 7
Views: 320

Re: GSPS or SR ?

The name indicates that this IOD is for referencing monochrome images only. The graphical annotations can also use color.
by J. Riesmeier
Sat, 2022-12-17, 17:31
Forum: DCMTK - General
Topic: GSPS or SR ?
Replies: 7
Views: 320

Re: GSPS or SR ?

The short version of the answer is: if you want to store measurements in a semantic manner, you should use Structured Reporting (SR); if you want to store annotations in a graphical way, you could also use Grayscale Softcopy Presentation States (GSPS). In terms of what is easier to use, e.g. by just...
by J. Riesmeier
Tue, 2022-12-06, 13:56
Forum: DCMTK - General
Topic: Sort based on AE Title
Replies: 10
Views: 333

Re: Sort based on AE Title

Did you already try to use a double backslash, i.e. "\\" instead of "\"?
by J. Riesmeier
Mon, 2022-12-05, 10:55
Forum: DCMTK - General
Topic: dcmj2pnm - Multiple Errors on Seemingly Good File
Replies: 6
Views: 628

Re: dcmj2pnm - Multiple Errors on Seemingly Good File

I am not familiar with PowerShell, but the dcmj2pnm manpage (in HTML format) can e.g. be found here: https://support.dcmtk.org/docs/dcmj2pnm.html
by J. Riesmeier
Fri, 2022-11-11, 15:01
Forum: DCMTK - General
Topic: Stop displaying conversion info in logs.
Replies: 3
Views: 243

Re: Stop displaying conversion info in logs.

After discussing it with the team, I've created an entry in the DCMTK issue tracker: https://support.dcmtk.org/redmine/issues/1046
by J. Riesmeier
Fri, 2022-11-04, 21:51
Forum: DCMTK - General
Topic: dcm(j)2pnm not detecting overlay
Replies: 3
Views: 237

Re: dcm(j)2pnm not detecting overlay

Maybe, you are right. Currently, it is only documented in the source code. Here is some background information: At the time when I implemented support for overlay rendering (more than 25 years ago), there were many uncertainties in the DICOM standard regarding "color overlays", especially regarding ...