Method for correcting an image and electronic device

By identifying and correcting motion characteristics through a multi-image sensor system and utilizing scaling or magnification of motion functions, the problem of image blurring in telephoto imaging is solved, achieving high-sharpness correction of images.

CN117441185BActive Publication Date: 2026-11-24SAMSUNG ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202280040116.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-06-03
Filing Date
2022-03-30
Publication Date
2026-11-24
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively remove motion blur caused by image motion trajectories, especially in telephoto imaging. Traditional methods such as OIS cannot accurately compensate for small to large jitters, leading to decreased image sharpness and impacting user experience.

Method used

By using multiple image sensors, particularly telephoto and non-telephoto sensors, images are captured and motion functions are determined by identifying motion characteristics. These motion functions are then scaled or magnified and applied to the field of view of another image sensor to correct the image.

Benefits of technology

It improves image sharpness and clarity, especially in telephoto imaging, effectively reducing blur caused by camera shake and enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117441185B_ABST
    Figure CN117441185B_ABST
Patent Text Reader

Abstract

A method for correcting an image using an electronic device is provided. The method includes: capturing at least one first image of a scene using a first image sensor among a plurality of image sensors and capturing at least one second image of the scene using a second image sensor among a plurality of image sensors, wherein a first field of view (FOV) of the first image sensor differs from a second FOV of the second image sensor; identifying motion characteristics in the at least one first image; determining a motion function by the electronic device based on the at least one first image and one of the capture processes of the at least one first image causing the motion characteristics in the at least one first image; scaling the motion function from the at least one first image according to a ratio of the first image sensor to the second image sensor; and applying the scaled motion function to the second FOV of the at least one second image to obtain at least one corrected second image without motion characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to image processing, and more specifically, to a method and electronic device for correcting images by removing motion characteristics such as image motion blur caused by a motion function such as an image motion trajectory. Background Technology

[0002] Camera image blurring caused by motion functions (such as, for example, camera shake and subject movement) is a very common problem that degrades user experience. Many signal processing filters and algebraic-based deblurring methods have been used to address problems caused by motion functions. Normal and low-light photography in electronic devices, including optical image stabilization (OIS), suffers from image blurring due to camera shake. For example, OIS is not accurate enough to compensate for very small or very large shakes.

[0003] Furthermore, even when the camera experiences the same physical movement, telephoto imaging typically suffers from more image shake than wide-angle or ultra-wide-angle imaging. This is because the field of view (FOV) of a telephoto lens (e.g., 23°, approximately 16 megapixels (MP)) is much smaller than that of a wide-angle lens (e.g., 77°, approximately 12MP, OIS) and an ultra-wide-angle lens (e.g., 123°, approximately 12MP). Therefore, for example, 0.5° to 1° of shake can be translated into 30 to 60 pixels of motion for a wide-angle lens, 100 to 150 pixels for a telephoto lens, and 10 to 30 pixels for an ultra-wide-angle lens. In some scenarios, this can be exacerbated by longer and / or lower exposure shooting or nighttime shooting. For example, in the case of a wide-angle lens, a common and almost imperceptible, undetectable, and uncorrectable shake of approximately 0.1° can be translated into 3 to 5 pixels of blur. Even this tiny 4-pixel blur in a wide-angle lens scenario can reduce the effective sharpness of an image from 48MP to about 12MP, which hinders the user experience.

[0004] Related techniques can be used to calculate an image blur kernel (e.g., where an image trajectory is affected by jitter drawn in a K×K rectangle), which can be used to generate a deblurred image from an input blurred image. Typically, related techniques such as OIS may struggle to detect and / or remove jitter including sudden turns, jumps, and / or complex, irregular shapes (such as the letter "W"). Therefore, images captured during jitter may not capture the scene optimally.

[0005] Therefore, it is necessary to address the aforementioned drawbacks or other shortcomings, or at least provide useful alternatives. Summary of the Invention

[0006] A method and electronic device are provided for correcting images by eliminating motion characteristics, such as image motion blur caused by a motion function, such as the image motion trajectory. The image can be corrected by using images captured simultaneously by multiple image sensors of the electronic device.

[0007] The embodiments presented herein provide the use of multiple image sensors with different fields of view (FOV). Therefore, an image generated by another image sensor with a different FOV is corrected using an image sensor that produces a sharper image due to its FOV. The motion kernel obtained for the sharper image is scaled and applied to the image generated by the other image sensor to correct the image.

[0008] According to one aspect of this disclosure, a method for correcting an image using an electronic device is provided, the method comprising: capturing at least one first image of a scene using a first image sensor of a plurality of image sensors and capturing at least one second image of the scene using a second image sensor of a plurality of image sensors simultaneously, wherein a first field of view (FOV) of the first image sensor is different from a second FOV of the second image sensor; identifying motion characteristics in the at least one first image by the electronic device; determining a motion function by the electronic device based on one of the capture processes of the at least one first image and the at least one first image causing the motion characteristics in the at least one first image; scaling the motion function from the at least one first image according to a scale of the first image sensor relative to the second image sensor; and applying the scaled motion function to the second FOV of the at least one second image by the electronic device to obtain at least one corrected second image without motion characteristics.

[0009] The first image sensor may be a telephoto sensor, and the second image sensor may be a non-telephoto sensor. The first field of view (FOV) of the telephoto sensor is smaller than the second FOV of the non-telephoto sensor. At least one first image may include at least one telephoto image, and at least one second image may include at least one non-telephoto image. Simultaneous capture of at least one first image and at least one second image may include on-device optical image stabilization (OIS) by the electronic device during the simultaneous capture of at least one telephoto image and at least one non-telephoto image. Furthermore, scaling the motion function may include: determining, by the electronic device, that the motion characteristic in at least one non-telephoto image is less than a motion threshold based on the magnitude of the motion characteristic in at least one telephoto image; determining, by the electronic device, a first scale of the telephoto sensor relative to the non-telephoto sensor as a downsizing scale, the first scale being the ratio of the first FOV of the telephoto sensor to the second FOV of the non-telephoto sensor, and the downsizing scale corresponding to the first scale having a value less than 1; and scaling down the motion function of at least one telephoto image according to the first scale based on the determination of the first scale as the downsizing scale.

[0010] The motion characteristics can be image motion blur originating from at least one of common jitter of electronic devices, common local motion in the scene, and common global motion in the scene, and the motion function can be the image motion trajectory.

[0011] The method may further include: determining, by electronic device, at least one individual object among a plurality of objects moving individually in a scene relative to a first FOV of a telephoto sensor; determining, by electronic device, a local motion trajectory of each object among the plurality of objects in at least one telephoto image; scaling down the local motion trajectory of each object by electronic device according to a first ratio, wherein the first ratio is a telephoto factor; and deblurring, by electronic device, another at least one individual object in at least one non-telephoto image corresponding to at least one individual object among the plurality of objects in at least one telephoto image.

[0012] The first image sensor may be a non-telephoto sensor, and the second image sensor may be a telephoto sensor. The first FOV of the non-telephoto sensor may be greater than the second FOV of the telephoto sensor. At least one first image may include at least one non-telephoto image, and at least one second image may include at least one telephoto image. Simultaneously capturing at least one first image and at least one second image may include preventing optical image stabilization (OIS) on devices associated with the telephoto and non-telephoto sensors by the electronic device during the simultaneous capture of at least one telephoto image and at least one non-telephoto image. Furthermore, scaling the motion function may include: determining, by the electronic device, that the motion characteristic in at least one telephoto image is greater than or equal to a motion threshold based on the magnitude of the motion characteristic in at least one non-telephoto image; estimating the motion function in a specific FOV of at least one non-telephoto image by the electronic device; determining, by the electronic device, a first ratio of the non-telephoto sensor relative to the telephoto sensor as an upsizing scale, the first ratio being the ratio of the first FOV of the non-telephoto sensor to the second FOV of the telephoto sensor, and the upsizing scale corresponding to the first ratio having a value greater than 1; and scaling the motion function of at least one non-telephoto image according to the first ratio based on the determination that the first ratio is an upsizing scale.

[0013] Motion characteristics can be image motion blur originating from the common jitter of electronic devices, and the motion function can be the image motion trajectory generated from the actual common motion trajectory of electronic devices due to jitter.

[0014] Applying a scaling motion function to a second FOV of at least one second image may include: determining a true angular motion function of the electronic device from an inertial mechanism in a first optical image stabilization (OIS) device associated with a first image sensor; determining a true motion function of a second image sensor based on the true angular motion function, wherein the second image sensor does not include a second OIS device; and applying the determined true motion function to at least one second image to obtain at least one corrected second image.

[0015] The motion characteristic can be motion between two consecutive video frames, the motion function can be dense optical flow, and applying the scaled motion function to the second FOV of at least one second image can include stabilizing the common portion of the second FOV of at least one non-telephoto image and the first FOV of at least one telephoto image by applying a scaled dense optical flow to at least one non-telephoto image.

[0016] The motion property can be an object boundary, the motion function can be object segmentation, and applying the scaled motion function to a second FOV of at least one second image can include applying a scaled-down object segmentation from at least one telephoto image to at least one non-telephoto image to enhance pixel-level segmentation of corresponding small objects in at least one non-telephoto image.

[0017] The method may further include: panning a first image sensor and a second image sensor together across a scene using an electronic device; determining multiple objects entering and leaving a first field of view (FOV) of the telephoto sensor using an electronic device; individually detecting and segmenting each of the multiple objects entering the first FOV of the telephoto sensor using an electronic device before a specific object leaves the first FOV of the telephoto sensor in at least one telephoto image; scaling down the segmentation of the individually segmented multiple objects in at least one telephoto image according to a first ratio of the telephoto sensor to a non-telephoto sensor using an electronic device; and applying each scaled-down segmentation to a corresponding object in at least one non-telephoto image that corresponds to the multiple objects in at least one telephoto image using an electronic device.

[0018] The motion characteristics may be the curve and branch of an object in at least one telephoto image, the motion function may be a second-order or higher derivative, and applying the scaled motion function to a second FOV of at least one second image may include applying a scaled-down second-order or higher derivative to at least one non-telephoto image to compute segmentation of the corresponding object in the at least one non-telephoto image that corresponds to the object in the at least one telephoto image.

[0019] The motion characteristic can be an obstacle in at least one telephoto image, the motion function can be a segmentation of the obstacle, and applying the scaled motion function to a second FOV of at least one second image can include applying the scaled segmentation to at least one non-telephoto image to identify and remove corresponding obstacles in at least one non-telephoto image that correspond to the obstacle in at least one telephoto image.

[0020] Simultaneous capture of at least one first image and at least one second image may include: simultaneously activating the first and second image sensors of an electronic device for a specific duration; and simultaneously using the first image sensor to capture at least one first image of a scene and using the second image sensor to capture at least one second image of a scene during the specific duration.

[0021] According to one aspect of this disclosure, an electronic device for correcting an image is provided, the electronic device comprising: a plurality of image sensors; a processor configured to: control a first image sensor and a second image sensor among the plurality of image sensors to simultaneously use the first image sensor to capture at least one first image of a scene and use the second image sensor to capture at least one second image of the scene, wherein a first field of view (FOV) of the first image sensor may be different from a second FOV of the second image sensor; and an image correction controller configured to: identify motion characteristics in at least one first image; determine a motion function based on at least one first image and one of the capture processes of at least one first image causing motion characteristics in at least one first image; scale the motion function from at least one first image according to the ratio of the first image sensor to the second image sensor; and apply the scaled motion function to a second FOV of at least one second image to obtain at least one corrected second image without motion characteristics.

[0022] The first image sensor may be a telephoto sensor; the second image sensor may be a non-telephoto sensor; the first FOV of the telephoto sensor may be smaller than the second FOV of the non-telephoto sensor; at least one first image may include at least one telephoto image; at least one second image may include at least one non-telephoto image; and the image correction controller may also be configured to: determine that the motion characteristic in at least one non-telephoto image is less than a motion threshold based on the magnitude of the motion characteristic in at least one telephoto image; prevent optical image stabilization (OIS) on the device associated with the telephoto sensor and the non-telephoto sensor during the simultaneous capture of at least one telephoto image and at least one non-telephoto image; determine a first ratio of the telephoto sensor relative to the non-telephoto sensor as a reduction ratio, the first ratio being the ratio of the first FOV of the telephoto sensor to the second FOV of the non-telephoto sensor, and the reduction ratio corresponding to the first ratio having a value less than 1; and based on determining the first ratio as the reduction ratio, reduce the motion function of at least one telephoto image according to the first ratio.

[0023] The motion characteristic can be image motion blur originating from at least one of common jitter of electronic devices, common local motion in the scene, and common global motion in the scene, wherein the motion function can be the image motion trajectory.

[0024] The image correction controller can also be configured to: determine at least one individual object among a plurality of objects moving individually in a scene relative to a first FOV of a telephoto sensor; determine the local motion trajectory of each object among the plurality of objects in at least one telephoto image; reduce the local motion trajectory of each object by a first ratio, wherein the first ratio is a telephoto factor; and deblur another at least one individual object in at least one non-telephoto image that corresponds to at least one individual object among the plurality of objects in at least one telephoto image.

[0025] The first image sensor may be a non-telephoto sensor, and the second image sensor may be a telephoto sensor. The first FOV of the non-telephoto sensor may be greater than the second FOV of the telephoto sensor. At least one first image may include at least one non-telephoto image, and at least one second image may include at least one telephoto image. Furthermore, the image correction controller may be configured to: determine that the motion characteristic in at least one telephoto image is greater than or equal to a motion threshold based on the magnitude of the motion characteristic in at least one non-telephoto image; prevent optical image stabilization (OIS) on the device associated with the telephoto and non-telephoto sensors during the simultaneous acquisition of at least one telephoto image and at least one non-telephoto image; estimate the motion function in a specific FOV of at least one non-telephoto image; determine a first ratio of the non-telephoto sensor to the telephoto sensor as a magnification ratio, the first ratio being the ratio of the first FOV of the non-telephoto sensor to the second FOV of the telephoto sensor, and the magnification ratio corresponding to the first ratio having a value greater than 1; and based on determining the first ratio as the magnification ratio, magnify the motion function of at least one non-telephoto image according to the first ratio.

[0026] Motion characteristics can be image motion blur originating from the common jitter of electronic devices, where the motion function can be the image motion trajectory caused by the actual common motion trajectory of the electronic devices due to jitter.

[0027] The image correction controller can also be configured to: determine the true angular motion function of the electronic device based on the inertial mechanism in the first optical image stabilization (OIS) device associated with the first image sensor; determine the true motion function of the second image sensor based on the true angular motion function, wherein the second image sensor does not include the second OIS device; and apply the determined true motion function to at least one second image to obtain at least one corrected second image.

[0028] The motion characteristics can be motion between two consecutive video frames, the motion function can be dense optical flow, and the image correction controller can also be configured to stabilize the common portion of the second FOV of at least one non-telephoto image and the first FOV of at least one telephoto image by applying a reduced dense optical flow to at least one non-telephoto image.

[0029] The motion characteristics can be object boundaries, the motion function can be object segmentation, and the image correction controller can also be configured to apply reduced object segmentation from at least one telephoto image to at least one non-telephoto image to enhance pixel-level segmentation of corresponding small objects in at least one non-telephoto image.

[0030] The image correction controller can also be configured to: translate the first image sensor and the second image sensor together across the scene; identify multiple objects entering and leaving the first FOV of the telephoto sensor; individually detect and segment each of the multiple objects entering the first FOV of the telephoto sensor before a particular object leaves the first FOV of the telephoto sensor in at least one telephoto image; scale down the segmentation of the individually segmented multiple objects in at least one telephoto image according to a first ratio of the telephoto sensor to the non-telephoto sensor; and apply each scaled-down segmentation to a corresponding object in at least one non-telephoto image that corresponds to the multiple objects in at least one telephoto image.

[0031] The motion characteristics can be bending and branching of an object in at least one telephoto image, the motion function can be a second-order or higher derivative, and the image correction controller can also be configured to apply a reduced second-order or higher derivative to at least one non-telephoto image to compute segmentation of the corresponding object in the at least one non-telephoto image that corresponds to the object in the at least one telephoto image.

[0032] The motion characteristic can be an obstacle in at least one telephoto image, the motion function can be a segmentation of the obstacle, and the image correction controller can also be configured to apply the reduced segmentation to at least one non-telephoto image to identify and remove the corresponding obstacle in the at least one non-telephoto image that corresponds to the obstacle in the at least one telephoto image.

[0033] The multiple image sensors are also configured to: simultaneously activate a first image sensor and a second image sensor of an electronic device for a specific duration; and simultaneously use the first image sensor to capture at least one first image of the scene and use the second image sensor to capture at least one second image of the scene during the specific duration. Attached Figure Description

[0034] The above and other aspects, features and advantages of certain embodiments of this disclosure will become more apparent from the following description taken in conjunction with the accompanying drawings, wherein:

[0035] Figure 1 A block diagram of an electronic device for correcting an image by removing motion characteristics from an image, according to an embodiment, is shown.

