Method for fusing images and apparatus therefor

Information

  • Patent Grant
  • 5488674
  • Patent Number
    5,488,674
  • Date Filed
    Wednesday, May 12, 1993
    31 years ago
  • Date Issued
    Tuesday, January 30, 1996
    28 years ago
Abstract
A method for fusing two or more source images to form a composite image with extended information content which may be color augmented and apparatus for forming the composite image from the source images is disclosed. Each source image is decomposed into a number of source images of varying resolution. The decomposed source images are analyzed using directionally sensitive operators to generate a set of oriented basis functions characteristic of the information content of the original images. The oriented basis functions for the composite image are then selected from those of the different source images and the inverse of the decomposition performed to construct the composite image. Color augmentation provides information as to the relative weighting of the contribution of each source to the composite image.
Description

The invention relates to an improved method for fusing two or more source images to form a composite image with extended information content and apparatus for forming the composite image from the source images.
BACKGROUND OF THE INVENTION
Image fusion is a process that combines two or more source images to form a single composite image with extended information content. Typically images from different sensors, such as infra-red and visible cameras, computer aided tomography (CAT) and magnetic resonance imaging (MRI) systems, are combined to form the composite image. Multiple images of a given scene taken with different types of sensors, such as visible and infra-red cameras, or images taken with a given type of sensor and scene but under different imaging condition, such as with different scene illumination or camera focus may be combined. Image fusion is successful to the extent that: (1) the composite image retains all useful information from the source images, (2) the composite image does not contain any artifacts generated by the fusion process, and (3) the composite image looks natural, so that it can be readily interpreted through normal visual perception by humans or machines. The term useful information as determined by the user of the composite image determines which features of the different source images are selected for inclusion in the composite image.
The most direct approach to fusion, known in the art, is to align the source images, then sum, or average, across images at each pixel position. This and other pixel-based approaches often field unsatisfactory results since individual source features appear in the composite with reduced contrast or appear jumbled as in a photographic double exposure.
Known pattern selective image fusion tries to overcome these deficiencies by identifying salient features in the source images and preserving these features in the composite at full contrast. Each source image is first decomposed into a set of primitive pattern elements. A set of pattern elements for the composite image is then assembled by selecting salient patterns from the primitive pattern elements of the source images. Finally, the composite image is constructed from its set of primitive pattern elements.
Burt in Multiresolution Image Processing And Analysis, V. 16, pages 20-51, 1981 (hereinafter "BURT") and Anderson et al in U.S. Pat. No. 4,692,806, incorporated herein by reference for its teachings on image decomposition techniques, have disclosed an image decomposition technique in which an original comparatively high-resolution image comprised of a first number of pixels is processed to derive a wide field-of-view, low resolution image comprised of second number of pixels smaller than the first given number. The process for decomposing the image to produce lower resolution images is typically performed using a plurality of low-pass filters of differing bandwidth having a Gaussian roll-off. U.S. Pat. No. 4,703,514, incorporated herein by reference, has disclosed a means for implementing the pyramid process for the analysis of images.
The Laplacian pyramid approach to image fusion is perhaps the best known pattern-selective method. BURT first disclosed the use of image fusion techniques based on the Laplacian pyramid for binocular fusion in human vision. U.S. Pat. No. 4,661,986 disclosed the use of the Laplacian technique for the construction of an image with an extended depth of field from a set of images taken with a fixed camera but with different focal settings. A. Toet in Machine Vision and Applications, V. 3, pages 1-11 (1990) has disclosed a modified Laplacian pyramid that has been used to combine visible and IR images for surveillance applications. More recently M. Pavel et al in Proceedings of the AIAA Conference on Computing in Aerospace, V. 8, Baltimore, October 1991 have disclosed a Laplacian pyramid for combining a camera image with graphically generated imagery as an aid to aircraft landing. Burt et al in ACM Trans. on Graphics, V. 2, pages 217-236 (1983) and in the Proceeding of SPIE, V. 575, pages 173-181 (1985) have developed related Laplacian pyramid techniques to merge images into mosaics for a variety of applications
In effect, a Laplacian transform is used to decompose each source image into regular arrays of Gaussian-like basis functions of many sizes. These patterns are sometimes referred to as basis functions of the pyramid transform, or as wavelets. The multiresolution pyramid of source images permits coarse features to be analyzed at low resolution and fine features to be analyzed at high resolution. Each sample value of a pyramid represents the amplitude associated with a corresponding basis function. In the Laplacian pyramid approach to fusion cited above, the combination process selects the most prominent of these patterns from the source images for inclusion in the fused image. The source pyramids are combined through selection on a sample by sample basis to form a composite pyramid. Current practice is to use a "choose max rule" in this selection; that is, at each sample location in the pyramid source image, the source image sample with the largest value is copied to become the corresponding sample in the composite pyramid. If at a given sample location if there are other source image samples that have ready the same value as the sample with the largest values, these may be averaged to obtain the corresponding sample of the composite pyramid. Finally, the composite image is recovered from the composite pyramid through an inverse Laplacian transform. By way of example, in the approach disclosed in U.S. Pat. No. 4,661,986, the respective source image samples with the largest value, which are copied at each pyramid level, correspond to samples of that one of the source images which is more in focus.
In the case of the Laplacian transform, the component patterns take the form of circularly symmetric Gaussian-like intensity functions. Component patterns of a given scale tend to have large amplitude where there are distinctive features in the image of about that scale. Most image patterns can be described as being made up of edge-like primitives. The edges in turn are represented within the pyramid by collections of component patterns.
While the Laplacian pyramid technique has been found to provide good results, sometimes visible artifacts are introduced into the composite image. These may occur, for example, along extended contours in the scene due to the fact that such higher level patterns are represented in the Laplacian pyramid rather indirectly. An intensity edge is represented in the Laplacian pyramid by Gaussian patterns at all scales with positive values on the lighter side of the edge, negative values on the darker, and zero at the location of the edge itself. If not all of these primitives survive the selection process, the contour is not completely rendered in the composite. An additional shortcoming is due to the fact that the Gaussian-like component patterns have non-zero mean values. Errors in the selection process lead to changes in the average image intensity within local regions of a scene. These artifacts are particularly noticeable when sequences of composite or fused images are displayed. The selection process is intrinsically binary, the basis function from one or the other source image is chosen. If the magnitude of the basis functions vary, for example because of noise in the image or sensor motion, the selection process may alternately select the basis functions from different source images. This leads to unduly perceptible artifacts such as flicker and crawlers.
Further, while the prior art may employ color in the derivation of the fused composite image itself, there is no way in the prior art of retaining the identity of those source images that contributed to particular displayed information in a fused composite image. For example, in a surveillance application, an observer may want to know if the source of a bright feature he sees in the composite image comes from an IR camera source image, so represents a hot object, or comes from a visible camera source, so represents a light colored, or intensely illuminated object.
Thus there is a need for improved methods of image fusion (in addition to the prior-art methods of either averaging or "choose max rule" selection, and the use of color) which overcome these shortcomings in the prior art and provide better image quality and/or saliency for the user in a composite image formed by the image fusion process, particularly when sequences of composite images are displayed.
SUMMARY OF THE INVENTION
A method of the invention for forming a composite image from N source images where N is greater than one comprising the steps of decomposing each source image I.sub.n, n=1 to N, into a plurality L of sets of oriented component patterns P.sub.n (m, l); computing a saliency measure S.sub.n (m, l) for each component pattern P.sub.n (m, l); selecting component patterns from the component pattern sets P.sub.n (m, l) using the saliency measures S.sub.n (m, l) to form a set of oriented component patterns P.sub.c (m, l) for the composite image; and constructing the composite image I.sub.c from the set of oriented component patterns P.sub.c (m, l.
The invention is also an apparatus for forming a composite image from a plurality of source images comprising means for decomposing each source image into a plurality of sets of oriented component patterns; means for computing a saliency measure for each component pattern; means for selecting component patterns from the component pattern sets using the saliency measures to form a set of oriented component patterns of the composite image; and means for constructing the composite image from the set of oriented component patterns.





BRIEF DESCRIPTION OF THE DRAWING
FIG. 1 is a flow chart showing a prior art method for pattern-based image fusion.
FIG. 2 diagrammatically illustrates a method for forming the Gaussian and Laplacian pyramids.
FIG. 3 diagrammatically illustrates a method for reconstructing the original image from the Laplacian pyramid.
FIG. 4 diagrammatically illustrates a method for pattern-based image fusion of the invention.
FIG. 4(a) diagrammatically illustrates a method for pattern-based image fusion using both saliency and match.
FIG. 5 illustrates the implementation of the method of the invention in real-time digital image processing hardware.
FIG. 6 is a schematic circuit diagram of the circuits P5 and P6.
FIG. 7 is a schematic circuit diagram of the circuit P7.
FIGS. 8 (a), (c), (d) and (e) are schematic diagrams of different circuits implementing the weighting function.
FIG. 8 (b) is graphical illustration of a particular weighting function.
FIG. 9 is a timing diagram of when the various images and pyramid levels may be computed in a system with I/O frame stores, and assuming interlace I/O.
FIG. 10(a) is a photograph of a source image from a standard visible light camera.
FIG. 10(b) is a photograph of a source image from an infrared camera.
FIG. 10(c) is a photograph of the fused image obtained using the method of the invention.
FIG. 11 is a block diagram of an illustrative embodiment that converts two separate monochromatic source images into a fused composite colored image.
FIG. 12 is a block diagram diagrammatically illustrating an example of the fusion process shown in FIG. 11.
FIG. 13 is a block diagram of an exemplary pyramid circuit.





DETAILED DESCRIPTION
A flow chart for a prior art pattern-based image fusion is shown in FIG. 1. The source images are assumed to be aligned prior to undertaking the fusion steps. The fusion method comprises the steps of transforming each source image I.sub.n into a feature-based representation where each image I.sub.n is decomposed into a set of component patterns P.sub.n (m), where n=1, 2, . . . , N, the number of source images, and m=1, 2, . . . , M the number of patterns in the set for the n.sup.th source image. Features from the source images are combined to form a set of component patterns P.sub.c (m) representing the composite image assembled from patterns in the source image pattern sets. The composite image I.sub.c is then constructed from its component patterns P.sub.c (m).
The Laplacian pyramid method for image fusion can be described in this framework. Performing the Laplacian transform serves to decompose each source image into a set of approximately circularly symmetric Gaussian-like component patterns. The pyramid is a regular decomposition into a fixed set of components. This set consists of patterns at different scales, represented by the pyramid levels, and different positions in the image, represented by the sample positions within the pyramid levels. Let L.sub.n (i, j, k) be the Laplacian value at location (i, j) in pyramid level k for image n. This value represents the amplitude of a corresponding component pattern P.sub.n (i, j, k) which is a Gaussian-like function.
A flow chart for the generation of the Gaussian and Laplacian pyramids of a source image is shown in FIG. 2. The Gaussian G(0) is the source image. The Gaussian G(0) is then filtered by F1, a low pass filter having a Gaussian rolloff, and subsampled by F2, to remove alternate pixels in each row and alternate rows, to form the first level Gaussian G(1). The lower level Gaussians G(n) are formed successively in the same way. The Laplacian L(n) corresponding to the Gaussian at each level of the pyramid is formed by restoring the subsampled data to the next lowest level of the Gaussian pyramid (by inserting zero-valued samples between the given samples F2' then applying an interpolation filter F1) and subtracting from the Gaussian of the given level. The Laplacian formed in this way is known as the Reduce-Expand (RE) Laplacian. Alternatively, the Laplacian can be formed without subsampling and reinterpolation as shown by the dotted line FIG. 2. This is called a filter-subtract-decimate (FSD) Laplacian. In FIG. 3 a method for reconstructing an image from the Laplacian pyramid is illustrated. In this method the Laplacians are interpolated and summed to reproduce the original image (i.e. the inverse RE Laplacian pyramid transform).
The step of combining component patterns, FIG. 1, uses the choose max rule; that is, the pyramid constructed for the composite image is formed on a sample by sample basis from the source image Laplacian values:
L.sub.c (i,j,k)=max [L.sub.1 (i,j,k), L.sub.2 (i,j,k), . . . , L.sub.N (i,j,k)]
where the function max [] takes the value of that one of its arguments that has the maximum absolute value. The composite image I.sub.c is recovered from its Laplacian pyramid representation P.sub.c through an inverse pyramid transform such as that disclosed by BURT and in U.S. Pat. No. 4,692,806.
A method of the invention for forming a composite image from a plurality of source images, as shown in FIG. 4, comprises the steps of transforming the source images into a feature-based representation by decomposing each source image I.sub.n into a set of component patterns P.sub.n (m) using a plurality of oriented functions; computing a saliency measure for each component pattern; combining the salient features from the source images by assembling patterns from the source image pattern sets P.sub.n (m) guided by the saliency measures S.sub.n (m) associated with the various source images; and constructing the composite image I.sub.c through an inverse transform from its component patterns P.sub.c (m). A saliency estimation process is applied individually to each set of component patterns P.sub.n (m) to determine a saliency measure S.sub.n (m) for each pattern. In general, saliency can be based directly on image data, I.sub.n, and/or on the component pattern representation P.sub.n (m) and/or it can take into account information from other sources. The saliency measures may relate to perceptual distinctiveness of features in the source images, or to other criteria specific to the application for which fusion is being performed (e.g., targets of interest in surveillance).
The invention is a pattern selective method image fusion based upon the use of oriented functions (component patterns) to represent the image and, preferably, an oriented pyramid approach that overcomes the shortcomings in the prior art and provides significantly enhanced performance. Each source image is, preferably, decomposed into a plurality of images I of different resolution (the pyramid of images) and then decomposing each of these images into a plurality of sets of oriented component patterns. The oriented component patterns are, preferably edge-like pattern elements of many scales and orientations using the oriented pyramid. The use of the oriented pyramid improves the retention of edge-like source image patterns in the composite image. A pyramid is used that has component patterns with zero (or near zero) mean value. This ensures that artifacts due to spurious inclusion or exclusion of component patterns are not unduly visible. Component patterns are, preferably, combined through a weighted average rather than a simple selection process. The most prominent of these patterns are selected for inclusion in the composite image at each scale and orientation. A local saliency analysis, where saliency may be based on the local edge energy (or other task-specific measure) in the source images, is performed on each source image to determine the weights used in component combination. Selection is based on the saliency measures S.sub.n (m). The fused image I.sub.c is recovered from P.sub.c through an inverse pyramid transform.
This approach overcomes artifacts that have been observed in pixel-based fusion and in pattern-selective fusion within a Laplacian pyramid. Weights are obtained as a nonlinear sigmoid function of the saliency measures. Image fusion using the gradient pyramid has been found to provide excellent results even where image fusion based on the Laplacian pyramid introduces artifacts.
An alternative method of the invention computes a match measure M.sub.n1, n2 (m, l) between each pair of images represented by their component patterns, P.sub.n1 (m, l) and P.sub.n2 (m, l). These match measures are used in addition to the saliency measures S.sub.n (m, l) in forming the set of component patterns P.sub.c (m, l) of the composite image. This method may be used as well when the source images are decomposed into Laplacian component pattern that is not oriented (L=1).
Several known oriented image transforms satisfy the requirement that the component patterns be oriented and have zero mean. The gradient pyramid has basis functions of many sizes but, unlike the Laplacian pyramid, these are oriented and have zero mean. The gradient pyramids set of component patterns P.sub.n (m) can be represented as P.sub.n (i, j, k, l) where k indicates the pyramid level (or scale), l indicates the orientation, and i, j the index position in the k, l array. The gradient pyramid value D.sub.n (i, j, k, l) is the amplitude associated with the pattern P.sub.n (i, j, k, l). It can be shown that the gradient pyramid represents images in terms of gradient-of-Gaussian basis functions of many scales and orientations. One such basis function is associated with each sample in the pyramid. When these are scaled in amplitude by the sample value, and summed, the original image is recovered exactly. Scaling and summation are implicit in the inverse pyramid transform. It is to be understood that oriented operators other than the gradient can be used, including higher derivative operators, and that the operator can be applied to image features other than amplitude.
An alternative way of analyzing images is to use wavelet image representations. Wavelet image representations, as disclosed for example by Rioul et al in the IEEE Signal Processing Magazine, October, 1991, pages 14-38, are oriented spatial functions, linear combinations of which can be used to define an image. In the case of a wavelet representation, there are at least two sets of wavelets for different orientation. Typically three sets of wavelet basis functions, a set of horizontally oriented functions, a set of vertically oriented functions, and a linear combination functions derived from wavelets having right and left diagonal orientation. Once the sets of oriented basis functions which define the source images are obtained, a set of oriented basis functions for the composite is selected in the same way as for the basis functions generated using the gradient operators and the composite image is then reconstructed from them.
The gradient pyramid for image I is obtained by applying gradient operators to each level of its Gaussian pyramid G(n) as described in Appendix 1. Four such gradients are used for the horizontal, vertical, and orthogonal diagonal directions in the images, respectively. The four gradients are then fused using a selection criterion such as saliency to select the components to be used to form the gradient pyramid representation of the composite image. To reconstruct the composite image from its gradient pyramid representation, the gradient operators are applied a second time to form four oriented second derivative pyramids. These are summed at each level of the pyramid to form a standard Laplacian pyramid from which the composite image is reconstructed through the usual expand and add inverse Laplacian pyramid transform.
A pattern is salient if it carries information that is useful in interpreting the image. In general saliency will depend on the purpose for constructing the composite image and any measure of saliency will be task dependent. However, saliency generally increases with the amplitude of the elementary pattern. Let S.sub.n (i, j, k, l) be the saliency value corresponding to P.sub.n (i, j, k, l). A saliency measure that increases with the prominence of a component pattern can be indicated by its amplitude
S.sub.n (i,j,k,l)=.vertline.D.sub.n (i,j,k,l).vertline..
Here D.sub.n (i, j, k, l) is the amplitude associated with the pattern P.sub.n (i, j, k, l) at position (i, j) of gradient pyramid level k and orientation l. Alternatively, it can be indicated by the prominence of that component and other components within a local neighborhood. This neighborhood is indicated by a weighting function w(i',j'):
S.sub.n (i,j,k,l)=.[.S.sub.i'j' w(i',j')D.sub.n (i-i',j-j',k,l).sup.2 .]..sup.(1/2)
Typically the neighborhood used are the component patterns for the 3.times.3 array of nearest components to the particular component of interest or the 3.times.3 array of picture elements surrounding the picture element of interest, depending upon the way the components are indexed. For example, a 3.times.3 array w(i',j') can be set equal to: ##EQU1##
Another alternative measure bases salience on the occurrence of specific patterns, such as targets in the image. For example, S may be related to correlation of the source image with a filter matched to the target pattern at each sample position.
The gradient pyramid for the composite image I.sub.c is obtained by selecting components from the source pyramid basis functions P.sub.n for each set of oriented functions. Selection is repeated at each sample position based on the saliency measure. The selection rule commonly used in current practice is "choose max", that is, select that source image sample that has the greatest amplitude. However a "soft switch" is preferable to strict selection; that is, when selection is between two component patterns that have quite different saliency, then the one with the larger saliency is chosen, but when selection is between components that have comparable saliency, then the composite sample value is taken to be the weighted average of the source samples.
The combination process is then one in which the amplitude of the combined pattern element is computed as a weighted average of the amplitudes of the source pattern elements for each orientation l.
D.sub.c (i,j,k,l)={S.sub.n W.sub.n (i,j,k,l)D.sub.n (i,j,k,l)}}/{S.sub.n W.sub.n (i,j,k,l)}
The weights used in this average are based on relative saliency measures over the source image. Weights are defined such that image components with higher saliency get disproportionately higher weight. As an example, let A be the total saliency at a given position
A(i,j,k,l)=S.sub.n S.sub.n (i,j,k,l)
where N is the number of source images.
For appropriately selected constants a and b, 0<a<b<1, let ##EQU2## where
T.sub.n ={S.sub.n (i,j,k,l)/A(i,j,k,l)}
is the normalized saliency at the (i, j) position, l.sup.th orientation of the k.sup.th pyramid level for the n.sup.th source image.
This sigmoid like function accentuates the difference between weights of elements that have nearly average saliency while fixing the weights for a given element at near zero or near one if its salience is significantly below or above average, respectively.
The final step in forming the composite image I.sub.c is its reconstruction from its gradient pyramid representation P.sub.c. The details of the computation of the inverse gradient pyramid transform are given in Appendix 1.
An alternative method of the invention for forming a composite image from a plurality of source images is shown in FIG. 4(a). In this case fusion is shown for two source images, but the method can be generalized to more than two source images. In this method a match measure, M.sub.12 (i, j, k, l), is computed between source images within a local neighborhood, w(i', j'). Typically this neighborhood weighting function is the same as that used in computing the salience measures S.sub.n (i, j, k, l). The match measure can be based, for example, on a local correlation, C.sub.12 (i, j, k, 1):
C.sub.12 (i,j,k,l)=.SIGMA..sub.i',j' {w(i',j')D.sub.1 (i-i',j-j',k,l).times.D.sub.2 (i-i',j-j',k,l)}
A match measure normalized between -1 and +1 is given by
M.sub.12 (i,j,k,l)=2C.sub.12 (i,j,k,l)/{S,(i,j,k,l)+S.sub.2 (i,j,k,l)}
The composite image pattern elements are again forward as a weighted average. For the case of two source images.
D.sub.c (i,j,k,l)=w.sub.1 (i,j,k,l)D.sub.1 (i,j,k,l)+w.sub.2 D.sub.2 (i,j,k,l)
In the present implementation the weights w.sub.1 and w.sub.2 are based both on the match and saliency measures. Suppose for example, that
S.sub.1 (i,j,k,l)>S.sub.2 (i,j,k,l)
for a given pattern element. If M.sub.12 (i,j,k,l)<a, then w.sub.1 =1 and w.sub.2 =0. Else it M.sub.12 (i,j,k,l)>a then
W.sub.1 =1/2+1/2.[.(1-M)/(1-a).].
and
W.sub.2 =1-W.sub.1
Here "a" is a parameter of the fusion process that can be set between -1 and +1. If S.sub.1 (i,j,k,l)<S.sub.2 (i,j,k,l) in the above example then the values assigned to W.sub.1 and W.sub.2 are interchanged. This alternative implementation of the invention can be used with non-oriented component patterns, such as those of the Laplacian pyramid, as well as with oriented patterns, such as those of the gradient pyramid.
The invention is also apparatus for forming a composite image from a plurality of source images comprising means for transforming the source images into a feature-based representation by decomposing each source image I.sub.n into a set of component patterns P.sub.n (m) using a plurality of oriented functions; means for computing a saliency measure for each component pattern; means for forming the component patterns P.sub.c (m) of the composite image by assembling patterns from the source image pattern sets P.sub.n (m) guided by the saliency measures S.sub.n (m) associated with the various source images; and means for constructing the composite image through an inverse transform from its component patterns P.sub.c (m).
Apparatus for implementing the method of the invention is shown in FIGS. 5-8. The apparatus is shown in terms of two source images but it is understood that any number of source images can be used with appropriate modification of the apparatus.
The frame stores FS1 and FS2, if necessary, are used to convert input source images generated in an interlaced format to a progressive scan format for subsequent processing and to adjust timing. A television camera output is typically in interlaced format.
The combination of pyramid circuit P1 and frame store FS3 are used to compute the k-level Gaussian pyramid representation G.sub.a (k) of the input source image I.sub.a and the combination of circuit P2 and frame store FS4 are used to compute the n-level Gaussian pyramid representation G.sub.b (k) of the input source image I.sub.b. The circuits P1 and P2 provide the low pass filter with a Gaussian rolloff and the pixel subsampling (removal/decimation of alternate pixels in each row and each row of the filtered image). The next operation on each level of the Gaussian pyramids G(k) is a filter (1+w') which is performed by circuit P3 and circuit P4 to form G.sub.a.sup.f (k) and G(k).sub.b.sup.f, respectively. The purpose of this pre-filter P3 and post-filter P8 are to adjust overall filter characteristics to provide an exact correspondence between intermediate results in the gradient pyramid transform and the Laplacian transform. Alternatively, this filter may be applied at other points in the sequence of transform steps. Other similar filters can be used to obtain approximate results. w' is a three by three binomial filter: ##EQU3## And the filter P3 has the form: ##EQU4##
Next, each of the filtered Gaussian pyramids G.sub.a.sup.f (k) and G.sub.b.sup.f (k) is filtered with four oriented gradient filters representing the horizontal d.sub.h, vertical d.sub.v, right diagonal d.sub.rd, and left diagonal d.sub.ld filters respectively. ##EQU5## These operations are performed by circuits P5 and P6, producing the eight oriented gradient pyramids D.sub.a (k, h), D.sub.a (k, rd), D.sub.a (k, v), D.sub.a (k, rd), D.sub.b (k, h), D.sub.b (k, rd), D.sub.b (k, v), D.sub.b (k, rd). It is to be understood that while the gradient operators shown here use only the two nearest neighbor samples in the particular direction, a larger number of neighbors can be used in the gradient calculation.
In FIG. 6, circuits P5 and P6 comprise four subtractors 61, 62, 63 and 64. The input signal is connected directly to an input of subtractor 61 and through a single pixel delay 65 to the second input of subtractor 61. The output of subtractor 61 is d.sub.h. The input signal is connected directly to an input of subtractor 62 and through a single line delay 66 to the second input of subtractor 62. The output of subtractor 62 is d.sub.v. The input signal is connected through pixel delay 65 to an input of subtractor 63 and through line delay 66 to the second input of subtractor 63. The output of subtractor 61 is d.sub.rd. The input signal is connected directly to an input of subtractor 64 and through line delay 66 and pixel delay 65 to the second input of subtractor 64. The output of subtractor 61 is d.sub.ld. P5 and P6 can be implemented using a commercial Field Programmable Gate Array circuit (FPGA) such as XC3042 manufactured by Xilinx, Inc., San Jose, Calif. 95124.
The fusion function combines two or more images into a composite image as shown schematically in FIG. 8(a). Here the fusion function is computed on the four oriented gradient pyramids of the source images. It can also be applied to the Laplacian pyramid directly, but with less effectiveness.
The functional dependence of W.sub.n on the total salience A for source image I.sub.n.sup.a is shown in FIG. 8(b) for the case of two input images. The functions: ##EQU6## can be implemented with a single look-up-table (LUT) of size 64K.times.8 if the input and output images are 8 bits as illustrated in FIG. 8(c).
As examples, saliency may be based on absolute sample value or on a local root mean square average where
S.sub.n (i,j,k,l)=[S.sub.i'j' w(i',j')D.sub.n (i-i',j-j',k,l).sup.2 ].sup.(1/2).
In FIG. 8(e) an implementation of the local average method as shown in FIG. 4(a) is illustrated. A match measure, M.sub.12 (i,j,k,l), is computed between source images D.sub.1 (i,j,k,l) and D.sub.2 (i,j,k,l) within a local neighborhood, w(i',j'). Typically this neighborhood weighting function is the same as that used in computing the salience measures S.sub.n (i,j,k,l). The composite image pattern elements are again forward as a weighted average. For the case of two source images.
D.sub.c (i,j,k,l)=w.sub.1 (i,j,k,l)D.sub.1 (i,j,k,l)+w.sub.2 D.sub.2 (i,j,k,l)
The local correlation, C.sub.12 (i,j,k,l) is
C.sub.12 (i,j,k,l)=.SIGMA..sub.i',j' [w(i',j')D.sub.1 (i-i',j-j',k,l).times.D.sub.2 (i-i',j-j',k,l)}
and the match measure is:
M.sub.12 (i,j,k,l)=2C.sub.12 (i,j,k,l)/{S,(i,j,k,l)+S.sub.2 (i,j,k,l)}
The appropriate weighting function is then selected from a lookup table in the IF function. The weights are preferably selected as follows.
If S.sub.1 (i,j,k,l)>S.sub.2 (i,j,k,l) for a given pattern element and if M.sub.12 (i,j, k,l)<a, then w.sub.1 =1 and w.sub.2 =0. Else if M.sub.12 (i,j,k,l)>a then
W.sub.1 =1/2+1/2.[.(1-M)/(1-a).].
and
W.sub.2 1-W.sub.1
Here "a" is a parameter of the fusion process that can be set between -1 and +1. If S.sub.1 (i,j,k,l)<S.sub.2 (i,j,k,l) in the above example then the values assigned to W.sub.1 and W.sub.2 are interchanged.
Subsequently, a weighted sum of the oriented gradient pyramids are computed in each of the orientations separately, resulting in the four composite oriented gradient pyramids D.sub.c (k, h), D.sub.c (k, rd), D.sub.c (k, v), D.sub.c (k, rd).
The composite oriented gradient pyramids D.sub.c (k, h), D.sub.c (k, rd), D.sub.c (k, v), D.sub.c (k, rd) are then filtered again with the same four oriented gradient filters d.sub.h, d.sub.v, d.sub.rd and d.sub.ld and added to each other, resulting in the composite Laplacian pyramid L.sub.c (k). This computation is performed by circuit P7. In FIG. 7, circuit P7 comprises four subtractors 71, 72, 73 and 74 and three adders 75, 76 and 77. The input signal d.sub.h is connected directly to an input of subtractor 71 and through a single pixel delay 78 to the second input of subtractor 71. The input signal d.sub.v is connected directly to an input of subtractor 72 and through a single line delay 79 to the second input of subtractor 72. The input signal d.sub.rd is connected through a single pixel delay 80 to an input of subtractor 73 and through a single line delay 81 to the second input of subtractor 73. The input signal d.sub.ld is connected directly to an input of subtractor 74 and through a single line delay 82 and single pixel delay 83 to the second input of subtractor 74. The output of subtractors 71 and 72 are connected to the inputs of adder 75. The output of subtractors 73 and 74 are connected to the inputs of adder 76. The output of adder 75 and the output of adder 76 divided by two (2) are connected to the inputs of adder 77. The output of adder 77 goes to frame store FS5. P7 can be implemented using a commercial Field Programmable Gate Array circuit (FPGA) such as XC3042 manufactured by Xilinx, Inc., San Jose, Calif. 95124.
The composite Laplacian pyramid L.sub.c (k) is equivalent to the FSD Laplacian pyramid disclosed in U.S. Pat. No. 4,692,806, and is stored in FS5. The pyramid L.sub.c (k) is then filtered by circuit P8 to produce LF.sub.c (k) The filter P8 has the form (1+w) where w is a five by five binomial filter: ##EQU7## Notice that the (1/.sqroot.2) factor in the diagonal gradient filters can be combined into a single (1/2) factor in the diagonal components in the P7 processing function as shown in FIG. 5.
The composite image I.sub.c is reconstructed from the composite RE Laplacian pyramid LF.sub.c (k) using the combination of circuit P9 and frame store FS6 using the method described by BURT beginning with the lowest level of the pyramid. In FIG. 6 the circuit the circuit P9 is the same as P1 and P2. The process starts with the remainder G.sub.c (k), and computes the next higher resolution level G.sub.c (k-1) using the following function:
G.sub.c (k-1)=LF.sub.c (k-1)+w*G.sub.c.sup.e (k)
as shown in FIG. 4 where G.sub.c.sup.e (k) is G.sub.c (k) expanded to the next pyramid resolution level by inserting zero valued samples between the given samples and filtering with w. The result G.sub.c (k-1) is stored in FS6. The next higher resolution level G.sub.c (k-2) is then computed in the same manner, combining G.sub.c.sup.e-1 (k-1) and L.sub.c (k-2). This process is repeated until G.sub.c (0) has been computed and stored in FS7. FS7 is used to adjust timing and to convert the composite image from progressive scan to an interlace scan format if that is required by the image display means to be used.
In detail, in the first processing pass (level 0) the source images G.sub.a (0) and G.sub.b (0) from the input frame stores FS1 and FS2, are filtered by the P1 and P2 functions and stored in FS3 and FS4 in subsampled form G(0).sup.a and G.sub.b (0). At the same time, G.sub.a (0) and G.sub.b (0) are processed by circuits P3 through P7 and the four fusion circuits, producing L.sub.c (0) which is stored in FS5. When this operation is completed, the second processing pass (level 1) is started, where the images G.sub.a (1) and G.sub.a (1) (from FS3 and FS4) are filtered by circuits P1 and P2 and stored in FS3 and FS4 in subsampled form G.sub.a (2) and G.sub.b (2). At the same time, G.sub.a (1) and G.sub.b (1) are processed by circuits P3 through P7 and the four fusion circuits, producing L.sub.c (1) which is stored in FS5. This procedure is repeated until the required number of pyramid levels are computed. During the last pass (e.g. level k) the processing is different. Then the processing only involves reading G.sub.a (k) and G.sub.b (k) from FS3 and FS4, fusing the images with a different function, and storing the result G.sub.c (k) in FS5. This is the remainder or DC component, of the Laplacian pyramid L.sub.c (n). In FIG. 5, this is schematically shown as bypass paths around P3 through P7 and the fusion circuits. The fusion of the remainders (dc-fusion in FIG. 5) may be as simple as computing the average.
Many of the processing functions involve 2D filters. With 2D filters, the processing at the edge of the image may be undetermined. For large images this may not be a problem since discarding the edge data has little effect on the totality of the image. However, when constructing and reconstructing pyramids, the processing at the edges of the lower resolution levels of the pyramid affects the final reconstructed image to a significant extent. For example, if five levels of the pyramid are used, a border of 64 pixels around the image may not be reconstructed properly, if the computations at the edges of the images are not performed correctly. The reconstruction of a pixel includes information from the four pixels adjacent to the pixel of interest in a row. For an edge pixel, two of these adjacent pixels are missing and for the next adjacent pixel in the row, one of the adjacent pixels is missing. The simplest way to correct for this is to insert a constant value in to matrix of pixel values. Alternatively, the value of the missing pixels are set equal to the value of the pixel of interest. A preferred way to implement the edge processing would be to reflect or extrapolate the pixel data at the edges of the images. For example, at the left edge of an image the two pixels to the right of the edge pixel of interest are substituted for the missing pixels.
The construction and processing as described here can use a processor per function and per pyramid level, where the processors at each subsequent lower resolution operate at half the clock rate. A significantly more efficient implementation is to use one processor per function, where each processor computes or processes all pyramid levels in sequence as disclosed in U.S. patent application Ser. No. 07/805149, referred to above and incorporated herein by reference. This can be accomplished by using flexible frame stores (FS3, FS4 and FS5) for storing intermediate results, and adjusting the timing and/or processing clock to accommodate the additional processing time required. The processing of all pyramid levels by a single processor typically requires 4/3 times the number of operations required for processing one full resolution image. By using the blanking time of the input image efficiently, the actual clock rate does not have to be increased by much, if at all, to accommodate the increase in required processing.
For each input and output of the system, an interface frame store is shown in FIG. 5. These are FS1, FS2, and FS7. These are used to adjust for differences in timing between the fusion processing format and the input/output image format. One such difference is due to the timing required for the processing of the pyramid levels in sequence. Another difference may be that the image I/O is in interlace format, while the images during the fusion process may be computed using a progressive scan format.
FIG. 9 is a timing diagram which shows when the various images and pyramid levels may be computed in a system with I/O frame stores, assuming interlace I/O for a sequence of images. The first time line is for successive interlaced flames having even and odd fields (e.g. 3e and 3o) spaced apart by the vertical blanking interval. The second time line shows the pyramid construction of the zeroth level Gaussian of the pyramid for the 3rd frame which can begin as soon as the odd field of the frame is received. The computation of all levels of the 3rd frame pyramid must be completed before the pyramid construction of the zeroth level Gaussian of the 4th frame begins. The third time line shows the pyramid composite image reconstruction for the 3rd frame which begins at the same time that pyramid construction of the 4th frame begins. The formatted output of the 3rd frame begins at the same time that the 5th frame is received. Thus the entire cycle for a given frame can be accomplished in two frame times. If the clock rate of the processing needs to be slightly higher than the clock rate of the I/O, then first-in, first-out buffers may be used in combination with the I/O frame stores FS1, FS2 and FS7. An alternative to increasing the clock for the fusion processing is to reduce the image size on which the fusion processing is being performed.
Many of the processing functions in the implementation (P1, P2, P3, P4, P8, and P9) are 2D filters with 5.times.5 taps (P1, P2, P8, P9) or 3.times.3 taps (P3, P4). "Spread tap" versions of these filters used in double density pyramid construction can also be used. All of these are efficiently implemented using the PYR-1 circuit described in U.S. patent application Ser. No. 07/805149 filed Dec. 11, 1991, incorporated herein by reference, and in the Workshop For Machine Vision, Paris, December, 1991 and generally in U.S. Pat. No. 4,703,514, and sold by the David Sarnoff Research Center, Inc., Princeton, N.J. 08540. The PYR-1 circuit can implement all the required filters, includes the required horizontal line delays, the appropriate adders and multiplexing functions, and automatic border control of the images. Other 2D filter circuits are available commercially, but require significant additional circuitry to incorporate all the functions to implement the methods disclosed here.
An example of a composite image formed from visible and infra-red source images is shown in FIG. 10. The source image from a standard visible light camera is shown in FIG. 10(a), and the source image from an infrared cameras is shown in FIG. 10(b). The fused image, shown in FIG. 10(c), was obtained using the gradient pyramid and the saliency and combination rules outlined above.
The gradient image pyramid provides an effective framework for pattern-selective image fusion. Advantages of the pyramid transform for fusion include the fact that it decomposes images into regular arrays of edge-like component patterns (basis functions) through simple filter operations, and the fact that reconstruction blends pattern elements over scales, orientations, and positions in a seamless manner, avoiding artifacts. These advantages provide significantly improved image fusion compared to a process based upon the Laplacian pyramid.
Our results have shown that fusion within a gradient pyramid is remarkable effective over a wide range of viewing conditions. A particularly telling set of tests involved fusion of extended video sequences containing objects in motion. In these tests we compared gradient pyramid with Laplacian pyramid image fusion. Results with Laplacian-based fusion tended to have visible, dynamically changing, artifacts along high contrast contours. Results with the gradient pyramid were largely free of such artifacts.
The observed difference in performance can be attributed to several factors. Most important is the fact that the gradient representation has a local maximum in value at the location of an edge in the scene, while the Laplacian representation has zero value at the edge and large values either side of the edge. Since the amplitude of the sample value has been used as the measure of saliency in the present examples, edge features are more reliably captured with the gradient pyramid than with the Laplacian. Furthermore, noise in the video causes selection at some points in the scene to switch from one source image to the other from frame to frame. The resulting flicker is more visible in Laplacian than in gradient based fusion. Humans are most sensitive to temporal flicker of patterns with low spatial frequency content. The gradient-of-Gaussian basis functions of the gradient pyramid have a high band-pass characteristic with significantly less signal energy at low spatial frequencies than the Gaussian-like basis functions of the Laplacian pyramid.
Applications of the image fusion techniques disclosed herein include surveillance using images from multiple sensor types or spectral bands such as visible and IR cameras; vehicle guidance using multiple sensor types (visible, IR, . . . ) as an aid to a driver or pilot at night or in bad weather; combining images taken with a camera's focus changed from image to image, to achieve a composite with an extended depth of field; video special effects using multiple images of difference scenes in order to obtain artistic or other special effects; industrial inspection where images taken under differing illumination and camera settings (speed, iris, etc.) are combined to eliminate shadows and highlights; and dynamic range compression for image display where a large dynamic range image (e.g., a 12 bit medical image) and a display that can render only a limited dynamic range (e.g., CRT or LCD) first generate a set of images that represent limited ranges of the original then combine these images through fusion for final display.
A fused composite image which is colored is known in the prior art. In particular, each separate source image in the prior art may be assigned a different color, such as red R, green G and blue B, and the fused composite image itself may be derived from these separate colored source images. The present invention proposes a different way of using color to add additional information to the display of a fused composite image, which additional information is indicative of the relative weight of the contributions of each source image to the fused composite image.
Specifically, there are cases in which it would be very desirable to retain the identity and/or the relative contribution of each source image to an uncolored fused composite image. For example, in a surveillance application, an observer may want to know if the source of a bright feature he sees in the fused composite image comes from an IR camera, so represents a hot object, or comes from a visible camera, so represents a light colored, or intensely illuminated object. The present invention uses color information for such a purpose by employing only luminance to define the brightness value (i.e., the value in the Y channel in the case of an NTSC video image) of each pixel of the displayed fused composite image (which is preferably derived in the manner described above), and then employing only chrominance to define the relative contribution of each source image (i.e., the respective values in the I and Q opponent color channels in the case of an NTSC video image) of each pixel of the displayed fused composite image. As a first example, the respective source images that contribute to the displayed fused composite image may be a first source image (e.g., an IR camera image) at its original high resolution and a second source image (e.g., a visible camera image) at its original high resolution. Alternatively, as a second example, the respective source images that contribute to the displayed fused composite image may be a first image defining pyramid-derived high-resolution components of a given original source image and a second image defining pyramid-derived low-resolution components of the same given original source image.
In FIG. 11, a fusion process, responsive to separate source image A and source image B applied as inputs thereto, for deriving a monochrome fused composite image C, a first weighting image W.sub.1 and a second weighting image W.sub.2 as respective outputs therefrom is shown. Each pixel sample of first weighting image W.sub.1 and of second weighting image W.sub.2 has a certain value between 0 and 1. To provide the I chrominance channel of an NTSC video image, each of the respective pixel sample values of the first weighting image W.sub.1, first has a value of 1/2 subtracted therefrom and is then multiplied by a scalar valued coefficient c.sub.A. Similarly, to provide the Q chrominance channel of an NTSC video image, each of the respective pixel sample values of the second weighting image W.sub.2, first has a value of 1/2 subtracted therefrom and is then multiplied by a scalar valued coefficient c.sub.B. The respective pixel sample values of the monochrome fused composite image C comprise the Y luminance channel of an NTSC video image.
In a Laplacian pyramid implementation of the fusion process shown in FIG. 11, each pixel sample value for a combined image pyramid, L.sub.C (i,j,k), is a weighted average of the pixel sample values of the source image pyramids, L.sub.A (i, j, k) and L.sub.B (i, j, k), where i, j and k are respectively the pixel sample horizontal position, pixel sample vertical position and pyramid level indices for a k-level pyramid; so that
L.sub.C (i,j,k)=w.sub.A (i,j,k)L.sub.A (i,j,k)+w.sub.B (i,j,k)L.sub.B (i,j,k).
The weights w.sub.A and w.sub.B are determined for each pixel sample position from saliency measures computed in the neighborhood of the position. These weights are usually normalized; so that w.sub.A (i,j,k)+w.sub.B (i,j,k)=1.
In a gradient pyramid implementation of the fusion process shown in FIG. 11, each pixel sample value for a combined image pyramid, D.sub.C (i,j,k,l), is a weighted average of the pixel sample values of the source image pyramids, D.sub.A (i,j,k,l) and D.sub.B (i,j,k,l), where l is the gradient orientation index of that pixel sample; so that
D.sub.C (i,j,k,l)=w.sub.A (i,j,k,l)D.sub.A (i,j,k,l)+w.sub.B (i,j,k,l)D.sub.B (i,j,k,l).
In FIG. 12, an example of the FIG. 11 fusion process that employs a Laplacian pyramid L.sub.A comprising 3 descending sample density pyramid levels L.sub.A (0), L.sub.A (1) and L.sub.A (2) that are derived from the applied pixel sample values of source image A is shown. A similar 3-level Laplacian pyramid L.sub.B is derived from the applied pixel sample values of source image B. Monochrome fused composite image C is derived from Laplacian pyramids L.sub.A and L.sub.B in a manner known in the prior-art. Specifically, relative weighting factors w.sub.A and w.sub.B are computed for the respective pixel samples of Laplacian pyramids L.sub.A and L.sub.B in accordance with saliency measures; the value of each pixel sample of Laplacian pyramid L.sub.A is multiplied by its weighting factor w.sub.A ; the value of each pixel sample of Laplacian pyramid L.sub.B is multiplied by its weighting factor w.sub.B ; and the respective values of corresponding positioned weighted pixel samples of each level of pyramids L.sub.A and L.sub.B are summed, after which they are applied as an input to a Laplacian reconstruction pyramid L.sub.C comprising 3 ascending sample density pyramid levels L.sub.C (2), L.sub.C (1) and L.sub.C (0). Laplacian reconstruction pyramid L.sub.C may be implemented either as an RE Laplacian or as an FSD Laplacian. The output of Laplacian reconstruction pyramid L.sub.C is the monochrome fused composite image C of FIG. 11, which comprises a high resolution image composed of pixel samples at the high L(0) density.
For the case of a Laplacian pyramid implementation of the fusion process, FIG. 12 also shows a fusion process for employing the computed weighting factors w.sub.A and w.sub.B (used in the above-described derivation of the monochrome fused composite image C) for deriving weighting images W.sub.1 and W.sub.2 of FIG. 11. As stated above, each pixel sample of the image weighting functions W.sub.1 and W.sub.2 has a value between 0 and 1. These pixel sample values may represent the relative contributions of source images A and B to composite image C over all levels of the Laplacian pyramid, or, alternatively, may represent the relative contributions of two different Laplacian pyramid levels of a selected one of source images A and B to composite image C, as described in more detail below. Furthermore, the weight w(i,j,k) at each pixel sample position (i,j,k) in the Laplacian pyramid contributes to the image weighting functions W.sub.1 and W.sub.2 over a region that is commensurate with the size of the basis function at pyramid samples L(i,j,k).
In FIG. 12, the fusion process includes first component-weighting reconstruction pyramid H.sub.W1 and second component-weighting reconstruction pyramid H.sub.W2. In the Laplacian pyramid case of FIG. 12, each of component-weighting pyramids H.sub.W1 and H.sub.W2 is a Gaussian reconstruction pyramid (described in more detail below) composed of pyramid levels H.sub.n (2), H.sub.n (1), and H.sub.n (0). A combination of computed weights w.sub.A and w.sub.A is available to each of component-weighting pyramids H.sub.W1 and H.sub.W2, which combination is selectable. In a first case in which sample values represent the relative contributions of source images A and B to composite image C over all levels of the Laplacian pyramid, the weights w.sub.A (or alternatively weights w.sub.B) over all these levels are forwarded to first component-weighting reconstruction pyramid H.sub.W1 and H.sub.W2 is given zero weight or ignored. In a second case in which sample values represent the relative contributions of two different Laplacian pyramid levels of a selected one of source images A and B to composite image C, a first combination of those ones of weights w.sub.A (or, alternatively, weights w.sub.B) that are used in the reconstruction of a first of these two different levels of composite image C, where the selected source image is A (or, alternatively, B), is forwarded to first component-weighting reconstruction pyramid H.sub.W1 and a second combination of these weights of the selected source image that are used in the reconstruction of a second of these two different levels of composite image C is forwarded to second component-weighting reconstruction pyramid H.sub.W2.
Generalizing, in the first case, the function W.sub.1 reflects the relative contribution of the source image A to the composite image C over a set of pyramid levels k=0, 1, . . . , K; so that H.sub.W1 (i,j,k)=w.sub.A (i,j,k). Since pyramid H.sub.W1 is a Gaussian pyramid G.sub.1 that is reconstructed through the same expand and add procedure that is used in reconstructing an image from its Laplacian pyramid representation (i.e., generated "top-down", recursively), G.sub.1 (K)=W.sub.W1 (K) and G.sub.1 (k)=G.sub.1 (k+l: 1)(k), where G.sub.1 (k+l: 1) indicates G.sub.1 (k+1) expanded, or interpolated, once, so that it matches the size of G.sub.1 (k). If each level of HW.sub.1 has value between 0 and 1, the base level of G.sub.1 will have values between 0 and K+l, which may be normalized to a unit interval to form W.sub.1. Thus, W.sub.1 =G.sub.1 (0)/(K+1).
In the second case, in which W.sub.1 represents relative contributions of selected source image A over its low resolution pyramid levels, and W.sub.2 represents relative contributions of selected source image A over its high resolution pyramid levels, H.sub.W1 (k)=k w.sub.A (k) and H.sub.W2 (k)=(K-k)w.sub.A (k). The reconstructed Gaussian pyramids W.sub.1 and W.sub.2 are obtained from H.sub.W1 and H.sub.W2 as set forth above in the description of the first case. Thus, after normalizing, W.sub.1 =2G.sub.1 (0)/(K(K+l)) and W.sub.2 =2G.sub.2 (0)/(K(K+l)).
With a slight amount of modification, the above-described Laplacian pyramid implementation of the fusion process, may be applied to a gradient pyramid implementation. As taught above, an image is recovered from its gradient pyramid representation through a sequence of four steps. First, for each orientation, l, the level, k, of the gradient pyramid D(k, l), is convolved with a corresponding gradient filter d(l) to obtain a corresponding oriented second derivative pyramid L(k, l). Second, the oriented second derivative pyramids are added to obtain an FSD Laplacian. Third, the RE Laplacian is recovered from the FSD through the application of a conversion filter. Finally, the image is recovered from the RE Laplacian through the standard expand and add procedure.
This procedure can be modified to recover weighting images W.sub.1 and W.sub.2 from weights w.sub.A and w.sub.B. For example, to obtain W.sub.1 representing the relative contribution of image A to composite image C over all levels and orientation (analogous to the first procedure outline above for the Laplacian pyramid), the oriented component-weighting pyramid H.sub.W1 is defined as H.sub.W1 (i,j,k,l)=w.sub.A (i, j, k, l). A reconstructed Gaussian G.sub.1 is constructed from H.sub.W1 through the four step procedure outlined above, except that the derivative filters, d(l), are replaced by the corresponding two tap averaging filters, b(l) in the first step of the procedure, so that for the horizontal case, d(0)=[1, -1] is replaced by b(0)=[1, 1]. This modification converts the gradient basis functions implicit in the reconstruction of images form gradient pyramids D into oriented Gaussian basis functions of the same size. The base level of the reconstructed Gaussian G.sub.W1 (0) is then normalized to form the weighting function W.sub.1.
A modification of this procedure analogous to that described in the Laplacian pyramid case can be used to form a W.sub.1 that represents relative contributions of the source images at low resolution pyramid levels, and a W.sub.2 that represents relative contributes of the source images at high resolution pyramid levels.
Although the above-described preferred embodiments of the method for augmenting a monochrome composite image of two fused source images with two opponent colors employ pyramid techniques for deriving Y, I and Q video channels of an NTSC image, other than pyramid techniques can be used for this purpose and more than two opponent colors may be employed. For instance, a monochrome composite image of three fused source images can be color augmented using the three opponent colors red, green and blue.
Further, it is to be understood that the apparatus and method of operation taught herein are illustrative of the invention. Modifications may readily be devised by those skilled in the art without departing from the spirit or scope of the invention. The method disclosed here made use of edge-like pattern elements of many scales and orientations as the local scene features to be used in a composite image. Other directionally sensitive techniques for measuring features in an image can also be used in the method of the invention. It is also understood that methods other than pyramid processing methods and means for providing images of different scales can be used.
APPENDIX 1
THE GRADIENT PYRAMID TRANSFORM
A gradient pyramid for image I can be obtained by applying a gradient operator to each level of its Gaussian pyramid representation. The image can be completely represented by a set of four such gradient pyramids, one each for derivatives in horizontal, vertical, and the two diagonal directions.
Let G.sub.k be the k.sup.th level for the Gaussian pyramid for I. Then G.sub.0 (i,j)=I (i,j) and, for k>0, Gk=[w*G.sub.k-1 ].sub.2. Here w is the generating kernel, and the notation [ . . . ].sub.2 indicates that the image array in brackets is subsampled (down sampled) by 2 in both the horizontal and vertical directions.
D.sub.kl is obtained from G.sub.k through convolution with a gradient filter d.sub.l :
D.sub.kl =d.sub.l *[G.sub.k +w'*G.sub.k ].
where D.sub.kl is the k.sup.th level of the pyramid and the l.sup.th orientation and w is a five by five binomial filter described above.
A method for reconstructing an image from its gradient pyramid representation comprises the steps of:
(a) converting each gradient pyramid level D.sub.kl to a corresponding second derivative pyramid (or oriented Laplacian) level L.sub.kl through a second application of the gradient filter L.sub.kl =-{d.sub.l *D.sub.kl }{1/8};
(b) summing the oriented Laplacian pyramids to form an FSD (filter-subtract-decimate) Laplacian pyramid, L.sub.k =S.sub.l=1.sup.4 L.sub.kl;
(c) converting the FSD Laplacian L.sub.k to a reduce-expand (RE) Laplacian L.sub.k =L.sub.k +w*L.sub.k through a filter convolution as disclosed by BURT; and
(d) obtaining the reconstructed Gaussian G from the Reduce-Expand Laplacian through an interpolate and add procedure using all levels of the Reduce-Expand Laplacian, as well as the top level of the Gaussian:G.sub.N =G.sub.N and for k<N, G.sub.k =L.sub.k +4w*[G.sub.k+1 ].noteq.2. Where the notation [ . . . ].noteq.2 indicates that the image array in brackets is up sampled by inserting n-1 zero valued rows and columns between each row and column of the image.
Iterative application of this procedure yields G(0), the reconstructed version of the original image G(0).
APPENDIX 2
THE PYRAMID CIRCUIT
The pyramid circuit accepts up to three digitized input signals and provides up to two output signals. The input and output data channels incorporate timing signals which control the pipelined processing. These timing signals are automatically adjusted to the processing delay of the circuit, allowing for automatic delay control in pipelined systems. The effective lengths of the horizontal delay lines used to implement a two-dimensional filter are controlled by the timing signals and, thus, do not need to be programmed. This circuit can accept and process signals having continuously variable horizontal and vertical blanking times. The circuit includes programmable edge control which can be used to separately extend the data at all edges of the image by two or four pixels.
The digital data signal may be generated from a sensor or from an analog to digital converter. For an image obtained from a video camera, the horizontal and vertical sync signals provide the timing signals. These signals are digitized in an auxiliary device such as a counter and then combined with the digital data signal to produce the input signal. Alternatively the digital data signal may be generated by a frame store in which case the timing signal is added by the frame store or an auxiliary device.
The two-dimensional filter used in the circuit has a separable kernel; it can be treated as a combination of separate horizontal and vertical filters. The five vertical and five horizontal filter coefficients are programmable within a limited set of values and may be either symmetric or antisymmetric. In addition, the filter may be configured to have either an odd or an even number of taps.
The circuit has two parallel paths which may be used to simultaneously calculate a Gaussian low-pass filtered image and a Laplacian function (the difference of the input image and the Gaussian) of the input image. The two parallel paths are also used for computing the inverse pyramid transforms.
Multiple pyramid circuits may be cascaded to implement multistep filters. Specially programmable delays and I/O functions allow a relatively large number of possible configurations to be implemented without external circuitry such as extra delay lines or timing circuitry. The circuit may be programmed to operate in a "spread-tap" mode. This causes the five-by-five tap filter to expand to an nine-by-nine tap filter by effectively inserting zero-valued coefficients between successive ones of the five horizontal and five vertical coefficients.
The circuit operates on eight-bit input images (signed or unsigned) and generates a sixteen-bit result. Two circuits can be connected in parallel so that sixteen-bit image data can be processed to produce a full sixteen-bit output signal.
FIG. 13 is a block diagram of an exemplary pyramid circuit used for P1, P2, P7 and P9. The circuit is designed to function as an element of a multiresolution filter. The filter can accept up to three input signals, IN1, IN2 and IN3, and provide up to two output signals, OUT1 and OUT2. Each of these signals is a multibit digital signal containing at least eight data bits and two timing bits.
The two timing bits convey respective timing signals. One signal, HA, is in a logic high state when the data in a line is valid (i.e. during the active picture interval) and in a logic low state otherwise (i.e. during the horizontal blanking interval). The other signal, VA, is in a logic high state when the data in a field is valid and in a logic low state otherwise (i.e. during the vertical blanking interval).
The circuit shown in FIG. 13 includes five principal elements: an input arithmetic and logic unit (ALU) 104, a filter 110 (shown within the dashed line in FIG. 1), a multiplexer 120, a clip processor 122 and an output ALU 124. Signals IN1 and IN2, equally delayed by an input delay element 102 are combined by the ALU 104 to generate a signal, IN, for application to the filter 110. This signal may be one of the signals IN1 or IN2, or it may be their sum (IN1+IN2) or their difference (IN1-IN2).
The filter 110 processes the signal provided by the ALU 104 through a two dimensional filter which may be configured to have between one and five taps in each of its two dimensions. The filter includes a vertical edge processor 106 and a horizontal edge processor 108 which allow a variety of different types of pixel values to be implied as surrounding the actual image data. Among these are a constant value or a repeat of the first or last horizontal or vertical line. The processor 108 processes the input signals to effectively add lines of border pixels to the image at the top and bottom edges. In addition, it acts in concert with three-state gates 112a-112d and a memory 114 to implement a tapped delay line which is used to provide four line-delayed image signals to the vertical filter portion of the convolution processor 118.
A memory 114 provides a four or eight-line delay for the vertical portion of the two-dimensional filter. The delayed lines are combined both vertically and horizontally in the convolution processor 118 to complete the filter 110. The output signal provided by the filter 110 is processed by clip processor 122 which performs rounding and scaling for single precision signals and combines the filtered data as the more significant bit (MSB) positions with filtered data representing the less significant bit (LSB) portions, provided via input IN3, to generate double-precision output signals.
The output signal of the processor 122 or the output signal of the ALU 104, as processed by the processor 106, may be selected as the output signal OUT1. The output signal OUT2 may be the output signal of the clip processor 122 or the output signal of the multiplexer 120 or the output of the ALU 124 combining these two signals. The signal provided by the multiplexer 120 may be either a constant value, K2, the input signal IN2 or one of the delayed horizontal line signals provided by the horizontal edge processor 108. The multiplexer 120 includes internal compensating delays (not shown) which align each of the input signals to the signal provided by the clip processor 122. Timing signals for the circuit are generated by timing circuitry 128 which produces a two-phase memory clock and a system clock signal CK from a two phase input clock signal, CLK and CLK2.
The circuit functions are controlled via control circuitry 130 which accepts user commands from a control input channel CBUS and provides control signals and data values to the other components of the circuit via an output port CONT.
Claims
  • 1. In apparatus for forming a composite image from at least first and second monochrome source images comprising first means for decomposing each of the source images into a set of a plurality of component patterns and deriving a monochrome composite image in response to a weighted average of amplitudes of the component patterns of the source images; the combination therewith of:
  • second means for assigning amplitudes of a first of opponent colors to first component patterns of a source image in accordance with their normalized weight contribution to said weighted average of the amplitudes of the component patterns of the source images; and
  • third means for assigning amplitudes of a second of said opponent colors to second component patterns of a source image in accordance with their normalized weight contributions to said weighted average of the amplitudes of the component patterns of the source images; and
  • fourth means responsive to outputs from said first, second and third means for augmenting said monochrome composite image with said first and second opponent colors thereby to provide a color composite image.
  • 2. The apparatus of claim 1 wherein said color composite image is an NTSC video image in which said fourth means derives the Y luminance channel thereof from the output of said first means, the I chrominance channel from the output of said second means, and the Q chrominance channel from the output of said third means.
  • 3. The apparatus of claim 1 wherein said first means includes a first means for deriving a first set of given different resolution component patterns of said first source image, a second means for deriving a corresponding second set of said given different resolution component patterns of said second source image, and a first reconstruction means responsive to a weighted average of each corresponding pair of component patterns of said first and second sets having the same resolution for deriving said monochrome composite image; and wherein:
  • said second means includes a second reconstruction means responsive to the normalized weights of a first selected group of said given different resolution component patterns of said first and/or second source images for deriving a first weighting image for said first of said opponent colors; and
  • said third means includes a third reconstruction means responsive to the normalized weights of a second selected group of said given different resolution component patterns of said first and/or second source images for deriving a second weighting image for said second of said opponent colors.
  • 4. The apparatus of claim 3 wherein said first and second means are Laplacian means and said first reconstruction means is an RE or FSD Laplacian pyramid; and wherein
  • each of said second and third reconstruction means is a Gaussian reconstruction pyramid deriving respective normalized output amplitudes therefrom.
  • 5. The apparatus of claim 4 wherein said first and second means are gradient pyramids and said first reconstruction means is a gradient pyramid; and wherein
  • each of said second and third reconstruction means is a gradient reconstruction means deriving respective normalized output amplitudes therefrom.
  • 6. A method for forming a composite image from N source images where N is greater than one comprising the steps of:
  • a) decomposing each source image I.sub.n into a plurality L of sets of component patterns P.sub.n (m, l), where n is indicative of the N.sup.th source image and m is the number of patterns in each of the L sets;
  • (b) computing a match measure M.sub.n1,n2 (m, l) for the source images, where n1 is the first and and n2 is the second of each pair of patterns being matched;
  • (c) computing a saliency measure S.sub.n (m, l) for a component pattern P.sub.n (m, l);
  • (d) selecting component patterns from the component pattern sets P.sub.n (m, l) using the match measures M.sub.n1,n2 (m, l) and the saliency measures S.sub.n (m, l) to form a set of component patterns P.sub.c (m, l) for the composite image, where c is indicative of the formed component patterns of the set being composite component patterns; and
  • (e) constructing the composite image from the set of component patterns P.sub.c (m, l).
  • 7. The method of claim 6 wherein
  • said component patterns P.sub.n (m, l) into which said plurality L of sets of each source image I.sub.n are decomposed by step (a) are oriented component patterns;
  • whereby oriented component patterns are selected by step (d) to form the set of component patterns P.sub.c (m, l) from which the composite image is constructed by step (e).
Parent Case Info

This application is a continuation-in-part of original application Ser. No. 07/884098, filed May 15, 1992 now U.S. Pat. No. 5,325,449.

US Referenced Citations (8)
Number Name Date Kind
4639768 Ueno et al. Jan 1987
4661986 Adelson Apr 1987
4692806 Anderson Sep 1987
4703514 van der Wal Oct 1987
4849746 Dubner Jul 1989
5140416 Tinkler Aug 1992
5210799 Rao May 1993
5259040 Hanna Nov 1993
Non-Patent Literature Citations (11)
Entry
"Recognizing Partially Occluded Parts" IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. PAMI-7, No. 4 Jul. 1985 Jerry L. Turney et al.
P. Burt, "Fast Filter Transforms For Image Processing" in Multiresolution Image processing And Analysis, vol. 16 pp. 20-51, 1981.
P. Burt, "The Pyramid As A Structure For Efficient Computation" in Computer Graphics And Image Orcessing, A. Rosenfelf, Ed., SpringerVerlag, NY., 1984.
P. Burt & E. H. Adelson, "A Multiresoulution Spline With Application To Image Mosaics" ACM Trans. on Graphics, vol. 2, pp. 217-236, 1983.
P. J. Burt and E. H. Adelson, "Merging Images Through Pattern Decomposition Proceeding of SPIE", vol. 575, pp. 173-181, 1985.
M. Pavel, J. Larimer, and A. Ahumade, "Sensor Fusion For Synthetic Vision", Proceedings AIAA Conference on Computing in Aerospace 8, Baltimore Oct. 1991.
A. Toet, "Hierarchical Image Fusion", Machine Vision And Applications, vol. 3 pages Jan. 11, 1991.
O. Rioul and M. Veterli, "Wavelets and Signal Processing" IEEE SP Magazine, Oct. 1991.
S. Mallat, "A Theory For Multiresolution Signal Decomposition: The Wavelet Representation", IEE Trans. Pattern Analysis and Machine Intell. vol. 11 pp. 674-693, 1989.
P. J. Burt and W. A. Lee, "A Family of Pyramid Structures For Multiresolution Image Processing", David Sarnoff Research Center, Internal Communication, 1988.
van der Wal "The Sarnoff Pyramid Chip" CAMP-91 Paris, Dec. 16, 1991.
Continuation in Parts (1)
Number Date Country
Parent 884098 May 1992