## Abstract

An algorithm to calculate the best global mapping from color to grayscale is presented. We assert that the best mapping minimizes the difference between the multi-channel local tensor and the tensor of the resultant mono-chromatic image. To minimize the objective function, we represent the grayscale image as a weighted sum of the RGB channels, three channels and their second-order polynomial and three channels and their root polynomial. The optimization searches for the best weights to combine the linear, polynomial, and root polynomial functions. Our results show that the optimal weights can half the root mean square difference between the color gradients and those achieved by the conventional luminance transformation. Further improvement is achieved by adding the squared and root squared channels to the solution. The improvements are also visually evident.

© 2018 Optical Society of America

Full Article | PDF Article**OSA Recommended Articles**

David Connah, Mark S. Drew, and Graham D. Finlayson

J. Opt. Soc. Am. A **32**(12) 2384-2396 (2015)

Raffaele Persico, Francesco Soldovieri, and Rocco Pierri

J. Opt. Soc. Am. A **19**(12) 2424-2428 (2002)

Yong Ju Jung

Opt. Express **25**(10) 12029-12051 (2017)