IMAGE ARTIFACT DETECTION AND CORRECTION IN SCENES OBTAINED FROM MULTIPLE VISUAL IMAGES

Information

  • Patent Application
  • 20180018759
  • Publication Number
    20180018759
  • Date Filed
    July 07, 2017
    7 years ago
  • Date Published
    January 18, 2018
    6 years ago
Abstract
The disclosure provides for globally detecting and correcting unwanted sensor artifacts arising from processing techniques combining multiple visual images into an output image while possessing information relating to a localized area of the image that can be accomplished during scanning of the image and independent of the number of images or the computer processing method used to acquire them.
Description
TECHNICAL FIELD

This disclosure is in the technical field of visual image processing.


DISCUSSION OF RELATED ART

Visual image correction techniques (including de-ghosting) can be used with high dynamic range (HDR) images and other scenes generated from multiple visual images with different image sensor exposure times. The most common way to create an HDR scene is to capture (and then combine) multiple individual images depicting a visual scene which are created using different exposure times. Movement of an object in the scene occurring between different captures of an image (or movement of the camera sensor itself) may cause unwanted visual artifacts (such as ghosting or thin line) which should not be present but which nonetheless appear in the resulting visual image. Motion-related artifacts may also occur in de-noising algorithms (or other techniques) requiring a combination of multiple renderings of a scene to form a single visual image.


Motion compensation uses precise detection of the motion and consistent correction over the image when combining multiple visual images into a single resulting image. Detecting unwanted visual artifacts based solely on light radiation intensity differences may allow false negatives and/or false positives; e.g., motion-related artifacts with similar intensities might remain in the resulting image despite computer processing designed to remove them and/or newly-appearing objects (such as those created by a noisy camera sensor environment) might be detected incorrectly as motion.


Many techniques used for visual image correction utilize storing of the full image in computer buffer memory prior to removing such artifacts and can be performed only during post-image capture processing. Other real-time visual image processing techniques use special computer hardware to accomplish correction and sacrifice optimum image resolution. An alternate technique assigns to a visual image location (e.g., pixel) the light radiation intensity value(s) for which a majority of the individual image(s) are in agreement but this method uses a large number of images with at least some level of redundancy between them.


SUMMARY OF THE INVENTION

Exemplary embodiments of the invention as described herein generally provide for detecting and correcting unwanted sensor artifacts arising from processing techniques utilizing multiple visual images while possessing information relating to a localized area of the image that can be accomplished during scanning of the image and independent of the number of images or the computer processing method used to acquire them.


According to an exemplary aspect of the invention, a set of two or more visually inconsistent images are combined as an input from an image sensor and a single corrected image is output to eliminate any artifact(s) appearing in one (or more) of the input image(s) as follows:

    • For different images of a visual scene a local area is examined surrounding a reference pixel found substantially within the center of an array based at an identified image location to detect whether an artifact is present.
    • Correction is performed to remove an artifact that is detected based upon evaluating a statistical (e.g., aggregation and/or variance) analysis of light radiation intensity value difference(s) between different image combination(s) at the reference pixel location.
    • The image is optionally processed using signal-to-noise ratio reduction techniques to output a single corrected visual image that eliminates any one or more of the artifact(s) appearing in a detected region of at least one (or more) of the input image(s).


According to a further exemplary aspect of the invention, the detection and correction steps are divided into sub-steps relating to discovery of a new object and/or simple motion. If a new object is detected then a new object correction sub-step can find a stable image to use while ignoring others. If simple motion is detected then a simple motion correction sub-step can extend use of at least one previous image selection decision to maintain consistency.


According a to further exemplary aspect of the invention, there is provided a computer device containing software program instruction(s) executable by the computer to perform at least the foregoing operation(s) for detecting and correcting unwanted artifact(s) arising from technique(s) utilizing multiple visual image(s) input from a sensor and processed into an output image depicting a scene.


