This application claims the benefit, under 35 U.S.C. §119 of French Patent Application 0550052, filed Jan. 6, 2005.
The invention relates to a method and a device for processing mosaics of images aimed at improving the visual rendition of these mosaics.
The composition of source images to create a larger image, called a mosaic of images, is a well-known technique of image processing. This technique is used in particular in the field of space or aerial photography. It is also used in the multimedia field (for example for the creation of panoramic shots) or indeed in the field of large-screen video projection using several projectors. In the latter example, the size of the source images is adapted to the projection capability of the projectors. These small images are therefore combined so as to display a large-sized image on the screen. The use of several small projectors makes it possible in particular to reduce the cost of the hardware.
According to the state of the art, the techniques used to create these mosaics of images comprise a first optional step of predistortion of the source images. The objective of this step is to bring all the source images into one and the same geometric space. The second step of the process for creating the mosaic consists in mixing parts of images which overlap. To create mosaics it is also possible to use techniques of juxtaposition without overlap but the present invention does not relate to them.
In the overlap zones, the simplest technique for mixing the source images consists, when there are two images to be mixed (zones 21, 22, 23 and 24), in calculating the half-sum of the two source images in the overlap zone. In the same way, when there are four images to be mixed (zone 20), the simplest technique consists in calculating the arithmetic average of the four source images in the overlap zone.
In a general manner, when mixing source images in the overlap zones 20, 21, 22, 23 and 24, two aspects are to be considered: the source image signal S and the source noise nS. Thus, the grey level associated with a pixel with coordinates x and y in the image I1 is:
I1(x,y,c)=S1(x,y,c)+ns
where c is the coloured component that is considered (i.e. blue, green or red).
In the overlap zone 21, the resulting averaged image Im is the half-sum of I1 and I2, hence:
where Sm(x,y,c) is the averaged image signal associated with the pixel with coordinates (x, y) for the coloured component c, and
where nm(x,y,c) is the averaged noise associated with the pixel with coordinates (x, y) for the coloured component c.
With this technique, the average of the image signals S1 and S2, i.e.
is calculated correctly. If the images are independent and if therefore the noises are decorrelated, the sum of the noises is quadratic. This implies that the amplitude of the summed noise is no longer correct since it is divided by a factor which equals √{square root over (2)} if ns
In the same way, if we consider zone 20 in which four images I1, I2, I3 and I4 overlap, the resulting averaged image Im is equal to:
In this case also, the average of the image signals S1, S2, S3 and S4 is calculated correctly. However, the amplitude of the noise is also not correct since it is divided by a factor which equals 2 if ns
The amplitude of the noise being attenuated over the overlap zones results therefore in a smoothed appearance over these zones (20, 21, 22, 23, 14), thereby rendering them visible if the source images are not perfect and totally devoid of noise. This attenuation phenomenon is still more perceptible to the human eye in the uniform image zones where the noise then becomes a predominant component of the information displayed, as well as in video on account of the temporal component of the noise.
The phenomenon is further accentuated when four source images are superimposed (zone 20). The amplitude of the noise is then divided by 2, thereby rendering the difference with the source images yet more visible.
Thus, the essential problem induced by the mixing of the source images in the overlap zones is that the rendition of the mosaic is not homogeneous since the attenuation factor of the noise depends on the zone considered.
The aim of the invention is to alleviate these drawbacks of the prior art. More particularly, the objective of the present invention is to improve the rendition of the mosaic of images by making it uniform.
For this purpose, the invention proposes a method of processing a mosaic of noisy source images exhibiting overlap zones where at least two of the source images are superimposed. According to the invention, the method comprises a step of generating a random noise in the overlap zones so as to compensate at least partially for the deviation in noise between the overlap zones and the zones where the source images are not superimposed, called non-overlap zones.
According to a characteristic of the invention, in the overlap zones, the source images are mixed by effecting a weighted sum between the source images to be mixed.
According to a particular characteristic, the weighting function employed for an overlap zone varies linearly in the overlap zone in such a way as to decrease the proportion of one of the mixed images when moving spatially away from it. Advantageously, the random noise generated is a noise whose statistical parameters are estimated on the basis of parameters of the noise in the non-overlap zones and of parameters of the noise in the overlap zones.
According to a particular characteristic, one of the parameters estimated is the standard deviation of the noise.
Preferably, the parameters of the noise in the non-overlap zones are estimated locally over uniform zones of the source images.
The invention also relates to a device for processing a mosaic of noisy source images exhibiting overlap zones where at least two of the source images are superimposed. According to the invention, the device comprises means for generating the mosaic, and furthermore comprises:
The invention will be better understood and illustrated by means of advantageous exemplary embodiments and modes of implementation, which are in no way limiting, with reference to the appended figures in which:
In order to make the visual rendition of the image mosaics more uniform, the invention consists in generating a correction noise just where the source noise nS is attenuated, that is to say in the overlap zones. The noise generated is dependent on the source noise attenuation caused by the mixing of the source images in these zones as well as on the characteristics of the source noise.
For this purpose, the invention consists, after having created an initial mosaic during a first step, in analysing, during a second step, the source noise nS present in the source images so as to estimate characteristic parameters thereof, for example the standard deviation. In a third step, the same characteristic parameters of the averaged noise nm present in the overlap zones are estimated. In a fourth step, the previously estimated parameters are used to estimate characteristic parameters of a correction noise. In a fifth step, these estimated parameters are used to generate a correction noise just where the source noise is attenuated, i.e. in the overlap zones. Finally, during the last step, the correction noise is added to the initial mosaic in the overlap zones so as to make the spatial characteristics of the final mosaic homogeneous and reduce the deviations in perception between the non-overlap zones corresponding to the source images and the various overlap zones corresponding to the averaged images.
The method according to the invention is illustrated by
According to the invention, the first step 31 consists in creating a mosaic, called an initial mosaic, on the basis of the source images 30. During this step the overlap zones of the mosaic are also identified. In these overlap zones, the mixing of the source images is effected through a weighted sum of the images to be mixed. It is possible, for example, to decrease the proportion of one of the images when moving spatially away from it. Thus, in the overlap zone 21 it is possible to have a weighting between the images I1 and I2 which varies linearly from left to right, in such a way as to take more account of image I1 in the left part of the overlap zone and of image I2 in the right part of the overlap zone. Consequently, a pixel lying in the overlap zone 21 has as value: Im(x,y,c)=α(x)I1(x,y,c)+(1−α(x))I2(x,y,c), where α(x) is a weighting function such as that referenced 40 in
Likewise, in the overlap zone 24 it is possible to have a weighting between the images I1 and I3 which varies linearly from top to bottom, in such a way as to take more account of image I1 in the upper part of the overlap zone and of image I3 in the lower part of the overlap zone. The same type of function as that described previously can be used.
During the second step 32, the analysis of the source noise nS is carried out with the aid of statistical image processing tools. The simplest approach consists in estimating the local average of the source image 30 with the aid of a low-pass filter. This average is then subtracted from the source image so as to extract locally the high frequencies. As a first approximation, these high frequencies are regarded as the source noise nS. On the basis of these high frequencies, we therefore estimate local statistical characteristics of the source noise nS. We estimate, for example, the standard deviation {circumflex over (σ)}S of the source noise for each of the three basic colours (green, blue and red). This estimation of the standard deviation is performed locally over uniform zones of the source images or else over zones whose average gradient can be estimated. Specifically, in order to properly estimate the noise, it is necessary to work on image zones for which it is possible to dispense with the useful signal S in order to estimate the noise alone.
According to a variant of the invention, it will be possible to use more complex noise models taking account of spatial and/or temporal characteristics of the source noise (e.g. auto-regression models).
The third step 33 consists in estimating the averaged noise nm with standard deviation σm resulting from the mixing of the source images. The standard deviation {circumflex over (σ)}m is calculated on the basis of the estimated source noise of standard deviation {circumflex over (σ)}S, and by taking account of the way in which the mixing between the images in the overlap zone was performed during the creation of the mosaic in step 31 (e.g. weighted sum). It is also possible to estimate {circumflex over (σ)}m on the basis of the uniform zones of the overlap zone in the same way as {circumflex over (σ)}S was estimated in step 32.
The fourth step 34 consists in estimating characteristic parameters of a random correction noise nC by taking account of the statistical characteristics of the source noise (e.g. {circumflex over (σ)}S) estimated in step 32 and by taking account of the statistical characteristics of the averaged noise (e.g. {circumflex over (σ)}m) estimated in step 33. In the simple case where the only characteristic parameter considered is the standard deviation, we estimate the standard deviation of the synthetic noise nC as being the complementary standard deviation between the standard deviation of the estimated averaged noise {circumflex over (σ)}m and the standard deviation σf of the final noise. In order to make the visual rendition of the mosaic homogeneous, it is necessary for the final noise to be equal to the estimated source noise. The standard deviation σf is therefore equal to the standard deviation of the estimated source noise {circumflex over (σ)}S. Furthermore, the final image results from the sum of the averaged image and of the image generated, given that the image generated is an image of correction noise nC. This is manifested at the standard deviation level by the following relation: σf2={circumflex over (σ)}S2={circumflex over (σ)}m2+σc2. Thus, the standard deviation {circumflex over (σ)}c of the correction noise nC to be generated is {circumflex over (σ)}c=√{square root over ({circumflex over (σ)}S2−{circumflex over (σ)}m2)}. This operation must be performed for each colour. It may be performed locally.
The fifth step 35 consists in generating the noise nC of standard deviation {circumflex over (σ)}c over the overlap zones.
The last step 36 consists in generating the final mosaic 37. For this purpose, the correction noise nC of standard deviation {circumflex over (σ)}c is added to the initial mosaic in the overlap zones so as to obtain a corrected mosaic of more homogeneous visual appearance. In the non-overlapping zones (25, 26, 27 and 28), the final mosaic is equal to the zone of the initial image corresponding to the zone considered. Thus, zone 25 of the final image corresponds to a part of image I1.
More precisely, a pixel with coordinates (x, y) of the corrected mosaic takes as value:
I1(x,y,c) if the pixel lies in zone 25;
I2(x,y,c) if the pixel lies in zone 26;
I4(x,y,c) if the pixel lies in zone 27;
I3(x,y,c) if the pixel lies in zone 28; or
Im(x,y,c)+nc(x,y,c) if the pixel lies in any one of the overlap zones 20 to 24.
One of the advantages of this step, in addition to making the visual rendition of the mosaic uniform, is to diminish the smoothed appearance over the overlapping zones.
The invention also relates to a device 50 aimed at implementing the method described previously. Only the essential elements of the device are represented in
Number | Date | Country | Kind |
---|---|---|---|
05 50052 | Jan 2005 | FR | national |
Number | Name | Date | Kind |
---|---|---|---|
4589140 | Bishop et al. | May 1986 | A |
5010504 | Lee et al. | Apr 1991 | A |
6075905 | Herman et al. | Jun 2000 | A |
6748347 | Dalton | Jun 2004 | B1 |
7142249 | Hahn et al. | Nov 2006 | B2 |
7539356 | Igari et al. | May 2009 | B2 |
20020034337 | Shekter | Mar 2002 | A1 |
Number | Date | Country |
---|---|---|
1494170 | Jan 2005 | EP |
Number | Date | Country | |
---|---|---|---|
20060187509 A1 | Aug 2006 | US |