Skip to main content
Log in

Fuzzy Connectedness Image Segmentation in Graph Cut Formulation: A Linear-Time Algorithm and a Comparative Analysis

  • Published:
Journal of Mathematical Imaging and Vision Aims and scope Submit manuscript

Abstract

A deep theoretical analysis of the graph cut image segmentation framework presented in this paper simultaneously translates into important contributions in several directions.

The most important practical contribution of this work is a full theoretical description, and implementation, of a novel powerful segmentation algorithm, GCmax. The output of GCmax coincides with a version of a segmentation algorithm known as Iterative Relative Fuzzy Connectedness, IRFC. However, GCmax is considerably faster than the classic IRFC algorithm, which we prove theoretically and show experimentally. Specifically, we prove that, in the worst case scenario, the GCmax algorithm runs in linear time with respect to the variable M=|C|+|Z|, where |C| is the image scene size and |Z| is the size of the allowable range, Z, of the associated weight/affinity function. For most implementations, Z is identical to the set of allowable image intensity values, and its size can be treated as small with respect to |C|, meaning that O(M)=O(|C|). In such a situation, GCmax runs in linear time with respect to the image size |C|.

We show that the output of GCmax constitutes a solution of a graph cut energy minimization problem, in which the energy is defined as the norm ∥F P of the map F P that associates, with every element e from the boundary of an object P, its weight w(e). This formulation brings IRFC algorithms to the realm of the graph cut energy minimizers, with energy functions ∥F P q for q∈[1,∞]. Of these, the best known minimization problem is for the energy ∥F P 1, which is solved by the classic min-cut/max-flow algorithm, referred to often as the Graph Cut algorithm.

We notice that a minimization problem for ∥F P q , q∈[1,∞), is identical to that for ∥F P 1, when the original weight function w is replaced by w q. Thus, any algorithm GCsum solving the ∥F P 1 minimization problem, solves also one for ∥F P q with q∈[1,∞), so just two algorithms, GCsum and GCmax, are enough to solve all ∥F P q -minimization problems. We also show that, for any fixed weight assignment, the solutions of the ∥F P q -minimization problems converge to a solution of the ∥F P -minimization problem (∥F P =lim q→∞F P q is not enough to deduce that).

An experimental comparison of the performance of GCmax and GCsum algorithms is included. This concentrates on comparing the actual (as opposed to provable worst scenario) algorithms’ running time, as well as the influence of the choice of the seeds on the output.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

