reslice_0_2_2.m File Reference

Go to the source code of this file.

Functions


Function Documentation

reslice_0_2_2 (   matrix,
  sourcefile,
  options 
)


reslice_0_2_2(matrix,sourcefile,options)

Reslices Analyze7.5 file using 4x4 transformation matrix. Used interpolation method is
bicibic interpolation.

parameters:
matrix affine transformation matrix for coordinate translations
sourcefile Analyze7.5 image that is to be resliced
options structure for optional parameters, defaults used if omitted
options.target_dim resulting image file's dimensions in 3x1 array
options.target_siz resulting image file's voxel size in 3x1 array
options.useAIR use AIR-binary for reslice (decreases Matlab memory usage)
values for AIR 5.2.5 interpolation are:
0. nearest neighbor
1. trilinear
7. 3D unwindowed scanline sinc

returns:
0 == succesfull, -1 == reslice failed

output files:
Resliced output file is written in Analyze7.5 format with prefix 'r'

version 0.1,05-04-2005,Harri Merisaari
version 0.1.0,03-05-2005, Harri Merisaari, changed to new documentation format
version 0.1.1,03-05-2005, Harri Merisaari, changed to use bicubic interpolation
version 0.1.2,07-07-2005, Harri Merisaari, dimension and size as an option
version 0.2.0,19-10-2005, Harri Merisaari, additional options, AIR-reslice support
version 0.2.1,26-10-2006, Harri Merisaari, DEVELOPMENT VERSION, added
support for matrix files, fixed bug with AIR reslice dimensions
version 0.2.2,31-10-2006, Harri Merisaari, DEVELOPMETN VERSION, performs
reslicing with lower memory usage with NRU matlab reslicing

Copyright (c) 2005,2006 by Turku PET Centre


Parameters:
matrix 
sourcefile 
options 
Returns:

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Wed Sep 19 07:53:58 2007 for Turku PET Centre Matlab functions by  doxygen 1.5.2