User Tools

Site Tools


flexinterpn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
flexinterpn [2010/06/21 05:05] – created jochenflexinterpn [2011/05/29 02:44] (current) – removed dead external link jochen
Line 5: Line 5:
 When I started with writing visualization functions, I soon discovered that the interpn function of Matlab is accurate and, in some regards, much more flexible but also, to my dismay, not fast enough to handle real-time updates for when the cursor is moved in a 3-canonical-slicing view of the brain. When I started with writing visualization functions, I soon discovered that the interpn function of Matlab is accurate and, in some regards, much more flexible but also, to my dismay, not fast enough to handle real-time updates for when the cursor is moved in a 3-canonical-slicing view of the brain.
  
-After looking up several helpful links about interpolation (e.g. [[http://www.all-in-one.ee/~dersch/interpolator/interpolator.html|information about interpolation quality]]), I decided to write a C-based function that would allow the following operations:+After looking up several helpful links about interpolation, I decided to write a C-based function that would allow the following operations:
  
   * up to 4D data handling   * up to 4D data handling
Line 79: Line 79:
 sampled = flexinterpn(data, coords);</code> sampled = flexinterpn(data, coords);</code>
   * a coordinate range specified like this: <code matlab flexinterpn_coordinate_range.m>% load image file   * a coordinate range specified like this: <code matlab flexinterpn_coordinate_range.m>% load image file
-im = neuroelf_file('s', 'splash');+im1 = neuroelf_file('s', 'text2');
  
 % show interesting zoom/slide effect (like Mac screen saver) % show interesting zoom/slide effect (like Mac screen saver)
flexinterpn.1277096715.txt.gz · Last modified: 2010/06/21 05:05 by jochen