root / README_LSM.txt @ 25
Historique | Voir | Annoter | Télécharger (2,8 ko)
1 | 15 | tmoreau | ---------------------------------------------------------------------- |
---|---|---|---|
2 | 15 | tmoreau | Level Set Methods (LSM) |
3 | 15 | tmoreau | ---------------------------------------------------------------------- |
4 | 15 | tmoreau | Methods to improve image segmentation |
5 | 15 | tmoreau | Images are save in .inr.gz |
6 | 15 | tmoreau | |
7 | 15 | tmoreau | **** 1 : lsm to detect the exterior contour image -> contour |
8 | 15 | tmoreau | ------------------------------------------------------ |
9 | 15 | tmoreau | |
10 | 16 | tmoreau | Standard version = ./lsm_contour.exe image t_up t_down beta smooth |
11 | 15 | tmoreau | image : grayscale, 8bit, .inr or .inr.gz |
12 | 15 | tmoreau | t_up, t_down : linear threshold (int) |
13 | 15 | tmoreau | beta : curvature term (0:none) |
14 | 15 | tmoreau | smooth : amount of gaussian blur (float) |
15 | 15 | tmoreau | source code : lsm_detect_contour.cpp |
16 | 15 | tmoreau | |
17 | 15 | tmoreau | Change stop criteria = ./lsm_contour_SC.exe image t_up t_down beta smooth perUp perDown |
18 | 15 | tmoreau | every iteration, the percentage of background growth is measure |
19 | 15 | tmoreau | the algorithm stop after 10 succesive iterations between perDown and perUp |
20 | 15 | tmoreau | in the standart version perUp=0.002 and perDown=-0.002 |
21 | 15 | tmoreau | source code : lsm_detect_contour_stopCriteria.cpp |
22 | 15 | tmoreau | |
23 | 15 | tmoreau | Start with a contour = ./lsm_start.exe image contour beta smooth |
24 | 15 | tmoreau | contour : binary image with background=1 |
25 | 15 | tmoreau | .inr or .inr.gz |
26 | 15 | tmoreau | source code : lsm_detect_startContour.cpp |
27 | 15 | tmoreau | |
28 | 15 | tmoreau | |
29 | 15 | tmoreau | |
30 | 15 | tmoreau | **** 2 : improved watershed on image + contour -> watershed |
31 | 15 | tmoreau | ------------------------------------------------------- |
32 | 15 | tmoreau | |
33 | 15 | tmoreau | ./segmentation_amelioration.py image contour |
34 | 15 | tmoreau | |
35 | 15 | tmoreau | |
36 | 15 | tmoreau | **** 3 : lsm to detect cells image + contour + watershed -> segmentation |
37 | 15 | tmoreau | ------------------------------------------------------- |
38 | 15 | tmoreau | |
39 | 16 | tmoreau | Standard version = ./lsm_cells.exe image wat contour erosion |
40 | 15 | tmoreau | image : grayscale, 8bit, .inr or .inr.gz |
41 | 15 | tmoreau | wat : 16bit, .inr or .inr.gz |
42 | 15 | tmoreau | contour : binary with background=1 |
43 | 15 | tmoreau | erosion : amount of erosion for each cell (int) |
44 | 15 | tmoreau | source code : lsm_cells_para.cpp |
45 | 15 | tmoreau | |
46 | 15 | tmoreau | Only do a list of cells = ./lsm_cells_list.exe image wat contour erosion list |
47 | 15 | tmoreau | list : .txt file with one number per row |
48 | 15 | tmoreau | number = cell label on watershed |
49 | 15 | tmoreau | source code : lsm_cells_para_list.cpp |
50 | 15 | tmoreau | keep watershed for other cells |
51 | 15 | tmoreau | |
52 | 15 | tmoreau | Restart at the final step = ./lsm_cells_step.exe image evoEdge contour |
53 | 15 | tmoreau | evoEdge : 2nd step from standart lsm_cells |
54 | 15 | tmoreau | source code : lsm_cells_para_finalstep.cpp |
55 | 15 | tmoreau | |
56 | 15 | tmoreau | Change curvature terms = ./lsm_cells_beta.exe image wat contour erosion beta betabis |
57 | 15 | tmoreau | beta : curvature term for the 2nd step (evoEdge) |
58 | 15 | tmoreau | betabis : curvature term for the final step |
59 | 15 | tmoreau | |
60 | 15 | tmoreau | |
61 | 15 | tmoreau | |
62 | 15 | tmoreau | ------------------------------------------------------------ |
63 | 15 | tmoreau | Known issues |
64 | 15 | tmoreau | ----------------------------------------------------------- |
65 | 15 | tmoreau | Fiji is not able to read correctly the 16 bits watershed images : the labels are wrong |
66 | 15 | tmoreau | You can use "./display.exe image" to visualize the result correctly |
67 | 15 | tmoreau | |
68 | 15 | tmoreau | ------------------------------------------------------------ |
69 | 15 | tmoreau | C++ version implement by Typhaine Moreau based on the work of Annamaria Kiss |