Convex hull

cnvxhull(M, fg) Returns a matrix containing the convex hull of pixels of value fg in matrix M.

Arguments: