bpjohannessen / dicom

DICOM to video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DICOM to video

linters

Convert DICOM files such as magnetic resonance and computer tomography images, fluoroscopy and ultrasound images to a video file.

Requirements

  • ImageMagick
  • ffmpeg

To install on macOS with homebrew:

git clone https://github.com/andreoss/dicom; cd dicom; brew install imagemagick; brew install ffmpeg

Usage

You need to specify an input directory, which is walked recursively. If --weigth and --height not specified, maximal available values for both will be used. Frame rate can be specified by --rate.

Example

$ ./dicom --input ~/DICOM/ --overwrite --output ~/result.mp4 --rate 6 --width 600 --height 400

About

DICOM to video


Languages

Language:Shell 100.0%