New object-oriented segmentation algorithm based on the CNN paradigm