A novel technique for content based image retrieval based on region-weight assignment