Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a Thunder format #265

Closed
hinerm opened this issue Mar 26, 2015 · 2 comments
Closed

Add a Thunder format #265

hinerm opened this issue Mar 26, 2015 · 2 comments

Comments

@hinerm
Copy link
Member

hinerm commented Mar 26, 2015

Kevin Mader asked about the best way to support Thunder data in applications like KNIME, ImageJ, etc...

One possible solution would be adding a SCIFIO format that could read(/write?) Thunder data

@kmader
Copy link

kmader commented Mar 26, 2015

The idea is basically a generic format (@freeman-lab), where data is stored in multiple binary files and has one companion file with all of the metadata and dimensions for the binary files (example: https://github.com/thunder-project/thunder/tree/master/python/thunder/utils/data/fish/series)
with the metadata being currently

{
  "valuetype": "uint8", 
  "nkeys": 3, 
  "keytype": "int16", 
  "dims": [
    76, 
    87, 
    2
  ], 
  "nvalues": 240, 
  "input": "/Users/freemanj11/Desktop/bin"
}

The standard for such 'big data' framworks is a key-value pairs representation and the idea would be to have a key consisting of several numbers (nkeys) of type (keytype) and then a value as an array of type (valuetype) with dimensions (dims) and all of this spread into multiple files so they can be easily written and read in parallel (or on different machines to a shared file system).

The key issues are:

  • it needs to be separate files to make saving in parallel or distributed environments easy (imgfile_001.bin, imgfile_002.bin, etc)
  • it should be a very simple format to it is also easy to read in Matlab, Python, or whatever other tool one might be using

@ctrueden
Copy link
Member

ctrueden commented Oct 3, 2018

No bandwidth to work on this, no current user demand, and Thunder is not actively developed anymore. Anyone is free to start a scifio-format-thunder repository, though.

@ctrueden ctrueden closed this as completed Oct 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants