Dear Orthanc Users,
I want to use Orthanc has a DICOM server and I think make use of DICOMweb for REST access to images, etc. However, how would I go about developing my own image viewer ideally I would like to be able to grab the requested DICOM file convert to e.g. jpg and show on HTML/WebGL page. I would also want a GUI type set up where users can apply image processing to the image e.g. segmentation, color maps etc. through button clicks etc.
Ideally, I would like to use C++, OpenCV, Python if possible? I’m thinking Visual Studio IDE for C++ with third-party GUI library. Is this possible if I convert the final project to .dll and import through plugin? Or s it better to stick with HTML/WebGL as described above?
Does anybody have any similar projects I could look at to get an idea?
Any help appreciated.
Thanks
David
There are several projects that work on viewers compatible with Orthanc.
Some come as Orthanc plugins, including the viewer from Osimis and the Orthanc Web Viewer mentioned in the Orthanc book.
The Orthanc Web Viewer plugin is built on top of the Cornerstone javascript library for medical imaging. You can create quite a sophisticated online viewer with that library.
The most sophisticated Orthanc compatible viewer that I’ve run across and am currently looking into is the Open Health Imaging Foundation’s viewer, itself built with the Cornerstone library.
Those are the three that I’ve looked at myself.
Good luck,
John.
I will look at the OHIF viewer as the basis for a new project I’m developing that looks at mammograms in particular image processing of digital images e.g., segmentation, contour analysis etc. Is the OHIF source code completely customisable with regards, logos, colours, look-and-feel etc.?
I have many routines written in C++, OpenCV, Python that I would like to integrate into the OHIF viewer. Is this possible? I know it is a JS, CSS, HTML5 library but are there workarounds?
Also, would it be possible to integrate some WebGL 3D style graphics into the OHIF viewer? Do you know if anyone has done this?
Thanks
David
Hello,
I have many routines written in C++, OpenCV, Python that I would like
to integrate into the OHIF viewer. Is this possible? I know it is a
JS, CSS, HTML5 library but are there workarounds?
Python might be a tough one currently, but C/C++ compiles nicely to Web
Assembly (or asm.js as a fallback). Stone of Orthanc[1] actually works
this way.
Also, would it be possible to integrate some WebGL 3D style graphics
into the OHIF viewer? Do you know if anyone has done this?
You'll want to discuss these kinds of things in OHIF-specific channels,
this mailing list is rather focused on Orthanc.
Regarding your earlier question about the format of the resulting
artefact you want to produce: Yes you can embed everything in a DLL/SO
file, including frontend resources (HTML/CSS/JS). C/C++ code intended
to run on the frontend needs to be compiled to WASM as explained above,
and may again be embedded in the DLL/SO. C/C++ code intended to run on
the backend can be compiled to the native target platform as usual and
use the Orthanc SDK to hook as a plugin. By then dropping this DLL/SO
file in an Orthanc plugin directory, Orthanc can serve it up (and you
can add buttons in the Orthanc Explorer for example).
[1] http://orthanc-server.com/static.php?page=stone