Search found 1371 matches

by Marco Eichelberg
Thu, 2023-02-02, 09:47
Forum: DCMTK - General
Topic: Slow Dicom->BMP rendering
Replies: 4
Views: 77

Re: Slow Dicom->BMP rendering

Well, the reason why JPEG 2000 has never achieved widespread usage is the fact that the compression algorithm requires much more memory and time than, for example, classic JPEG. So in comparison to JPEG, JPEG 2000 will always be slow, and there is no way to avoid that. Of course there are faster and...
by Marco Eichelberg
Fri, 2023-01-20, 16:39
Forum: Other DICOM Tools
Topic: Problem when printing to an AGFA Drystar AXYS printer
Replies: 4
Views: 126

Re: Problem when printing to an AGFA Drystar AXYS printer

Well, a configuration of the printer that has different settings for different AETitles explains the problem...
by Marco Eichelberg
Thu, 2023-01-05, 22:49
Forum: DCMTK - General
Topic: missing in 3.6.7 DcmFileFormat::loadFileUntilTagFromBuffer
Replies: 1
Views: 65

Re: missing in 3.6.7 DcmFileFormat::loadFileUntilTagFromBuffer

There was no method of this name in DcmFileFormat in DCMTK 3.6.3. Is this perhaps something you (or a colleague) added by yourself?
by Marco Eichelberg
Thu, 2023-01-05, 11:45
Forum: DCMTK - General
Topic: DCMTK worklist configuration
Replies: 12
Views: 1544

Re: DCMTK worklist configuration

I am fairly certain that (0008,1040) Institutional Department Name is not supported by wlmscpfs as query or return key.
by Marco Eichelberg
Thu, 2023-01-05, 11:43
Forum: DCMTK - Installation
Topic: Error configuring DCMTK for Android
Replies: 3
Views: 174

Re: Error configuring DCMTK for Android

Basically, you need the device emulator to create the arith.h file. Once you have that, consult the installation instructions (INSTALL file), which provide the following information on cross-compiling DCMTK: CROSS COMPILING WITH CMAKE ========================== The main challenge when cross-compilin...
by Marco Eichelberg
Wed, 2022-12-28, 17:57
Forum: DCMTK - Installation
Topic: Error configuring DCMTK for Android
Replies: 3
Views: 174

Re: Error configuring DCMTK for Android

Unfortunately, Google has apparently changed the Android SDK quite a bit since we added Android support. I can offer little help other that saying that we're planning to update the Android specific build code, and I hope that this will make it into the next release. In our continuous integration inf...
by Marco Eichelberg
Wed, 2022-12-28, 17:38
Forum: DCMTK - General
Topic: dcmdjpeg unexpected behaivour
Replies: 1
Views: 128

Re: dcmdjpeg unexpected behaivour

Interesting case. The reason why dcmdjpeg adjusts Bits Stored to 12 is because the JPEG bitstream indicates that it uses 12 bits per pixel: JPEG_SOF_Parameters: SamplePrecision = 12 nLines = 1298 nSamplesPerLine = 912 nComponentsInFrame = 1 component 0 ComponentIdentifier = 1 HorizontalSamplingFacto...
by Marco Eichelberg
Mon, 2022-12-12, 14:56
Forum: DCMTK - General
Topic: Sort based on AE Title
Replies: 10
Views: 333

Re: Sort based on AE Title

I just tried it with

Code: Select all

storescp -xcr "cmd.exe /c mkdir d:\test"
and it works for me. I am using the current DCMTK 3.6.7 on Windows 10, installed via Chocolatey.
by Marco Eichelberg
Wed, 2022-12-07, 16:03
Forum: DCMTK - General
Topic: Any need for a schannel-based TLS layer for DCMTK?
Replies: 1
Views: 99

Re: Any need for a schannel-based TLS layer for DCMTK?

Well, this is a question that should be answered by the DCMTK users, not by the developers. If there is a perceived value in adding support for this alternative TLS implementation, this would certainly be technically feasible. We already support OpenSSL and LibreSSL in various incompatible versions,...
by Marco Eichelberg
Wed, 2022-12-07, 14:39
Forum: DCMTK - General
Topic: Sort based on AE Title
Replies: 10
Views: 333

Re: Sort based on AE Title

The issue on Windows may be caused by the fact that "mkdir" is an executable binary on Linux, but part of cmd.exe on Windows. Perhaps you might try to call

Code: Select all

storescp.exe -xf C:/Epona/metsrv.txt Default -aet MY_AE -od C:/Epona/Listener 4082 -xcr "cmd.exe /c mkdir C:\Epona\Listener\foo"
.
by Marco Eichelberg
Thu, 2022-11-17, 16:04
Forum: DCMTK - Installation
Topic: #define ssize_t long causes error with other library - how to proceed safely?
Replies: 2
Views: 264

Re: #define ssize_t long causes error with other library - how to proceed safely?

I agree. Using an ssize_t typedef with DCMTK that is "too large" is not a problem. DCMTK just expects ssize_t to be available, since on Posix/Linux platforms this is the return type for system functions like read() or write().
by Marco Eichelberg
Thu, 2022-11-17, 15:55
Forum: DCMTK - General
Topic: Carestream Trophy Panoramic images too bright
Replies: 4
Views: 329

Re: Carestream Trophy Panoramic images too bright

In any case, selecting appropriate values for Window Center and Window Width should "fix" the display, since there are no unusual look-up tables. When using dcmj2pnm, the --min-max-window might be a good starting point.
by Marco Eichelberg
Thu, 2022-11-17, 15:51
Forum: DCMTK - General
Topic: Browser display of jp2k frames
Replies: 1
Views: 147

Re: Browser display of jp2k frames

I leave it to the other readers to decide whether or not this is off-topic, but I can at least say that DCMTK does not offer a solution for that use case. I don't think that Browsers have built-in JPEG 2000 capabilities, so for a zero-footprint viewer you will have to use a JPEG 2000 decoder in Java...
by Marco Eichelberg
Tue, 2022-10-25, 09:45
Forum: DCMTK - General
Topic: Can't read compressed data
Replies: 6
Views: 442

Re: Can't read compressed data

Well, as I said:
  • adjust the PhotometricInterpretation to YBR_FULL (e.g. using dcmodify)
  • decompress the image using dcmdjpeg
  • then apply dcm2pnm to render the image
Alternatively, you can use "dcmj2pnm", which will cover steps 2 and 3 in one tool.