Notes

  1. A minimizing argument, in our case P min, for a function, in our case ε, is often denoted as P min=argmin P ε(P). (See e.g. [21].) However, such a notation incorrectly suggests that a minimizing object is unique.

  2. Smallest in the set inclusion sense, that is, such that P minP for all \(P\in \mathcal {P}_{\theta_{\min}}(S,T)\). Notice that the existence of the smallest element of \(\mathcal {P}_{\theta_{\min}}(S,T)\) is not obvious. Actually, its existence depends on the definition of the energy function ε.

  3. Actually, the most general energy formula defined in [21] is of the form \(\hat{E}_{p,q}(x)=E_{p,q}(x)+\sum_{c\in V}(w_{c})^{p} |x(c)-y(c)|^{q}\) for a \(y\in \mathcal {P}^{F}\). However, in all theoretical investigations there, the unary constants w c are taken as 0, in which case \(\hat{E}_{p,q}=E_{p,q}\). Our analysis here applies only to this simplified case.

  4. The assumption is that for every threshold t, the set ST intersects every connected component of the graph 〈C,E t 〉, where E t ={eE:w(e)≥t}.

  5. For k=1, the set {κ(c i-1,c i ):1<ik} is empty, so the first part of the definition leads to equation μ(〈c 1〉)=min∅. This agrees with our definition of μ(〈c 1〉)=1 if we define min∅ as equal to 1, the highest possible value for κ. Thus, in the rest of this article we will assume that min∅=1.

  6. The min-max concept for capturing the strength of connectivity was first suggested by Rosenfeld [3638], although by different notion of path strength without the use of affinity.

  7. Modulo changes of notation and of order of optimization.

  8. \(\hat{\mathcal {P}}_{\max}(S,T)\) is the family of all \(P\in \mathcal {P}_{\max}(S,T)\) minimizing the energy ε lex , where ε lex (P) is a function from ℝ to {0,1,…}, with ε lex (η)=|P η |, and the range of ε lex is ordered by the lexicographical order ≤ lex , that is, f< lex g provided f(m)<g(m), where m=max{η:f(η)≠g(η)}.

  9. This can be found by simple multivariable calculus. First notice, that both second partial derivatives, \(\frac{\partial^{2}}{\partial z^{2}}E_{q,q}(x_{y,z})=2q(q-1)v^{q}[|y-z|^{q-2}+z^{q-2}]\) and \(\frac{\partial^{2}}{\partial y^{2}}E_{q,q}(x_{y,z})=2q(q-1)[(1-y)^{q-2}+v^{q}|y-z|^{q-2}]\) are positive, so the function E q,q is convex and it can have only one global minimum. For yz, \(\frac{\partial}{\partial z} E_{q,q}(x_{y,z})=2[-qv^{q}(y-z)^{q-1}+qv^{q} z^{q-1}]\) equals 0 when (y-z)q-1=z q-1, that is, when y=2z. Similarly, the other derivative \(\frac{\partial}{\partial y} E_{q,q}(x_{y,z})=2[-q(1-y)^{q-1}+qv^{q}(y-z)^{q-1}]\) equals 0 when (1-y)q-1=v q(y-z)q-1, which, with y=2z, leads to \((\frac{1-2z}{2z-z} )^{q-1}=v^{q}\) and \(\frac{1}{z}-2=v^{q/(q-1)}\). So, z=(v q/(q-1)+2)-1 and y=2(v q/(q-1)+2)-1 minimize E q,q on [0,1]×[0,1], since for z>y, the derivative \(\frac{\partial}{\partial z} E_{q,q}(x_{y,z})=2[qv^{q} (z-y)^{q-1}+qv^{q}z^{q-1}]\) never equals 0.

