Feature-Based Image Clustering and Segmentation Using Wavelets