clear all
close all
format compact
format long

%A = img2var('image/shape2.jpg');
%A = noiseadd(A,10,'gaussian');
%phi = GeodesicActiveContour( A, 0.1, 1000 );

A = img2var('image/square.jpg');
A = noiseadd(A,40,'gaussian');
phi = GeodesicActiveContour( A, 0.1, 2000 );