Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR COMPENSATING MOTION BLUR IN CONNECTION WITH VIBRATIONS
Document Type and Number:
WIPO Patent Application WO/2013/191611
Kind Code:
A2
Abstract:
The invention relates to a method for compensating motion blur in connection with vibrations in an image recording apparatus (1), such as a camera, for stabilization of recorded images, wherein use is made of a reference image. According to the invention, a frame (2) of a recorded image is selected for image stabilization and the degree of sharpness (3) in the selected frame is evaluated and compared (5) with a previously saved reference value (4) for the degree of sharpness for a previously selected frame. The last chosen frame is used to update (6) a video sequence and the degree of the sharpness for the last chosen frame is saved (7) as a new reference value if the degree of sharpness for the last chosen frame is deemed to be better (5) than or equally as good as the reference value for the degree of sharpness for a previously selected frame. The reference value (4) for the degree of sharpness for a previously selected frame is saved with reduction (8) of the value of sharpness and the previously selected frame is used in the video sequence if the degree of sharpness for the last chosen frame is deemed to be worse (5) than the reference value for the degree of sharpness for the previously selected frame. As a result of the invention, a method which, by relatively simple action, can effectively compensate for motion blur in connection with vibrations is provided.

Inventors:
JOHANSSON EMANUEL (SE)
LARSON ODD (SE)
WALDREUS ERLAND (SE)
Application Number:
PCT/SE2013/000096
Publication Date:
December 27, 2013
Filing Date:
June 11, 2013
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
FLIR SYSTEMS AB (SE)
International Classes:
G06T5/00; H04N23/60; H04N23/68
Foreign References:
US20120121202A12012-05-17
US20060257042A12006-11-16
US20110025919A12011-02-03
DE102010019399A12011-11-10
US20110129167A12011-06-02
US20040066563A12004-04-08
Other References:
See references of EP 2864960A4
Attorney, Agent or Firm:
FORSBERG, Carl-Göran (Patents and Trademarks, Karlskoga, SE)
Download PDF:
Claims:
4. Method according to any one of the preceding patent claims, characterized in that the image stabilization is activated by the user of the image recording apparatus.

5. Method according to any one of the preceding patent claims, characterized in that the image recording is conducted within the infrared range.

6. Method according to any one of the preceding patent claims, characterized in that the reduction of the value of the sharpness is executed with substantially the same percentage of the value for each repeated reduction.

7. Method according to any one of the preceding patent claims 1-5,

characterized in that the number of times that a reduction of the value of the sharpness is permitted is limited. 8. Method according to any one of the preceding patent claims 1-5,

characterized in that the reduction of the value of the sharpness is executed progressively.

9. Method according to any one of the preceding patent claims, characterized in that the value of the sharpness for a frame is determined by the application of an edge- detecting filter.

10. Method according to Patent Claim 9, characterized in that the edge-detecting filter comprises the use of a Tenengrad operator.

1 1. Method according to Patent Claim 9, characterized in that the edge-detecting filter comprises calculation of simple standard deviation for each pixel included in the frame. 12. Use of any one of the preceding patent claims in autofocusing.

Description:
Method for compensating motion blur in connection with vibrations

Technical field

The present invention relates to a method for compensating motion blur in connection with vibrations in an image recording apparatus, such as a camera, for stabilization of recorded images, wherein use is made of a reference image.

Background

Motion blur in connection with vibrations is a very common problem in cameras in general and, in particular, for cameras intended for long distances, so called "long range" cameras. There is therefore a desire to find a simple image-stabilizing method which can help the operator of a camera under difficult conditions in which vibrations make it very difficult to detect and identify targets. One application can be to achieve image stabilization of an image recording camera mounted on a mast.

Compensation for vibrations in connection with video recording is previously known per se and in this context reference can be made to published US application

