Search found 1437 matches
- Wed, 2024-03-27, 09:27
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 5
- Views: 175
Re: img2dcm fail with converted images
Once you have converted the image to uncompressed DICOM, you can use one of the lossless compression schemes available in DCMTK to apply an image compression, e.g. check the "dcmcjpeg" and "dcmcjpls" tools. Note that it is NOT possible to convert a PNG image to DICOM without deco...
- Sun, 2024-03-24, 16:02
- Forum: DCMTK - General
- Topic: img2dcm fail with converted images
- Replies: 5
- Views: 175
Re: img2dcm fail with converted images
That is probably correct. PNG is a compressed image format, DICOM is uncompressed. So the DICOM image file will necessarily be larger than the PNG file. A compression ratio of 3:1 sounds plausible.
- Mon, 2024-03-11, 09:31
- Forum: DCMTK - General
- Topic: Character conversion does not fail when characters cannot be converted
- Replies: 4
- Views: 118
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: 118
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: 145
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: 4369
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: 1227
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: 86
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: 1227
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: 261
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: 303
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: 1147
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: 8252
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: 13782
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: 8252
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.