[0036] Figure 2This is a flowchart illustrating a method for correcting an image by removing motion characteristics from an image, according to an embodiment;

[0037] Figure 3A A reduced version of the motion function from the telephoto image is shown, according to an embodiment, to induce the detection of motion characteristics in the telephoto image;

[0038] Figure 3B The estimated kernel is shown in the iteration of a multi-level scale space method with a true fuzzy kernel according to an embodiment;

[0039] Figure 4 An example is shown of deblurring a second image captured by a second image sensor using a blur kernel associated with a first image sensor, according to an embodiment.

[0040] Figure 5 An example is shown comparing the use of related technical mechanisms and the use of a blur kernel for a telephoto sensor in deblurring for a non-telephoto sensor, according to an embodiment;

[0041] Figure 6 An example is shown of a scenario where a telephoto blur kernel of a telephoto image is used to correct a blurred non-telephoto image according to an embodiment;

[0042] Figure 7 Examples illustrating a scenario of object segmentation using telephoto images captured by an electronic device, according to embodiments; and

[0043] Figure 8A and Figure 8B An example is shown of a scenario where object segmentation using a telephoto image is used as an object enters and leaves an image frame, according to an embodiment. Detailed Implementation

[0044] The embodiments described herein, along with their various features and advantageous details, are explained more fully with reference to the non-limiting embodiments illustrated in the accompanying drawings and detailed in the following description. Descriptions of well-known components and processing techniques have been omitted to avoid unnecessarily obscuring the embodiments herein. Furthermore, the various embodiments described herein are not necessarily mutually exclusive, as some embodiments can be combined with one or more other embodiments to form new embodiments. Unless otherwise stated, the term "or" as used herein means non-exclusive or. The examples used herein are intended only to facilitate understanding of how the embodiments described herein can be practiced and to further enable those skilled in the art to practice the embodiments described herein. Therefore, the examples should not be construed as limiting the scope of the embodiments described herein.

[0045] As is conventional in the art, embodiments can be described and illustrated based on blocks of one or more functions described herein. These blocks (which may be referred to herein as managers, units, modules, hardware components, etc.) are physically implemented by analog and / or digital circuitry (such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuitry, passive electronic components, active electronic components, optical components, hardwired circuitry, etc.) and may optionally be driven by firmware. The circuitry may be embodied, for example, in one or more semiconductor chips or on a substrate support such as a printed circuit board. The circuitry constituting a block may be implemented by dedicated hardware, or by a processor (e.g., one or more programmed microprocessors and associated circuitry), or by a combination of dedicated hardware performing some functions of the block and a processor performing other functions of the block. Each block of an embodiment may be physically divided into two or more interactive and discrete blocks without departing from the scope of this disclosure. Similarly, the blocks of an embodiment may be physically combined into more complex blocks without departing from the scope of this disclosure.

[0046] The accompanying drawings are provided to aid in the easy understanding of the various technical features, and it should be understood that the embodiments presented herein are not limited to the drawings. Therefore, this disclosure should be construed as extending to any changes, equivalents, and substitutions other than those specifically set forth in the drawings. Although the terms first, second, etc., may be used herein to describe various elements, these elements should not be limited by these terms. These terms are generally used only to distinguish one element from another.

[0047] Therefore, one or more embodiments of this disclosure provide a method for correcting an image using an electronic device. The method may include capturing at least one first image of a scene using a first image sensor among a plurality of image sensors and capturing at least one second image of the scene using a second image sensor among a plurality of image sensors. A first field of view (FOV) of the first image sensor differs from a second FOV of the second image sensor. The method further includes detecting motion characteristics in the at least one first image by the electronic device. The method further includes determining a motion function by the electronic device based on one of the capture processes of the at least one first image and the at least one first image that caused the detected motion characteristics in the at least one first image. The method further includes scaling the motion function from the at least one first image by the electronic device according to the ratio of the first image sensor to the second image sensor. The method further includes applying the scaled motion function to the second FOV of the at least one second image by the electronic device to obtain at least one corrected second image unaffected by the detected motion characteristics.

[0048] Therefore, one or more embodiments of this disclosure provide an electronic device for correcting images. The electronic device may include a memory, a processor, a communicator, a plurality of image sensors, and an image correction controller. The processor is coupled to the memory. The communicator is coupled to the memory and the processor. The plurality of image sensors are coupled to the memory, the processor, and the communicator. The plurality of image sensors are configured to simultaneously use a first image sensor of the plurality of image sensors to capture at least one first image of a scene and use a second image sensor of the plurality of image sensors to capture at least one second image of the scene. A first field of view (FOV) of the first image sensor is different from a second FOV of the second image sensor. The image correction controller is coupled to the memory, the processor, and the communicator. The image correction controller is configured to determine motion characteristics in at least one first image. The image correction controller is also configured to determine a motion function based on at least one first image and one of the capture processes of at least one first image that caused the detection of motion characteristics in at least one first image. The image correction controller is further configured to scale the motion function from at least one first image according to the ratio of the first image sensor to the second image sensor. The image correction controller is further configured to apply the scaled motion function to a second FOV of at least one second image to obtain at least one corrected second image unaffected by the detected motion characteristics.

[0049] Generally, due to the reduced field of view (FOV) in telephoto cameras (which greatly extends the pixel distance through which shake motion passes), telephoto and zoom imaging suffers from more shake compared to normal imaging, even when two cameras may be in the same subject (e.g., with the same shake). Optical image stabilization (OIS) is typically used and is driven by a gyroscope, where the gyroscope senses the shake and provides appropriate translation and tilt corrections to the lens in an attempt to eliminate image blur at its source.

[0050] In another example, methods and systems in related technologies use a low-resolution auxiliary attached video camera to estimate the true motion trajectory of the main camera image used in the deblurring algorithm. Typically, the auxiliary camera has a lower resolution than the main camera; however, the field of view (FOV) of both cameras can be the same. Therefore, the blur kernel calculated from the auxiliary camera does not have motion magnification.

[0051] In yet another example, a method in a related art can capture an image with additional noise but sharpness for a very short duration at the start of the capture to form a noise / blurred image pair, wherein a blur kernel can be calculated using the noise / blurred image pair and used to deblur the main image.

[0052] In another approach within the related technology, a hybrid camera system can be used to calculate spatially varying motion blur using optical flow. However, since the FOV of the hybrid camera system is the same, it has no effect on motion magnification.

[0053] Another approach in related techniques can perform non-blind deblurring by calculating a blur kernel (e.g., the image trajectory caused by jitter, shown as a K×K rectangle) and deconvolving the captured image using the blur kernel. However, such a process can be resource-intensive and not very efficient when compared with other related techniques, such as those described previously.

[0054] Furthermore, using blind deblur (which does not use a blur kernel) typically produces very poor results.

[0055] Unlike related technical methods and systems, a method according to an embodiment of this disclosure includes calculating a large blur kernel trajectory (e.g., a 60×60 rectangle) from an attached telephoto camera (e.g., with a 3X magnification factor), and then reducing the kernel according to a correction factor (e.g., a factor of 3 in each direction) to give an accurate and sharp blur kernel trajectory (e.g., a 20×20 rectangle) for a main (e.g., wide-angle) camera, which can be used to deblur a normal image.

[0056] In some embodiments, the FOV of the main camera lens can be greater than that of the telephoto camera lens. However, the physical angle (T) corresponding to the blur trajectory of the telephoto lens can be substantially the same as the angle (M) corresponding to the blur trajectory of the main lens. Therefore, although the blur shape can be substantially the same for both cameras, the ratio of the telephoto lens (e.g., angle (T) / FOV(T)) can be greater than that of the main camera lens (e.g., angle (M) / FOV(M)). Thus, assuming similar pixel counts in the two lenses (e.g., the telephoto lens and the main camera lens), the blur trajectory in the telephoto image can be larger than the blur trajectory in the main image.

[0057] Therefore, the proposed method involves running two cameras simultaneously (e.g., a telephoto camera and a main camera) to compute a proportionally large blur trajectory in the telephoto image. The telephoto image blur can then be scaled down by a telephoto factor (e.g., 3X) to indirectly but accurately estimate a small blur in the main camera image, which might be impossible to estimate directly. Once the blur trajectory is obtained, accurate image deblurring can be performed on the main (e.g., wide-angle) camera. In one example, considering that a 60-pixel-wide telephoto blur has a few pixels of inaccuracy, the error will reach zero when the trajectory is scaled down by a factor of 3X.

[0058] Alternatively or additionally, the proposed method can use the motion of the main camera to obtain global scene motion and / or a combination of variations in global scene motion and blurred trajectories. If the global scene motion is zero, but two objects are moving toward each other at the center of the scene, then artificial intelligence can be used, for example, to segment the two objects in real time. Alternatively or additionally, it may be necessary to use telephoto to compute very small blurred trajectories of the objects to deblur only the two objects.