US201 1/0025919 Al . According to this publication, there is a shake compensation step 204 utilizing a reference image described in paragraph [0021 ]. The said publication additionally proposes a solution for reducing the effect of turbulence by assessing the sharpness of image sequences and joining together the parts which have best sharpness into an image which can be presented. The sharpness can be assessed by the use of edge-detecting filters. Summary of the invention

The object of the present invention is to provide a method which, by relatively simple action, can effectively compensate for motion blur in connection with vibrations. The object of the invention is achieved by a method characterized in that a frame of a recorded image is selected for image stabilization, in that the degree of sharpness in the selected frame is evaluated and compared with a previously saved reference value for the degree of sharpness for a previously selected frame, in that the last chosen frame is used to update a video sequence and the degree of the sharpness for the last chosen frame is saved as a new reference value if the degree of sharpness for the last chosen frame is deemed to be better than or equally as good as the reference value for the degree of sharpness for a previously selected frame, in that the reference value for the degree of sharpness for a previously selected frame is saved with reduction of the value of the sharpness and the previously selected frame is used in the video sequence if the degree of sharpness for the last chosen frame is deemed to be worse than the reference value for the degree of sharpness for the previously selected frame.

By virtue of the proposed method, an effective compensation of motion blur caused by vibrations is achieved. For each frame, the degree of sharpness is evaluated and the sharpness is compared with a previously saved value. If the sharpness is deemed to be better or equally as good, this frame is used and the video is updated, at the same time as a new sharpness value is saved for this frame. If it is instead deemed that the sharpness was previously better, the earlier frame is used instead. In order not to freeze the image for too long, the sharpness value must however decline a little each time an old frame is used. In this way, only information which actually means something for the operator is used. The result of the application of the method is that the actual image clock will be able to vary, but that the target for the image recording apparatus becomes easier to identify. In this context, it can be emphasized that unfocused data do not impart any added value to the image. The proposed method is especially suitable for use where courses of events are less rapid and in which panning occurs in small measure.

By virtue of the method, the user is presented only with usable information. An image which is generated by the method is felt to be more stable and more pleasant to view, which leads to it being easier to detect and identify targets.

Expediently, operations which form part of the method are executed in real time. According to a proposed suitable method, the choice of frame in an image recorded by an image recording device is made in the centre of the image.

According to another proposed suitable method, the choice of frame in an image recorded by an image recording device is made by the user of the image recording apparatus.

According to yet another proposed suitable method, the image stabilization is activated by the user of the image recording apparatus. By virtue of a user-activated function of this kind, in which borderline cases such as panning and the like can be disregarded, a method which is optimized to present information to the operator/user under really difficult conditions is achieved.

In a method for compensating blur according to the basic principle above, the image recording is advantageously conducted within the infrared range.

Where the reference value for the degree of sharpness has to be reduced, this can be done in many ways. A simple proposed method is to execute the reduction of the value of the sharpness with substantially the same percentage of the value for each repeated reduction. For example, a reduction of about 5 percent can be made each time. Another variant can be to choose a more progressive reduction/decline in order to avoid a situation in which the image is frozen for too long. It is also possible to limit the number of times in which a reduction of the value of the sharpness can be permitted.

In order to determine the value of the sharpness for a frame, a method characterized in that the value of the sharpness for a frame is determined by the application of an edge- detecting filter is proposed. A proposed edge-detecting filter of this kind comprises the use of a Tenengrad operator. Another proposed edge-detecting filter comprises calculation of simple standard deviation for each pixel included in the frame.

As a result of the above described methods, further usage options are opened up. For example, methods according to the above can be applied in connection with continuous autofocusing. By preserving the sharpness when the image is defocused, both larger and more rapid search algorithms for finding the best focus can be used without disturbing the operator.

Brief description of the drawing

The invention will be further described below in exemplified form with reference to the appended drawing showing a schematic flowchart illustrating the principles behind the invention. Detailed description of embodiments

