Efficient Image Segmentation and Segment-Based Analysis in Computer Vision Applications