A computer-implemented method of converting measurement data obtained by a multispectral image sensor (MIS) into a color space based on an arbitrary correlated color temperature (CCT), the computer-implemented method comprising:
- obtaining reference transformation matrices configured to convert the measurement data obtained by the MIS into a first color space based on each of reference CCTs;
- and
- based on the reference transformation matrices, obtaining a target transformation matrix configured to convert the measurement data obtained by the MIS into the first color space based on a target CCT different from the reference CCTs,
- wherein the obtaining of the reference transformation matrices comprises:
- obtaining sample measurement data of color samples measured by the MIS based on a reference CCT among the reference CCTs;
- obtaining first color measurement data of the color samples measured by a colorimeter with respect to the first color space based on the reference CCT;
- optimizing a reference transformation matrix based on a relationship between the sample measurement data and the first color measurement data;
- and
- normalizing the optimized reference transformation matrix,
- wherein a loss function for the optimizing comprises a regularization term based on a size of the reference transformation matrix.