[0059] Unlike related techniques and systems, the proposed method can also be used when the jitter is so great that the telephoto image motion is almost as much as and / or more than the image width (making it algorithmically impossible to compute the blur trajectory of the telephoto image). In such embodiments, the small blur in the main camera can be scaled up to estimate the telephoto blur. Alternatively or additionally, since even images with small blur cannot be properly super-resolutioned, deblurring is a fundamental initial operation for accurate jitter reduction (SR), whether using computer vision methods or deep neural network (DNN) methods based on related techniques.

[0060] In related technologies, algebraic techniques can be used to perform image deblurring, which is time-consuming, resource-intensive, and complex. Alternatively or additionally, if the jitter is greater than a predefined threshold, obtaining the corresponding blur kernel becomes additionally complex compared to obtaining a blur kernel with smaller jitter. Alternatively or additionally, when the jitter is complex (e.g., complex patterns), even if the jitter amplitude is small (e.g., significantly less than the predefined threshold), deblurring cannot be performed accurately.

[0061] Wide-angle sensor cameras cannot be used alone for deblurring because image motion caused by camera shake may be too small to be accurately estimated algorithmically. In contrast, image motion caused by the same amount of shake in telephoto cameras can be magnified much more. Therefore, the accuracy and sharpness of the estimated wide-angle sensor blur can be improved by using a reduced telephoto kernel applied to the deblurring of the wide-angle sensor blur.

[0062] Now referring to the attached diagram, more specifically, referring to... Figure 1 Figure 8, in which similar reference numerals are used throughout all figures to denote corresponding features, illustrates an example embodiment.

[0063] Figure 1 A block diagram of an electronic device (100) according to an embodiment for correcting an image by removing motion characteristics from the image is shown. The electronic device (100) can be, but is not limited to, laptop computers, handheld computers, desktop computers, mobile phones, smartphones, personal digital assistants (PDAs), tablet computers, wearable devices, Internet of Things (IoT) devices, virtual reality devices, foldable devices, flexible devices, and immersive systems.

[0064] In an embodiment, the electronic device (100) includes a memory (110), a processor (120), a communicator (130), multiple image sensors (140a-140N), an image correction controller (150), and a display (160).

[0065] The memory (110) is configured to store a first image, a second image, and a corresponding corrected second image, as well as the ratio of the first image sensor (140a) to the second image sensor (140b). Furthermore, the memory (110) also stores instructions to be executed by the processor (120). The memory (110) may include non-volatile storage elements. Examples of such non-volatile storage elements may include, but are not limited to, magnetic hard disks, optical disks, floppy disks, flash memory, or electrically programmable memory (EPROM) or electrically erasable programmable memory (EEPROM). Additionally, in some examples, the memory (110) may be considered a non-transitory storage medium. The term "non-transitory" may indicate that the storage medium is not embodied in a carrier wave or propagating signal. However, the term "non-transitory" should not be construed as meaning that the memory (110) is immovable. In some examples, the memory (110) can be configured to store a larger amount of information. In some examples, the non-transitory storage medium may store data that can change over time (e.g., in random access memory (RAM) or cache memory).

[0066] The processor (120) communicates with a memory (110), a communicator (130), multiple image sensors (140a-140N), an image correction controller (150), and a display (160). The processor (120) is configured to execute instructions stored in the memory (110) and perform various processes. The processor may include one or more processors, which may be general-purpose processors (such as central processing units (CPUs), application processors (APs), etc.), graphics-only units (such as graphics processing units (GPUs)), vision processing units (VPUs), and / or AI-specific processors (such as neural processing units (NPUs)).

[0067] The communicator (130) includes electronic circuitry specific to standards for implementing wired or wireless communication. The communicator (130) is configured to communicate internally between internal hardware components of the electronic device (100) and to communicate with external devices via one or more networks.

[0068] Multiple image sensors (140a-140N) include a first image sensor (140a) and a second image sensor (140b). The first image sensor (140a) can be a telephoto image sensor (140a), and the second image sensor (140b) can be a non-telephoto image sensor (140b). The first image sensor (140a) and the second image sensor (140b) are simultaneously turned on for a specific duration, and simultaneously capture a first image and a second image of the scene. The first image sensor (140a) and the second image sensor (140b) complete exposure simultaneously. When the first image sensor (140a) is a telephoto sensor and the second image sensor (140b) is a second image sensor, the first image and the second image are the last images retrieved from the telephoto buffer and the non-telephoto image buffer, respectively, after the shutter is pressed. During operation, a lens focuses light onto the first image sensor (140a) and / or the second image sensor (140b). The pixels in the first image sensor (140a) and / or the second image sensor (140b) include photosensitive elements that convert light into digital data and capture image frames of the scene. A typical image sensor may have, for example, millions of pixels (e.g., megapixels (MP)) and be configured to capture a series of image frames of the scene based on a click input from a user. Each of the multiple image sensors (140a-140N) includes a different focal length. The first and second images may be, for example, still images capturing the scene, videos comprising multiple images, or combinations thereof.

[0069] In this embodiment, the image correction controller (150) is implemented by processing circuitry such as logic gates, integrated circuits, microprocessors, microcontrollers, memory circuits, passive electronic components, active electronic components, optical components, hardwired circuitry, etc., and may optionally be driven by firmware. The circuitry may, for example, be embodied in one or more semiconductors. The image correction controller (150) includes a motion characteristic management controller (152), a scaling controller (154), and a correction management controller (156).

[0070] In this embodiment, the motion characteristic management controller (152) is configured to determine motion characteristics in a first image and to determine a motion function from the first image or a first image capture process that causes the detection of motion characteristics in the first image. The motion function is determined using an existing sensor of the electronic device (100), which may include, but is not limited to, sensors used in optical image stabilization (OIS). For example, consider physical motion occurring within a 4-pixel by 4-pixel rectangle or 16 pixels. In such an example, if the camera has a resolution of 48MP, there is a total blur of 16 pixels. That is, a 48MP camera will function like a 3MP camera.

