Search found 2055 matches

by Michael Onken
Tue, 2023-04-04, 20:37
Forum: DCMTK - General
Topic: How to Read Pixel Data when Pixel Representation=1
Replies: 6
Views: 5501

Re: How to Read Pixel Data when Pixel Representation=1

No, I don't think there is a list. From the top of my head - All classic JPEG transfer syntaxes (use dcmcjpeg/dcmdjpeg for compression/decompression) - Deflated (dcmconv for compression and decompression) - RLE (dcmcrle/dcmdrle) - JPEG-LS variants (dcmcjpls/dcmdjpls) - All uncompressed: dcmconv - JP...
by Michael Onken
Tue, 2023-04-04, 19:01
Forum: DCMTK - General
Topic: How to Read Pixel Data when Pixel Representation=1
Replies: 6
Views: 5501

Re: How to Read Pixel Data when Pixel Representation=1

Hi,

Looking at the filename 693_J2KR the file is maybe compressed using JPEG 2000? The open source DCMTK does not support to decompress this.

The error message has nothing to do with the tag Pixel Representation.

Best regards,
Michael
by Michael Onken
Sun, 2023-04-02, 20:07
Forum: DCMTK - General
Topic: CI logs with unit test executions?
Replies: 6
Views: 4075

Re: CI logs with unit test executions?

Hi, I don't think so. We do all builds on machines hosted at the OFFIS institute (and not at Circle CI or so). Are you interested into a particular platform or what is the background of your question? Maybe we can get you logs manually if they are still available (did not check yet). Best regards, M...
by Michael Onken
Wed, 2023-03-22, 10:42
Forum: DCMTK - Installation
Topic: DCMTK under Linux
Replies: 10
Views: 15769

Re: DCMTK under Linux

You mean you wait 24 hours now or so? It should take less than a minute.

Probably something is wrong with your internet connection on your Linux system (or Virtual Machine) or there is a firewall.
by Michael Onken
Tue, 2023-03-21, 15:21
Forum: DCMTK - Installation
Topic: DCMTK under Linux
Replies: 10
Views: 15769

Re: DCMTK under Linux

Grrrr... try first:

Code: Select all

sudo apt-get update
and then retry installation.

You must be connected to internet. As far as I know, there is a DCMTK package in Ubuntu 18.
by Michael Onken
Tue, 2023-03-21, 14:59
Forum: DCMTK - Installation
Topic: DCMTK under Linux
Replies: 10
Views: 15769

Re: DCMTK under Linux

You need administrator (root) permissions, do:

Code: Select all

sudo apt-get install dcmtk 
or

Code: Select all

su <enter password for root>
apt-get install dcmtk
by Michael Onken
Tue, 2023-03-21, 14:48
Forum: DCMTK - Installation
Topic: DCMTK under Linux
Replies: 10
Views: 15769

Re: DCMTK under Linux

Then

Code: Select all

apt-get install dcmtk
should do the trick. Did you try it?

BR Michael
by Michael Onken
Tue, 2023-03-21, 14:17
Forum: DCMTK - Installation
Topic: DCMTK under Linux
Replies: 10
Views: 15769

Re: DCMTK under Linux

Hi, what Linux distribution do you have? Very often, a DCMTK package is provided by the distribution. On Ubuntu, for example, just use apt-get install dcmtk The binary packages for Linux provided by OFFIS may not run on your system, since it requires some effort to create 100% portable Linux binarie...
by Michael Onken
Thu, 2023-03-16, 09:30
Forum: DCMTK - General
Topic: img2dcm says F: Error converting file: Not a JPEG file
Replies: 4
Views: 4016

Re: img2dcm says F: Error converting file: Not a JPEG file

Hi,

dcmj2pnm cannot write 16 bit JPEG (I think), option +on2 is short for --write-16-bit-png i.e. it will write PNG files.

Best regards,
Michael
by Michael Onken
Wed, 2023-03-15, 12:02
Forum: DCMTK - General
Topic: Encadenated worklist items
Replies: 4
Views: 3038

Re: Encadenated worklist items

Hey, the worklist served by wlmscpfs will read all worklist files from a folder (actually even multiple folders). In a single file, you will always have a single worklist entry. At least this is how wlmscpfs implements it. Other tools could of course implement this in a totally different way. Best r...
by Michael Onken
Wed, 2023-03-15, 11:54
Forum: DCMTK - Installation
Topic: Compiling DCMTK with C++11/14/17 Features with MSVC
Replies: 3
Views: 10009

Re: Compiling DCMTK with C++11/14/17 Features with MSVC

Hi,

this has been fixed with commit 8f7de4df9 which should show up on public DCMTK master branch within a few days (after successfully passing various nightly builds).
Thank you for your report and suggested fix :)

Best regards,
Michael
by Michael Onken
Tue, 2023-03-14, 21:16
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6807

Re: Problem with two SCPs in a single process

dcmEnableAutomaticInputDataCorrection.set(OFTrue)" to the bit preserving mode of dcmrecv (which is based on DcmStorageSCP).
You mean dcmEnableAutomaticInputDataCorrection.set(OFFalse)?

[Edit: OK, I see you fixed it already in the post]
by Michael Onken
Tue, 2023-03-14, 20:45
Forum: DCMTK - General
Topic: [SOLVED] Problem with two SCPs in a single process
Replies: 9
Views: 6807

Re: Problem with two SCPs in a single process

Being the original author: I think in general it is a good idea to "store" the file without removing extra padding and so on in DcmSCP (i.e. dcmEnableAutomaticInputDataCorrection = false). However, since it is global flag we should not set it within the class but instead let the user decid...
by Michael Onken
Tue, 2023-03-14, 20:37
Forum: DCMTK - General
Topic: Encadenated worklist items
Replies: 4
Views: 3038

Re: Encadenated worklist items

Hey, if you download DCMTK it will contain files like wklist1.dump, wklist2.dump, etc. Those are DICOM files that each represent a worklist item. In order to serve them using wlmscpfs, convert them to DICOM format first with ending .wl, e.g. dump2dcm wklist1.dump wklist1.wl See also wlmscpfs documen...