The paper presents a texture-based segmentation algorithm for identifying skin lesions, particularly melanoma, using a novel texture distinctiveness (td) metric. The algorithm classifies skin lesions into three main global patterns: globular, reticular, and homogeneous, utilizing a joint statistical approach and oversegmentation to enhance accuracy. The proposed method yields improved segmentation results compared to existing algorithms, supporting early melanoma detection through automated image analysis.