Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis12/src/lib/common/image.c
ViewVC logotype

Diff of /branches/vis12/src/lib/common/image.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1443, Mon Jul 11 10:36:10 2011 UTC revision 1444, Mon Jul 11 12:11:53 2011 UTC
# Line 331  Line 331 
331    // compute the offset to the first space axis    // compute the offset to the first space axis
332      int base = nin->dim - nin->spaceDim;      int base = nin->dim - nin->spaceDim;
333    
334  // FIXME: we should also be checking the size of the axes, the shape of the voxels,  // FIXME: we should also be checking the shape of the voxels and the type of the samples.
 // and the type of the samples.  
335    // check that the image format is what we expect    // check that the image format is what we expect
336      if (nin->spaceDim != 1) {      if (nin->spaceDim != 1) {
337          fprintf(stderr, "nrrd file \"%s\" has unexpected dimension %d, expected 1\n",          fprintf(stderr, "nrrd file \"%s\" has unexpected dimension %d, expected 1\n",

Legend:
Removed from v.1443  
changed lines
  Added in v.1444

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0