#cli #dicom #image #image-conversion

app dicom-toimage

A CLI tool for converting DICOM files into general purpose image files

4 releases

0.1.3 Dec 12, 2022
0.1.2 Oct 23, 2022
0.1.1 Jul 19, 2022
0.1.0 Apr 28, 2022

#2235 in Command line utilities

MIT/Apache

280KB
5.5K SLoC

DICOM-rs toimage

CratesIO Documentation

A command line utility for converting DICOM image files into general purpose image files (e.g. PNG).

This tool is part of the DICOM-rs project.

Usage

    dicom-toimage [FLAGS] [OPTIONS] <file>

FLAGS:
        --16bit      Force output bit depth to 16 bits per sample
        --8bit       Force output bit depth to 8 bits per sample
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Print more information about the image and the output file

OPTIONS:
    -F, --frame <frame-number>    Frame number (0-indexed) [default: 0]
    -o, --out <output>            Path to the output image (default is to replace input extension with `.png`)

ARGS:
    <file>    Path to the DICOM file to convert

Dependencies

~21MB
~345K SLoC