This is the sample implementation of a Markov random field based color image segmentation algorithm described in the following paper:
Zoltan Kato, Ting Chuen Pong, and John Chung Mong Lee. Color Image Segmentation and Parameter Estimation in a Markovian Framework. Pattern Recognition Letters, 22(3-4):309--321, March 2001.
Note that the current demo program implements only a supervised version of the segmentation method described in the paper (i.e. parameter values are learned interactively from representative regions selected by the user).