The subject matter which is regarded as the invention is particularly pointed out and distinctly claimed in the concluding portion of the specification, as set forth in claims which are to be interpreted as broadly as the law permits to cover the full scope of the invention, including all equivalents thereto.





BRIEF DESCRIPTION OF DRAWINGS


FIG. 1—Photographic illustrations of false negatives and/or false positives appearing in HDR digital visual images as a result of motion artifacts.



FIG. 2—Photographic illustrations of input visual images (A+B) that are processed to form an output map (C) using new object detection.



FIG. 3—Photographic illustrations of input visual images (A+B) that are processed to form an output map (C) using simple motion detection.



FIG. 4—Illustrations of images photographed from a moving car and combined to form a resulting HDR image with (and without) motion correction.



FIG. 5—Illustrations of two blurry images photographed with different exposure times and shown after correction.



FIG. 6—A schematic diagram of a general-purpose computer configured to execute software instructions programmed to process data for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene.



FIGS. 7 & 8—Flowcharts depicting a general process for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene.





DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS


FIG. 1 shows photographic illustrations of false negatives that might appear in high dynamic range (HDR) visual images as a result of motion artifacts (such as ghosting or thin line) along with false positives taking the form of newly-appearing objects such as those created by a camera (or other image sensor) noise environment which appear in the resulting image. As shown with reference to FIGS. 2 & 3, a visual image 10 is comprised of an array 20 of pixel location(s) 30 that may be subjected to varying light radiation intensity (S) value(s) created through use of different image sensor exposure (E) time(s).


An image detection and correction method according to an exemplary embodiment disclosed herein assumes N>1 images S1 . . . SN taken from the same visual scene with different exposure times E1 . . . EN (respectively) and for an image sensor signal (S) there is assigned (as Sx,y) the light radiation intensity value of the pixel at location (x, y) in the subject image array. For simplicity in the examples below the following assumptions are made:

    • The images are sorted from the image with the shortest exposure time (S1) to the one with the longest exposure time (SN) such that for i>j then Ei>Ej.
    • An image is normalized according to its exposure time; e.g., the image (Si) is captured as (Ŝi ) and its overall intensity value converted to






(


S
i

=



S
i

^

·

C

E
i




)




for some constant C>0.


In the examples below, the visual images 10 are digitally scanned in a row-by-row (e.g., raster) arrayed order where the steps of the scan use only a small localized exposure area (e.g., patch) of each image around the scanned pixel. The edge size of the patch (in pixels) is denoted as P (such that the whole pixel patch for example would be of array size P×P) where the reference pixel 30 around which the patch is defined is substantially in the center of the pixel array 20.


In the examples below, two steps are used to correct an unwanted artifact with the first being its detection and the second being correction of the visual image in the detected region as follows:

    • For a given pixel position in an input image a local exposure patch (e.g., 7×7 pixels) is examined surrounding the subject reference pixel located centrally within the array to detect whether an artifact arising from an inconsistency between combined image(s) is present.
    • If an artifact is detected then correction is performed where an HDR algorithm can optionally be used to output a single resulting image.


For example, the following HDR algorithm can optionally be used to minimize the output image signal-to-noise ratio (SNR) by examining as the output pixel at point (x,y) the value







(

O

x
,
y


)

=




i
=
1

K





E
i





j
=
1

K



E
j





S
i







where (K)=argmaxk{Sx,yk is not burnt} is the numeric index of an input image with a maximum exposure time (E) that yields a defined useful light radiation intensity value for (S) at pixel (x,y) and (i,j,k) are natural numeric counting value(s) defined within the range set by the equation and where the algorithm assumes depiction of the same visual scene in all input images without any motion artifacts occurring.


