Research Article
Investigating the Relevance of Graph Cut Parameter on Interactive and Automatic Cell Segmentation
Algorithm 1
Cell segmentation using Equation (
6).
(1) | Require: I grey scale image | (2) | Output: | (3) | Build graph G from | (4) | for each node a in G | (5) | | (6) | Determine a’s a–O edge weight (Figure 1) using the data term in Equation (6) | (7) | Determine a’s a–B edge weight (Figure 1) using the data term in Equation (6) | (8) | end for | (9) | for each node a in G | (10) | determine a’s a–b (neighbourhood) edge weight (Figure 1) using the smoothness term in Equation (6) | (11) | end for | (12) | Use algorithm in [21] to partition G into foreground (O) and background (B) to give |
|