This is the "Active contours driven by local and global intensity fitting energy with application to brain MR image segmentation" (referred to as LGIF model) of the MATLAB source code. LGIF model is very important to local area active contour model, which combines the CV model and the merits of LBF model.
1