Changeset 972 for trunk/src/transform_field/ima_color2BW.m
- Timestamp:
- Nov 15, 2016, 5:22:14 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/ima_color2BW.m
r924 r972 30 30 DataOut=DataIn; %default 31 31 if ndims(DataOut.A)==3 32 DataOut.A=uint16(sum(double(DataOut.A ,3)));%sum on color components, transform in 16 bit BW images32 DataOut.A=uint16(sum(double(DataOut.A),3));%sum on color components, transform in 16 bit BW images 33 33 end 34 34
Note: See TracChangeset
for help on using the changeset viewer.