References

  1. Audigier, R., Lotufo, R.A.: Duality between the watershed by image foresting transform and the fuzzy connectedness segmentation approaches. In: Proceedings of the 19th Brazilian Symposium on Computer Graphics and Image Processing (SIBGRAPI’06), Manaus (AM), Brazil (2006)

    Google Scholar 

  2. Audigier, R., Lotufo, R.A.: Relationships between some watershed definitions and their tie-zone transforms. Image Vis. Comput. 28, 1472–1482 (2010)

    Article  Google Scholar 

  3. Bertrand, G.: On topological watersheds. J. Math. Imaging Vis. 22, 2–3 (2005) 217–230

    Article  Google Scholar 

  4. Beucher, S.: The watershed transformation applied to image segmentation. In: 10th Pfefferkorn Conf. Signal and Image Processing in Microscopy and Microanalysis, pp. 299–314 (1992)

    Google Scholar 

  5. Boykov, Y., Funka-Lea, G.: Graph cuts and efficient N-D image segmentation. Int. J. Comput. Vis. 70, 109–131 (2006)

    Article  Google Scholar 

  6. Boykov, Y., Jolly, M.: Interactive graph cuts for optimal boundary & region segmentation of objects in N-D images. In: Proceedings of ICCV, Part I, pp. 105–112 (2001)

    Google Scholar 

  7. Boykov, Y., Kolmogorov, V.: Computing geodesics and minimal surfaces via graph cuts. In: International Conference on Computer Vision, vol. I, pp. 26–33 (2003)

    Chapter  Google Scholar 

  8. Boykov, Y., Kolmogorov, V.: An experimental comparison of min-cut/max-flow algorithms for energy minimization in vision. IEEE Trans. Pattern Anal. Mach. Intell. 26, 1124–1137 (2004)

    Article  Google Scholar 

  9. Boykov, Y., Veksler, O.: Graph cuts in vision and graphics: Theories and applications. In: Paragios, N., Chen, Y., Faugeras, O. (eds.) Handbook of Mathematical Models in Computer Vision, pp. 79–96. Springer, Berlin (2006)

    Chapter  Google Scholar 

  10. Boykov, Y., Veksler, O., Zabih, R.: Fast approximate energy minimization via graph cuts. IEEE Trans. Pattern Anal. Mach. Intell. 23(11), 1222–1239 (2001)

    Article  Google Scholar 

  11. Boykov, Y., Kolmogorov, V., Cremers, D., Delong, A.: An integral solution to surface evolution PDEs via geo-cuts. In: International Conference on Computer Vision, vol. III. LNCS, vol. 3953, pp. 409–422 (2006)

    Google Scholar 

  12. BrainWeb repository. http://mouldy.bic.mni.mcgill.ca/brainweb/anatomic_normal_20.html

  13. Carvalho, B.M., Gau, C.J., Herman, G.T., Kong, Y.T.: Algorithms for fuzzy segmentation. Pattern Anal. Appl. 2, 73–81 (1999)

    Article  Google Scholar 

  14. Carvalho, B.M., Herman, G.T., Kong, Y.T.: Simultaneous fuzzy segmentation of multiple objects. Discrete Appl. Math. 151, 65–77 (2005)

    Article  MathSciNet  Google Scholar 

  15. Ciesielski, K.C., Udupa, J.K.: Affinity functions in fuzzy connectedness based image segmentation I: Equivalence of affinities. Comput. Vis. Image Underst. 114, 146–154 (2010)

    Article  Google Scholar 

  16. Ciesielski, K.C., Udupa, J.K.: Affinity functions in fuzzy connectedness based image segmentation II: Defining and recognizing truly novel affinities. Comput. Vis. Image Underst. 114, 155–166 (2010)

    Article  Google Scholar 

  17. Ciesielski, K.C., Udupa, J.K.: Region-based segmentation: Fuzzy connectedness, graph cut, and other related algorithms. In: Deserno, T.M. (ed.) Biomedical Image Processing, pp. 251–278. Springer, Berlin (2011)

    Google Scholar 

  18. Ciesielski, K.C., Udupa, J.K.: A framework for comparing different image segmentation methods and its use in studying equivalences between level set and fuzzy connectedness frameworks. Comput. Vis. Image Underst. 115, 721–734 (2011)

    Article  Google Scholar 

  19. Ciesielski, K.C., Udupa, J.K., Saha, P.K., Zhuge, Y.: Iterative relative fuzzy connectedness for multiple objects, allowing multiple seeds. Comput. Vis. Image Underst. 107(3), 160–182 (2007)

    Article  Google Scholar 

  20. Couprie, C., Grady, L., Najman, L., Talbot, H.: Anisotropic diffusion using power watersheds. In: International Conference on Image Processing (ICIP), Sep. 2010, vol. 10, pp. 4153–4156 (2010)

    Google Scholar 

  21. Couprie, C., Grady, L., Najman, L., Talbot, H.: Power watersheds: A unifying graph-based optimization framework. IEEE Trans. Pattern Anal. Mach. Intell. 33(7), 1384–1399 (2011)

    Article  Google Scholar 

  22. Cousty, J., Bertrand, G., Najman, L., Couprie, M.: Watershed cuts: Minimumspanning forests and the drop of water principle. IEEE Trans. Pattern Anal. Mach. Intell. 31(8), 1362–1374 (2009)

    Article  Google Scholar 

  23. Cousty, J., Bertrand, G., Najman, L., Couprie, M.: Watershed cuts: Thinnings, shortest path forests, and topological watersheds. IEEE Trans. Pattern Anal. Mach. Intell. 32(5), 925–939 (2010)

    Article  Google Scholar 

  24. Falcão, A.X., Udupa, J.K., Miyazawa, F.K.: An ultra-fast user-steered image segementation paradigm: Live-wire-on-the-fly. IEEE Trans. Med. Imaging 19(1), 55–62 (2000)

    Article  Google Scholar 

  25. Falcão, A.X., Stolfi, J., Lotufo, R.A.: The image foresting transform: Theory, algorithms, and applications. IEEE Trans. Pattern Anal. Mach. Intell. 26(1), 19–29 (2004)

    Article  Google Scholar 

  26. Fan, X., Yang, J., Cheng, L.: A novel segmentation method for MR brain images based on fuzzy connectedness and FCM. Lect. Notes Comput. Sci. 3613, 505–513 (2005)

    Article  Google Scholar 

  27. Herman, G.T., Carvalho, B.M.: Multiseeded segmentation using fuzzy connectedness. IEEE Trans. Pattern Anal. Mach. Intell. 23, 460–474 (2001)

    Article  Google Scholar 

  28. Li, K., Wu, X., Chen, D.Z., Sonka, M.: Optimal surface segmentation in volumetric images—A graph-theoretic approach. IEEE Trans. Pattern Anal. Mach. Intell. 28(1), 119–134 (2006)

    Article  Google Scholar 

  29. Miranda, P.A.V., Falcão, A.X.: Links between image segmentation based on optimum-path forest and minimum cut in graph. J. Math. Imaging Vis. 35, 128–142 (2009)

    Article  Google Scholar 

  30. Miranda, P.A.V., Falcão, A.X., Udupa, J.K.: Cloud bank: A multiple clouds model and its use in MR brain image segmentation. In: Proceedings of the Sixth IEEE International Symposium on Biomedical Imaging from Nano to Macro (ISBI), Boston, pp. 506–509 (2009)

    Chapter  Google Scholar 

  31. Miranda, P.A.V., Falcão, A.X., Udupa, J.K.: Synergistic arc-weight estimation for interactive image segmentation using graphs. Comput. Vis. Image Underst. 114(1), 85–99 (2010)

    Article  Google Scholar 

  32. Najman, L.: On the equivalence between hierarchical segmentations and ultrametric watersheds. J. Math. Imaging Vis. 40(3), 231–247 (2011)

    Article  MathSciNet  Google Scholar 

  33. Nyul, L.G., Falcao, A.X., Udupa, J.K.: Fuzzy-connected 3D image segmentation at interactive speeds. Graph. Models Image Process. 64, 259–281 (2003)

    Google Scholar 

  34. Park, J., Keller, J.: Snakes on the watershed. IEEE Trans. Pattern Anal. Mach. Intell. 23, 1201–1205 (2001)

    Article  Google Scholar 

  35. Pednekar, A., Kakadiaris, I.A.: Image segmentation based on fuzzy connectedness using dynamic weights. IEEE Trans. Image Process. 15(6), 1555–1562 (2006)

    Article  Google Scholar 

  36. Rosenfeld, A.: Fuzzy digital topology. Inf. Control 40, 76–87 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  37. Rosenfeld, A.: On connectivity properties of grayscale pictures. Pattern Recognit. 16, 47–50 (1983)

    Article  Google Scholar 

  38. Rosenfeld, A.: The fuzzy geometry of image subsets. Pattern Recognit. Lett. 2, 311–317 (1984)

    Article  Google Scholar 

  39. Saha, P.K., Udupa, J.K.: Relative fuzzy connectedness among multiple objects: Theory, algorithms, and applications in image segmentation. Comput. Vis. Image Underst. 82(1), 42–56 (2001)

    Article  MATH  Google Scholar 

  40. Saha, P.K., Udupa, J.K.: Iterative relative fuzzy connectedness and object definition: Theory, algorithms, and applications in image segmentation. In: Proceedings of IEEE Workshop on Mathematical Methods in Biomedical Image Analysis, Hilton Head, South Carolina, pp. 28–35 (2002)

    Google Scholar 

  41. Saha, P.K., Udupa, J.K., Odhner, D.: Scale-based fuzzy connectedness image segmentation: Theory, algorithms, and validation. Comput. Vis. Image Underst. 77, 145–174 (2000)

    Article  Google Scholar 

  42. Shafarenko, L., Petrou, M., Kittler, J.: Automatic watershed segmentation of randomly textured color images. IEEE Trans. Image Process. 6, 1530–1544 (1997)

    Article  Google Scholar 

  43. Shi, J., Malik, J.: Normalized cuts and image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 22, 888–905 (2000)

    Article  Google Scholar 

  44. Sinop, A.K., Grady, L.: A seeded image segmentation frame—work unifying graph cuts and random walker which yields a new algorithm. In: Proc. of ICCV’07 (2007)

    Google Scholar 

  45. Udupa, J.K., Samarasekera, S.: Fuzzy connectedness and object definition: Theory, algorithms, and applications in image segmentation. Graph. Models Image Process. 58(3), 246–261 (1996)

    Article  Google Scholar 

  46. Udupa, J.K., Saha, P.K., Lotufo, R.A.: Relative fuzzy connectedness and object definition: Theory, algorithms, and applications in image segmentation. IEEE Trans. Pattern Anal. Mach. Intell. 24, 1485–1500 (2002)

    Article  Google Scholar 

  47. Zhuge, Y., Udupa, J.K., Saha, P.K.: Vectorial scale-based fuzzy connected image segmentation. Comput. Vis. Image Underst. 101, 177–193 (2006)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Krzysztof Chris Ciesielski.