Flowcharts depicting a general process for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene according to the exemplary embodiment(s) described herein are shown in FIGS. 7 & 8. In the examples below, the detection step 70 and correction step 80 are both divided into sub-steps of new object detection/correction 73/83 and simple motion detection/correction 76/86 each having a different purpose in unwanted artifact resolution. The new object detection step 73 can identify initiation of a false positive difference between images and if a new object is detected then the new object correction step 83 can find a stable single image pixel patch to use in a corrected output image 90 while ignoring others. The simple motion detection step 76 can identify any difference between two image pixel patches (whether created due to motion or not) and if simple motion is detected then the simple motion correction step 86 can extend use of at least one of the previous image selection decisions to maintain consistency. The interplay between these steps allows artifact correction with differing levels of certainty. These techniques are described in the below examples with reference to two (2) input visual images 50/53 in a combination 60 but can be easily extended to use with more than two input images as will be further explained below.


New Object Detection

Given two visually inconsistent images having light radiation intensity value(s) (S) and (R) a decision criterion for new object detection around reference pixel (i,j) within a pixel patch array of size (P×P) according to an exemplary embodiment includes:








D

S
,
R

o



(

i
,
j

)


=


Var
(


{





1

w
2








k
=
0

,





,

w
-
1












t
=
0

,





,

w
-
1








S


m
+
k

,

n
+
t






-

R


m
+
k

,

n
+
t






}



m
=

i
-



P
2





,





,

i
+



P
2



-
w
+
1

,

n
=

j
-



P
2





,





,

j
+



P
2



-
w
+
1



)

>

T
o






In this equation To is a pre-defined light radiation intensity variance threshold and the noise reduction parameter w can be used to reduce the effect of camera noise for some for some 0≦w≦P (in experiments







w
=



P
2




)




within a pixel patch of array size (P×P); e.g., calculating the variance is based upon averaging light radiation intensity difference value(s) for the pixel(s) in the array patch surrounding reference pixel (i,j) when Do(i,j) is calculated over natural numeric counting value(s) (m, k, n, t) that are defined (in terms of w and P) within the range set by the equation. In extending the decision to more than two images, the value DoS,R (i,j) can be calculated for different combined pair(s) of images (S) and (R) and an aggregation function (such as max or average or weighted average value) can be performed over substantially all possible image combination(s).



FIG. 2 shows photographic illustrations of input visual images (A+B) that are processed to form an output map (C) using the new object detection technique in which whitened shading identifies area(s) where value(s) for Do A,B were found to be greater than the threshold To for a new object artifact that has been detected. This decision criterion can detect changes in edges and corners of a visual image allowing other artifacts (in addition to new objects) to be traced in that manner.


Simple Motion Detection

Given two visually inconsistent images having light radiation intensity value(s) (S) and (R) a decision criterion for simple motion detection around reference pixel (i,j) within a pixel patch array of size (P×P) according to an exemplary embodiment includes:








D

S
,
R

s



(

i
,
j

)


=






m
=

i
-



P
2





,





,

i
+



P
2



-
w
+
1












n
=

j
-



P
2





,





,

i
+



P
2



-
w
+
1















k
=
0

,





,

w
-
1












t
=
0

,





,

w
-
1








S


m
+
k

,

n
+
t





-

R


m
+
k

,

n
+
t








>

T
s






In this equation TS is a pre-defined light radiation intensity aggregation threshold and the noise reduction parameter w can again be used to reduce the effect of camera noise for some 0≦w≦P (in experiments w=P) within a pixel patch of array size (P×P) when Ds(i,j) is calculated for reference pixel (i,j) over natural numeric counting value(s) (m, k, n, t) that are defined (in terms of w and P) within the range set by the equation. Arriving at a single value for Ds (i,j) in extending the decision to more than two images again involves use of any known aggregation function (such as max or average or weighted average value) that can be performed over substantially all possible image combination(s). FIG. 3 shows photographic illustrations of input visual images (A+B) that are processed to form an output map (C) using the simple motion detection technique in which whitened shading identifies area(s) where value(s) for Ds A,B were found to be greater than the threshold Ts for a simple motion artifact that has been detected.


