Machine Learning based Segmentation and Classification Algorithms for Glaucoma Detection