Skip to content

Simple script to generate a dataset of png images from a nrrd dataset. Useful for training CNNs.

License

Notifications You must be signed in to change notification settings

zagoli/nrrd_unroller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NRRD unroller

You can use this simple script to "unroll" a NRRD dataset: the folder structure will be cloned, and all of the nrrd files will be replaced with a series of corresponding png images. The script is written with a precise folder structure in mind, but you can modify the main or main_parallelized file easily to accomodate your needs.

Usage

  • Change the input and output paths as needed in main or main_parallelized
  • Launch main.py or main_parallelized.py (the second one uses the multiprocessing library to speed up things)

About

Simple script to generate a dataset of png images from a nrrd dataset. Useful for training CNNs.

Topics

Resources

License

Stars

Watchers

Forks

Languages