A standard approach to generating a grayscale equivalent to an input multi-spectral image involves calculating the so-called structure tensor at each image pixel. Defining contrast as associated with the maximum-change direction of this matrix, the gray gradient is identified with the first eigenvector direction, with gradient strength given by the square root of its eigenvalue. However, aside from the inherent complexity of such an approach, each pixel’s gradient still possesses a sign ambiguity, since an eigenvector is given only up to a sign. This is ostensibly resolved by looking at how one of the color channels behaves, or how the the luminance changes, or how overall integrability is affected by each sign choice. Instead, we would like to circumvent the sign problem in the first place, and also avoid calculating the costly eigenvector decomposition. We suggest replacing the eigenvector approach by generating a grayscale gradient equal to the maximum gradient amongst the color or multi-spectral channels’ gradients, in each of x, y. color or But in order not to neglect the tensor approach, we consider the relationship between the complex and the simple approaches. We also note that, at each pixel, we have both forward-facing and backward-facing derivatives, which are different. In a novel approach, we consider a tensor formed from both. Then, over a standard training set, we ask for an optimum set of weights for all the maximum gradients such that the simple maxima scheme generates a grayscale structure tensor to best match the original, multi-spectral, one. If we use only forward-facing derivatives, a fast Fourier-based solution is possible. But instead, we find that a simple scheme that equally weights maxima in the forward-facing and backward-facing directions produces superlative results if a reset step is included, in a spatial-domain solution. Grayscale results are shown to be excellent, and the algorithm is very fast.
[1]
László Neumann,et al.
An Efficient Perception-based Adaptive Color to Gray Transformation
,
2007,
CAe.
[2]
Lawrence B. Wolff,et al.
Multispectral image visualization through first-order fusion
,
2002,
IEEE Trans. Image Process..
[3]
Ali Alsam,et al.
Fast Colour2Grey
,
2008,
Color Imaging Conference.
[4]
Silvano Di Zenzo,et al.
A note on the gradient of a multi-image
,
1986,
Comput. Vis. Graph. Image Process..
[5]
Rama Chellappa,et al.
Direct Analytical Methods for Solving Poisson Equations in Computer Vision Problems
,
1990,
IEEE Trans. Pattern Anal. Mach. Intell..
[6]
Reiner Eschbach,et al.
Spatial Color-to-Grayscale Transform Preserving Chrominance Edge Information
,
2004,
CIC.
[7]
John J. McCann,et al.
Retinex in Matlab
,
2000,
CIC.
[8]
Lawrence B. Wolff,et al.
A new visualization paradigm for multispectral imagery and data fusion
,
1999,
Proceedings. 1999 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (Cat. No PR00149).
[9]
Flávio P. Ferreira,et al.
Statistics of spatial cone-excitation ratios in natural scenes.
,
2002,
Journal of the Optical Society of America. A, Optics, image science, and vision.
[10]
Neil A. Dodgson,et al.
Decolorize: Fast, contrast enhancing, color to grayscale conversion
,
2007,
Pattern Recognit..
[11]
T. M. Lillesand,et al.
Remote sensing and image interpretation. Second edition
,
1987
.
[12]
David Connah,et al.
Improved colour to greyscale via integrability correction
,
2009,
Electronic Imaging.
[13]
David Connah,et al.
Seeing Beyond Luminance: A Psychophysical Comparison of Techniques for Converting Colour Images to Greyscale
,
2007,
Color Imaging Conference.
[14]
Bruce Gooch,et al.
Color2Gray: salience-preserving color removal
,
2005,
SIGGRAPH 2005.
[15]
Y. J. Tejwani,et al.
Robot vision
,
1989,
IEEE International Symposium on Circuits and Systems,.