Create objectMask.m

compute image mask and contour point set from image