Changeset 101 for aedes_write_nifti.m


Ignore:
Timestamp:
Jan 25, 2010, 3:19:52 PM (9 years ago)
Author:
tjniskan
Message:
  • aedes_write_nifti now accepts logical data

M aedes_write_nifti.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_write_nifti.m

    r80 r101  
    140140 
    141141 case {1, 2} % --------------------------------
    142    if isnumeric(DATA)
     142   if isnumeric(DATA) || islogical(DATA)
    143143     data = DATA;
     144     if islogical(data)
     145       data=uint8(data);
     146     end
    144147     DATA=[];
    145148     DATA.FTDATA = data;
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008