import tensorflow as tf

        
        inverted_rgb2lms = tf.linalg.inv(self.rgb2lms)

        product1 = tf.matmul(inverted_rgb2lms, self.color_matrix)
        product2 = tf.matmul(product1, self.rgb2lms)

        original_image_shape = image.shape
        
