Ignore:
Timestamp:
Aug 13, 2014, 3:01:27 AM (10 years ago)
Author:
g7moreau
Message:
  • Add license
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series/calc_background.m

    r245 r810  
    1919%----------------------------------------------------------------------
    2020% Method:
    21     %calculate the background image by sorting the luminosity of each point
    22     % over a sliding sub-sequence of 'nbaver_ima' images.
    23     % The luminosity value of rank 'rank' is selected as the
    24     % 'background'. rank=nbimages/2 gives the median value.  Smaller values are appropriate
    25     % for a dense set of particles. The extrem value rank=1 gives the true minimum
    26     % luminosity, but it can be polluted by noise.
     21%    calculate the background image by sorting the luminosity of each point
     22%     over a sliding sub-sequence of 'nbaver_ima' images.
     23%    The luminosity value of rank 'rank' is selected as the
     24%    'background'. rank=nbimages/2 gives the median value.  Smaller values are appropriate
     25%    for a dense set of particles. The extrem value rank=1 gives the true minimum
     26%     luminosity, but it can be polluted by noise.
    2727% Organization of image indices:
    28     % The program is working on a series of images, labelled by two indices i and j, given
    29     % by the input matlab vectors num_i1 and num_j1 respectively. In the list, j is the fastest increasing index.
    30     % The processing can be done in slices (number nbslice), with bursts of
    31     % nbfield2 successive images for a given slice (mode 'multilevel')
    32     % In the mode 'volume', nbfield2=1 (1 image at each level)
    33 %
     28%     The program is working on a series of images, labelled by two indices i and j, given
     29%     by the input matlab vectors num_i1 and num_j1 respectively. In the list, j is the fastest increasing index.
     30%     The processing can be done in slices (number nbslice), with bursts of
     31%     nbfield2 successive images for a given slice (mode 'multilevel')
     32%     In the mode 'volume', nbfield2=1 (1 image at each level)
     33
     34%=======================================================================
     35% Copyright 2008-2014, LEGI UMR 5519 / CNRS UJF G-INP, Grenoble, France
     36%   http://www.legi.grenoble-inp.fr
     37%   Joel.Sommeria - Joel.Sommeria (A) legi.cnrs.fr
     38%
     39%     This file is part of the toolbox UVMAT.
     40%
     41%     UVMAT is free software; you can redistribute it and/or modify
     42%     it under the terms of the GNU General Public License as published
     43%     by the Free Software Foundation; either version 2 of the license,
     44%     or (at your option) any later version.
     45%
     46%     UVMAT is distributed in the hope that it will be useful,
     47%     but WITHOUT ANY WARRANTY; without even the implied warranty of
     48%     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     49%     GNU General Public License (see LICENSE.txt) for more details.
     50%=======================================================================
     51
    3452function GUI_input=calc_background (num_i1,num_i2,num_j1,num_j2,Series)
    3553
Note: See TracChangeset for help on using the changeset viewer.