GithubHelp home page GithubHelp logo

constantinpape / hdf-n5-converter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nthistle/hdf-n5-converter

0.0 3.0 0.0 43 KB

converter for turning labeled hdf5 data into n5 label dataset

License: GNU General Public License v2.0

Java 100.00%

hdf-n5-converter's Introduction

HDF to N5 Converter

Command-line converter tool for turning labeled HDF5 data into an N5 label dataset of arbitrary cell size, which allows for parallel writing. In the future, BigCAT will probably use N5 as the backend for label data.

Compile

To compile a "fat jar" with all dependencies added, run:

mvn clean compile assembly:single

Usage

java -jar target/hdf-n5-converter-0.0.1-SNAPSHOT-jar-with-dependencies.jar [args]

Arguments

  • --cellsize, -cs Size of cells to use in the output N5 dataset. Default: 64,64,8

  • --compression, -c Compression type to use in output N5 dataset. Default: RAW

  • --datasetname, --data, -d Output dataset name (N5 relative path from group) (Required)

  • --groupname, --group, -g Output group name (N5 group) (Required)

  • --inputfile, --input, -i Input HDF5 file (Required)

  • --label, -l Path to labels in HDF5 file. Default:/volumes/labels/neuron_ids

Example

java -jar target/hdf-n5-converter-0.0.1-SNAPSHOT-jar-with-dependencies.jar --input ~/sample_A_20160501.hdf --group ~/n5 --data sampleA-fullres --compression GZIP

Would write an N5 dataset at ~/n5/sampleA-fullres from the labels at /volumes/labels/neuron_ids in ~/sample_A_20160501.hdf with GZIP compression (recommended).


NOTE: This currently requires LabelUtils from the n5cacheloader branch of BigCAT, which currently is not merged into master. To compile this project from source, you must check out that branch and maven install it so that it has the necessary functionality.

hdf-n5-converter's People

Contributors

nthistle avatar

Watchers

James Cloos avatar Constantin Pape avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.