Statistiques
| Révision :

root / README_LSM.txt @ 27

Historique | Voir | Annoter | Télécharger (2,63 ko)

1
----------------------------------------------------------------------
2
			        - lsm3d -
3
    Tools for segmenting 3D images of plant tissues 
4
     at multiple scales using the level set method¶
5
----------------------------------------------------------------------
6
Authors :
7
Typhaine Moreau, Annamaria Kiss (Laboratoire RDP, ENS Lyon)
8
----------------------------------------------------------------------
9

    
10
Download
11
--------
12
svn --username $USER checkout http://forge.cbp.ens-lyon.fr/svn/levelsetmethod/lsm3D
13

    
14
Compile
15
--------
16
cd lsm3D
17
./lsm3D_compile.sh
18

    
19

    
20
The following binaries will be generated in the bin directory :
21
--------------------------------------------------------------
22
- lsm_contour --> detects the outer surface of the tissue
23
- lsm_cells --> used to cellular segmentation or nuclei detection
24

    
25

    
26
**** lsm_contour --> detects the outer surface of the tissue
27
-------------------------------------------------------
28

    
29
Usage : lsm_detect_contour img t_up t_down a b smooth perUp perDown
30
Examples for parameter values:
31
------------------------------
32
img : grayscale image of cells, (.inr or .inr.gz)
33
Upper threshold : t_up = 20
34
Down threshold : t_down = 5
35
Area term : a = 0 (0.5, 1)
36
Curvature term : b = 0 (1)
37
Gaussian filter : smooth = 1 (0, if image already filtered)
38
Stop criteria : the contour evolution is in [perDown,perUp] for 10 consecutive iterations
39
     perUp = 0.002, perDown = -0.002
40

    
41
Test :
42
------
43
lsm_detect_contour t3_cut.inr.gz 20 10 0 0 1 0.002 -0.002
44

    
45

    
46
**** lsm_cells --> for cellular segmentation or nuclei detection
47
-------------------------------------------------------------
48

    
49
Usage : lsm_cells img img_wat img_contour erosion [a b smooth lsm_type]
50
----------------- 
51
img : grayscale image of cells, (.inr or .inr.gz)
52
img_wat : image of seeds, (.inr or .inr.gz)
53
img_contour : mask, where cells do not evolve, (.inr or .inr.gz)
54
              if 'None', then cells can evolve on the whole image
55
erosion : amount of erosion of seeds for initialisation (uint8) --> -2, 0, 2
56
              if 0, then no erosion or dilation
57
              if negative, then a dilation is performed
58
a : area term (float) --> 0 or 0.5 or 1 (the default is 0.5)
59
              if negative, the object retracts
60
              if positive, the object inflates
61
b : curvature term (float) --> 0 or 1 (the default is 0)
62
gamma : scale parameter (float>0) --> 0.5 or 1 (the default is 1)
63
smooth : gaussian blur to apply to the image (int) --> 0 or 1 (the default is 0)
64
lsm_type : image, gradient or hessien based evolution --> 'i', 'g' or 'h' (the default is g)
65

    
66
Test :
67
------
68
lsm_cells t3_cut.inr.gz t3_cut_wat.inr.gz t3_cut_LSMcont20-10a0b0s1/t3_cut_LSMcont20-10a0b0s1.inr.gz 2 0.3 0 0.2 1 'h'
69