Search found 2435 matches
- Fri, 2023-05-26, 16:38
- Forum: DCMTK - General
- Topic: convertToUTF8() Cannot select source character set
- Replies: 2
- Views: 52
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: 76
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: 76
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: 5
- Views: 100
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: 76
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: 446
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: 6
- Views: 110
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: 94
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: 5
- Views: 100
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 images to th...
- Wed, 2023-05-03, 20:13
- Forum: DCMTK - General
- Topic: "Private" UIDs
- Replies: 6
- Views: 110
Re: "Private" UIDs
I can understand your points and will discuss with the other DCMTK team members whether we want to define a sub-prefix (based on SITE_UID_ROOT) that is reserved for application-specific / private usage. However, I don't think that we will use ".2" for these type of UIDs, and also don't think that we...
- Wed, 2023-05-03, 10:21
- Forum: DCMTK - General
- Topic: "Private" UIDs
- Replies: 6
- Views: 110
Re: "Private" UIDs
As far as the DCMTK-specific UID prefixes are concerned, there is a Feature Request in our issue tracker that refers to this topic: https://support.dcmtk.org/redmine/issues/656 - However, there was no decision yet on how to actually implement it. Since you were asking for "private" UIDs, wouldn't it...
- Fri, 2023-04-28, 19:03
- Forum: DCMTK - General
- Topic: how to add text/annotation to a dicom image
- Replies: 4
- Views: 309
Re: how to add text/annotation to a dicom image
It is not required that the overlay planes have the same size (rows and columns) as the image (pixel data).
- Sat, 2023-04-08, 20:39
- Forum: DCMTK - Installation
- Topic: dcmtk Conda package
- Replies: 2
- Views: 218
Re: dcmtk Conda package
I've never heard about Conda, but there are definitely packages for DCMTK 3.6.7: https://anaconda.org/bioconda/dcmtk/files
- Thu, 2023-03-30, 20:56
- Forum: DCMTK - General
- Topic: findAndGetUint64(...) Not working as expected
- Replies: 2
- Views: 247
Re: findAndGetUint64(...) Not working as expected
UL is defined as a 32-bit unsigned integer, if this was the question. See DICOM part 5 for details. Also the API documentation lists the VRs for which a particular findAndGetXXX() method is applicable. By the way, I wonder why you define your own DcmTagKey and do not use the pre-defined constants, e...
- Thu, 2023-03-16, 09:30
- Forum: DCMTK - General
- Topic: img2dcm says F: Error converting file: Not a JPEG file
- Replies: 4
- Views: 359
Re: img2dcm says F: Error converting file: Not a JPEG file
I can add the +on2 option and get a 16 bit jpeg image No, +on2 creates a PNG image with 16 bits per sample. Here's the relevant excerpt from the dcmj2pnm manpage: image format: +op --write-raw-pnm write 8-bit binary PGM/PPM (default for files) +opb --write-8-bit-pnm write 8-bit ASCII PGM/PPM (defau...