As mentioned above and as shown in FIGS. 7 & 8, the image correction process is divided into sub-steps of new object correction and simple motion correction that depend on the outcome of the detection step; e.g., if both Ds A,B>Ts and Do A,B>To or if only the latter condition is true then new object correction is used (otherwise) if only the former condition is true then simple motion correction is used.


New Object Correction

In the new object correction mode for an image (Si) a threshold (Ui) is set to indicate a maximum permissible normalized overall intensity value for Si; e.g., above this threshold the image is “burnt” (from lengthy exposure time) and cannot be chosen. A lower threshold (Li) is also set below which the image is too “noisy” (from insufficient exposure time) and cannot be chosen. Thus given a set of images S1 . . . SN at a reference pixel position (i,j) the value chosen for the output image according to an exemplary embodiment includes:

    • IF L1<neighborhoodij(S1)<U1 THEN choose Sij1
    • ELSE IF L2<neighborhoodij(S2)<U2 THEN choose middle pixel of Sij2
    • . . .
    • ELSE IF LN<neighborhoodij(SN)<UN THEN choose middle pixel of SijN
    • ELSE choose Sij1


In these equation(s) neighborhoodij(S) is an averaging of the light radiation intensity value(s) of the pixel patch array surrounding reference pixel (i,j) which is done to reduce noise artifacts in sensor image signal (S).


Simple Motion Correction

The simple motion correction step can be used to handle a case where artifacts are suspected but not confirmed to exist. This step may be also referred to as a propagation step to extend use of at least one previous image selection decision from previously defined pixel(s); e.g., a decision on the light radiation intensity value of the pixel at position (x,y) can be determined by previously known value(s) of pixel(s) at position(s) (x−1,y),(x,y−1) and (x−1, y−1) for example.


To propagate a previous decision to a pixel (i,j) first note that simple motion detection for a pixel at position (x,y) such that x<i,y<j was already determined by some policy






(


p
xy

=


1
N







k
=
1

,





,
N








W
k



S
k





)




for (N) examined image(s) having corresponding light radiation intensity value(s) (S1 . . . SN) and for some weighting function (W1 . . . WN) such that (Σk Wk=1) when (pxy) is calculated over natural numeric counting value (k) that is defined (in terms of N) within the range set by the equation. The propagation policy at the reference pixel (i,j) according to an exemplary embodiment then includes:







p
ij

=







i
-
q


x
<
i

,


j
-
q


y
<
j









w
xy
ij



p
xy









i
-
q


x
<
i

,


j
-
q


y
<
j








w
xy
ij







In these equation(s), parameter (q≧1) defines the number of previously examined pixel(s) at reference position (i, j) and can be set to a small value, e.g., 3 and (wxyij≧0) is another weighting function between the pixel at position (x, y) and position (i,j): for fast approximate results this value could be simply set to 1 whereas for more accurate results this value can represent the distance between the two pixels (smaller distance−higher value) and/or the light radiation intensity difference(s) (e.g., if |Sxy−Sij|≦|Sabij| then wxyij>wabij) for pixel indice(s) x, aα<i and y, b<j.



FIG. 4 shows illustrations of images photographed from a moving car and combined to form a resulting HDR image viewed with (and without) motion detection and correction. This example combines three (3) inconsistent input images photographed from a moving car showing several ghosting artifacts (such as the traffic light shadow and traffic polls appearing as new objects in inconsistent image locations) whereas those artifacts disappear after correction. FIG. 5 shows illustrations of two output HDR images with (and without) motion compensation. The input images are created using two different exposure times and with motion blur. This example combines two images by choosing only the image with the shortest exposure time in the blurry region(s) which is less likely to be blurred. In this way unwanted motion artifacts appearing in visual images with differing exposure times (such as an HDR image) can be eliminated in a fast and local manner (e.g., during real-time scanning of the image using a minimum amount of computer memory storage space) to eliminate ghosting (and other types of defects) appearing in such an image in a way that can be applied to movies as well as to RGB and/or grayscale and/or Mosaic (e.g., BAYER filter format) images for example.


