Patent attributes
A method (and system) is provided obtaining an adapted calibration transformation for whole slide imaging, wherein the adapted calibration transformation is for outputting the color of an empty area of the slide in a whole slide image, WSI, as a desired color. The method comprises first receiving a color target WSI in a device-dependent color space, wherein the color target WSI is a WSI of a color target from a scanner represented in the device-dependent color space. The color target contains at least a white patch and three (near) primary color patches. A calibration transformation is obtained for transforming the device-dependent color space to a device-independent color space. A chromatic adaptation transformation is derived using the color of the white patch in the device-dependent color space, the color of the empty (glass) area in the device-independent color space and the desired empty (glass) color in the target color space. An adapted calibration transformation is obtained by applying the chromatic adaptation transformation to the calibration transformation.