[0071] A motion characteristic management controller (152) is configured to determine whether a motion characteristic in a non-telephoto image is less than a motion threshold based on the magnitude of the motion characteristic in the telephoto image. That is, the proposed method can be applied when the expected motion characteristic (such as jitter) is very small but significant, or if the jitter is too complex for OIS to handle, such as, for example, “S” or “W” pattern jitter. Typically, OIS includes a physical sensor within a lens that senses jitter and guides the lens in the opposite direction to compensate for it. The acquisition of any image occurs over a period of time, not in a single moment (e.g., 100 milliseconds (ms), but jitter can last for 200 ms. Therefore, the captured image may be blurred due to jitter. Photons from the scene accumulate over time, and when the lens moves, photons arriving from the same location (e.g., the black patches of a tiger) can reach different spots on the sensor. OIS can be configured to compensate for jitter such that the same black patches reach the same spot, regardless of the motion caused by the jitter. In some scenarios, OIS is done in a first-degree manner. Typically, jitter is abrupt and discrete (e.g., jitter jumps, resets, jumps, resets, etc.). However, OIS only compensates for the physical motion of the lens, not the motion of the target. Therefore, if the momentum of the jitter is very low, OIS may not be able to instantaneously compensate for complex jitter due to the inertia of the OIS mechanism.

[0072] A motion kernel (e.g., a blur kernel) is used to capture motion characteristics, where the image trajectory caused by jitter is represented by a K×K rectangle. Blur kernel calculation involves capturing a main image with normal settings from both the first image sensor (140a) and the second image sensor (140b). Alternatively or additionally, blur kernel calculation may include capturing a pilot image (which may be grainy but sharp) with an additional short duration of exposure from both the first image sensor (140a) and the second image sensor (140b) only at the beginning of the main image capture (e.g., the last image in the camera buffer). Alternatively or additionally, the pilot image and the normal image are used together to calculate the blur kernel.

[0073] In some embodiments, the first image sensor (140a) is a telephoto sensor, and the second image sensor (140b) is a non-telephoto sensor. The field of view (FOV) of the telephoto sensor is smaller than that of the non-telephoto sensor, and the ratio of the telephoto sensor to the non-telephoto sensor is a scaled-down ratio with a ratio less than 1. The image motion trajectory is the perceived motion trajectory of scene objects in a scene or image. The image motion trajectory can be caused by the common motion trajectory of the electronic device (100) due to jitter of the electronic device (100) while capturing the image or due to the movement of the scene or target objects in the scene, thus causing geometrically similar image motion blur in all image forming sensors of the electronic device (100). The difference in the size of the perceived motion trajectory relative to the image size of any image sensor in the electronic device (100) is determined by the FOV of the particular sensor. The image motion trajectory estimated from the first image formed by the first telephoto sensor in the electronic device (100) can also be reduced to provide an accurate but small image motion trajectory for any second non-telephoto sensor in the electronic device (100) by reducing the image motion trajectory by a reduction ratio of less than 1 to its corresponding field of view, thus alleviating the difficulty of directly estimating the very small motion trajectories of non-telephoto sensors. For example, considering a telephoto blur kernel with a size of 30×40 pixels, a normal blur kernel can have the same shape but with a size of 6×8 pixels. That is, if the trajectory line in the telephoto blur kernel has a thickness of 5 pixels (e.g., inaccurate), the trajectory line in the reduced kernel has a thickness of 1 pixel. Therefore, the reduced blur kernel can have higher accuracy.

[0074] In another embodiment, the motion characteristic management controller (152) is configured to determine that the motion characteristic in the telephoto image is greater than a motion threshold based on the magnitude of the motion characteristic in the non-telephoto image. In such an embodiment, the first image sensor (140a) is a non-telephoto sensor, the second image sensor (140b) is a telephoto sensor, the FOV of the non-telephoto sensor is greater than the FOV of the telephoto sensor, and the scale of the non-telephoto sensor relative to the telephoto sensor is a magnification ratio greater than 1. The image motion trajectory estimated from the first image formed by the non-telephoto sensor in the electronic device (100) can also be provided as the image motion trajectory of the telephoto sensor by scaling the image motion trajectory according to a magnification ratio greater than 1 of its corresponding field of view, thus alleviating the difficulty of directly estimating and correcting the very large motion trajectory of the telephoto sensor.

[0075] In another embodiment, the motion characteristic is image motion blur derived from one of the common jitter of the electronic device (100), common local motion in the scene, and common global motion in the scene, and the motion function is the image motion trajectory.

[0076] In another embodiment, the motion characteristic is the motion detected between two consecutive video frames, and the motion function is dense optical flow. A reduced dense optical flow is applied to achieve common stabilization of the FOV of the non-telephoto video with respect to the FOV of the telephoto video (if the motion function is estimated to be the same there, then common stabilization of the FOV of the non-telephoto video with respect to any remaining portion of the FOV of the non-telephoto video is achieved).

[0077] In another embodiment, the motion characteristic is the object boundary and the motion function is object segmentation, wherein a reduced segmentation from the telephoto image is applied to the non-telephoto image to enhance pixel-level segmentation of corresponding small, difficult-to-segment objects in the non-telephoto image.

[0078] In another embodiment, the motion characteristic is image motion blur originating from the common jitter of the devices, and the motion function is the image motion trajectory caused by the actual common motion trajectory of the electronic devices (100) due to jitter.

[0079] In this embodiment, the scaling controller (154) is configured to determine the scale of the first image sensor (140a) relative to the second image sensor (140b), and to scale the motion function from at least one first image according to the scale of the first image sensor (140a) relative to the second image sensor (140b). The scale is the ratio of the field of view (FOV) of the first image sensor (140a) to the FOV of the second image sensor (140b). The scaling controller (154) is configured to disable optical image stabilization (OIS) on any device associated with the telephoto and non-telephoto sensors before capturing telephoto and non-telephoto images, and to scale down the motion function of at least one telephoto image by a scaling-down ratio of less than 1.

[0080] In an embodiment, the scaling controller (154) is configured to determine an individual object among a plurality of objects moving individually within the field of view (FOV) of the telephoto sensor, and to individually determine the local motion trajectory of each individual object among the plurality of objects in the telephoto image. Alternatively or additionally, the scaling controller (154) is configured to reduce the local motion trajectory of each individual object according to a reduction ratio, and to deblur at least one corresponding individual object in the non-telephoto image. In some embodiments, the reduction ratio may be referred to as the telephoto factor.

[0081] In one embodiment, the scaling controller (154) is configured to disable optical image stabilization (OIS) on any device associated with the telephoto and non-telephoto sensors before capturing the telephoto and non-telephoto images, and to estimate a motion function in a certain field of view (FOV) of at least one non-telephoto image. Alternatively or additionally, the scaling controller (154) is configured to magnify the motion function by a magnification ratio greater than 1.

[0082] In this embodiment, the correction management controller (156) is configured to apply a scaled motion function to the field of view (FOV) of at least one second image to obtain at least one corrected second image without detected motion characteristics. That is, at least one corrected second image is unaffected by detected motion characteristics. The correction management controller (156) is configured to determine a motion function from an inertial sensor in optical image stabilization (OIS) associated with the first image sensor (140a), adjust the size of the motion function of the first image sensor (140a) according to a determined ratio to obtain a motion function of at least one second image sensor (140b) excluding the OIS mechanism, and apply the scaled motion function to the second sensor image to obtain at least one corrected second sensor image.

[0083] The correction management controller (156) is configured to apply a reduced motion function to the FOV of the non-telephoto image to obtain a corrected non-telephoto image without detected motion characteristics. That is, the corrected non-telephoto image is unaffected by detected motion characteristics. Similarly, the correction management controller (156) is configured to apply an amplified motion function to the FOV of the telephoto image to obtain a corrected telephoto image without detected motion characteristics.

[0084] In another embodiment, the correction management controller (156) is configured to translate the first image sensor (140a) and the second image sensor (140b) together across the scene and identify multiple objects entering and leaving the FOV of the telephoto sensor. The first image sensor (140a) is a telephoto sensor, the second image sensor (140b) is a non-telephoto sensor, the motion characteristic is object boundaries, and the motion function is object segmentation. Alternatively or additionally, the correction management controller (156) is configured to individually detect and segment the multiple objects entering the FOV of the telephoto sensor before the multiple objects leave the FOV of the telephoto sensor in the telephoto image. Alternatively or additionally, the correction management controller (156) is configured to scale down the multiple individually segmented objects seen in the telephoto image according to the telephoto factor of the telephoto sensor relative to the non-telephoto sensor, and to apply each scaled-down segment to the corresponding object in the non-telephoto image even when the multiple objects leave the FOV of the telephoto sensor.

[0085] At least one of the multiple modules / components of the image correction controller (150) can be implemented using an AI model. Functions associated with the AI ​​model can be executed via memory (110) and a processor (120). One or more processors control the processing of input data based on predefined operating rules and / or the AI ​​model stored in non-volatile memory and volatile memory. Predefined operating rules or artificial intelligence models are provided through training or learning.

[0086] In some embodiments, learning can refer to creating predefined operating rules or AI models with desired characteristics by applying a learning process to multiple learning data sets. Learning can be performed within the device itself that performs the AI ​​according to the embodiments, and / or can be implemented via a separate server / system.

[0087] AI models can consist of multiple neural network layers. Each layer has multiple weight values ​​and performs layer operations through the computation of previous layers and the operation of multiple weights. Examples of neural networks include, but are not limited to, convolutional neural networks (CNNs), deep neural networks (DNNs), recurrent neural networks (RNNs), restricted Boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), generative adversarial networks (GANs), and deep Q-networks.

[0088] A learning process is a method for training a predetermined target device (e.g., a robot) using multiple learning data sets to induce, permit, or control the target device to make a determination or prediction. Examples of learning processes include, but are not limited to, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning.

[0089] The display (160) is configured to display a corrected image, after removing motion characteristics from the first and second images, on the screen of the electronic device (100). The display (160) is capable of receiving input and is made of one of the following: liquid crystal display (LCD), light-emitting diode (LED), organic light-emitting diode (OLED), etc.

[0090] although Figure 1 Various hardware components of the electronic device (100) are shown, but it should be understood that other embodiments are not limited thereto. In other embodiments, the electronic device (100) may include fewer or more components. Furthermore, the labels or names of the components are for illustrative purposes only and do not limit the scope of this disclosure. One or more components can be combined together to perform the same or substantially similar function to correct an image by removing motion characteristics from it.

[0091] Figure 2 This is a flowchart (200) illustrating a method for correcting an image by removing motion characteristics from an image according to an embodiment.

[0092] refer to Figure 2 At operation 202, the electronic device (100) simultaneously captures a first image and a second image of the scene. For example, in... Figure 1 In the illustrated electronic device (100), a first image sensor (140a) is configured to capture a first image, and a second image sensor (140b) is configured to simultaneously capture a second image.

[0093] At operation 204, the electronic device (100) determines the motion characteristics in the first image. For example, in... Figure 1 In the illustrated electronic device (100), an image correction controller (150) is configured to determine motion characteristics in a first image.

[0094] At operation 206, the electronic device (100) determines from the first image a motion function that causes the motion characteristics detected in the first image. For example, in... Figure 1 In the electronic device (100) shown, the image correction controller (150) is configured to determine from the first image a motion function that causes the motion characteristics detected in the first image.

[0095] At operation 208, the electronic device (100) scales the motion function from the first image according to the ratio of the first image sensor (140a) to the second image sensor (140b). For example, in... Figure 1 In the illustrated electronic device (100), the image correction controller (150) is configured to scale the motion function from the first image according to the ratio of the first image sensor (140a) to the second image sensor (140b).

[0096] At operation 210, the electronic device (100) applies a scaled motion function to the field of view (FOV) of the second image to obtain a corrected second image without detected motion characteristics. That is, the corrected second image is unaffected by the detected motion characteristics. For example, in... Figure 1 In the illustrated electronic device (100), the image correction controller (150) is configured to apply a scaled motion function to the FOV of the second image to obtain a corrected second image with no detected motion characteristics.

[0097] In some embodiments, this disclosure can be used with a single-lens reflex (SLR) camera by attaching a small 10-30X spotting telephoto camera, but is not limited thereto. Alternatively or additionally, this disclosure can be used, but is not limited to, restricted configurations, such as optical telescopes for image-based capture (e.g., without OIS), where the camera matrix is ​​rotatable so the attached camera does not need to face the direction the main camera is facing. The ability to compute small kernel and grain images and store them as image metadata allows offline post-processing (e.g., deblurring and SR) to be performed at a later stage.

[0098] The various operations, actions, behaviors, blocks, steps, etc. in the flowchart (200) can be executed in the presented order, in different orders, or simultaneously. In addition, in some embodiments, some of the operations, actions, behaviors, blocks, steps, etc., can be omitted, added, modified, or skipped without departing from the scope of this disclosure.

[0099] Figure 3A The reduction of the motion function that causes the detection of motion characteristics in the telephoto image is shown according to an embodiment.

[0100] Figure 3B The estimated kernel is shown in the iteration of a multi-scale spatial method with a true fuzzy kernel according to an embodiment.

[0101] The subsequent steps detail one method (among many known methods) for calculating the blur kernel from a captured blurred image and a pilot-noise-laden but sharp image. (Reference) Figure 3A Considering pilot noise, the duration of the telephoto image N is Δt. N And the duration of the blurred telephoto image B is Δt B The pilot noise telephoto image N is pre-multiplied by a factor (ISOBΔt) in the irradiance or received brightness space. B ) / (ISONΔt N A pre-multiplication method is performed to account for the differences between B and N images. Furthermore, the pre-multiplied pilot noise telephoto image N is denoised using a denoising algorithm (e.g., but not limited to non-local means (NLM)) to provide a good initial estimate N for the unknown unblurred image matrix A in the kernel estimation algorithm.

[0102] The blur kernel of the telephoto image is considered as K. The blur model is rewritten as (b = Ak), where b and k are linearized vectors of B and K, and A is the matrix form of the original deblurred image I. The estimation of kernel K is expressed as a linear least squares problem with Tikhonov regularization, as follows:

[0103] min k ||b-Ak|| 2 +λ 2 ||k|| 2 (Equation 1)

[0104] Make ki>=0 and Σi ki=1 (these come from energy conservation and nonnegativity constraints).

[0105] Furthermore, the known Landweber method is used to solve for a hysteresis threshold in a scale space with a dynamic step size (rather than the constant used in related techniques) (1). In this example, These are used as downsampling factors, where the lower hysteresis threshold and the upper hysteresis threshold are 0.23 and 0.28, respectively. Figure 3B The diagram shows the estimated kernel and the resulting true blur kernel in the iterations of the four-level scale-space method. A smaller portion of the telephoto image can be used to determine the motion kernel to reduce computation time.

[0106] The iterations in scale space converge rapidly to the true blur kernel. The estimated telephoto blur kernel K is scaled down by the telephoto factor to give the main camera blur kernel K'. Alternatively or additionally, the estimation of the deblurred telephoto image A can also be used as a computational byproduct. For example, consider the estimated 48×48 telephoto blur K (e.g., Figure 3A As shown in the diagram, when downsized by a 3× telephoto factor (to 16×16 blur K), the downsized blur provides the main camera blur kernel. The main camera blur kernel may be sharper and closer to the true blur kernel due to the downsizing.

[0107] In another embodiment, a joint estimation of the motion kernel and the OIS sensor of the electronic device (100) is performed. In related art methods and systems, the OIS sensor moves the lenses of the telephoto image sensor (140a) and the non-telephoto image sensor (140b) to correct blur caused by jitter of the electronic device (100). However, in aspects of this disclosure, the electronic device (100) does not use the OIS sensor to move the lenses of the telephoto image sensor (140a) and the non-telephoto image sensor (140b); the OIS sensor is used to measure and / or track lens motion during blur-causing events such as jitter. Alternatively or additionally, before applying the kernel resizing scheme described herein to the main camera image, the electronic device (100) verifies and fuses the motion estimates from the telephoto image sensor (140a) and the non-telephoto image sensor (140b) and the calculated telephoto blur kernel (e.g., joint estimation). Therefore, the accuracy of the motion estimate obtained in any relevant derivative space (e.g., 0, 1, 2, 3) can be increased.

[0108] Figure 4 An example is shown of using a blur kernel associated with a first image sensor (140a) to deblur a second image captured by a second image sensor (140b) according to an embodiment.

[0109] refer to Figure 4 Consider a first image sensor (140a) that is a telephoto sensor and a second sensor (140b) that is a non-telephoto sensor. Furthermore, consider using a blur kernel associated with the telephoto sensor to deblur the image from the non-telephoto sensor. Consider a noisy image N captured using the non-telephoto sensor as a Barbara test image of the relevant technique (operation 402). The method for deblurring the image using a telephoto blur kernel may include the following operations.

[0110] At operation 404, the electronic device (100) normalizes the noisy image N in the irradiance space to account for the difference between B and N.

[0111] At operation 406, the electronic device (100) uses a denoising algorithm to denoise the normalized noisy image N to provide a good initial estimate N' of the unknown unblurred telephoto image matrix A.

[0112] At operation 408, the electronic device (100) performs a kernel estimation algorithm (as per [reference]). Figure 3A and Figure 3B (as described) to obtain the telephoto kernel K (e.g., 48×48).

[0113] The estimated telephoto blur kernel K is reduced by a telephoto factor (e.g., 3X) to give the main camera blur kernel K' (e.g., 16×16).

[0114] At operation 410, the electronic device (100) uses kernel K' to deblur the image captured by the non-telephoto sensor.

[0115] The sharpness and accuracy of the estimated master camera kernel K' can be largely attributed to the optical amplification of the blur by the telephoto sensor (which facilitates the calculation and approximation of the master camera blur kernel K'), and to the downscaling / processing of the estimated telephoto blur kernel K, which transforms the approximate large kernel into a sharp / accurate small kernel for non-telephoto sensors.

[0116] Figure 5 The following description illustrates an example of a comparison of the use of residual components in deconvolution for deblurring non-telephoto sensor images, according to an embodiment.

[0117] refer to Figure 4 The electronic device (100) determines the telephoto ratio (e.g., 3X), reduces the calculated telephoto blur kernel, and morphologically processes the reduced blur kernel to provide the blur kernel K' to the non-telephoto sensor. The blur kernel K', the master blur image B', and the master frequency image N' are used to calculate the blur-free image of the non-telephoto sensor.

[0118] Assuming the fuzzy kernel is spatially invariant, motion fuzziness is modeled as follows:

[0119] B'(x)=(ICONVK')(x)+η(x) (Equation 2)

