Skip to content

Commit

Permalink
[doc] update openjdata to neurojson
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Feb 14, 2024
1 parent 007ecce commit cb9b6c2
Show file tree
Hide file tree
Showing 3 changed files with 807 additions and 807 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1263,8 +1263,8 @@ Starting in MCX v2023, JSON based JNIfTI (`.jnii`) files are used as the default
volumetric data output format.

The JNIfTI format represents the next-generation scientific data storage
and exchange standard and is part of the OpenJData initiative (http://openjdata.org)
led by the MCX author Dr. Qianqian Fang. The OpenJData project aims at developing
and exchange standard and is part of the US NIH-funded NeuroJSON initiative (https://neurojson.org)
led by the MCX author Dr. Qianqian Fang. The NeuroJSON project aims at developing
easy-to-parse, human-readable and easy-to-reuse data storage formats based on
the ubiquitously supported JSON/binary JSON formats and portable JData data annotation
keywords. In short, .jnii file is simply a JSON file with capability of storing
Expand All @@ -1279,7 +1279,7 @@ A .jnii output file can be generated by using `-F jnii` in the command line.
The .jnii file can be potentially read in nearly all programming languages
because it is 100% comaptible to the JSON format. However, to properly decode
the ND array with built-in compression, one should call JData compatible
libraries, which can be found at http://openjdata.org/wiki
libraries, which can be found at https://neurojson.org/#software

Specifically, to parse/save .jnii files in MATLAB, you should use
- JSONLab for MATLAB (https://github.com/fangq/jsonlab) or install `octave-jsonlab` on Fedora/Debian/Ubuntu
Expand All @@ -1294,7 +1294,7 @@ is a NumPy `ndarray` object storing the volumetric data.

#### bnii files

The binary JNIfTI file is also part of the JNIfTI specification and the OpenJData
The binary JNIfTI file is also part of the JNIfTI specification and the NeuroJSON
project. In comparison to text-based JSON format, .bnii files can be much smaller
and faster to parse. The .bnii format is also defined in the BJData specification

Expand All @@ -1306,7 +1306,7 @@ using `-F bnii` in the command line.
The .bnii file can be potentially read in nearly all programming languages
because it was based on UBJSON (Universal Binary JSON). However, to properly decode
the ND array with built-in compression, one should call JData compatible
libraries, which can be found at http://openjdata.org/wiki
libraries, which can be found at https://neurojson.org/#software

Specifically, to parse/save .jnii files in MATLAB, you should use one of
- JSONLab for MATLAB (https://github.com/fangq/jsonlab) or install `octave-jsonlab` on Fedora/Debian/Ubuntu
Expand Down
10 changes: 5 additions & 5 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1253,8 +1253,8 @@ Starting in MCX v2023, JSON based JNIfTI (.jnii) files are used as the default
volumetric data output format.

The JNIfTI format represents the next-generation scientific data storage
and exchange standard and is part of the OpenJData initiative (http://openjdata.org)
led by the MCX author Dr. Qianqian Fang. The OpenJData project aims at developing
and exchange standard and is part of the US NIH-funded NeuroJSON initiative (https://neurojson.org)
led by the MCX author Dr. Qianqian Fang. The NeuroJSON project aims at developing
easy-to-parse, human-readable and easy-to-reuse data storage formats based on
the ubiquitously supported JSON/binary JSON formats and portable JData data annotation
keywords. In short, .jnii file is simply a JSON file with capability of storing
Expand All @@ -1269,7 +1269,7 @@ A .jnii output file can be generated by using `-F jnii` in the command line.
The .jnii file can be potentially read in nearly all programming languages
because it is 100% comaptible to the JSON format. However, to properly decode
the ND array with built-in compression, one should call JData compatible
libraries, which can be found at http://openjdata.org/wiki
libraries, which can be found at https://neurojson.org/#software

Specifically, to parse/save .jnii files in MATLAB, you should use
* JSONLab for MATLAB (https://github.com/fangq/jsonlab) or install `octave-jsonlab` on Fedora/Debian/Ubuntu
Expand All @@ -1284,7 +1284,7 @@ is a NumPy `ndarray` object storing the volumetric data.

==== bnii files ====

The binary JNIfTI file is also part of the JNIfTI specification and the OpenJData
The binary JNIfTI file is also part of the JNIfTI specification and the NeuroJSON
project. In comparison to text-based JSON format, .bnii files can be much smaller
and faster to parse. The .bnii format is also defined in the BJData specification

Expand All @@ -1296,7 +1296,7 @@ using `-F bnii` in the command line.
The .bnii file can be potentially read in nearly all programming languages
because it was based on UBJSON (Universal Binary JSON). However, to properly decode
the ND array with built-in compression, one should call JData compatible
libraries, which can be found at http://openjdata.org/wiki
libraries, which can be found at https://neurojson.org/#software

Specifically, to parse/save .jnii files in MATLAB, you should use one of
* JSONLab for MATLAB (https://github.com/fangq/jsonlab) or install `octave-jsonlab` on Fedora/Debian/Ubuntu
Expand Down
Loading

0 comments on commit cb9b6c2

Please sign in to comment.