Search found 2501 matches
- Tue, 2023-05-30, 18:58
- Forum: DCMTK - General
- Topic: dcmcjpeg quality parameter
- Replies: 11
- Views: 7796
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: 4404
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: 15903
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: 4401
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: 4401
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: 15903
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: 4401
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: 4732
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: 4732
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: 15903
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: 4732
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...
- Mon, 2023-05-22, 08:43
- Forum: DCMRT
- Topic: Invalid item in loop over sequences
- Replies: 7
- Views: 6609
Re: Invalid item in loop over sequences
The reported issue has been fixed in the current development version (see git repository). I've also updated the automatically generated classed to DICOM 2023b.
- Fri, 2023-05-19, 21:59
- Forum: DCMTK - General
- Topic: "Private" UIDs
- Replies: 7
- Views: 4404
Re: "Private" UIDs
I don't think that we should replace the #defines with global variables. In my opinion, global variables are usually the worst solution. Also, I don't think that anyone who has its own organization root (UID prefix) will use precompiled binaries/libraries. At least, in my estimation, this is rather ...
- Tue, 2023-05-09, 09:05
- Forum: DCMTK - General
- Topic: Encapsulate ZIP file in DICOM file
- Replies: 5
- Views: 3961
Re: Encapsulate ZIP file in DICOM file
No, the DcmEncapsulatedDocument does not support this, as the DICOM standard does not support this. Encapsulating ZIP, TXT or JSON files, would be a private extension and should be encoded appropriately, e.g. by using private attributes in a standard Storage SOP Class or by using a private SOP Class...
- Sun, 2023-05-07, 17:32
- Forum: DCMTK - General
- Topic: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
- Replies: 14
- Views: 15903
Re: Does DCMTK support creating DicomImage object if the dcm file has "Photometric Interpretation" as RGB?
Yes, the DicomImage also supports processing of color images, such as those with a photometric interpretation of "RGB". However, for historical reasons, the support for monochrome and color images is split into two libraries: dcmimgle and dcmimage. In order to register support for color im...