1. A method of transforming an image, the method comprising: obtaining transform matrices by finding a solution to a multi-objective optimization problem; and transforming the image by applying the transform matrices to the image to produce a transformed image.