Appendix

Appendix

Example A.1

For the energies ε q and E q,q with q∈(1,∞] it is possible that \(\mathcal {P}_{\hat{\theta}_{\min }}^{F}(S,T)\) and \(\mathcal {P}_{\theta_{\min}}^{H}(S,T)\) are disjoint and that \(\bar{x}\in \mathcal {P}^{H}(S,T)\) associated with \(x_{\min}\in \mathcal {P}_{\hat{\theta}_{\min}}^{F}(S,T)\) does not belong to \(\mathcal {P}_{\theta_{\min}}^{H}(S,T)\).

Proof

Take C={s,c,d,t}, where s is a foreground seed and t is a background seed, that is, S={s} and T={t}. Consider a graph on C with just three symmetric edges, {s,c}, {c,d}, and {d,t} (so, with six directed edges) with the respective weights 1, v, and v for v>1 to be determined. Then, \(\mathcal {P}^{F}(S,T)\) consists of all fuzzy sets x y,z :C→[0,1] with y,z∈[0,1], where x y,z (s)=1, x y,z (c)=y, x y,z (d)=z, and x y,z (t)=0.

First fix a q∈(1,∞). Then, E q,q (x y,z )=2[(1-y)q+v q|y-z|q+v q z q] is a function of two variables, y and z. It has precisely one minimumFootnote 9 at z q =(v q/(q-1)+2)-1 and y q =2(v q/(q-1)+2)-1. Thus, \(\mathcal {P}_{\hat{\theta}_{\min}}^{F}(S,T)=\{x_{y_{q},z_{q}}\}\), leading to \(x_{\min}=x_{y_{q},z_{q}}\). Now, if v∈(1,2(q-1)/q), then 1<v q/(q-1)<2 and we have 0<z q <0.5<y q <1, leading to \(\bar{x}\) with \(\bar{x}(s)=\bar{x}(c)=1\) and \(\bar{x}(d)=\bar{x}(t)=0\). But this implies that \(E_{q,q}(\bar{x})=v^{q}>1=E_{q,q}(\mbox {\raise .48ex\hbox {$\chi $}$_{\{s\}}$})\), so indeed \(\bar{x}\notin \mathcal {P}_{\theta_{\min}}^{H}(S,T)\).

