Skip to content

edap/pardi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pardi

A command line tool to parse DICOM files. It extracts Patient ID, Patient Name and file name.

Build

To build the cli tool, move into the pardi folder and run cargo build --release. This command generates an optimized build in the target/release folder

To build the tool with rayon enabled, run cargo build --release --features rayon

Usage

After the build process, in target/release you can find the pardi binary. Run it with ./pardi. See the next sections for the available options.

Options

  • --path = Specify the path where to look for DICOM files. By default it tries to scan the current directory

Example: ./target/release/pardi --path /home/user/data

  • --format = The format of the output, json and csv are available. Default json

Example: ./target/release/pardi --path data --format csv

  • --debug = Print error messages for unprocessable files. Default false.

Example: ./target/release/pardi --path data --debug

  • --output = Save the catalog to a file. If no output option is speficied, it prints the catalogue on screen.

Example: ./target/release/pardi --path data --format json --output catalog.json

About

A rust command line utility to parse DICOM files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages