1. A method of representing a digital pathology image programmed in a controller in a device comprising: a. implementing stain separation to separate a stain including at least one color component; and b. resampling the at least one color component based on importance.