Statistiques
| Révision :

root / README_LSM.txt @ 27

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

1 15 tmoreau
----------------------------------------------------------------------
2 26 akiss
			        - lsm3d -
3 26 akiss
    Tools for segmenting 3D images of plant tissues
4 26 akiss
     at multiple scales using the level set method¶
5 15 tmoreau
----------------------------------------------------------------------
6 27 akiss
Authors :
7 27 akiss
Typhaine Moreau, Annamaria Kiss (Laboratoire RDP, ENS Lyon)
8 27 akiss
----------------------------------------------------------------------
9 15 tmoreau
10 26 akiss
Download
11 26 akiss
--------
12 26 akiss
svn --username $USER checkout http://forge.cbp.ens-lyon.fr/svn/levelsetmethod/lsm3D
13 15 tmoreau
14 26 akiss
Compile
15 26 akiss
--------
16 26 akiss
cd lsm3D
17 26 akiss
./lsm3D_compile.sh
18 15 tmoreau
19 15 tmoreau
20 26 akiss
The following binaries will be generated in the bin directory :
21 26 akiss
--------------------------------------------------------------
22 26 akiss
- lsm_contour --> detects the outer surface of the tissue
23 26 akiss
- lsm_cells --> used to cellular segmentation or nuclei detection
24 15 tmoreau
25 15 tmoreau
26 26 akiss
**** lsm_contour --> detects the outer surface of the tissue
27 15 tmoreau
-------------------------------------------------------
28 15 tmoreau
29 26 akiss
Usage : lsm_detect_contour img t_up t_down a b smooth perUp perDown
30 26 akiss
Examples for parameter values:
31 26 akiss
------------------------------
32 26 akiss
img : grayscale image of cells, (.inr or .inr.gz)
33 26 akiss
Upper threshold : t_up = 20
34 26 akiss
Down threshold : t_down = 5
35 26 akiss
Area term : a = 0 (0.5, 1)
36 26 akiss
Curvature term : b = 0 (1)
37 26 akiss
Gaussian filter : smooth = 1 (0, if image already filtered)
38 26 akiss
Stop criteria : the contour evolution is in [perDown,perUp] for 10 consecutive iterations
39 26 akiss
     perUp = 0.002, perDown = -0.002
40 15 tmoreau
41 26 akiss
Test :
42 26 akiss
------
43 26 akiss
lsm_detect_contour t3_cut.inr.gz 20 10 0 0 1 0.002 -0.002
44 15 tmoreau
45 15 tmoreau
46 26 akiss
**** lsm_cells --> for cellular segmentation or nuclei detection
47 26 akiss
-------------------------------------------------------------
48 15 tmoreau
49 26 akiss
Usage : lsm_cells img img_wat img_contour erosion [a b smooth lsm_type]
50 26 akiss
-----------------
51 26 akiss
img : grayscale image of cells, (.inr or .inr.gz)
52 26 akiss
img_wat : image of seeds, (.inr or .inr.gz)
53 26 akiss
img_contour : mask, where cells do not evolve, (.inr or .inr.gz)
54 26 akiss
              if 'None', then cells can evolve on the whole image
55 26 akiss
erosion : amount of erosion of seeds for initialisation (uint8) --> -2, 0, 2
56 26 akiss
              if 0, then no erosion or dilation
57 26 akiss
              if negative, then a dilation is performed
58 26 akiss
a : area term (float) --> 0 or 0.5 or 1 (the default is 0.5)
59 26 akiss
              if negative, the object retracts
60 26 akiss
              if positive, the object inflates
61 26 akiss
b : curvature term (float) --> 0 or 1 (the default is 0)
62 26 akiss
gamma : scale parameter (float>0) --> 0.5 or 1 (the default is 1)
63 26 akiss
smooth : gaussian blur to apply to the image (int) --> 0 or 1 (the default is 0)
64 26 akiss
lsm_type : image, gradient or hessien based evolution --> 'i', 'g' or 'h' (the default is g)
65 15 tmoreau
66 26 akiss
Test :
67 26 akiss
------
68 26 akiss
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'