The flowchart starts with a block 1 designated as image recording. Here the images which are to be image-processed are acquired. For acquisition, preferably some form of camera (not shown in detail) is included. The camera can be an IR camera, but does not preclude the use of other cameras or sensors. In a block 2, a frame is selected in an image available from the image recording block 1. Expediently, the frame is fetched from the central part of the image, which, if there are differences in image quality, is deemed to have on average better quality and probably also to contain more interesting and more usable information. The choice of frame can be made by the user. This can be done by moving the frame over the image and locking it in suitable position. In another alternative, the user can control the camera so that the desired portion ends up in the middle of the image, after which a central frame is fetched.

In the block 3, the degree of sharpness of the frame selected in the block 2 is determined. Preferably, an edge-detecting filter is applied and filters comprising the use of a Tenengrad operator, or alternatively filters comprising calculation of simple standard deviation for each pixel included in the frame are especially proposed. Where the Tenengrad operator is used, in principle a new image is formed and a sharpness value is obtained by summating the pixel values over this Tenengrad image.

In a block 4, reference values for the degree of sharpness of chosen frames are stored. The block 4 is now presumed to contain a reference value from a previously processed frame, or alternatively, upon the commencement of the process a suitable start value which lies below the level for a frame with good sharpness. A block 5 is arranged to compare the degree of sharpness determined in the block 2 with the degree of sharpness of the reference value stored in the block 4. Where the comparison reveals that the degree of sharpness determined in the block 2 is greater than or substantially the same as the reference value, a video sequence is upgraded with the last image in the block 6. In addition, a block 7 sees to it that the reference value which is stored in block 4 is replaced with a new reference value. Where the comparison reveals that the degree of sharpness determined in the block 2 is less than the reference value, no updating of the video sequence takes place, but rather the earlier image remains in place as a result of the block 6 remaining inactive. In addition, a block 8 sees to it that the stored reference value is reduced by fetching the reference value in the block 4 and again storing a reduced reference value. The reduction can be made in percent of the reference value. Percentage values in the order of magnitude of 5 percent have been shown to work well. It can be expedient to keep within a range of between 3 and 10 percent. A further function (not shown in detail) can be included, which function counts the number of times a reference value has been reduced and only permits a limited number of reductions. It is also proposed that the reduction of the degree of sharpness of the reference value can be realized progressively.

The flowchart described schematically above is primarily suited to illustrating the underlying principles to the invention, without, however, in any way unlocking the inventive concept to described block functions. The invention is not limited to the method described above by way of example, but can be subject to modifications within the scope of the following patent claims. 6 Z B -Utr Z013

Patent claims

1. Method for compensating motion blur in connection with vibrations in an image recording apparatus, such as a camera, for stabilization of recorded images, wherein use is made of reference images and the degree of sharpness for a recorded image is compared with the degree of sharpness in reference images, characterized in that a frame of a recorded image is selected for image stabilization, in that the degree of sharpness in the selected frame is evaluated and compared with a previously saved reference value for the degree of sharpness for a previously selected frame,

in that the last chosen frame is used to update a video sequence and the degree of the sharpness for the last chosen frame is saved as a new reference value if the degree of sharpness for the last chosen frame is deemed to be better than or equally as good as the reference value for the degree of sharpness for a previously selected frame,

in that the reference value for the degree of sharpness for a previously selected frame is saved with reduction of the value of the sharpness and the previously selected frame is used in the video sequence if the degree of sharpness for the last chosen frame is deemed to be worse than the reference value for the degree of sharpness for the previously selected frame,

in that reduction of the reference value for the degree of sharpness for the previously selected frame is repeated for each new selected frame whose degree of sharpness is deemed to be worse than a reduced reference value for the degree of sharpness for the previously selected frame.

2. Method according to any one of the preceding patent claims, characterized in that the choice of frame in an image recorded by an image recording device is made in the centre of the image. 3. Method according to any one of the preceding patent claims, characterized in that the choice of frame in an image recorded by an image recording device is made by the user of the image recording apparatus.