chain code\1.jpg ..........\11.jpg ..........\5.jpg ..........\firstPoint.m ..........\main.m ..........\nextpoint.m chain code