Ignore:
Timestamp:
Aug 29, 2018, 12:39:05 PM (3 years ago)
Author:
sommeria
Message:

reading color images repaired

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/transform_field/ima_color2BW.m

    r1027 r1057  
    2626%=======================================================================
    2727
    28 function DataOut=ima_color2BW(DataIn)
    29 
     28function DataOut=ima_color2BW(DataIn,XmlData)
     29DataOut=[];
     30if isfield(DataIn,'Action') && isfield(DataIn.Action,'RUN') && isequal(DataIn.Action.RUN,0)
     31    return
     32end
    3033DataOut=DataIn; %default
    3134if ndims(DataOut.A)==3
Note: See TracChangeset for help on using the changeset viewer.