Hierarchical adaptive texture conditional random field for enhanced pathology segmentation