Changeset 810 for trunk/src/transform_field
- Timestamp:
- Aug 13, 2014, 3:01:27 AM (10 years ago)
- Location:
- trunk/src/transform_field
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/transform_field/FFT2_detrend.m
r574 r810 1 1 % 'FFT2_detrend': calculate the 2D spectrum of the input scalar after removing the linear trend 2 3 2 %------------------------------------------------------------------------ 4 3 %%%% Use the general syntax for transform fields with a single input %%%% 5 4 % OUTPUT: 6 5 % DataOut: output field structure 7 6 % 8 7 %INPUT: 9 8 % DataIn: first input field structure 10 %------------------------------------------------------------------------ 9 10 %======================================================================= 11 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 12 % http://www.legi.grenoble-inp.fr 13 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 14 % 15 % This file is part of the toolbox UVMAT. 16 % 17 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published 19 % by the Free Software Foundation; either version 2 of the license, 20 % or (at your option) any later version. 21 % 22 % UVMAT is distributed in the hope that it will be useful, 23 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License (see LICENSE.txt) for more details. 26 %======================================================================= 27 11 28 function DataOut=FFT2_detrend(DataIn) 12 29 %------------------------------------------------------------------------ -
trunk/src/transform_field/ima_filter.m
r753 r810 5 5 % OUTPUT: 6 6 % DataOut: output field structure 7 7 % 8 8 %INPUT: 9 9 % DataIn: input field structure … … 11 11 %----------------------------------- 12 12 13 %------------------------------------- 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 30 14 31 function DataOut=ima_filter(DataIn,Param) 15 32 -
trunk/src/transform_field/ima_find_particles.m
r671 r810 1 1 % 'ima_remove_particles': removes particles from an image (keeping the local minimum) 2 2 % requires the Matlab image processing toolbox 3 4 3 %------------------------------------------------------------------------ 5 4 %%%% Use the general syntax for transform fields with a single input %%%% 6 5 % OUTPUT: 7 6 % DataOut: output field structure 8 7 % 9 8 %INPUT: 10 9 % DataIn: first input field structure 11 %------------------------------------------------------------------------ 10 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 28 12 29 function DataOut=ima_find_particles(DataIn) 13 30 %------------------------------------------------------------------------ -
trunk/src/transform_field/ima_green.m
r702 r810 1 1 % 'ima_green': take the gree component of a color image 2 3 2 %------------------------------------------------------------------------ 4 3 %%%% Use the general syntax for transform fields with a single input %%%% 5 4 % OUTPUT: 6 5 % DataOut: output field structure 7 6 % 8 7 %INPUT: 9 8 % DataIn: first input field structure 10 %------------------------------------------------------------------------ 9 10 %======================================================================= 11 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 12 % http://www.legi.grenoble-inp.fr 13 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 14 % 15 % This file is part of the toolbox UVMAT. 16 % 17 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published 19 % by the Free Software Foundation; either version 2 of the license, 20 % or (at your option) any later version. 21 % 22 % UVMAT is distributed in the hope that it will be useful, 23 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License (see LICENSE.txt) for more details. 26 %======================================================================= 27 11 28 function DataOut=ima_green(DataIn) 12 29 -
trunk/src/transform_field/ima_levels.m
r574 r810 1 %======================================================================= 2 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 3 % http://www.legi.grenoble-inp.fr 4 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 5 % 6 % This file is part of the toolbox UVMAT. 7 % 8 % UVMAT is free software; you can redistribute it and/or modify 9 % it under the terms of the GNU General Public License as published 10 % by the Free Software Foundation; either version 2 of the license, 11 % or (at your option) any later version. 12 % 13 % UVMAT is distributed in the hope that it will be useful, 14 % but WITHOUT ANY WARRANTY; without even the implied warranty of 15 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 % GNU General Public License (see LICENSE.txt) for more details. 17 %======================================================================= 18 1 19 function DataOut=im_levels(DataIn) 2 20 %% set GUI config: no action defined -
trunk/src/transform_field/ima_noise_rms.m
r783 r810 1 1 % 'ima_noise_rms': gives the variance of relative noise by difference to the 2 2 % filered image in ppm (part per million) (for grey scale image) 3 4 3 %------------------------------------------------------------------------ 5 4 %%%% Use the general syntax for transform fields with a single input and parameters %%%% 6 5 % OUTPUT: 7 6 % DataOut: output field structure 8 7 % 9 8 %INPUT: 10 9 % DataIn: input field structure 11 10 % Param: matlab structure whose field Param.TransformInput contains the filter parameters 12 %-----------------------------------13 11 14 %------------------------------------- 12 %======================================================================= 13 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 14 % http://www.legi.grenoble-inp.fr 15 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 16 % 17 % This file is part of the toolbox UVMAT. 18 % 19 % UVMAT is free software; you can redistribute it and/or modify 20 % it under the terms of the GNU General Public License as published 21 % by the Free Software Foundation; either version 2 of the license, 22 % or (at your option) any later version. 23 % 24 % UVMAT is distributed in the hope that it will be useful, 25 % but WITHOUT ANY WARRANTY; without even the implied warranty of 26 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 27 % GNU General Public License (see LICENSE.txt) for more details. 28 %======================================================================= 29 15 30 function DataOut=ima_noise_rms(DataIn,Param) 16 31 -
trunk/src/transform_field/ima_ratio.m
r728 r810 17 17 % Field_1:matlab structure representing the second field 18 18 19 %======================================================================= 20 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 21 % http://www.legi.grenoble-inp.fr 22 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 23 % 24 % This file is part of the toolbox UVMAT. 25 % 26 % UVMAT is free software; you can redistribute it and/or modify 27 % it under the terms of the GNU General Public License as published 28 % by the Free Software Foundation; either version 2 of the license, 29 % or (at your option) any later version. 30 % 31 % UVMAT is distributed in the hope that it will be useful, 32 % but WITHOUT ANY WARRANTY; without even the implied warranty of 33 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 % GNU General Public License (see LICENSE.txt) for more details. 35 %======================================================================= 36 19 37 function DataOut=ima_ratio(DataIn,XmlData,DataIn_1) 20 38 -
trunk/src/transform_field/ima_remove_background.m
r574 r810 1 1 % 'ima_remove_background': removes backgound from an image (using the local minimum) 2 2 % requires the Matlab image processing toolbox 3 4 3 %------------------------------------------------------------------------ 5 4 %%%% Use the general syntax for transform fields with a single input %%%% 6 5 % OUTPUT: 7 6 % DataOut: output field structure 8 7 % 9 8 %INPUT: 10 9 % DataIn: first input field structure 11 %------------------------------------------------------------------------ 10 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 28 12 29 function DataOut=remove_background(DataIn) 13 30 %------------------------------------------------------------------------ -
trunk/src/transform_field/ima_remove_particles.m
r574 r810 1 1 % 'ima_remove_particles': removes particles from an image (keeping the local minimum) 2 2 % requires the Matlab image processing toolbox 3 4 3 %------------------------------------------------------------------------ 5 4 %%%% Use the general syntax for transform fields with a single input %%%% 6 5 % OUTPUT: 7 6 % DataOut: output field structure 8 7 % 9 8 %INPUT: 10 9 % DataIn: first input field structure 11 %------------------------------------------------------------------------ 10 11 %======================================================================= 12 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 13 % http://www.legi.grenoble-inp.fr 14 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 15 % 16 % This file is part of the toolbox UVMAT. 17 % 18 % UVMAT is free software; you can redistribute it and/or modify 19 % it under the terms of the GNU General Public License as published 20 % by the Free Software Foundation; either version 2 of the license, 21 % or (at your option) any later version. 22 % 23 % UVMAT is distributed in the hope that it will be useful, 24 % but WITHOUT ANY WARRANTY; without even the implied warranty of 25 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 % GNU General Public License (see LICENSE.txt) for more details. 27 %======================================================================= 28 12 29 function DataOut=ima_remove_particles(DataIn) 13 30 %------------------------------------------------------------------------ -
trunk/src/transform_field/phys.m
r782 r810 1 1 %'phys': transforms image (Unit='pixel') to real world (phys) coordinates using geometric calibration parameters. It acts if the input field contains the tag 'CoordTUnit' with value 'pixel' 2 3 2 %------------------------------------------------------------------------ 4 3 %%%% Use the general syntax for transform fields %%%% 5 4 % OUTPUT: 6 5 % DataOut: output field structure 7 6 % 8 7 %INPUT: 9 8 % DataIn: first input field structure … … 13 12 % XmlData_1: optional second input parameter structure 14 13 % .GeometryCalib: substructure of the calibration parameters 15 %------------------------------------------------------------------------ 14 15 %======================================================================= 16 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 17 % http://www.legi.grenoble-inp.fr 18 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 19 % 20 % This file is part of the toolbox UVMAT. 21 % 22 % UVMAT is free software; you can redistribute it and/or modify 23 % it under the terms of the GNU General Public License as published 24 % by the Free Software Foundation; either version 2 of the license, 25 % or (at your option) any later version. 26 % 27 % UVMAT is distributed in the hope that it will be useful, 28 % but WITHOUT ANY WARRANTY; without even the implied warranty of 29 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 30 % GNU General Public License (see LICENSE.txt) for more details. 31 %======================================================================= 32 16 33 function DataOut=phys(DataIn,XmlData,DataIn_1,XmlData_1) 17 34 %------------------------------------------------------------------------ -
trunk/src/transform_field/phys_polar.m
r782 r810 1 1 %'phys_polar': transforms image (Unit='pixel') to polar (phys) coordinates using geometric calibration parameters 2 3 2 %------------------------------------------------------------------------ 4 3 %%%% Use the general syntax for transform fields %%%% … … 6 5 % DataOut: output field structure 7 6 % .X=radius, .Y=azimuth angle, .U, .V are radial and azimuthal velocity components 8 7 % 9 8 %INPUT: 10 9 % DataIn: first input field structure … … 26 25 % Data_1: second input field (not mandatory) 27 26 % XmlData_1= calibration parameters for the second field 28 %------------------------------------------------------------------------ 27 28 %======================================================================= 29 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 30 % http://www.legi.grenoble-inp.fr 31 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 32 % 33 % This file is part of the toolbox UVMAT. 34 % 35 % UVMAT is free software; you can redistribute it and/or modify 36 % it under the terms of the GNU General Public License as published 37 % by the Free Software Foundation; either version 2 of the license, 38 % or (at your option) any later version. 39 % 40 % UVMAT is distributed in the hope that it will be useful, 41 % but WITHOUT ANY WARRANTY; without even the implied warranty of 42 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 43 % GNU General Public License (see LICENSE.txt) for more details. 44 %======================================================================= 45 29 46 function DataOut=phys_polar(DataIn,XmlData,DataIn_1,XmlData_1) 30 47 %------------------------------------------------------------------------ -
trunk/src/transform_field/signal_FFT.m
r677 r810 7 7 %INPUT: 8 8 % hget_field: handles of the GUI get_field 9 10 %======================================================================= 11 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 12 % http://www.legi.grenoble-inp.fr 13 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 9 14 % 15 % This file is part of the toolbox UVMAT. 16 % 17 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published 19 % by the Free Software Foundation; either version 2 of the license, 20 % or (at your option) any later version. 21 % 22 % UVMAT is distributed in the hope that it will be useful, 23 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License (see LICENSE.txt) for more details. 26 %======================================================================= 10 27 11 28 function DataOut=signal_FFT(DataIn) -
trunk/src/transform_field/signal_FFTMean.m
r766 r810 10 10 % DataIn: Matlab structure containing the input field from the GUI uvmat, DataIn.Action.RUN=0 to set input parameters. 11 11 % Param: structure containing processing parameters, created when DataIn.Action.RUN=0 at the first use of the transform fct 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 12 30 13 31 function DataOut=signal_FFTMean(DataIn,Param) -
trunk/src/transform_field/signal_bandpass_filter.m
r753 r810 7 7 %INPUT: 8 8 % DataIn: Matlab structure representing the output field 9 10 %======================================================================= 11 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 12 % http://www.legi.grenoble-inp.fr 13 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 9 14 % 15 % This file is part of the toolbox UVMAT. 16 % 17 % UVMAT is free software; you can redistribute it and/or modify 18 % it under the terms of the GNU General Public License as published 19 % by the Free Software Foundation; either version 2 of the license, 20 % or (at your option) any later version. 21 % 22 % UVMAT is distributed in the hope that it will be useful, 23 % but WITHOUT ANY WARRANTY; without even the implied warranty of 24 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 % GNU General Public License (see LICENSE.txt) for more details. 26 %======================================================================= 10 27 11 28 function DataOut=signal_bandpass_filter(DataIn) -
trunk/src/transform_field/signal_spectrum.m
r759 r810 10 10 % DataIn: Matlab structure containing the input field from the GUI uvmat, DataIn.Action.RUN=0 to set input parameters. 11 11 % Param: structure containing processing parameters, created when DataIn.Action.RUN=0 at the first use of the transform fct 12 13 %======================================================================= 14 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 15 % http://www.legi.grenoble-inp.fr 16 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 17 % 18 % This file is part of the toolbox UVMAT. 19 % 20 % UVMAT is free software; you can redistribute it and/or modify 21 % it under the terms of the GNU General Public License as published 22 % by the Free Software Foundation; either version 2 of the license, 23 % or (at your option) any later version. 24 % 25 % UVMAT is distributed in the hope that it will be useful, 26 % but WITHOUT ANY WARRANTY; without even the implied warranty of 27 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 28 % GNU General Public License (see LICENSE.txt) for more details. 29 %======================================================================= 12 30 13 31 function DataOut=signal_spectrum(DataIn,Param) -
trunk/src/transform_field/sub_field.m
r519 r810 16 16 % Field_1:matlab structure representing the second field 17 17 18 %======================================================================= 19 % Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France 20 % http://www.legi.grenoble-inp.fr 21 % Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr 22 % 23 % This file is part of the toolbox UVMAT. 24 % 25 % UVMAT is free software; you can redistribute it and/or modify 26 % it under the terms of the GNU General Public License as published 27 % by the Free Software Foundation; either version 2 of the license, 28 % or (at your option) any later version. 29 % 30 % UVMAT is distributed in the hope that it will be useful, 31 % but WITHOUT ANY WARRANTY; without even the implied warranty of 32 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 % GNU General Public License (see LICENSE.txt) for more details. 34 %======================================================================= 35 18 36 function SubData=sub_field(Field,XmlData,Field_1) 19 37 if exist('Field_1','var')
Note: See TracChangeset
for help on using the changeset viewer.