To see that the same example works for q=∞, fix a v∈(1,21/2). Then, for every q>2 and y,z∈ℝ, we have \(\|F(x_{y,z})\|_{q}\geq\|F(x_{y_{q},z_{q}})\|_{q}\). Taking the limit, as q→∞, gives \(\|F(x_{y,z})\|_{\infty}\geq \|F(x_{y_{\infty},z_{\infty}})\|_{\infty}\), where z =lim q→∞ z q =(v+2)-1 and y =2z . Then, similarly as above, \(\mathcal {P}_{\theta_{\min}}^{F}(S,T)=\{x_{y_{\infty},z_{\infty}}\}\), leading to \(x_{\min}=x_{y_{q},z_{q}}\) and \(\bar{x}\) with \(\bar{x}(s)=\bar{x}(c)=1\) and \(\bar{x}(d)=\bar{x}(t)=0\). But this implies that \({\varepsilon }_{\infty}(\bar{x})=v>1={\varepsilon }_{\infty}(\mbox {\raise .48ex\hbox {$\chi $}$_{\{s\}}$})\), so once again \(\bar{x}\notin \mathcal {P}_{\theta_{\min}}^{H}(S,T)\). □

Proof of Theorem 4.6

We start with proving that \(P^{IFT}_{S,T}\in \mathcal {F}_{M}(S,W)\). Let \({\mathbb{F}}\) be the OPF returned by \(\mbox {GC$_{\max }$}\), so that we have \(P^{IFT}_{S,T}=P(S,{\mathbb{F}})\). We will find an MSF \(\hat{{\mathbb{F}}}\) relative to W which returns the same object, that is, such that \(P(S,\hat{{\mathbb{F}}})=P(S,{\mathbb{F}})\).

