Git Product home page Git Product logo

zhouhui521 / dicomsharp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deregtd/dicomsharp

0.0 0.0 0.0 4.84 MB

DICOMSharp is a C#-based DICOM toolkit, with several useful associated projects: PSWebsite, DICOMManager, and more.

License: GNU General Public License v3.0

JavaScript 1.58% C++ 1.12% C 0.22% C# 75.02% TypeScript 20.76% HTML 0.18% Batchfile 0.02% Less 1.09% ASP.NET 0.01%

dicomsharp's Introduction

Prerequisites:

DCMTK setup for DICOMSharpJPEGCompression:

  • Decompress the dcmtk-3.6.0.tar.gz into the DICOMSharp/DICOMSharpJPEGCompression dir, so you end up with a "dcmtk-3.6.0" dir alongside the openjpeg dir
  • Run CMake
    • Enter the dcmtk-3.6.0 dir as both the source code dir and where to build the binaries
    • Hit configure, pick your choice of compiler (VS2015 32-bit), wait like 5 minutes while it does a bunch of checks
    • When it's done, you can press the Generate button.
    • Close CMake
  • Go into the dcmtk-3.6.0 dir and open DCMTK.sln with VS
    • In the solution explorer, find the ALL_BUILD project (should be at the top), and build it once in debug and once in release
    • Assuming both built successfully, close that visual studio, you shouldn't need it ever again

CharLS setup for DICOMSharpJPEGCompression:

  • Decompress the CharLS 2.0.0.zip file into the DICOMSharp/DICOMSharpJPEGCompression dir, so you end up with a "charls-2.0.0" dir alongside the openjpeg and dcmtk-3.6.0 dirs

OpenJPEG setup DICOMSharpJPEGCompression:

  • Decompress the openjpeg-v2.1.2-windows-x86.zip file into the DICOMSharp/DICOMSharpJPEGCompression dir, so you end up with a "openjpeg-v2.1.2-windows-x86" dir alongside the openjpeg, dcmtk-3.6.0, and charls-2.0.0 dirs

Build:

  • Run VS2015 as administrator (you'll need to do this every time)
  • Open DICOMSharp.sln
  • Build all and run your desired project

PSWebsite Setup:

  • You must go into IIS settings and create a new application (suggested path /pswebsite) or new website that points at the PSWebsite directory, and make a new app pool for the application/website that has 32-bit enabled (App Pool -> Advanced Settings -> Enable 32-bit Applications)

WebUser.config:

  • Copy WebUser.config.sample and rename it to WebUser.config
  • Leave it in place to use it with SQLite, or change the parameters to use your desired MSSQL or MySQL database host

Web Compiler Setup:

  • By default, Visual Studio uses a version of node.js which is too old to support Webpack. As such, you need to configure Visual Studio to use your manually-installed Node:
  • Open DICOMSharp.sln
  • Open Tools > Options, Projects and Solutions > External Web Tools
  • Click on the entry for "$(PATH)" and click the up arrow button to move the entry above "$(DevEnvDir)\Extensions\Microsoft\Web Tools\External"
  • Either manually re-run Task Runner or restart VS

Other notes:

dicomsharp's People

Contributors

deregtd avatar

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.