Giter VIP home page Giter VIP logo

Comments (10)

knopkem avatar knopkem commented on June 30, 2024

Hi,
please note that the latest release of OHIF is 4.8.6. I just updated the repo to include this build version which (using my fix that never got merged) still works.

v5 is a testing branch and apparently there are still some bugs. Running yarn dev against their own dcm4chee archive fails:

ohif

The error you showed indicates that wadouri is now even more broken than before (wadouri should not access individual frames, this is a wadors behavior, thus the proxy doesn't provide this route).

If you want to test the latest version I would suggest to use dicomweb-pacs. This handles the frame route (but I have no idea if it works with v5)

from dicomweb-proxy.

knopkem avatar knopkem commented on June 30, 2024

I just tested it with dicomweb-pacs and could get it to work at least to the point where I get the same issue as above.
Try the branch "experimental"

from dicomweb-proxy.

knopkem avatar knopkem commented on June 30, 2024

Ahh, wait I tested the v5 with my modifications (needed for wadouri before) and apparently this doesn't work anymore. So when using dicomweb-pacs (defaulting to wadors) with the default v5 branch it works now. I updated the experimental package.
If there is time I will check into wado-uri (for dicomweb-proxy)

from dicomweb-proxy.

knopkem avatar knopkem commented on June 30, 2024

ok, I just gave it a try and it worked! Apparently OHIF finally fixed the wadouri issue (so my patch is not needed here as well).
I could not use the umd package so switched to the progressive build but that seems to work.
I pushed it to "experimental" branch in this repo.
Note: keycloak has been removed to simplify testing. Let me know if it works for you too.

from dicomweb-proxy.

thanhtd1012 avatar thanhtd1012 commented on June 30, 2024

Oke! I got it!
I will follow it!
Let you know if it work too.

Thank you so much!

from dicomweb-proxy.

thanhtd1012 avatar thanhtd1012 commented on June 30, 2024

Hi @knopkem!
Could you tell me the difference between dicomweb-proxy and dicomweb-pacs?
Could I use dicomweb-pacs instead of dicomweb-proxy?

Thank you so much!

from dicomweb-proxy.

knopkem avatar knopkem commented on June 30, 2024

Hello,
the dicomweb-proxy is a proxy between a dicomweb ready image viewer (e.g. the ohif viewer, but not limited to it) and any standard complient PACS archive (e.g. DCM4CHEE, Orthanc, Conquest, siemens, GE pacs etc.). Basically what it does: it translates DICOM network messages to DICOMWEB messages. It can only use wadouri as it is limited by the metadata the DICOM messages provide (c-find results). Wadouri is less performant than wadors and OHIF disables some functionality if this is used (e.g. MPR)

The dicomweb-pacs projects doesn't use this proxy step but rather is a PACS itself while at the same time provides a direct interface to dicomweb. This way it has access to all the metadata and can provide wadors (default) as well as wadouri. It is similar to DCM4CHEE v5 (arc-light) but the PACS archive is very basic and only uses sql-light as storage database. However the goal is to be able to set it up in seconds (while installing DCM4CHEE is still a pain, without using docker).

Let me know if you have more questions.

from dicomweb-proxy.

thanhtd1012 avatar thanhtd1012 commented on June 30, 2024

Oke! Thanks!

I tried your dicomweb-proxy at "experimental" branch in this repo.

Hoverwer, it is still not working when running the latest version of OHIF/Viewers( v5.0.0-v2-sprint-1):

I got the error
Cannot GET /viewer/rs/studies/1.2.840.114257.42904.2015122104032215890/series/1.2.840.114257.42904.2015122104032215890.1/instances/1.2.840.114257.42904.2015122104032215890.1.1.1/frames/1

And I checked console.log, get the error below
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Please check and help me!
Could you tell me about how to you corrected!
Thank you so much!

from dicomweb-proxy.

knopkem avatar knopkem commented on June 30, 2024

From the error it is clear that you use the ohif viewer with a wrong config. By default when compiling ohif yourself the config will use wadors. Thus make sure to use the correct 'app-config.js' file that sets wadouri for image and thumbnail rendering.

window.config = {
  routerBasename: '/',
  // whiteLabelling: {},
  extensions: [],
  modes: [],
  showStudyList: true,
  // filterQueryParam: false,
  dataSources: [
    {
      friendlyName: 'DICOMWeb Server',
      namespace: 'org.ohif.default.dataSourcesModule.dicomweb',
      sourceName: 'dicomweb',
      configuration: {
        name: 'DICOMWEB_PACS',
        wadoUriRoot: 'wadouri',
        qidoRoot: 'rs',
        wadoRoot: 'rs',
        qidoSupportsIncludeField: true,
        imageRendering: 'wadouri',
        thumbnailRendering: 'wadouri',
        enableStudyLazyLoad: true,
        supportsFuzzyMatching: true,
      },
    },
  ],
  defaultDataSourceName: 'dicomweb',
};

Btw. the 'experimental' branch contains the precompiled v5 version, just try with this first. Also make sure to delete your browser cache before.

from dicomweb-proxy.

thanhtd1012 avatar thanhtd1012 commented on June 30, 2024

Hi @knopkem!
I got it!
I tried it. It is worked correctly!
Thank you so much!

from dicomweb-proxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.