[0120] Where I is the unblurred master camera image to be estimated from B' and master blur kernel K', x = (x, y), and where η(x) is the independent and identically distributed (iid) noise at each pixel (η(x) can be ignored because η(x) is substantially smaller than the noise in the master frequency image N').

[0121] Methods for deblurring images include:

[0122] 1. Denoise the pilot image N' to generate the pilot image ND.

[0123] 2. Model I is:

[0124] I = N D +Δ.I (Equation 3)

[0125] Instead of directly estimating I, the electronic device (100) estimates the residual image Δ.I, because the residual image includes a small amount (proportional to I), which directly leads to a proportional reduction in the overall deconvolution error. Once Δ.I is estimated, it is possible to express I as N D +Δ.I is used to directly restore I.

[0126] 3. Set Δ.B = BN D con vK' (Equation 4)

[0127] Where Δ.B represents the "residual" blurred image.

[0128] 4. The deconvolution problem is reformulated as {Δ.B=Δ.I conv K'}, which is a modified version of (Equation 4) for deconvolution. The goal is to iteratively estimate Δ.I.

[0129] Deconvolution can be performed using, but is not limited to, Richardson-Lucy (RL), algebraic deconvolution, and basis-pursuit deconvolution. Basis-pursuit deconvolution is used to achieve higher accuracy and faster results because it is formulated in the Fourier domain. Figure 5 The diagram shows a significant improvement compared to deconvolution using residual images.

[0130] Figure 6 An example is shown of a scenario where a telephoto blur kernel of a telephoto image is used to correct a blurred non-telephoto image according to an embodiment.

[0131] refer to Figure 6 Consider using electronic equipment (100) at operation 602 to capture a blurred non-telephoto image of the scene. The non-telephoto image can be, for example, a wide-angle image. The non-telephoto image typically captures a larger FOV than a telephoto image. However, the non-telephoto image is not as sharp as a telephoto image. Electronic equipment (100) also simultaneously captures a telephoto image of the same scene.

[0132] At operation 604, the electronic device (100) determines that the blur is caused by jitter when the electronic device (100) captures an image of the scene, and determines that the jitter is below a jitter threshold that the electronic device (100) can compensate for in the image. When shooting with a non-telephoto camera under very small jitter, a much larger telephoto blur is first calculated to verify the presence of jitter. Small sensor value changes may be inaccurate, where it is possible to accurately calculate the telephoto image trajectory caused by jitter from the blur.

[0133] Furthermore, the electronic device (100) disables on-device OIS associated with the camera unit. At operation 604, the electronic device (100) determines the blur kernel of the telephoto image and the ratio of the telephoto sensor to the non-telephoto image sensor. At operation 606, the electronic device (100) uses the ratio of the telephoto sensor to reduce the blur kernel of the telephoto image. At operation 608, the electronic device (100) applies the reduced blur kernel of the telephoto image to the non-telephoto image for deblurring the non-telephoto image.

[0134] Therefore, unlike the methods and systems of related technologies, the proposed method uses existing cameras with different fields of view in an electronic device (100) to correct the image.

[0135] In another embodiment, operations 602 to 608 are also used to correct telephoto images under very large camera shake, in addition to the role reversal of the two cameras, and a smaller blur kernel estimated from the wide-angle or ultra-wide-angle sensor is amplified according to the telephoto factor to produce a blur estimate of the telephoto sensor. Furthermore, the amplified telephoto factor is used to deblur the telephoto image. In the example, consider a user using a telephoto sensor to take a picture from a moving train or bus. The OIS of the electronic device (100) may not be able to fully compensate for the shake because in these cases the blur is too great to correct. Therefore, the electronic device (100) locks both OISs and captures the telephoto image, and then uses the amplified smaller wide-angle blur to deblur the telephoto image.

[0136] In yet another embodiment, a combination of camera shake and motion of the scene or target object is considered. The electronic device (100) obtains a joint estimate of the blur in the image by fusing sensor output from the OIS with a computed blur kernel (e.g., using AI).

[0137] In another embodiment, intra-frame deblurring can use the same process to remove motion blur caused by the movement of a target or scene. An electronic device (100) can detect the situation and perform operations 602 to 608 to capture an image and deblur it. Furthermore, example sub-situations may include, but are not limited to, global motion captured using a wide-angle camera to capture an image of a moving scene, from a moving car, train, or airplane, or a long-exposure shot of the moon taken from a tripod at night. Additionally, sub-examples may include, but are not limited to, local motion captured using telephoto to track a moving object (such as a car) in the center of a relatively static scene while simultaneously capturing an image using a main wide-angle camera. Here, the telephoto blur kernel can be calculated only for selected moving objects (e.g., segmented within a bounding box by real-time AI), and the kernel is reduced and then transferred to the same moving object within a corresponding transferred bounding box in the main camera image, which is then deblurred. The remaining image outside the segmented object is assumed to be motionless and is not deblurred.

[0138] In another embodiment, inter-frame shooting is performed to obtain an improved image stabilization for the wide-angle image from the telephoto calculation. Electronic device (100) determines optical flow and other parameters from the telephoto image and reapplies them to obtain wide-angle stabilization. While global motion stabilization for the wide-angle only requires a simple global flow resized from the telephoto sensor, local motion is handled according to each requirement. For example, in nighttime shooting scenarios, sensor motion is used by electronic device (100) as an additional measurement of motion because flow calculation will be inaccurate in low light.

[0139] In another embodiment, a second-order derivative unit is performed for Hessian domain computation. Detection of arbitrary continuous and branching lines in cluttered backgrounds (e.g., cables, etc.) is performed. Hessian and Eigen vector computations necessary for line detection in noisy image backgrounds are performed and scaled on the telephoto image using the techniques described herein. Therefore, a clearer and sharper image can be obtained in wide-angle FoV cases.

[0140] Figure 7 An example of a scenario using a telephoto image captured by an electronic device (100) according to an embodiment is shown.

[0141] refer to Figure 7 Consider a scenario where an electronic device (100) captures both a telephoto image (operation 702) and a wide-angle image of a ship at sea. A user might want to segment the ship from the wide-angle image of the scene. However, the wide-angle image has a large field of view (FOV), so the ship can appear much smaller and cannot be clearly captured in the non-telephoto image. Here, this example involves the distance domain (e.g., the zeroth derivative), where the outline of the object is transferred instead of the blurred motion trajectory.

[0142] Therefore, at operation 704, the electronic device (100) segments the ship from the telephoto image of the scene. At operation 706, the electronic device (100) zooms out on the ship segmented from the telephoto image, and at operation 708, the electronic device (100) transfers the segmentation to the ship in the wide-angle image.

[0143] Furthermore, the object segmentation techniques described above can also be extended to obstacle removal in images. For example, a fence blocking an object (such as a tiger). The fence in the image will appear much larger, where the cables are thicker and sharper in the telephoto image (also, using AI, camera parameters, and the distance between lines in the two images, the telephoto lens can focus on the closer cable fence, rather than the farther tiger in the wide-angle focus), making it easier to accurately segment and reduce the cables for removal in the wide-angle image. However, the wide-angle image will make the cables appear very thin, making it difficult to remove them without affecting the tiger in the image. Similar techniques can be applied to remove other types of obstacles in images, including reflections.

[0144] Therefore, this disclosure allows an electronic device (100) to easily segment obstacles in an image using a telephoto image, scale it, and then transfer the scaled image to a wide-angle image. Furthermore, this disclosure provides greater accuracy in removing obstacles from an image compared to conventional techniques.

[0145] Figure 8A and Figure 8B An example is shown of a scenario where object segmentation using a telephoto image is used as an object enters and leaves an image frame, according to an embodiment.

[0146] refer to Figure 8A Consider the following scenario where an electronic device (100) is translated to capture multiple frames in a specific event sequence, such as multiple dolphins jumping out of the sea. Consider the motion characteristic as object boundaries and the motion function as object segmentation. From operations 801a to 805a, the electronic device (100) identifies multiple dolphins jumping out of the sea entering and leaving the field of view (FOV) of the telephoto sensor. Furthermore, the electronic device (100) detects each of the multiple dolphins individually in each image frame. The electronic device (100) then segments each of the multiple dolphins entering the FOV of the telephoto sensor but before each of the multiple dolphins leaving the FOV of the telephoto sensor in each telephoto image frame. Furthermore, the electronic device (100) determines the telephoto factor of the telephoto sensor relative to the non-telephoto sensor and scales down each segmented dolphin in each telephoto image frame according to the telephoto factor of the telephoto sensor. The electronic device (100) then applies each scaled-down segmented dolphin from the telephoto image to the corresponding dolphin in the non-telephoto image, as shown in operations 801b to 805b.

[0147] Therefore, unlike related technical methods and systems, this disclosure is also applicable to objects of FOV segmentation of telephoto images entering and leaving electronic devices (100) and subsequently used to correct and enhance the quality of corresponding non-telephoto images.

[0148] The foregoing description of the specific embodiments so fully reveals the general nature of the embodiments herein that others can readily modify and / or adapt these specific embodiments to various applications by applying present knowledge without departing from the general conception. Therefore, such adaptations and modifications should and are intended to be understood within the meaning and scope of equivalents of the disclosed embodiments. It should be understood that the wording or terminology used herein is for descriptive purposes and not for limitation. Thus, although embodiments herein have been described with reference to exemplary embodiments, those skilled in the art will recognize that the embodiments herein can be practiced with modifications within the scope of the embodiments herein.

Claims

1. A method for correcting an image using an electronic device, the method comprising: The electronic device simultaneously captures at least one first image of a scene using a first image sensor among a plurality of image sensors and at least one second image of the scene using a second image sensor among the plurality of image sensors, wherein a first field of view (FOV) of the first image sensor is different from a second FOV of the second image sensor, wherein simultaneously capturing the at least one first image and the at least one second image includes the electronic device preventing on-device optical image stabilization (OIS) associated with the first image sensor and the second image sensor during the simultaneous capture of the at least one first image and the at least one second image; The electronic device identifies motion characteristics in the at least one first image; The motion function is determined by the electronic device based on the at least one first image and one of the processes in which the at least one first image is captured, which causes motion characteristics in the at least one first image; The electronic device scales the motion function from the at least one first image according to the ratio of the first image sensor to the second image sensor; and The electronic device applies the scaling motion function to the second FOV of the at least one second image to obtain at least one corrected second image that does not have the motion characteristics.

2. The method according to claim 1, wherein, The first image sensor is a telephoto sensor. The second image sensor is a non-telephoto sensor. The first field of view (FOV) of the telephoto sensor is smaller than the second field of view (FOV) of the non-telephoto sensor. The at least one first image includes at least one telephoto image. The at least one second image includes at least one non-telephoto image. and The scaling motion function includes: The electronic device determines, based on the magnitude of the motion characteristics in the at least one telephoto image, that the motion characteristics in the at least one non-telephoto image are less than a motion threshold. The electronic device determines that a first ratio of the telephoto sensor relative to the non-telephoto sensor is a reduction ratio, where the first ratio is the ratio of the first field of view (FOV) of the telephoto sensor to the second field of view (FOV) of the non-telephoto sensor, and the reduction ratio corresponding to the first ratio has a value less than 1; and The electronic device reduces the motion function of the at least one telephoto image according to the first ratio based on determining that the first ratio is the reduction ratio.

3. The method according to claim 1, wherein, The first image sensor is a non-telephoto sensor. The second image sensor is a telephoto sensor. The first FOV of the non-telephoto sensor is greater than the second FOV of the telephoto sensor. The at least one first image includes at least one non-telephoto image. The at least one second image includes at least one telephoto image. and The scaling motion function includes: The electronic device determines, based on the magnitude of the motion characteristics in the at least one non-telephoto image, that the motion characteristics in the at least one telephoto image are greater than or equal to a motion threshold. Estimating motion functions in a specific field of view (FOV) of at least one non-telephoto image using electronic devices; The electronic device determines that a first ratio of the non-telephoto sensor to the telephoto sensor is a magnification ratio, whereby the first ratio is the ratio of the first field of view (FOV) of the non-telephoto sensor to the second field of view (FOV) of the telephoto sensor, and the magnification ratio corresponding to the first ratio has a value greater than 1; and The electronic device amplifies the motion function of the at least one non-telephoto image according to the first ratio, based on the determination that the first ratio is the magnification ratio.

4. The method according to claim 1, wherein, Applying the scaled motion function to the second FOV of the at least one second image includes: The electronic device determines the true angular motion function of the electronic device from the inertial mechanism of the first optical image stabilization (OIS) device associated with the first image sensor; The electronic device determines the true motion function of the second image sensor based on the true angular motion function, wherein the second image sensor does not include a second OIS device; and The determined real motion function is applied by the electronic device to the at least one second image to obtain the at least one corrected second image.

5. The method according to claim 2, wherein, The motion characteristic is the motion between two consecutive video frames. The motion function is dense optical flow, and Applying the scaled motion function to the second FOV of the at least one second image includes stabilizing the portion of the second FOV of the at least one non-telephoto image that is common to the first FOV of the at least one telephoto image by applying a reduced dense optical flow to the at least one non-telephoto image.

6. The method according to claim 2, wherein, The motion characteristic is the object boundary. The motion function is object segmentation, and Applying the scaling motion function to the second FOV of the at least one second image includes applying the scaled-down object segmentation from the at least one telephoto image to the at least one non-telephoto image to enhance pixel-level segmentation of corresponding small objects in the at least one non-telephoto image.

7. The method according to claim 2, wherein, The motion characteristic is the bending and branching of objects in at least one telephoto image. The motion function is a second-order or higher derivative, and Applying the scaled motion function to the second FOV of the at least one second image includes applying a scaled second or higher derivative to the at least one non-telephoto image to calculate the segmentation of corresponding objects in the at least one non-telephoto image that correspond to objects in the at least one telephoto image.

8. The method according to claim 1, wherein, Simultaneous capture of the at least one first image and the at least one second image includes: The electronic device simultaneously activates its first and second image sensors for a specific duration; and The electronic device simultaneously uses the first image sensor to capture at least one first image of the scene and uses the second image sensor to capture at least one second image of the scene during the specific duration.

9. An electronic device for correcting images, the electronic device comprising: Multiple image sensors; The processor is configured as follows: Controlling a first image sensor and a second image sensor among the plurality of image sensors to simultaneously use the first image sensor to capture at least one first image of a scene and use the second image sensor to capture at least one second image of the scene, wherein the first field of view (FOV) of the first image sensor is different from the second FOV of the second image sensor; and The image correction controller is configured as follows: Preventing on-device optical image stabilization (OIS) associated with the first image sensor and the second image sensor during the simultaneous capture of the at least one first image and the at least one second image; Identify motion characteristics in at least one first image; The motion function is determined based on the at least one first image and one of the capture processes of the at least one first image that cause motion characteristics in the at least one first image; The motion function from the at least one first image is scaled according to the ratio of the first image sensor to the second image sensor; and The scaling motion function is applied to the second FOV of the at least one second image to obtain at least one corrected second image without the motion characteristics.

10. The electronic device according to claim 9, wherein, The first image sensor is a telephoto sensor; The second image sensor is a non-telephoto sensor; The first FOV of the telephoto sensor is smaller than the second FOV of the non-telephoto sensor; The at least one first image includes at least one telephoto image; The at least one second image includes at least one non-telephoto image; and The image correction controller is also configured to: Based on the magnitude of the motion characteristics in the at least one telephoto image, it is determined that the motion characteristics in the at least one non-telephoto image are less than a motion threshold; A first ratio of the telephoto sensor to the non-telephoto sensor is determined as a reduction ratio. The first ratio is the ratio of the first field of view (FOV) of the telephoto sensor to the second field of view (FOV) of the non-telephoto sensor, and the reduction ratio corresponding to the first ratio has a value less than 1. as well as Based on the determination that the first ratio is the reduction ratio, the motion function of the at least one telephoto image is reduced according to the first ratio.

11. The electronic device according to claim 10, wherein, The motion characteristic is image motion blur originating from at least one of the common jitter of the electronic device, common local motion in the scene, and common global motion in the scene, wherein the motion function is an image motion trajectory.

12. The electronic device according to claim 9, wherein, The first image sensor is a non-telephoto sensor. The second image sensor is a telephoto sensor. The first FOV of the non-telephoto sensor is greater than the second FOV of the telephoto sensor. The at least one first image includes at least one non-telephoto image. The at least one second image includes at least one telephoto image, and The image correction controller is also configured to: The motion characteristic of the at least one telephoto image is determined to be greater than or equal to a motion threshold based on the magnitude of the motion characteristic in the at least one non-telephoto image; Estimate the motion function in a specific field of view (FOV) of the at least one non-telephoto image; The first ratio of the non-telephoto sensor to the telephoto sensor is determined to be the magnification ratio. The first ratio is the ratio of the first FOV of the non-telephoto sensor to the second FOV of the telephoto sensor, and the magnification ratio corresponding to the first ratio has a value greater than 1. as well as Based on the determination that the first ratio is the magnification ratio, the motion function of the at least one non-telephoto image is magnified according to the first ratio.

13. The electronic device according to claim 9, wherein, The image correction controller is also configured to: The true angular motion function of the electronic device is determined based on the inertial mechanism in the first optical image stabilization (OIS) device associated with the first image sensor; The true motion function of the second image sensor is determined based on the true angular motion function, wherein the second image sensor does not include a second OIS device; as well as The determined true motion function is applied to the at least one second image to obtain the at least one corrected second image.

14. The electronic device according to claim 9, wherein, The plurality of image sensors are also configured to: Simultaneously activate the first and second image sensors of the electronic device for a specific duration; as well as During the specified duration, the first image sensor is used simultaneously to capture at least one first image of the scene and the second image sensor is used to capture at least one second image of the scene.

15. A computer-readable storage medium having a computer program stored thereon, the computer program performing the method according to any one of claims 1 to 8 when executed by a processor.

Citation Information

Patent Citations

  • Imaging device, imaging method, program, and non-transitory recording medium

    US20190082109A1