摘要 |
A method for providing a LUT for changing color components of pixels of an image includes generating N two-dimensional slices from a three-dimensional LUT. The N two-dimensional slices are arranged in order from a first two-dimensional slice to an Nth two-dimensional slice. The method includes generating N upsampled slices corresponding to the N two-dimensional slices. The N upsampled slices are arranged in order from a first upsampled slice to an Nth upsampled slice. The method includes forming a first group of slices comprising the N upsampled slices, and forming a second group of slices comprising a second two-dimensional slice of the N two-dimensional slices through the Nth two-dimensional slice and a copy of the Nth two-dimensional slice. The method includes storing the first group of slices and the second group of slices, respectively, in a zero level of a mip map and a first level of the mip map. |