octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9853] (image) implement niftiread, niftiw


From: Qianqian Fang
Subject: [Octave-patch-tracker] [patch #9853] (image) implement niftiread, niftiwrite, niftiinfo
Date: Fri, 13 Sep 2019 00:52:27 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

URL:
  <https://savannah.gnu.org/patch/?9853>

                 Summary: (image) implement niftiread, niftiwrite, niftiinfo
                 Project: GNU Octave
            Submitted by: fangq
            Submitted on: Fri 13 Sep 2019 04:52:26 AM UTC
                Category: Forge : new function
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I would like to contribute the below missing functions to octave-image

- niftiread
- niftiinfo
- niftiwrite

The current version can be found at 
https://github.com/fangq/jnifti/tree/master/lib/octave

and are also attached in this thread. They can handle .nii, .nii.gz,
.hdr/.img, .hdr.gz/.img.gz files. The input/output of these function smatch
MATLAB's versions.

The newly drafted functions do require a set of helper functions to fully
function:

- To read/write un-compressed NIfTI-1/2 (.nii) files, it minimally needs the
JNIfTI toolbox at https://github.com/fangq/jnifti/tree/master/lib/matlab

- To read/write gzip-compressed NIfTI-1/2, it needs the ZMat toolbox at
http://github.com/fangq/zmat

- To convert the NIfTI data to the more portable version for easy
manipulation, i.e. the JNIfTI format, it needs the JSONLab toolbox at
http://github.com/fangq/jsonlab

I've tested these functions on both Octave 4.2 and 5.1, using the NIfTI-1/2
sample data provided at

https://nifti.nimh.nih.gov/nifti-1/data

all works nicely.

I am wondering if anyone is interested in reviewing these functions and give
some suggestions? first time contributor to Octave.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 13 Sep 2019 04:52:26 AM UTC  Name: niftiinfo.m  Size: 4KiB   By:
fangq
Need more functions from
https://github.com/fangq/jnifti/tree/master/lib/matlab
<http://savannah.gnu.org/patch/download.php?file_id=47494>
-------------------------------------------------------
Date: Fri 13 Sep 2019 04:52:26 AM UTC  Name: niftiread.m  Size: 2KiB   By:
fangq
Need more functions from
https://github.com/fangq/jnifti/tree/master/lib/matlab
<http://savannah.gnu.org/patch/download.php?file_id=47495>
-------------------------------------------------------
Date: Fri 13 Sep 2019 04:52:26 AM UTC  Name: niftiwrite.m  Size: 2KiB   By:
fangq
Need more functions from
https://github.com/fangq/jnifti/tree/master/lib/matlab
<http://savannah.gnu.org/patch/download.php?file_id=47496>
-------------------------------------------------------
Date: Fri 13 Sep 2019 04:52:26 AM UTC  Name: nii2jnii.m  Size: 13KiB   By:
fangq
Need more functions from
https://github.com/fangq/jnifti/tree/master/lib/matlab
<http://savannah.gnu.org/patch/download.php?file_id=47497>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?9853>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]