udt-to-png

0.1.0 • Public • Published

UDT to PNG

Currently, this is just for NodeJS, but porting it to the browser should be possible if there's a way to convert an SVG to a PNG in-browser. PRs welcome!

Converts UDT image files into PNGs, suitable for use in machine learning tasks.

Usage

Usage: udt-to-png path/to/dataset.udt.json -o output-masks-dir

Options:
  --help               Show help                                       [boolean]
  --version            Show version number                             [boolean]
  --use-sample-number  Use the number of the sample as the mask filename
                       (sample0001.mask.png, etc.)
  --output-dir, -o     Output directory for masks                     [required]

Readme

Keywords

none

Package Sidebar

Install

npm i udt-to-png

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

915 kB

Total Files

41

Last publish

Collaborators

  • seveibar