Ignore:
Timestamp:
Jun 19, 2016, 8:32:16 PM (5 years ago)
Author:
sommeria
Message:

ima2vol mofidfied for vertical cuts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/ima_levels.m

    r924 r953  
    167167% not needed for this function
    168168
    169 %% update the xml file
    170 % not needed for this function
     169%% coordinate transform or other user defined transform
     170transform_fct='';%default fct handle
     171if isfield(Param,'FieldTransform')&&~isempty(Param.FieldTransform.TransformName)
     172        currentdir=pwd;
     173        cd(Param.FieldTransform.TransformPath)
     174        transform_fct=str2func(Param.FieldTransform.TransformName);
     175        cd (currentdir)
     176        if isfield(Param,'TransformInput')
     177            for iview=1:NbView
     178            XmlData{iview}.TransformInput=Param.TransformInput;
     179            end
     180        end       
     181end
    171182
    172183%% main loop on images
Note: See TracChangeset for help on using the changeset viewer.