Machine learning approach for segmenting glands in colon histology images using local intensity and texture features