Automatic object detection and segmentation of the histocytology images using reshapable agents