Application of Machine Vision to Shape Analysis in Leaf and Plant Identification