As shown with reference to FIG. 6, it is to be understood that the inventive concept(s) described herein include element(s) that can be implemented on at least one general-purpose computer 131; including a signal source 138 and/or processor(s) 132/139 and/or memory 133/137 along with input/output device(s) 135/136 operatively coupled with each other via circuitry 134 which can be implemented on at least one integrated circuit and configured to operate by execution of software program instruction(s) to process data according to at least one or more exemplary embodiment(s) as described above. Thus, it is to be understood by one skilled in the art that these inventive concept(s) can be implemented using conventional computer hardware, software or a combination of both.


It will be understood by one skilled in the art that the present inventive concept(s) are only by way of example described and illustrated by reference to the foregoing description taken in conjunction with the accompanying drawings; and that the described feature(s), structure(s) and/or characteristic(s) may be combined and arranged and designed in different ways and that modification(s) and/or change(s) can be made to include device(s), system(s) and/or processe(s) consistent with the inventive concept(s) as embodied in the following claims, which are to be interpreted as broadly as the law permits to cover the full scope of the invention, including all equivalents thereto.

Claims
  • 1. A method comprised of the following steps for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene: combining two or more visual images input from a sensor;examining a local area surrounding a reference pixel found substantially within the center of an array based at an identified location within an input image;detecting whether an artifact is present by statistically evaluating substantially any difference in light radiation intensity between at least one combination of input images around the reference pixel location; andperforming correction to output a single image that eliminates any one or more detected artifacts appearing in at least one or more of the input images created due to an inconsistency between input images;wherein an input image is comprised of at least one array of pixel locations subject to varying light radiation intensity values created by use of different image sensor exposure times.
  • 2. The method of claim 1 wherein the image combination step is comprised of one or more of: digitally scanning an input image in an arrayed order using a localized area surrounding the reference pixel;sorting the input images from shortest exposure time to longest exposure time; ornormalizing an input image according to its exposure time.
  • 3. The method of claim 1 wherein the artifact detection step is comprised of one or more of: examining a statistical variance based on averaging a light radiation intensity difference between combined input images for pixels in the array surrounding the reference pixel located within an input image; orperforming a statistical aggregation function over the input image combinations.
  • 4. The method of claim 3 wherein the step of examining a statistical variance is comprised of performing the following calculation:
  • 5. The method of claim 4 wherein the artifact correction step is comprised of: setting an upper threshold to indicate a maximum permissible normalized overall light radiation intensity value for an image without a new object artifact present;setting a lower threshold to indicate a minimum permissible normalized overall light radiation intensity value for an image without a new object artifact present; andselecting an output image from an input image having an average light radiation intensity value between the upper and lower threshold for the examined pixel array surrounding the reference pixel.
  • 6. The method of claim 5 wherein the artifact correction step is further comprised of performing the following calculation: IF L1<neighborhoodij(S1)<U1 THEN choose Sij1 ELSE IF L2<neighborhoodij(S2)<U2 THEN choose middle pixel of Sij2 ELSE IF LN<neighborhoodij(SN)<UN THEN choose middle pixel of SijN ELSE choose Sij1 wherein (N) is the number of input images and (L) is the lower light radiation threshold and (U) is the upper light radiation threshold and neighborhoodij (S) is an average light radiation intensity value for the examined pixel array surrounding reference pixel (i,j).
  • 7. The method of claim 3 wherein the step of performing an aggregation function is comprised of the following calculation:
  • 8. The method of claim 7 wherein artifact correction is comprised of a propagation step to extend use of at least one previous output image selection decision based on at least one light radiation intensity value determined from one or more previously examined input image pixel locations.
  • 9. The method of claim 8 wherein the propagation step is comprised of performing the following calculation:
  • 10. The method of claim 1 further comprising the step of noise reduction by performing the following calculation to form a high dynamic range output digital visual image:
  • 11. A visual image formed by carrying out a procedure comprised of the following steps for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene: combining two or more visual images input from a sensor;examining a local area surrounding a reference pixel found substantially within the center of an array based at an identified location within an input image;detecting whether an artifact is present by statistically evaluating substantially any difference in light radiation intensity between at least one combination of input images to determine whether a pre-defined threshold is exceeded around the reference pixel location; andperforming correction when the threshold is exceeded to output a single image that eliminates any one or more detected artifacts appearing in at least one or more of the input images;wherein an input image is comprised of at least one array of pixel locations subject to varying light radiation intensity values created by use of different image sensor exposure times.
  • 12. The visual image of claim 11 wherein the image combination step is comprised of one or more of: digitally scanning an input image in an arrayed order using a localized area surrounding the reference pixel;sorting the input images from shortest exposure time to longest exposure time; ornormalizing an input image according to its exposure time.
  • 13. The visual image of claim 11 wherein the artifact detection step is comprised of one or more of: examining a statistical variance based on averaging a light radiation intensity difference between combined input images for pixels in the array surrounding the reference pixel located within an input image; orperforming a statistical aggregation function over the input image combinations.
  • 14. The visual image of claim 13 wherein the step of examining a statistical variance is comprised of performing the following calculation:
  • 15. The visual image of claim 14 wherein the artifact correction step is comprised of: setting an upper threshold to indicate a maximum permissible normalized overall light radiation intensity value for an image without a new object artifact present;setting a lower threshold to indicate a minimum permissible normalized overall light radiation intensity value for an image without a new object artifact present; andselecting an output image from an input image having an average light radiation intensity value between the upper and lower threshold for the examined pixel array surrounding the reference pixel.
  • 16-20. (canceled)
  • 21. A computer device configured to execute software instructions programmed to process data for carrying out a procedure comprised of the following steps for detecting and correcting at least one artifact arising from processing multiple visual images depicting a scene: combining two or more visual images input from a camera sensor;examining a local area surrounding a reference pixel found substantially within the center of an array based at an identified location within an input image;detecting whether an artifact is present by statistically evaluating substantially any difference in light radiation intensity between at least one combination of input images around the reference pixel location;performing correction to eliminate any one or more detected artifacts appearing in at least one or more of the input images; andperforming noise reduction to output a single corrected visual image;wherein an input image is comprised of at least one array of pixel locations subject to varying light radiation intensity values created by use of different camera sensor exposure times.
  • 22. The computer device of claim 21 wherein the image combination step is comprised of one or more of: digitally scanning an input image in an arrayed order using a localized area surrounding the reference pixel;sorting the input images from shortest exposure time to longest exposure time; ornormalizing an input image according to its exposure time.
  • 23. The computer device of claim 21 wherein the artifact detection step is comprised of one or more of: examining a statistical variance based on averaging a light radiation intensity difference between combined input images for pixels in the array surrounding the reference pixel located within an input image; orperforming a statistical aggregation function over the input image combinations.
  • 24. The computer device of claim 23 wherein the step of examining a statistical variance is comprised of performing the following calculation:
  • 25. The computer device of claim 24 wherein the artifact correction step is comprised of: setting an upper threshold to indicate a maximum permissible normalized overall light radiation intensity value for an image without a new object artifact present;setting a lower threshold to indicate a minimum permissible normalized overall light radiation intensity value for an image without a new object artifact present; andselecting an output image from an input image having an average light radiation intensity value between the upper and lower threshold for the examined pixel array surrounding the reference pixel.
  • 26-30. (canceled)
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims the benefit under 35 U.S.C. §119(e) to U.S. Provisional Patent Application No. 62/362,766, filed on Jul. 15, 2016 in the United States Patent & Trademark Office, the disclosure of which is incorporated by reference herein in its entirety.

Provisional Applications (1)
Number Date Country
62362766 Jul 2016 US