kandi background
Explore Kits

dcm4che | DICOM Implementation in JAVA | Messaging library

 by   dcm4che Java Version: 5.26.0 License: Non-SPDX

 by   dcm4che Java Version: 5.26.0 License: Non-SPDX

Download this library from

kandi X-RAY | dcm4che Summary

dcm4che is a Java library typically used in Messaging applications. dcm4che has no bugs, it has no vulnerabilities, it has build file available and it has high support. However dcm4che has a Non-SPDX License. You can download it from GitHub.
Issue Tracker: https://github.com/dcm4che/dcm4che/issues Build Status: [![Build](https://github.com/dcm4che/dcm4che/actions/workflows/build.yml/badge.svg)](https://github.com/dcm4che/dcm4che/actions/workflows/build.yml). This is a complete rewrite of [dcm4che-2.x](http://www.dcm4che.org/confluence/display/d2/). One main focus was to minimize the memory footprint of the DICOM data sets. It already provides modules to store/fetch configuration data to/from LDAP, compliant to the DICOM Application Configuration Management Profile, specified in [DICOM PS 3.15](http://dicom.nema.org/medical/dicom/current/output/html/part15.html#chapter_H), Annex H.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • dcm4che has a highly active ecosystem.
  • It has 871 star(s) with 585 fork(s). There are 122 watchers for this library.
  • There were 4 major release(s) in the last 12 months.
  • There are 59 open issues and 684 have been closed. On average issues are closed in 48 days. There are 10 open pull requests and 0 closed requests.
  • It has a positive sentiment in the developer community.
  • The latest version of dcm4che is 5.26.0
dcm4che Support
Best in #Messaging
Average in #Messaging
dcm4che Support
Best in #Messaging
Average in #Messaging

quality kandi Quality

  • dcm4che has 0 bugs and 0 code smells.
dcm4che Quality
Best in #Messaging
Average in #Messaging
dcm4che Quality
Best in #Messaging
Average in #Messaging

securitySecurity

  • dcm4che has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • dcm4che code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
dcm4che Security
Best in #Messaging
Average in #Messaging
dcm4che Security
Best in #Messaging
Average in #Messaging

license License

  • dcm4che 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.
dcm4che License
Best in #Messaging
Average in #Messaging
dcm4che License
Best in #Messaging
Average in #Messaging

buildReuse

  • dcm4che releases are available to install and integrate.
  • Build file is available. You can build the component from source.
  • Installation instructions, examples and code snippets are available.
  • dcm4che saves you 290830 person hours of effort in developing the same functionality from scratch.
  • It has 287493 lines of code, 6813 functions and 1051 files.
  • It has high code complexity. Code complexity directly impacts maintainability of the code.
dcm4che Reuse
Best in #Messaging
Average in #Messaging
dcm4che Reuse
Best in #Messaging
Average in #Messaging
Top functions reviewed by kandi - BETA

