Ignore:
Timestamp:
Nov 15, 2016, 5:22:14 PM (8 years ago)
Author:
sommeria
Message:

multitif updated

File:
1 edited

Legend:

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

    r924 r972  
    3030DataOut=DataIn; %default
    3131if ndims(DataOut.A)==3
    32     DataOut.A=uint16(sum(double(DataOut.A,3)));%sum on color components, transform in 16 bit BW images
     32    DataOut.A=uint16(sum(double(DataOut.A),3));%sum on color components, transform in 16 bit BW images
    3333end
    3434 
Note: See TracChangeset for help on using the changeset viewer.