Changeset 557 for trunk/src/transform_field
- Timestamp:
- Oct 19, 2012, 5:26:57 PM (12 years ago)
- Location:
- trunk/src/transform_field
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/im_levels.m
r71 r557 1 function DataOut=im_levels(DataIn,Calib) 1 function DataOut=im_levels(DataIn) 2 %% set GUI config: no action defined 3 DataOut=[]; %default output field 4 if strcmp(DataIn,'*') 5 return 6 end 2 7 %----------------------------------------------- 3 8 %parameters -
trunk/src/transform_field/phys.m
r545 r557 25 25 % 'D_i' if '.Role='vector_x,...', 26 26 % 'scalar', else (thenno change except scale factor) 27 %% set GUI config 27 %% set GUI config if DataIn='*' 28 28 DataOut=[]; 29 29 DataOut_1=[]; %default second output field 30 30 if strcmp(DataIn,'*') 31 31 if isfield(XmlData,'GeometryCalib')&& isfield(XmlData.GeometryCalib,'CoordUnit') 32 DataOut.CoordUnit=XmlData.GeometryCalib.CoordUnit; 32 DataOut.CoordUnit=XmlData.GeometryCalib.CoordUnit;% states that the output is in unit defined by GeometryCalib, then erased all projection objects with different units 33 33 end 34 34 return -
trunk/src/transform_field/remove_background.m
r40 r557 1 function DataOut=remove_ particles(DataIn,Calib)1 function DataOut=remove_background(DataIn) 2 2 %----------------------------------------------- 3 %% set GUI config: no action defined 4 DataOut=[]; %default output field 5 if strcmp(DataIn,'*') 6 return 7 end 8 3 9 %parameters 4 10 threshold=200 … … 9 15 10 16 %BACKGROUND LEVEL 11 Atype=class(DataIn.A) 17 Atype=class(DataIn.A); 12 18 A=double(DataIn.A); 13 19 Backg=zeros(size(A)); -
trunk/src/transform_field/remove_particles.m
r40 r557 1 function DataOut=remove_particles(DataIn ,Calib)1 function DataOut=remove_particles(DataIn) 2 2 %----------------------------------------------- 3 %% set GUI config: no action defined 4 DataOut=[]; %default output field 5 if strcmp(DataIn,'*') 6 return 7 end 8 3 9 %parameters 4 threshold=200 10 threshold=200; 5 11 nblock_x=30;%size of image subblocks for analysis 6 12 nblock_y=30;
Note: See TracChangeset
for help on using the changeset viewer.