Recall, that the Kruskal’s algorithm creates MSF \(\hat{{\mathbb{F}}}={\langle }C,\hat{E}{\rangle}\) as follows:

  • it lists all edges of the graph in a queue Q such that their weights form a decreasing sequence;

  • it removes consecutively the edges from Q, adding to \(\hat{E}\) those, whose addition creates in the expanded \(\hat{{\mathbb{F}}}={\langle}C,\hat{E}{\rangle}\) neither a cycle nor a path between different spels from W; other edges are discarded.

This schema has a leeway in choosing the order of the edges in Q: those that have the same weight can be ordered arbitrarily.

Let B be the boundary of \(P(S,{\mathbb{F}})\), \(B=\mathrm {bd}(P(S,{\mathbb{F}}))\). Assume, that we create the list Q in such a way that, among the edges with the same weight, all those that do not belong to B precede all those that belong to B. We will show that Kruskal’s algorithm with Q so chosen, indeed returns MSF \(\hat{{\mathbb{F}}}\) with \(P(S,\hat{{\mathbb{F}}})=P(S,{\mathbb{F}})\).

Clearly, by the power of Kruskal’s algorithm, the returned \(\hat{{\mathbb{F}}}={\langle}C,\hat{E}{\rangle}\) will be MSF relative to W. We will show that \(\hat{E}\) is disjoint with B. This easily implies the equation \(P(S,\hat{{\mathbb{F}}})=P(S,{\mathbb{F}})\).

To prove that \(\hat{E}\) is disjoint with B, choose an edge e={c,d}∈B. Consider the step in Kruskal’s algorithm when we remove e from Q. We will argue, that adding e to the already existing part of \(\hat{E}\) would add a path from S to T, which implies that e would not be added to \(\hat{E}\).

Let p c and p d be the paths in \({\mathbb{F}}\) from W to c and d, respectively. By symmetry, we can assume that \(c\in V\setminus P(S,{\mathbb{F}})=P(T,{\mathbb{F}})\) and \(d\in P(S,{\mathbb{F}})\). We will first show that

$$ \mu(p_c)\geq w_e \quad\mbox{and}\quad \mu(p_d)\geq w_e.$$
(19)

