EP-4742689-A1 - METHOD FOR CAPTURING IMAGE INCLUDING DYNAMIC SCENE, AND ELECTRONIC DEVICE THEREFOR
Abstract
An electronic device according to one embodiment of the present disclosure may comprise: one or more cameras; a display; at least one processor; and a memory for storing instructions. When executed by the at least one processor, the instructions enable the electronic device to: analyze the movement of the electronic device or an object in a preview image while displaying, on the display, the preview image acquired from the one or more cameras; calculate movement information related to the preview image on the basis of the analysis; set at least one capturing parameter on the basis of the calculated movement information in response to the reception of a user input for image capturing; and acquire an image captured on the basis of the set capturing parameter. Other various embodiments identified through the present document are possible.
Inventors
- LIM, Kwangyong
Assignees
- Samsung Electronics Co., Ltd.
Dates
- Publication Date
- 20260513
- Application Date
- 20240716
Claims (15)
- An electronic device (200) comprising: one or more cameras (210); a display (220); at least one processor (240); and a memory (250) configured to store instructions, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: while a preview image acquired from the one or more cameras (210) is displayed on the display (220), analyze movement of the electronic device (200) or an object within the preview image; based on the analysis, calculate movement information related to the preview image; in response to receiving a user input for image capture, configure at least one image capture parameter, based on the calculated movement information; and acquire an image captured based on the configured image capture parameter.
- The electronic device of claim 1, further comprising one or more sensors (230) configured to detect movement of the electronic device, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: while the preview image is displayed on the display (220), determine whether movement of the electronic device occurs, based on data acquired from the one or more sensors (230); and in case that it is determined that movement of the electronic device occurs, determine the movement information related to the preview image, based on the data acquired from the one or more sensors (230).
- The electronic device of claim 2, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: in case that it is determined that no movement of the electronic device occurs, estimate pixel movement for an entire area of the preview image; identify one or more objects from the preview image; and determine the movement information related to the preview image, based on the estimated pixel movement and the identified one or more objects.
- The electronic device of claim 3, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: extract optical flow in the entire area within the preview image; and estimate the pixel movement, based on the extracted optical flow.
- The electronic device of claim 3, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to, in case that no object is identified from the preview image, determine the movement information related to the preview image, based on the estimated pixel movement.
- The electronic device of claim 3, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: distinguish between a background area and a foreground area in the preview image; and identify the one or more objects, based on the foreground area within the preview image.
- The electronic device of claim 6, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: determine a weight according to the area of each of one or more foreground areas included in the preview image; and based on the determined weight, combine an object included in each of the one or more foreground areas and the estimated pixel movement to determine the movement information related to the preview image.
- The electronic device of claim 1, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to: upon receiving the preview image, identify whether the preview image is a first frame acquired from the one or more cameras after a camera application is executed; in case that the preview image is identified as the first frame, generate a background model, based on a probability distribution of pixels included in the preview image; and extract a foreground area of the preview image, based on the generated background model.
- The electronic device of claim 8, wherein the instructions, when executed by the at least one processor (240), cause the electronic device (200) to, in case that the preview image is identified as not being the first frame, update the background model, based on the preview image.
- The electronic device of claim 1, wherein the image capture parameter comprises at least one of an international organization for standardization (ISO) film speed or a shutter speed of the one or more cameras (210).
- A method comprising: while displaying a preview image acquired from one or more cameras (210), analyzing movement of an electronic device (200) or an object within the preview image; based on the analysis, calculating movement information related to the preview image; in response to receiving a user input for image capture, configuring at least one image capture parameter, based on the calculated movement information; and acquiring an image captured based on the configured image capture parameter.
- The method of claim 11, wherein the analyzing of the movement of the electronic device or the object within the preview image comprises: while the preview image is displayed on the display, determining whether movement of the electronic device occurs, based on data acquired from one or more sensors; and in case that it is determined that movement of the electronic device occurs, determining the movement information related to the preview image, based on the data acquired from the one or more sensors.
- The method of claim 12, wherein the analyzing of the movement of the electronic device or the object within the preview image comprises: in case that it is determined that no movement of the electronic device occurs, estimating pixel movement for an entire area of the preview image; identifying one or more objects from the preview image; and determining the movement information related to the preview image, based on the estimated pixel movement and the identified one or more objects.
- The method of claim 13, wherein the estimating of the pixel movement for the entire area of the preview image comprises: extracting optical flow in the entire area within the preview image; and estimating the pixel movement, based on the extracted optical flow.
- The method of claim 11, further comprising: upon receiving the preview image, identifying whether the preview image is a first frame acquired from the one or more cameras after a camera application is executed; in case that the preview image is identified as the first frame, generating a background model, based on a probability distribution of pixels included in the preview image, and extracting a foreground area of the preview image, based on the generated background model; and in case that the preview image is identified as not being the first frame, updating the background model, based on the preview image.
Description
[Technical Field] The disclosure relates to a method for capturing an image including a dynamic scene, and an electronic device therefor. [Background Art] As carrying portable electronic devices has become commonplace in daily life, the use of cameras of portable electronic devices has significantly increased, and image capture using portable electronic devices is now recognized as an indispensable function to the extent that camera functionality has become a key criterion for selecting a portable electronic device. Recently, as camera functions implemented in portable electronic devices have become more advanced, various technologies have been applied to capture clear images in various capturing environments. For example, in order to acquire an optimal image according to a situation in which a user captures a subject, an automatic capturing mode may be provided that automatically adjusts image capture parameters such as international organization for standardization (ISO) film speed, shutter speed, exposure time, white balance, or focus. The foregoing information may be provided as related art for the purpose of facilitating an understanding of the disclosure. No assertion or determination is made as to whether any of the foregoing content may be applied as prior art related to the present disclosure. [Disclosure of Invention] [Technical Solution] According to an embodiment of the disclosure, an electronic device may include one or more cameras, a display, at least one processor, and memory storing instructions. The instructions, when executed by the at least one processor, may cause the electronic device to, while a preview image acquired from the one or more cameras is displayed on the display, analyze movement of the electronic device or an object within a preview image. The instructions, when executed by the at least one processor, may cause the electronic device to calculate movement information related to the preview image based on the analysis. The instructions, when executed by the at least one processor, may cause the electronic device to, in response to receiving a user input for image capture, configure at least one image capture parameter based on the calculated movement information. The instructions, when executed by the at least one processor, may cause the electronic device to acquire an image acquired based on the configured image capture parameter. According to an embodiment of the disclosure, a method may include, while displaying a preview image acquired from one or more cameras, analyzing movement of the electronic device or an object within a preview image. The method may include calculating movement information related to the preview image based on the analysis. The method may include, in response to receiving a user input for image capture, configuring at least one image capture parameter based on the calculated movement information. The method may include acquiring a captured image based on the configured image capture parameter. [Brief Description of Drawings] FIG. 1 is a block diagram of an electronic device in a network environment according to an embodiment.FIG. 2 illustrates a configuration of an electronic device according to an embodiment.FIG. 3 illustrates a detailed configuration of an electronic device according to an embodiment.FIG. 4 illustrates a method of capturing an image including a dynamic scene in an electronic device according to an embodiment.FIG. 5 is a flowchart illustrating a method of operating an electronic device according to an embodiment.FIG. 6 illustrates a method of analyzing movement during display of a preview screen in an electronic device according to an embodiment.FIG. 7 is a diagram illustrating a method of configuring an image capture parameter and acquiring an image in an electronic device according to an embodiment.FIG. 8 is a flowchart illustrating operations performed by a third application according to an embodiment.FIG. 9 is a flowchart illustrating operations performed by a first application according to an embodiment.FIG. 10 is a flowchart illustrating operations performed by a second application according to an embodiment. In describing the drawings, the same or similar components may be denoted by the same or similar reference numerals. [Mode for the Invention] Various embodiments disclosed in the document are described with reference to the accompanying drawings. This is not intended to limit the various embodiments of the disclosure to specific forms, and should be understood to include various modifications, equivalents, and/or alternatives of the disclosure. Among photo capturing modes of a camera, an automatic capturing mode may calculate image capture parameters (e.g., ISO film speed, shutter speed, exposure time, or white balance) to be configured in the camera based on surrounding environment data collected from a sensor, in order to capture an image with optimal image quality in general situations, and may perform image captur