MATHEMATICAL MODELING FOR CONTOUR IDENTIFICATION BASED ON MEDICINAL LEAVES AND GIS IMAGES