EP-4742692-A2 - ELECTRONIC DEVICE FOR STABILIZING IMAGE AND METHOD FOR OPERATING SAME
Abstract
An electronic device comprises: a first camera having a first angle of view; a second camera having a second angle of view wider than the first angle of view; a motion sensor configured to obtain motion information of the electronic device; a display; a memory storing at least one instruction; and a processor executing the at least one instruction stored in the memory, wherein the processor, cause the electronic device to: display a live-preview by performing, based on the motion information and a first marginal area having a first size, a first digital image stabilization with respect to images obtained via the first camera, while displaying the live-preview by performing the first digital image stabilization, display a first graphical object indicative of a first degree of motion stabilization corresponding to the first digital image stabilization, in response to a user input for changing from the first digital image stabilization to the second digital image stabilization, display a live-preview by performing, based on the motion information and a second marginal area having a second size larger than the first size, the second digital image stabilization with respect to images obtained via the second camera, and while displaying the live-preview by performing the second digital image stabilization, display a second graphical object indicative of a second degree of motion stabilization corresponding to the second digital image stabilization
Inventors
- SONG, WONSEOK
- LEE, BOHEE
- LEE, SEHYUN
- JO, Junghwan
- HA, YONGHYUN
Assignees
- Samsung Electronics Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20200219
Claims (15)
- An electronic device comprising: a camera; a sensor configured to detect movement information of the camera or the electronic device; at least one processor; and memory storing instructions which, when collectively or individually executed by the at least one processor, cause the electronic device to: enter a video capturing mode to capture a video; obtain, using the camera, a plurality of image frames while in the video capturing mode; obtain, using the sensor, the movement information while one or more images of the plurality of image frames are obtained; obtain illuminance information of an external environment with respect to the electronic device while the plurality of image frames are obtained; based at least in part on the illuminance information corresponding to a first specified illuminance range, perform the video digital image stabilization with respect to at least one image frame of the plurality of image frames by compensating a movement of the electronic device by a first proportion; and based at least in part on the illuminance information corresponding to a second specified illuminance range at least partially lower and different from the first specified illumination range, perform the video digital image stabilization with respect to the at least one image frame by compensating the movement by a second proportion smaller than the first proportion.
- The electronic device of claim 1, wherein the instructions, when collectively or individually executed by the at least one processor, cause the electronic device to: perform the video digital image stabilization further based on a movement level associated with the movement such that the movement is compensated by the first proportion when the movement corresponds to a first movement level.
- The electronic device of claim 2, wherein the instructions, when collectively or individually executed by the at least one processor, cause the electronic device to: perform the video digital image stabilization further based on the movement level associated with the movement such that the movement is compensated by the second proportion when the movement corresponds to a second movement level higher than the first movement level.
- The electronic device of claim 3, wherein the instructions, when collectively or individually executed by the at least one processor, cause the electronic device to: perform the obtaining of the plurality of image frames using different shutter speeds for the camera such that a first shutter speed and a second shutter speed different from the first shutter speed are set for the camera based at least in part on the movement level corresponding to the first movement level and the second movement level, respectively.
- The electronic device of claim 4, wherein the instructions, when collectively or individually executed by the at least one processor, cause the electronic device to: set, as the first shutter speed and the second shutter speed, the camera into a first shutter speed frequency and a second shutter speed frequency higher than a first frequency, respectively.
- The electronic device of claim 1, wherein the instructions, when collectively or individually executed by the at least one processor, cause the electronic device to: display a graphical object such that at least one characteristic of the graphical object is displayed as changed to indicate a corresponding one of a first degree and a second degree of the video digital image stabilization.
- A method for operating an electronic device, the method comprising: entering a video capturing mode to capture a video; obtaining a plurality of image frames while in the video capturing mode; obtaining a movement information while one or more images of the plurality of image frames are obtained; obtaining illuminance information of an external environment with respect to the electronic device while the plurality of image frames are obtained; based at least in part on the illuminance information corresponding to a first specified illuminance range, performing the video digital image stabilization with respect to at least one image frame of the plurality of image frames by compensating a movement of the electronic device by a first proportion; and based at least in part on the illuminance information corresponding to a second specified illuminance range at least partially lower and different from the first specified illumination range, performing the video digital image stabilization with respect to the at least one image frame by compensating the movement by a second proportion smaller than the first proportion.
- The method of claim 7, further comprising: performing the video digital image stabilization further based on a movement level associated with the movement such that the movement is compensated by the first proportion when the movement corresponds to a first movement level.
- The method of claim 8, further comprising: performing the video digital image stabilization further based on the movement level associated with the movement such that the movement is compensated by the second proportion when the movement corresponds to a second movement level higher than the first movement level.
- The method of claim 9, further comprising: performing the obtaining of the plurality of image frames using different shutter speeds for a camera such that a first shutter speed and a second shutter speed different from the first shutter speed are set for the camera based at least in part on the movement level corresponding to the first movement level and the second movement level, respectively.
- The method of claim 10, further comprising: setting as the first shutter speed and the second shutter speed, the camera into a first shutter speed frequency and a second shutter speed frequency higher than a first frequency, respectively.
- The method of claim 7, further comprising: displaying a graphical object such that at least one characteristic of the graphical object is displayed as changed to indicate a corresponding one of a first degree and a second degree of the video digital image stabilization.
- A non-transitory computer readable medium comprising instructions, which, when executed by an electronic device, cause the electronic device to perform operations comprising: entering a video capturing mode to capture a video; obtaining a plurality of image frames while in the video capturing mode; obtaining a movement information while one or more images of the plurality of image frames are obtained; obtaining illuminance information of an external environment with respect to the electronic device while the plurality of image frames are obtained; based at least in part on the illuminance information corresponding to a first specified illuminance range, performing the video digital image stabilization with respect to at least one image frame of the plurality of image frames by compensating a movement of the electronic device by a first proportion; and based at least in part on the illuminance information corresponding to a second specified illuminance range at least partially lower and different from the first specified illumination range, performing the video digital image stabilization with respect to the at least one image frame by compensating the movement by a second proportion smaller than the first proportion.
- The non-transitory computer readable medium of claim 13, wherein the instructions further cause the electronic device to perform operations comprising: performing the video digital image stabilization further based on a movement level associated with the movement such that the movement is compensated by the first proportion when the movement corresponds to a first movement level.
- The non-transitory computer readable medium of claim 14, wherein the instructions further cause the electronic device to perform operations comprising: performing the video digital image stabilization further based on the movement level associated with the movement such that the movement is compensated by the second proportion when the movement corresponds to a second movement level higher than the first movement level.
Description
Technical Field The disclosure relates generally to an electronic device for providing an image capture function and, more particularly to an electronic device for stabilizing an image using a hand-shaking prevention technique and a method for operating the same. Background Art With the development of information communication and semiconductor technologies, various types of electronic devices have been developed into multimedia devices that provide various multimedia services. For example, electronic devices provide various multimedia services such as a messenger service, a broadcast service, a wireless internet service, a camera service, and a music playback service. Electronic devices include high pixel camera modules, and thus can take still images and moving images and can provide distinctive pictures to which various photographic effects are applied. Recently, a hand-shaking correction function has been provided to prevent a problem related to an afterimage occurring on a captured image due to a user's hand shaking or an unintentional motion in the case where a user takes a photograph using an electronic device. Video digital image stabilization or digital image stabilization may be used as a hand-shaking correction scheme. In general, such a video digital image stabilization scheme may correct shaking of a plurality of images (or image frames) based on the motion of an input image (e.g., motion of a subject or a background) and the motion of an electronic device. For example, the electronic device may correct shaking of the image by digital image stabilization which determines a part of an input image (e.g., 90% of a region of an input image) as an output region based on a margin region (e.g., a correction range) and moves an output region within the input image in a direction opposite the motion of the electronic device. In addition, the performance of a stabilization scheme may be determined by the size ratio of an output image to an input image. The size ratio may be the size of a margin region obtained by subtracting the output image from the input image. For example, the wider the margin region, the wider the motion range of the output region, which means that correction for a large motion is possible. However, the size of an image that can be obtained by an electronic device requiring consideration of the portability is limited. For this reason, the digital image stabilization scheme of an electronic device may be suitable for correction for a small motion but may cause a problem of outputting an unnatural image if the correction is performed on a large motion Disclosure of Invention Solution to Problem The present disclosure has been made to address the above-mentioned problems and disadvantages, and to provide at least the advantages described below. The present invention is directed to subject matter as defined in the claims. In accordance with an aspect of the disclosure, an electronic device is provided that includes a camera; a motion sensor; a memory; and at least one processor. The at least one processor may be configured to acquire motion information of the electronic device from the motion sensor according to executing an image acquisition mode; determine an image stabilization scheme, based on at least one part of the motion information; and perform a stabilization operation on at least one image acquired through the camera based on the determined image stabilization scheme. The image stabilization scheme may include a first stabilization scheme for correcting shaking of the at least one image based on a first margin region and a second stabilization scheme for correcting shaking of the at least one image based on a second margin region larger than the first margin region. In accordance with another aspect of the disclosure, an electronic device is provided that includes a camera; a display; a memory; and at least one processor. The at least one processor may be configured to output a user interface to select one of a first stabilization scheme or a second stabilization scheme, according to executing an image acquisition mode; select one of the first stabilization scheme or the second stabilization scheme based on an input; and perform a stabilization operation on at least one image acquired through the camera, based on the selected image stabilization scheme. In accordance with another aspect of the disclosure, a method for operating an electronic device includes acquiring motion information of the electronic device according to executing an image acquisition mode; determining an image stabilization scheme based on at least a part of the motion information; and performing a stabilization operation on at least one image acquired through the camera, based on the determined image stabilization scheme. The image stabilization scheme may include a first stabilization scheme for correcting shaking of the at least one image based on a first margin region; and a second stabilization scheme