The invention is a medical application of content based image retreival system which is capable of searching through a large image database to find images relevant to user queries based upon visual features such as color texture and shape. these feature values are generally descirbed indirectly through the use of example images since it is inconvenient and inherently difficult for humans to express queries in terms of low level visual characteristics. In other wors, the user describes the desired cocept for retrieval by providing relevant image examples. for instance, a user wishing to find images of various flowers can convey the desired feature values by choosing an image of a flower as a query image. Can be used for matching gene expressions, cat MRI and PET scans, and identifying and diagnosing various diseases