Search found 2508 matches
- Wed, 2023-07-12, 17:01
- Forum: DCMTK - General
- Topic: RF DICOM file failed to get compressed by dcmcjp2k
- Replies: 4
- Views: 8600
Re: RF DICOM file failed to get compressed by dcmcjp2k
Apparently, the Transfer Syntax UID in the file meta information header is incorrect: For a DICOM dataset that is encoded with Explicit VR Little Endian, the Pixel Data element is not stored in encapsulated format (i.e. with a sequence of pixel items), but in uncompressed format. See DICOM PS3.5 for...
- Fri, 2023-06-23, 20:02
- Forum: DCMTK - General
- Topic: Feeding worklist items to wlmscpfs
- Replies: 1
- Views: 13827
Re: Feeding worklist items to wlmscpfs
Storing C-FIND response datasets as files is not defined by the DICOM standard, i.e. there is no Modality Worklist Storage SOP Class. This is just the way DCMTK's Modality Worklist SCP has been designed. Since the tool uses a Private SOP Class for this purpose and stores the datasets as DICOM files,...
- Wed, 2023-06-21, 16:10
- Forum: DCMTK - General
- Topic: storescp output on Ubuntu
- Replies: 3
- Views: 8619
Re: storescp output on Ubuntu
I would suggest to write the log output to file, e.g. using a logger configuration as provided in "etc/filelog.cfg". storescp (and other DCMTK tools) will load und use this configuration file with option --log-config.
- Wed, 2023-06-21, 09:30
- Forum: DCMTK - General
- Topic: storescp output on Ubuntu
- Replies: 3
- Views: 8619
Re: storescp output on Ubuntu
Unfortunately, you did not tell us how you call storescp from the application. This is certainly different on Windows and Linux, and probably not really related to the DCMTK.
- Mon, 2023-06-19, 19:08
- Forum: DCMTK - General
- Topic: Failure to retrieve Modality and ScheduledProcedure from dicomserver.co.uk worklist
- Replies: 3
- Views: 8480
Re: Failure to retrieve Modality and ScheduledProcedure from dicomserver.co.uk worklist
What about reading the relevant parts of the DICOM standard? For example, Table K.6-1 in Part 4: https://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_K.6.html#table_K.6-1 findscu is a low-level tool that allows you to specify both valid and invalid queries (for the respective Inform...
- Tue, 2023-05-30, 20:42
- Forum: DCMTK - General
- Topic: dcmcjpeg quality parameter
- Replies: 11
- Views: 12050
Re: dcmcjpeg quality parameter
If the PACS does not accept uncompressed Pixel Data with a VR of OW or does not accept ILE (if proposed by the SCU, and there is no other option for the respective SOP Class), it would violate the DICOM standard. To the OP: Do you have a log of the network negotiation? By the way, do you use DCMTK's...
- Tue, 2023-05-30, 19:09
- Forum: DCMTK - General
- Topic: convertToUTF8() Cannot select source character set
- Replies: 7
- Views: 7087
Re: convertToUTF8() Cannot select source character set
You could first try with "\ISO 2022 IR 138" and see whether it works. It's also possible that the creator actually used "ISO_IR 138" (no code extension techniques, i.e. no ESC sequences).
- Tue, 2023-05-30, 18:58
- Forum: DCMTK - General
- Topic: dcmcjpeg quality parameter
- Replies: 11
- Views: 12050
Re: dcmcjpeg quality parameter
One thing we noticed was an error message from another validator stating "Pixel Data has a VR 'OW'. The VR 'OB' would have been more relevant since Bits Allocated is less or equal to 8". If the Pixel Data is uncompressed, a VR of OW would also be appropriate for Bits Allocated = 8 (see DI...
- Tue, 2023-05-30, 10:28
- Forum: DCMTK - General
- Topic: "Private" UIDs
- Replies: 7
- Views: 7063
Re: "Private" UIDs
Instead I would propose to use ".9" as a suffix to SITE_UID_ROOT for the before-mentioned "private" usage. Today, I discussed this with the team. We will make sure that the ".9" UIDs will never be used/generated by the DCMTK. An appropriate comment will be added to &qu...
- Tue, 2023-05-30, 07:45
- Forum: DCMTK - General
- Topic: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
- Replies: 14
- Views: 26029
Re: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
By default, dcm2pnm creates PGM/PPM images as output. For the PNG format, you need to specify option --write-png (+on). See documentation for details.
- Mon, 2023-05-29, 13:11
- Forum: DCMTK - General
- Topic: convertToUTF8() Cannot select source character set
- Replies: 7
- Views: 7087
Re: convertToUTF8() Cannot select source character set
In my opinion, workarounds for invalid values for the Specific Character Set (0008,0005) attribute should be implemented at application level and not in a general DICOM toolkit like DCMTK. This is because, how should one know which value was actually intended by the creator.
- Mon, 2023-05-29, 12:49
- Forum: DCMTK - General
- Topic: convertToUTF8() Cannot select source character set
- Replies: 7
- Views: 7087
Re: convertToUTF8() Cannot select source character set
DICOM PS3.3 Section C.12.1.1.2 says: "If the Attribute Specific Character Set (0008,0005) is not present or has only a single value, Code Extension techniques are not used." "Defined Terms for Single-Byte Character Sets without Code Extensions" can be found in Table C.12-2 . A si...
- Mon, 2023-05-29, 12:15
- Forum: DCMTK - General
- Topic: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
- Replies: 14
- Views: 26029
Re: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
You could send the files by email to bugs/at/dcmtk/dot/org.
Of course, when you download the source code package, dcm2pnm is provided as a source file. You could either compile and link the DCMTK or you could download pre-compiled binaries, e.g. here: https://dcmtk.org/en/dcmtk/dcmtk-tools/
Of course, when you download the source code package, dcm2pnm is provided as a source file. You could either compile and link the DCMTK or you could download pre-compiled binaries, e.g. here: https://dcmtk.org/en/dcmtk/dcmtk-tools/
- Fri, 2023-05-26, 16:38
- Forum: DCMTK - General
- Topic: convertToUTF8() Cannot select source character set
- Replies: 7
- Views: 7087
Re: convertToUTF8() Cannot select source character set
Does the Specific Character Set (0008,0005) attribute of the dataset contain only one value, namely "ISO 2022 IR 138"?
- Fri, 2023-05-26, 13:30
- Forum: DCMTK - General
- Topic: Memory Mapped file support
- Replies: 7
- Views: 7483
Re: Memory Mapped file support
I mean you could derive a subclass from DcmPixelItem which stores information on how to retrieve the pixel data for the particular tile from the source, but only creates the byte stream when needed (i.e. on demand), which is when it is transferred over the network (or written to file). This is the s...