Content based image retrieval for bio-medical images