Giter Club home page Giter Club logo

wsi-to-dicom-converter-1's Introduction

WSI to DICOM Converter

This repository contains a tool that converts whole slide images (WSIs) to DICOM. To read the underlying whole slide images (WSIs), this tool relies on OpenSlide, which supports a variety of file formats.

Quickstart

To download the latest release, on the Releases tab, download the installer for your operating system and then run it. For example, if you're running on a Debian-based system, download the wsi_x.y.z.deb file and then run:

sudo apt install ./wsi_x.y.z.deb

Note: if you get an error about missing shared libraries, run sudo ldconfig or make sure that /usr/local/lib is in your LD_LIBRARY_PATH.

If an installer isn't available for your operating system, see Compiling from source.

After you have installed the WSI to DICOM converter, to convert a file, run the following command:

wsi2dcm --input <wsiFile> --outFolder <folder for generated files> --seriesDescription <text description>

Test data is freely available from OpenSlide.

To see all available options, run: wsi2dcm --help.

Compiling from source

If you're using Ubuntu, run the following command to download the dependencies and build the tool:

sudo ./cloud_build/ubuntuBuild.sh

Otherwise, follow these steps:

  1. Download the source from the Releases tab or check out the repo.
  2. Make sure that you have the following dependencies installed:
  1. Run the following commands:
mkdir build
cd build
cp -R %dcmtkDir% ./dcmtk-3.6.2 
cmake ..
make -j%threads%

wsi-to-dicom-converter-1's People

Contributors

dzelemba avatar kourtneyshort avatar pavertomato avatar

Watchers

 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.