This question will consider the widely accepted segmentation algorithm of Chan-Vese, given in the following publications:

T.F. Chan, L.A. Vese, An active contour model without edges, Lecture Notes in Computer Science, vol. 1682, pp. 141–151, 1999.

T.F. Chan, L.A. Vese, Active Contours Without Edges, IEEE Transactions on Image Processing, vol. 10, no. 1, pp. 266–277, 2001

The main publication is accessible here: http://www.math.ucla.edu/~lvese/PAPERS/IEEEIP2001.pdf

Equation 6 and 7 of this paper mentions $c_1$ and $c_2$ values. The energy function is also parameterized by these variables. My question involves the algorithm / method to compute these values. How can I do that?

  • 1
    $\begingroup$ @Tolga Birdal, your good will is heart warming! $\endgroup$
    – Jazzmaniac
    Jan 11, 2017 at 18:08

1 Answer 1


The actual formulas are given on the publication, which I linked by editing your question. Besides, there are many publicly available implementations of Chan-Vese algorithm, including, but not limited to:






I think you could find all the details in those generously shared source codes.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.