1. A method of extracting a feature of an image programmed in a memory of a device comprising: a. receiving a pathology image; b. performing a plurality of modes of quantization on the pathology image, wherein the plurality of modes of quantization include color quantization, texture quantization and diagnostic quantization, wherein the diagnostic quantization is implemented by assigning a label indicating a most probable cancer stage to each pixel in the pathology image using an automatic cancer grading analysis system; c. extracting features from quantization maps of the pathology image, wherein each quantization map of the quantization maps is an integer array of a size equal to the pathology image; and d. generating a feature vector of the pathology image, wherein the feature vector comprises multiple co-occurrence feature vectors, deduced from co-occurrence matrices computed at multiple scales, wherein an offset distance parameter is used to determine a scale at which pixel correlation is analyzed.