Search found 2505 matches
- Wed, 2023-06-21, 09:30
- Forum: DCMTK - General
- Topic: storescp output on Ubuntu
- Replies: 3
- Views: 4594
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: 4502
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: 9759
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: 5139
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: 9759
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: 5134
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: 20027
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: 5139
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: 5139
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: 20027
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: 5139
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: 5644
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...
- Fri, 2023-05-26, 08:37
- Forum: DCMTK - General
- Topic: Memory Mapped file support
- Replies: 7
- Views: 5644
Re: Memory Mapped file support
If all data should reside in main memory, using the "create tile pixel data on demand" would be my first choice.
- Wed, 2023-05-24, 19:52
- Forum: DCMTK - General
- Topic: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
- Replies: 14
- Views: 20027
Re: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
You could upload the PNG images to another public server and add links to your posting.
By the way, what is the output of the dcm2pnm tool for this particular DICOM image?
By the way, what is the output of the dcm2pnm tool for this particular DICOM image?
- Wed, 2023-05-24, 08:54
- Forum: DCMTK - General
- Topic: Memory Mapped file support
- Replies: 7
- Views: 5644
Re: Memory Mapped file support
To the OP: Since WSI objects are typically stored as compressed multi-frame images where each frame represents a tile of the entire images, you could use the createValueFromTempFile() method to specify the pixel data for each tile individually. Alternatively, you could create the pixel data of the t...