nifti 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/CHANGELOG +13 -0
- data/COPYING +674 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +30 -0
- data/README.markdown +126 -0
- data/Rakefile +2 -0
- data/lib/nifti/constants.rb +223 -0
- data/lib/nifti/n_object.rb +155 -0
- data/lib/nifti/n_read.rb +264 -0
- data/lib/nifti/n_write.rb +142 -0
- data/lib/nifti/stream.rb +373 -0
- data/lib/nifti/version.rb +4 -0
- data/lib/nifti.rb +23 -0
- data/nifti.gemspec +24 -0
- data/spec/custom_matchers.rb +13 -0
- data/spec/fixtures/3plLoc.nii +0 -0
- data/spec/interactive/compare.rb +43 -0
- data/spec/nifti/n_object_spec.rb +111 -0
- data/spec/nifti/n_read_spec.rb +89 -0
- data/spec/nifti/n_write_spec.rb +56 -0
- data/spec/nifti/stream_spec.rb +44 -0
- data/spec/spec_helper.rb +13 -0
- metadata +138 -0
data/CHANGELOG
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
= 0.0.1
|
2
|
+
|
3
|
+
=== (In Development) February, 2011
|
4
|
+
|
5
|
+
First release.
|
6
|
+
The library offers bare-bones functionality and should be usable for people interested in working with NIfTI files in Ruby. The code is 98% documented according to rdoc and should hopefully be clear and straightforward to read, use and fork.
|
7
|
+
|
8
|
+
Known issues:
|
9
|
+
* Speed and Memory usage: This thing is really, really slow when packing and unpacking image data into arrays, and I've seen a single 40MB image explode into ~6GB of in-use memory.
|
10
|
+
* Only tested with little-endian, signed short, 3d and 4d images.
|
11
|
+
* No interfaces for viewing image data (qt, NImage, etc.). The easiest way right now is to save out the nifti and then use another image viewing program.
|
12
|
+
* Only supports .nii (n+1) single image files, not a split .img/.hdr
|
13
|
+
* Vox_offset is not being updated during writing, so this will cause a problem if image length or extended header length is updated.
|