kandi has reviewed dcm4che and discovered the below as its top functions. This is intended to give you an instant insight into dcm4che implemented functionality, and help decide if they suit your requirements.

  • Write not extended connections .
    • Initialize pixel data from attributes .
      • Extend sign unsused bits .
        • Helper method to log out the incoming documents
          • Convert a string to a wildcard .
            • Convert a directory .
              • Add UPS options
                • Reads an attribute .
                  • Parses the composite command line options .
                    • Calculate the configuration of planar

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      dcm4che Key Features

                      DICOM Implementation in JAVA

                      dcm4che Examples and Code Snippets

                      See all related Code Snippets

                      Build

                      copy iconCopydownload iconDownload
                      > mvn install

                      WADO-RS: URL to video bulkdata?

                      copy iconCopydownload iconDownload
                      % curl -o movie.mp4 \
                       "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado?requestType=WADO&studyUID=1.3.51.0.7.633920140505.6339234439.633987.633918098&seriesUID=1.3.51.5146.11682.20140505.122553197&objectUID=1.3.51.5146.1682.20140505.1225531.197&contentType=video/*"
                      

                      Gitlab ant.java.version is 11 but I want to build the project using another version

                      copy iconCopydownload iconDownload
                      deploy_Default:
                        stage: deploy
                        image: openjdk:17
                        script:
                          - sh -x doc.sh "$CTP_NAME" "$(cat CTP_VERSION)"
                          - sh -x deploy.sh "$CTP_NAME" "$(cat CTP_VERSION)" "$PROFILE_VERSION" "$PROFILE_NAME"
                      
                      default:
                        before_script:
                          - wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
                          - sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
                          - sudo apt-get update -qq && sudo apt-get install -y adoptopenjdk-17-hotspot latex209-bin texlive-latex-base texlive-latex-extra ant
                          - ant all -f src/build.xml
                      
                      deploy_Default:
                        stage: deploy
                        image: openjdk:17
                        script:
                          - sh -x doc.sh "$CTP_NAME" "$(cat CTP_VERSION)"
                          - sh -x deploy.sh "$CTP_NAME" "$(cat CTP_VERSION)" "$PROFILE_VERSION" "$PROFILE_NAME"
                      
                      default:
                        before_script:
                          - wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -
                          - sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/
                          - sudo apt-get update -qq && sudo apt-get install -y adoptopenjdk-17-hotspot latex209-bin texlive-latex-base texlive-latex-extra ant
                          - ant all -f src/build.xml
                      

                      How to read DICOM string value with backslash (VR=LO, Value="0.4323\0.2325")?

                      copy iconCopydownload iconDownload
                      dataSet.addAll(fmi);
                      return dataSet;
                      
                      fmi.AddAll(dataSet);
                      return fmi;
                      
                      dataSet.addAll(fmi);
                      return dataSet;
                      
                      fmi.AddAll(dataSet);
                      return fmi;
                      

                      dcm4che 5.22.0 dcmqrscp IncompatibleSpecificCharaterSetException

                      copy iconCopydownload iconDownload
                      package org.dcm4che3.data;
                      
                      /**
                       * @author Gunter Zeilinger (gunterze@protonmail.com)
                       * @since Mar 2020
                       */
                      public class IncompatibleSpecificCharaterSetException extends IllegalArgumentException {
                          public IncompatibleSpecificCharaterSetException(String s) {
                              super(s);
                          }
                      }
                      
                      public void setSpecificCharacterSet(String... codes) {
                          ensureModifiable();
                          decodeStringValuesUsingSpecificCharacterSet();
                          setString(Tag.SpecificCharacterSet, VR.CS, codes);
                      }
                      
                      --fs-desc-cs <code>                 Character Set used in File-set
                                                              Descriptor File ("ISO_IR 100" =
                                                              ISO Latin 1)
                      
                      package org.dcm4che3.data;
                      
                      /**
                       * @author Gunter Zeilinger (gunterze@protonmail.com)
                       * @since Mar 2020
                       */
                      public class IncompatibleSpecificCharaterSetException extends IllegalArgumentException {
                          public IncompatibleSpecificCharaterSetException(String s) {
                              super(s);
                          }
                      }
                      
                      public void setSpecificCharacterSet(String... codes) {
                          ensureModifiable();
                          decodeStringValuesUsingSpecificCharacterSet();
                          setString(Tag.SpecificCharacterSet, VR.CS, codes);
                      }
                      
                      --fs-desc-cs <code>                 Character Set used in File-set
                                                              Descriptor File ("ISO_IR 100" =
                                                              ISO Latin 1)
                      
                      package org.dcm4che3.data;
                      
                      /**
                       * @author Gunter Zeilinger (gunterze@protonmail.com)
                       * @since Mar 2020
                       */
                      public class IncompatibleSpecificCharaterSetException extends IllegalArgumentException {
                          public IncompatibleSpecificCharaterSetException(String s) {
                              super(s);
                          }
                      }
                      
                      public void setSpecificCharacterSet(String... codes) {
                          ensureModifiable();
                          decodeStringValuesUsingSpecificCharacterSet();
                          setString(Tag.SpecificCharacterSet, VR.CS, codes);
                      }
                      
                      --fs-desc-cs <code>                 Character Set used in File-set
                                                              Descriptor File ("ISO_IR 100" =
                                                              ISO Latin 1)
                      

                      See all related Code Snippets

                      Community Discussions

                      Trending Discussions on dcm4che
                      • WADO-RS: URL to video bulkdata?
                      • Gitlab ant.java.version is 11 but I want to build the project using another version
                      • How to read DICOM string value with backslash (VR=LO, Value=&quot;0.4323\0.2325&quot;)?
                      • How can I do a DICOM query and retrieve from a Ginkgo PACS (or any other) using dcm4che
                      • dcm4che 5.22.0 dcmqrscp IncompatibleSpecificCharaterSetException
                      Trending Discussions on dcm4che

                      QUESTION

                      WADO-RS: URL to video bulkdata?

                      Asked 2022-Mar-15 at 16:20

                      I am trying to setup a HTML page to point to a video. So basically I would need to know what is the source url I need to define inside my <video/> element ?

                      My server is simply a dcm4che server. I followed instructions from here. Then I downloaded locally a sample DICOM/MP4 instance from here. And then push that DICOM file to local dcm4che server:

                      $ curl -X POST --header 'Accept: application/dicom+json' \
                       http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies --header \
                       'Content-Type: multipart/related; type="application/dicom"' --form \ 
                       "file1=@test_720.dcm;type=application/dicom"
                      

                      However to retrieve the bulkdata, all I can find is the multipart/related mechanism which does not seems to be supported by chrome:

                      % curl -o mp4.multipart -H "Accept: multipart/related; type=video/*" \
                        http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.3.51.0.7.633920140505.6339234439.633987.633918098/series/1.3.51.5146.11682.20140505.122553197/instances/1.3.51.5146.1682.20140505.1225531.197
                      

                      where:

                      % head -4 mp4.multipart
                      --6c391389-5d03-4e40-9fd1-c8be842e8c88
                      Content-Location: http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/rs/studies/1.3.51.0.7.633920140505.6339234439.633987.633918098/series/1.3.51.5146.11682.20140505.122553197/instances/1.3.51.5146.1682.20140505.1225531.197
                      Content-ID: <5caeda59-9477-40ec-a2e2-b69610923757@resteasy-multipart>
                      Content-Type: video/mp4
                      

                      ...and then eventually I see the binary ftypisom (so this is a valid MP4 file wrapped into a multipart/related header).

                      So if I understand correctly chrome does not support multipart/related (I'd like to avoid using a javascript parser just to removing the first 5 lines of ASCII text), so my only possible solution would be to retrieve the MP4 using a different mechanism. But I did not find it so far.

                      ANSWER

                      Answered 2022-Mar-15 at 16:20

                      One possible solution is to use WADO-URI instead of WADO-RS. For example:

                      % curl -o movie.mp4 \
                       "http://localhost:8080/dcm4chee-arc/aets/DCM4CHEE/wado?requestType=WADO&studyUID=1.3.51.0.7.633920140505.6339234439.633987.633918098&seriesUID=1.3.51.5146.11682.20140505.122553197&objectUID=1.3.51.5146.1682.20140505.1225531.197&contentType=video/*"
                      

                      An extension was added to the DICOM standard precisely for this use case. See:

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

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

                      Vulnerabilities

                      No vulnerabilities reported

                      Install dcm4che

                      After installation of [Maven 3](http://maven.apache.org):.

                      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 .

                      DOWNLOAD this Library from

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Explore Related Topics

                      Share this Page

                      share link
                      Consider Popular Messaging Libraries
                      Try Top Libraries by dcm4che
                      Compare Messaging Libraries with Highest Support
                      Compare Messaging Libraries with Highest Quality
                      Compare Messaging Libraries with Highest Security
                      Compare Messaging Libraries with Permissive License
                      Compare Messaging Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      • © 2022 Open Weaver Inc.