Isomap transform for segmenting human body shapes