Search found 1435 matches
- Mon, 2024-03-11, 09:31
- Forum: DCMTK - General
- Topic: Character conversion does not fail when characters cannot be converted
- Replies: 4
- Views: 105
Re: Character conversion does not fail when characters cannot be converted
I plan to report this to FreeBSD once I have analyzed the issue in more detail.
- Fri, 2024-03-08, 14:40
- Forum: DCMTK - General
- Topic: Character conversion does not fail when characters cannot be converted
- Replies: 4
- Views: 105
Re: Character conversion does not fail when characters cannot be converted
I can confirm this behaviour and have added an issue to our issue tracker: https://support.dcmtk.org/redmine/issues/1113 Apparently, this is caused by incorrect translation tables, in this case oficonv/datasrc/csmapper/ISO-8859/UCS%ISO-8859-2.src. This is remarkable, because these tables come from t...
- Mon, 2024-03-04, 10:40
- Forum: DCMTK - General
- Topic: PhotometricInterpretation lost
- Replies: 6
- Views: 139
Re: PhotometricInterpretation lost
I mean the value of the photometric from --dataset-from documents/study-00000.series-00000.image-00000.dcm was not copied to ./frame2large/header.dcm That is right. The photometric interpretation is derived from the image file that is converted to DICOM. It would make very little sense to specify t...
- Tue, 2024-02-20, 13:57
- Forum: DCMTK - General
- Topic: error handling with storescu
- Replies: 3
- Views: 4173
Re: error handling with storescu
when your saying running storescu with sudo is a bad idea , what is the reason for that ? A tool should, in general, always run with the least required privileges. storescu does not need root access rights. The only possible reason might be that it runs as a user that cannot access the DICOM files ...
- Mon, 2024-02-19, 21:38
- Forum: DCMTK - General
- Topic: DCMTK Latest version update issue
- Replies: 9
- Views: 1163
Re: DCMTK Latest version update issue
You are not linking all required libraries. Your DCMTK has been compiled to include zlib and libwrap support, so you need to link against libwrap (-lwrap) and zlib (-lz).
- Mon, 2024-02-19, 21:35
- Forum: DCMTK - General
- Topic: premission
- Replies: 1
- Views: 82
Re: premission
This is not something that can be solved in DCMTK. The writeBMP() method simply uses fopen() to create a file. Such a file always has the owner corresponding to the process creating the file, and access rights 0666 (read-write permission for owner, group and others) as modified by the process umask,...
- Fri, 2024-02-16, 15:53
- Forum: DCMTK - General
- Topic: DCMTK Latest version update issue
- Replies: 9
- Views: 1163
Re: DCMTK Latest version update issue
Your error description is not detailed enough to provide any help. Which platform (OS, compiler, version) are you using, which commands are you calling, what are the error messages printed?
- Wed, 2024-01-31, 12:41
- Forum: DCMTK - Installation
- Topic: Error building DCMTK with Apple M1 chip
- Replies: 2
- Views: 256
Re: Error building DCMTK with Apple M1 chip
The missing symbols are definitely in libtiff. Check if libtiff is really installed, and whether you do have a arm64 version installed. Check the CMake log files do determine the precise call to the linked, and whether the right libtiff file is referenced there. We have a nightly build of DCMTK on M...
- Wed, 2024-01-31, 12:36
- Forum: DCMTK - General
- Topic: Large dicom files
- Replies: 2
- Views: 295
Re: Large dicom files
Don't set the photometric interpretation manually.
- Mon, 2024-01-22, 12:37
- Forum: Announcements
- Topic: DCMTK Forum updated to latest phpBB release
- Replies: 0
- Views: 1052
DCMTK Forum updated to latest phpBB release
The DCMTK Forum has been updated to the latest phpBB release 3.3.11 today.
In the case that anyone should experience unexpected problems caused by the update, please let us know.
In the case that anyone should experience unexpected problems caused by the update, please let us know.
- Tue, 2024-01-16, 12:43
- Forum: DCMTK - General
- Topic: Creating a multi-frame image out of several jpgs
- Replies: 4
- Views: 7150
Re: Creating a multi-frame image out of several jpgs
That does not sound normal. img2dcm should produce a file that is not much larger than the combined size of the JPEG files, plus a few kbytes max. The DICOM file will still be in compressed format. If you decompress it (e.g. by using dcmdjpeg), the size will of course increase. If you manually conve...
- Fri, 2024-01-12, 14:11
- Forum: DCMTK - General
- Topic: Difference in ImageStatus after processing dicom file using dcmtk library
- Replies: 16
- Views: 12742
Re: Difference in ImageStatus after processing dicom file using dcmtk library
We usually receive pull requests via the DCMTK mirror on GitHub https://github.com/DCMTK/dcmtk Note, however, that support for the uncompressed encapsulated transfer syntax requires modifications rather deeply in the DICOM parser. This is not a trivial task, and unless you have multiple years of exp...
- Fri, 2024-01-12, 14:08
- Forum: DCMTK - General
- Topic: Creating a multi-frame image out of several jpgs
- Replies: 4
- Views: 7150
Re: Creating a multi-frame image out of several jpgs
img2dcm has the ability to take multiple images and write them into a DICOM Multiframe Secondary Capture Image file.
You need to use the
You need to use the
--new-sc
command line option and can then simply specify multiple input files on the command line.- Fri, 2024-01-12, 11:28
- Forum: DCMTK - General
- Topic: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
- Replies: 5
- Views: 5260
Re: Application crashes when using DCMTK 3.6.7 in Catalina and Big Sur OS
Otherwise, compile a debug version and execute it in a debugger. The debugger will normally show exactly the place where the crash happens (unless something like a stack corruption happens).
- Wed, 2024-01-10, 15:09
- Forum: DCMTK - General
- Topic: Bad tag conversion with dicom
- Replies: 1
- Views: 12833
Re: Bad tag conversion with dicom
If I understand the question correctly, you want to convert a color image into a monochrome image. That requires calculation of the gray values using the RGB to gray conversion formula, the computation of a new PixelData array, and the adaptation of a few attributes such as Samples per Pixel, Photom...