Indeed, if μ(p c )>μ(p d ), then w e μ(p d ), since otherwise μ(d,S)=μ(p d )<min{μ(p c ),w e }≤μ(d,T), implying that d belongs to the RFC object \(P_{T,S}\subset P(T,{\mathbb{F}})\), which is disjoint with \(P(S,{\mathbb{F}})\). Similarly, if μ(p c )<μ(p d ), then w e μ(p c ), since otherwise μ(c,T)=μ(p c )<min{μ(p d ),w e }≤μ(c,S), implying that c belongs to the RFC object \(P_{S,T}\subset P(S,{\mathbb{F}})\). Finally, assume that μ(p c )=μ(p d ). Then w e <μ(p c )=μ(p d ), since otherwise GCmax (during the execution of lines 6–8 for c and d) would reassign d to \(P(T,{\mathbb{F}})\), which is disjoint with \(P(S,{\mathbb{F}})\). So, (19) is proved.

Next, let E′={e′∈E:w ew e }∖B. Then, every edge in E′ is already considered by the Kruskal’s algorithm by the time we remove e from Q. In particular, \(\hat{E}\cap E'\) is already constructed. We claim, that there is a path \(\hat{p}_{d}\) in \(\hat{G}={\langle}C,\hat{E}\cap E'{\rangle}\) from S to d.

Indeed, the component of d in \(\hat{G}\) must intersect S, since otherwise there is an edge \(\hat{e}\) in p d (so, in E′) only one vertex of which intersects this component. But this means that \(\hat{e}\in E'\) would have been added to \(\hat{E}\), which was not the case. So, indeed, there is a path \(\hat{p}_{d}\) in \(\hat{G}\) from S to d. Similarly, there is a path \(\hat{p}_{c}\) in \(\hat{G}\) from T to c. But this means that adding e to \(\hat{E}\) would create a path from S to T, which is a forbidden situation. Therefore, indeed, Kruskal’s algorithm discards e, what we had to prove. This completes the argument for \(P^{IFT}_{S,T}\in \mathcal {F}_{M}(S,W)\).

The inclusion \(\mathcal {F}_{M}(S,W)\subset \mathcal {F}^{IRFC}(S,W)\) is proved in [2, Proposition 8]. Thus, to finish the proof, we need to show that \(\mathcal {F}_{M}(S,W)\subset \mathcal {P}_{\theta}(S,T)\). So, fix a \(P\in \mathcal {F}_{M}(S,W)\). Then, there is an MSF \({\mathbb{F}}={\langle }C,E'{\rangle}\) with respect to W for which \(P=P(S,{\mathbb{F}})\). Clearly, \(P=P(S,{\mathbb{F}})\in \mathcal {P}(S,T)\). So, to finish the proof, it is enough to show that ε max(P)≤θ min=μ(S,T).

By way of contradiction, assume that this is not the case. Then, there exists an edge e={c,d}∈E with \(c\in P=P(S,{\mathbb{F}})\) and \(d\in V\setminus P=P(T,{\mathbb{F}})\) for which w e >θ min=μ(S,T). Let p c and p d be the paths in \({\mathbb{F}}\) from W to c and d, respectively. Then either μ(p c )<w e or μ(p d )<w e , since otherwise the path p starting with p c , followed by e, and then by p d is a path from S to T with μ(p)=w e >μ(S,T), a contradiction.

Assume that μ(p c )<w e . Then p c ={〈}c 1,…,c k 〉 with k>1 and the edge e′={c k-1,c k } has weight ≤μ(p c )<w e . But then \(\hat{{\mathbb{F}}}={\langle}C,\hat{E}{\rangle}\) with \(\hat{E}=E'\cup \{e\}\setminus\{e'\}\) is a spanning forest rooted at W with \(\sum_{e\in\hat{E}} w(e)=\sum_{e\in E'} w(e)+w_{e}-w_{e'}>\sum _{e\in E'}w(e)\), what contradicts maximality of \({\mathbb{F}}\). This completes the proof of the theorem. □

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ciesielski, K.C., Udupa, J.K., Falcão, A.X. et al. Fuzzy Connectedness Image Segmentation in Graph Cut Formulation: A Linear-Time Algorithm and a Comparative Analysis. J Math Imaging Vis 44, 375–398 (2012). https://doi.org/10.1007/s10851-012-0333-3

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10851-012-0333-3

Keywords

Navigation