Center for Brain Science GNU Lesser General Public License (LGPL) Yes Harvard University NITRC Ruby NIfTI Ruby Ruby NIfTI is a pure-ruby gem [library] for handling NIfTI data in the Ruby programming language. Ruby NIfTI currently supports basic read and write access to NIfTI files, including basic & extended header information and image information. More information on ruby-nifti can be found on the github page; please use the Github Issue Tracker for any questions: https://github.com/brainmap/nifti INSTALLATION ------------ gem install nifti or add this to your Gemfile and `bundle install`: gem 'nifti', '~>0.0.2' USAGE ------ Read file: obj = NIFTI::NObject.new("T1.nii") Display some key information about the file: puts obj.header['sform_code_descr'] => "NIFTI_XFORM_SCANNER_ANAT" Retrieve the pixel data in a Ruby Array: image = obj.get_image Full Documentation is at: http://rdoc.info/gems/nifti/frames Ruby NIfTI MR, GNU Lesser General Public License (LGPL), Ruby, Developers, NIfTI-1 http://www.nitrc.org/projects/ruby-nifti/, http://www.nitrc.org/projects/ruby-nifti/