Application of wavelet based K-means algorithm in mammogram segmentation