Go to the source code of this file.
| aligndyn_frame_0_3_1 | ( | varargin | ) |
aligndyn_frame_0_3_1(dynamic_file[,source_start_No,source_end_No | reference_image],coreg_start_No,coreg_end_No[,
Co-registers selected dymanic image frames into summed image calculated from selected
frames in same dynamic image.
parameters:
dynamic_file dynamic Analyze7.5 Image
source_start_No starting index of summed target for coregistration reference
source_end_No ending index of summed target for coregistration reference
reference_image reference image
coreg_start_no starting index of frames that are coregistered
coreg_end_No ending index of frames that are coregistered
'remove_sum' sum image is removed after operation
'write_transformation' writes transformation matrices with name
corresponding transformation parameters (translation,rotation(pitch,roll,yaw),scaling,affine)
'do_reslice' reslices images, if this flag is not set the re-slised images are not created
returns:
output image is written with prefix 'r' in Analyze75 format
version 0.1, 18-03-2005, Harri Merisaari
version 0.2, 22-03-2005, Harri Merisaari, output contains non-aligned frames also, hadle of indexes as strings, separate termination reading
version 0.21, 12-04-2005, Harri Merisaari, speed/memory optimization, bug fix, added input consistency checks
version 0.22, 12-04-2005, Harri Merisaari, fixed path bug occurred when run in same directory as sourec/target image files
version 0.2.3, 21-06-2005, Harri Merisaari, development version, corrected help text
version 0.3.1, 26-03-2007, Harri Merisaari, development version, added writing of transformation
parameters with transformation matrix
Copyright (c) 2005-2007 by Turku PET Centre
varargin
1.5.2