dcmtk | Official DCMTK Github Mirror | Messaging library

 by   DCMTK C++ Version: DCMTK-3.6.7 License: Non-SPDX

kandi X-RAY | dcmtk Summary

kandi X-RAY | dcmtk Summary

dcmtk is a C++ library typically used in Messaging applications. dcmtk has no bugs and it has low support. However dcmtk has 11 vulnerabilities and it has a Non-SPDX License. You can download it from GitHub.

This DICOM ToolKit (DCMTK) package consists of source code, documentation and installation instructions for a set of software libraries and applications implementing part of the DICOM/MEDICOM Standard.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              dcmtk has a low active ecosystem.
              It has 592 star(s) with 258 fork(s). There are 52 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              dcmtk has no issues reported. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of dcmtk is DCMTK-3.6.7

            kandi-Quality Quality

              dcmtk has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              dcmtk has 11 vulnerability issues reported (3 critical, 7 high, 1 medium, 0 low).
              dcmtk code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dcmtk has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              dcmtk releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of dcmtk
            Get all kandi verified functions for this library.

            dcmtk Key Features

            No Key Features are available at this moment for dcmtk.

            dcmtk Examples and Code Snippets

            No Code Snippets are available at this moment for dcmtk.

            Community Discussions

            QUESTION

            How can I update all UIDs of a DICOM study while maintaining its structure?
            Asked 2022-Mar-02 at 08:42

            I have a DICOM study with 3 series and want to refresh its UIDs (StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID) to do some tests. All the data is in a single directory so it's not possible to tell which DICOM belongs to which series.

            What I have tried is using dcmodify (dcmtk) with some generate options :

            ...

            ANSWER

            Answered 2022-Mar-02 at 08:42

            QUESTION

            Docker Build Error with Sockets and php-fpm 8.0 invalid application of 'sizeof' to incomplete type 'struct cmsgcred'
            Asked 2022-Feb-12 at 01:56

            I have a custom Docker build of nginx and php-fpm that I am pretty sure was working until recently. I am now getting the error mentioned above during a build using the DockerFile below when using 8.0-fpm, but not with 8.1.1-fpm-bullseye, although there are some other issues with using 8.1.1 in some of the PHP code (deprecations and warnings).

            ...

            ANSWER

            Answered 2022-Feb-12 at 01:56

            PHP 8.0.15 and 8.1.2 has a bug which is breaks compile sockets extension.

            You have a two options:

            1. Skip this versions.
            2. Apply a workaround to bypass bug and build sockets extenstension.

            Source:

            Source https://stackoverflow.com/questions/71074432

            QUESTION

            Echoscu Failed: Data Dictionary Missing
            Asked 2022-Feb-09 at 05:31

            I am running Orthanc Server using docker-compose file and attempting to connect to DICOM Server using TLS connection.More details here https://groups.google.com/g/orthanc-users/c/6gNCOVwTc6c. I downloaded the source code from github for dcmtk 3.6.6 (https://github.com/DCMTK/dcmtk). Followed the instruction for build and built dcmtk 3.6.6 on my debian 10 system. I added the "dcmtk-3.6.6-install/usr/local/bin/" folder to PATH using export PATH command.

            After that I attempted to connect to the docker container using the command echoscu -v -aet ORTHANCA localhost 4242 +tls orthanc-a-server-key.pem orthanc-a-server-crt.pem +cf trusted-crt.pem. I received the following error log:

            ...

            ANSWER

            Answered 2022-Feb-09 at 05:31

            Your DICOM dictionary is not found, meaning that probably something in the build/installation went wrong.

            There are 2 possibilities to include the DICOM dictionary:

            • compile it into the library (default under Windows)
            • install it and point the environment variable DCMDICTPATH to its location (default under Posix)

            From the documentation:

            The built-in approach offers the advantage that a binary will not have to load any information from a separate file which may get lost or or used in an outdated version. Loading the dictionary content from a separate file, however, has the advantage that application programs need not be recompiled if additions or corrections are made to the data dictionary.

            The related information can be found in the dcmtk sources under dcmdata/docs/datadict.txt, there is also an online version of the file.

            In short, for non-Windows systems:

            To compile the dictionary into the library:

            • with autoconf, use the options --enable-builtin-dict and --disable-external-dict
            • with CMake, use DCMTK_ENABLE_BUILTIN_DICTIONARY

            To use the separate dictionary:

            • use the default build options and make sure that use the install-libs option; in this case dicom.dic will be installed into the default location (under ) and should be found; for this, you should call "make install" and specify the installation path during "configure" (aka as "--prefix") if needed

            • if you want to use your own dictionary, or for some reason want to move the dictionary elsewhere, you have to set DCMDICTPATH to the location of that dictionary, e.g.:

            Source https://stackoverflow.com/questions/70843378

            QUESTION

            showing the full content of ImageType in DCMTK
            Asked 2022-Jan-26 at 11:17

            I'm trying to read a number of Siemens DICOM images with DCMTK, some of which are mosaic images. I'm looking for a quick way to find those.

            What I can see with mosaic images is that this is specified in the ImageType tag, e.g.

            ...

            ANSWER

            Answered 2022-Jan-26 at 11:17

            Image Type (0008,0008) is a multi-valued attribute. That is, it may include several values which are separated by the backslash character. Note, that "officially", the backslash is not part of the attribute's value. It is a delimiter between several values of the attribute. This is what you have. So in terms of DICOM, there is no "one value" but multiple ones. The DCMTK API allows you to handle this (of course).

            findAndGetOFString() has a third parameter ("index") to define which of the multiple values you want to obtain.

            The behavior that you probably expect is what findAndGetOFStringArray() does.

            As an alternative, you could iterate through the multiple values of the attribute by obtaining the "Value Multiplicity" first and then loop through the values like

            Source https://stackoverflow.com/questions/70861484

            QUESTION

            gl.h: No such file or directory, I can't seem to quell this error
            Asked 2021-Jul-26 at 18:58

            I was wondering if anyone could help me with this problem that has been plaguing me.

            I am currently using Qt Creator with verion 5.11.3 Qt on Ubuntu to build a project. Every time I try to build I get the error "gl.h: No such file or directory".

            The error occurs next to the line in my code that says "#include

            I have ran the following code as well and it did not change the outcome

            ...

            ANSWER

            Answered 2021-Jul-26 at 18:58

            Install the OpenGL dev support:

            Source https://stackoverflow.com/questions/68532467

            QUESTION

            DCMTK change logger filename
            Asked 2021-May-07 at 08:51

            I am very confused about the DCMTK > 3.6.0 logging mechanism oflog/log4cplus

            I simply need my code to specify the logname for dcmtk to log into. How is that done ?

            Thanks!

            ...

            ANSWER

            Answered 2021-May-07 at 08:51

            QUESTION

            How does matching work for SOP Class UID in C-Find (Query/Retrieve)?
            Asked 2021-Mar-16 at 19:50

            I am confused about the role of SOP Class UID in QR Query C-Find.

            • In the C-Find request can I have SOP Class UID (0008,0016) empty?

            • In that case, supposed the query was on the IMAGE level, should that field be then populated in each response with the SOP Class UID of that image?

            My experience with DCMTK is that it does not populate that field in C-Find response. But I am not sure if this is according to the standard, or a problem in DCMTK or elsewhere in my code which uses DCMTK QR.

            ...

            ANSWER

            Answered 2021-Mar-01 at 15:27

            The SOP Instance UID is a mandatory return key for the Query SCP in an IMAGE-Level request. It must not be present in any request on any other level (PATIENT, STUDY, SERIES). The SOP Class UID is optional, but it is usually supported by an SCP. In many places in the Standard SOP Class- and Instance UID form a pair that uniquely identifies the object, and here the SOP Class UID is a required attribute. So not supporting it would significantly reduce the use scenarios for the SCP.

            Since the background of querying for SOP Instance UID is usually: "Please give me a list of images belonging to this particular patient, study and series", it is very common to send it empty with the request. This instructs the SCP to fill in this attribute in its responses.

            Source https://stackoverflow.com/questions/66417110

            QUESTION

            fatal error: dcmtk/config/osconfig.h: No such file or directory
            Asked 2021-Mar-04 at 20:19

            I am desperately trying, as a CMake newbie to get DCMTK to do stuff. The example I am trying to compile and run is the following:

            ...

            ANSWER

            Answered 2021-Mar-04 at 20:19

            DCMTK sadly does not provide correctly exported CMake targets, so you will have to patch around that. I installed DCMTK via vcpkg and was able to compile your code with this build (after replacing COUT with std::cout and including iostream):

            Source https://stackoverflow.com/questions/66480055

            QUESTION

            DCMTK library says tag not found while dcmdump displays it
            Asked 2021-Feb-26 at 17:02

            My program, for a Ubuntu 20 system using DCMTK 3.6.4-2, reads a dicom file (series) and gets the scale slopes from the corresponding tags, testing first whether they exist:

            ...

            ANSWER

            Answered 2021-Feb-26 at 17:02

            The tag you are looking for is inside a sequence (RealWorldValueMappingSequence). To get to the tag, you first have to get the sequence, something like this:

            Source https://stackoverflow.com/questions/66385267

            QUESTION

            Problem reading the Content Sequence tag of DICOM file using DCMTK
            Asked 2021-Feb-26 at 06:41

            Using DCMTK, I am trying to get the entire node of Content Sequence of .dcm SR files to extract measurements related to obstetrical scans. I use C-Find query. I am able to get the entire Content Sequence with Toshiba ultrasound machine but not with other brands. I don't think that this is a brand issue but the way I have set up the C-Find process. I am very new to this and am struggling to resolve the issue. I have included 2 log files below: one for the working case that successfully gets the entire node of Content Sequence tag, and another log for the non-working case that stops the process with an error "DIMSE Status: 0xc000: Error: Failed - Unable to process error". I appreciate any help or your insightful advice.

            This the log for the non-working query

            ...

            ANSWER

            Answered 2021-Feb-26 at 06:41

            Your requests only differ in that your non-working query queries for a different patient ID.

            An obvious mistake in both queries is that for a SERIES-level request in STUDY-ROOT, you must not include a value for the Patient ID, but for the Study Instance UID. This is wrong in terms of DICOM, but Orthanc seems to be capable of handling it in general. This is however the only hint that I can obtain from your logs, so I would give it a try.

            Please note, that the Content Sequence is not a mandatory Return Key for the C-FIND, so you can never rely on the SCP supporting it.

            Source https://stackoverflow.com/questions/66380744

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install dcmtk

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/DCMTK/dcmtk.git

          • CLI

            gh repo clone DCMTK/dcmtk

          • sshUrl

            git@github.com:DCMTK/dcmtk.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link