All Projects → GoogleCloudPlatform → wsi-to-dicom-converter

GoogleCloudPlatform / wsi-to-dicom-converter

Licence: Apache-2.0 license
Conversion tool/library for converting whole slide images to DICOM

Programming Languages

C++
36643 projects - #6 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to wsi-to-dicom-converter

DigiPathAI
Digital Pathology AI
Stars: ✭ 43 (-17.31%)
Mutual labels:  openslide, wsi
dicomweb-wsi-viewer
Proof of concept whole slide imaging viewer on top of Google Cloud Healthcare DICOM API.
Stars: ✭ 34 (-34.62%)
Mutual labels:  dicom, wsi
bluelight
a browser-based DICOM viewer
Stars: ✭ 35 (-32.69%)
Mutual labels:  dicom, wsi
Projectaiai
AiAi.care project is teaching computers to "see" chest X-rays and interpret them how a human Radiologist would. We are using 700,000 Chest X-Rays + Deep Learning to build an FDA 💊 approved, open-source screening tool for Tuberculosis and Lung Cancer. After an MRMC clinical trial, AiAi CAD will be distributed for free to emerging nations, charitable hospitals, and organizations like WHO 🌏 We will also release our pretrained models and weights as Medical Imagenet.
Stars: ✭ 92 (+76.92%)
Mutual labels:  dicom
Go Dicom
🏥 DICOM Medical Image Parser in Go
Stars: ✭ 96 (+84.62%)
Mutual labels:  dicom
Dicomviewer
DICOM Viewer in Nextcloud
Stars: ✭ 139 (+167.31%)
Mutual labels:  dicom
Dicoogle
Dicoogle - Open Source PACS
Stars: ✭ 237 (+355.77%)
Mutual labels:  dicom
Starviewer
Starviewer, a cross-platform open source medical imaging software
Stars: ✭ 83 (+59.62%)
Mutual labels:  dicom
Dicomtomesh
A command line tool to transform a DICOM volume into a 3d surface mesh (obj, stl or ply). Several mesh processing routines can be enabled, such as mesh reduction, smoothing or cleaning. Works on Linux, OSX and Windows.
Stars: ✭ 191 (+267.31%)
Mutual labels:  dicom
Evil Dicom
A C# DICOM Library
Stars: ✭ 121 (+132.69%)
Mutual labels:  dicom
Cornerstone
JavaScript library to display interactive medical images including but not limited to DICOM
Stars: ✭ 1,690 (+3150%)
Mutual labels:  dicom
Dicom Server
OSS Implementation of DICOMweb standard
Stars: ✭ 101 (+94.23%)
Mutual labels:  dicom
Dicomcloud
Azure friendly DICOMweb part 18 .NET server with qido-rs, wado-rs, stow-rs, wado-uri RESTful implementation
Stars: ✭ 140 (+169.23%)
Mutual labels:  dicom
Dcmjs
dcmjs is a javascript cross-compile of dcmtk (dcmtk.org).
Stars: ✭ 92 (+76.92%)
Mutual labels:  dicom
Cornerstonewadoimageloader
DICOM WADO Image Loader for the cornerstone library
Stars: ✭ 195 (+275%)
Mutual labels:  dicom
Dicom Ecg Plot
Dicom ECG Viewer and Converter. Convert to PDF, PNG, JPG, SVG, ...
Stars: ✭ 84 (+61.54%)
Mutual labels:  dicom
Dicom Rs
Pure Rust implementation of the DICOM standard
Stars: ✭ 152 (+192.31%)
Mutual labels:  dicom
Mritopng
A simple python module to make it easy to batch convert DICOM files to PNG images.
Stars: ✭ 113 (+117.31%)
Mutual labels:  dicom
Viewers
The OHIF Medical Imaging Viewer is for viewing medical images. It can retrieve and load images from most sources and formats; render sets in 2D, 3D, and reconstructed representations; allows for the manipulation, annotation, and serialization of observations; supports internationalization, OpenID Connect, offline use, hotkeys, and many more features.
Stars: ✭ 1,753 (+3271.15%)
Mutual labels:  dicom
Dcmqi
dcmqi (DICOM for Quantitative Imaging) is a free, open source library that can help with the conversion between imaging research formats and the standard DICOM representation for image analysis results
Stars: ✭ 126 (+142.31%)
Mutual labels:  dicom

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

Debian-based Linux

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 wsi2dcm_x.y.z.deb file and then run:

sudo apt install ./wsi2dcm_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.

You may also need to install the following packages and their dependencies with sudo apt-get install:

  • libtiff-dev
  • libxml2-dev
  • libcairo-dev
  • gtk2-engines-pixbuf

MacOS

brew install wsi2dcm.rb

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.

Complete set of parameters

input

Input wsi file, supported by openslide.

outFolder

Folder to store dcm files

tileHeight

Tile height px.

tileWidth

Tile width px.

levels

Number of levels to generate, levels == 0 means number of levels will be read from wsi file.

downsamples

Size factor for each level for each level, downsample is size factor for each level.

eg: if base level size is 100x100 and downsamples is (1, 2, 10) then

  • level0 100x100
  • level1 50x50
  • level2 10x10
startOn

Level to start generation.

stopOn

Level to stop generation.

sparse

Use TILED_SPARSE frame organization, by default it's TILED_FULL http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.7.6.17.3.html

compression

Compression, supported compressions: jpeg, jpeg2000, raw.

seriesDescription

(0008,103E) [LO] SeriesDescription Dicom tag.

studyId

(0020,000D) [UI] StudyInstanceUID Dicom tag.

seriesId

(0020,000E) [UI] SeriesInstanceUID Dicom tag.

jsonFile

Dicom json file with additional tags https://www.dicomstandard.org/dicomweb/dicom-json-format/

batch

Maximum frames in one file, as limit is exceeded new files is started.

eg: 3 files will be generated if batch is 10 and 30 frames in level

threads

Threads to consume during execution.

debug

Print debug messages: dimensions of levels, size of frames.

dropFirstRowAndColumn

Drop first row and column of the source image in order to workaround bug openslide/openslide#268

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.6
cmake ..
make -j%threads%
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].