WO2022244970A1 - 전자 장치의 촬영 방법 및 그 전자 장치 - Google Patents

전자 장치의 촬영 방법 및 그 전자 장치 Download PDF

Info

Publication number
WO2022244970A1
WO2022244970A1 PCT/KR2022/004499 KR2022004499W WO2022244970A1 WO 2022244970 A1 WO2022244970 A1 WO 2022244970A1 KR 2022004499 W KR2022004499 W KR 2022004499W WO 2022244970 A1 WO2022244970 A1 WO 2022244970A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
shadow
camera
brightness
processor
Prior art date
Application number
PCT/KR2022/004499
Other languages
English (en)
French (fr)
Inventor
이보희
김성오
김하정
박지윤
안병호
전재희
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US17/939,095 priority Critical patent/US20230007160A1/en
Publication of WO2022244970A1 publication Critical patent/WO2022244970A1/ko

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/63Control of cameras or camera modules by using electronic viewfinders
    • H04N23/631Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
    • H04N23/632Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30244Camera pose

Definitions

  • Various embodiments according to the present disclosure relate to digital photography, and more particularly, to a technique for reducing shadows generated by an electronic device or a user by controlling the brightness of a flash of an electronic device.
  • a camera module mounted on an electronic device such as a portable terminal has a built-in flash for providing an amount of light required for night photography.
  • a photographing state is determined according to the luminance state of the surrounding environment.
  • light is often emitted using a flash to appropriately capture a subject in a picture because ambient luminance is very low.
  • the light produced by the flash is large in intensity and can be similar to or equal to the sun's rays in terms of color temperature.
  • a flash generates flashes of light for a short period of time to improve ambient luminance and take a picture with an appropriate level of exposure.
  • a shadow caused by the terminal itself may be formed on a photographed subject.
  • a shadow is formed on a subject, it is difficult to obtain the result desired by the user. For example, it may be difficult to recognize a subject, and it may be difficult to read alphanumeric characters included therein.
  • the user adjusts the terminal to a position where no shadow occurs.
  • the angle or position at which the picture is taken is changed, which makes it difficult for the user to obtain desired results.
  • the flash function of the camera is executed, the brightness of the flash is always constant regardless of the situation, and thus the quality of the resulting photo is unpredictable to the user.
  • An electronic device includes at least one camera, a distance sensor, an illuminance sensor, a display, a light emitting module generating a flash, and the at least one camera, the distance sensor, the illuminance sensor, the display, and the light emitting module.
  • a brightness value of the flash may be configured to remove the shadow or reduce the shadow by the operation of the flash.
  • An operating method of an electronic device includes an operation of displaying an image acquired by driving at least one camera as a preview image on a display, and including the image in the preview image through a distance sensor or the at least one camera. Obtaining a distance between at least one object and the electronic device, acquiring brightness of a light source around the electronic device through an illuminance sensor, based on the acquired distance and the brightness, by the light source. An operation of detecting whether a shadow of the electronic device occurs within the angle of view of the at least one camera, and a flash for removing or reducing the shadow in response to detecting that a shadow of the electronic device has occurred. It may include an operation to configure the brightness value.
  • a recording medium storing instructions readable by at least one processor of an electronic device
  • the at least one processor controls the at least one camera Displays an image obtained by driving as a preview image on the display, obtains a distance between at least one object included in the preview image and the electronic device through the distance sensor or the at least one camera, , Obtain brightness of a light source around the electronic device through the illuminance sensor, and based on the acquired distance and brightness, whether a shadow of the electronic device is generated within the angle of view of the at least one camera by the light source.
  • the brightness value of the flash may be configured to remove the shadow or reduce the shadow.
  • An electronic device and method may reduce or remove a shadow by analyzing a preview image and adjusting flash brightness while maintaining a predictable quality of a captured image.
  • FIG. 1 is a diagram illustrating an image of a subject captured by an electronic device according to flash brightness in an electronic device according to various embodiments of the present disclosure.
  • FIG. 2 is a block diagram illustrating components of an electronic device according to an exemplary embodiment.
  • 3A is a flowchart illustrating an operation of determining flash brightness based on distance information to a subject and brightness information around the electronic device in an electronic device according to an exemplary embodiment.
  • 3B is a flowchart illustrating determining brightness of a flash based on a parameter calculated by an electronic device according to an exemplary embodiment.
  • 4A and 4B are diagrams illustrating whether a shadow is generated or not depending on a distance from a subject when photographing a subject in an electronic device according to various embodiments of the present disclosure.
  • 5A to 5D are diagrams illustrating that the intensity of a shadow varies according to brightness around the electronic device according to various embodiments of the present disclosure.
  • 6A is a diagram illustrating a case where there is a direct light source in an electronic device according to an embodiment.
  • 6B is a diagram illustrating a case in which an indirect light source is present in an electronic device according to an embodiment.
  • FIG. 7 is a diagram illustrating identification of a center position of a light source in an electronic device according to an embodiment.
  • FIGS. 8A to 8C are diagrams illustrating shadow intensity according to positions and numbers of light sources in an electronic device according to various embodiments of the present disclosure.
  • FIG. 9 is a diagram illustrating flash intensity according to a flash brightness value determined by an electronic device according to an exemplary embodiment.
  • FIG. 10 is a block diagram of an electronic device in a network environment according to an embodiment.
  • FIG. 11 is a block diagram illustrating a camera module according to one embodiment.
  • FIG. 1 is a diagram illustrating an image according to flash brightness when photographing a subject in an electronic device according to various embodiments.
  • an electronic device may display an image acquired through a camera operation as a preview image on a display.
  • the electronic device may display a preview image obtained by driving a rear camera on a display or display a preview image acquired by driving a front camera on a display.
  • the preview image may be displayed by the electronic device.
  • Some electronic devices may have multiple cameras, and either front-facing or rear-facing cameras may be utilized.
  • the electronic device may photograph at least one object appearing in the preview image.
  • a flash may be used to provide lighting for photographing.
  • the flash may operate at a first flash brightness to obtain the first image 101 .
  • the shadow 102 of the electronic device may be captured in the first image 101 in which the flash is activated with the flash brightness value of the first brightness. Shadows may be caused by light sources (eg, lights) placed in the external environment around the electronic device.
  • an electronic device may display a preview image acquired by driving a front camera or a rear camera on a display.
  • the electronic device may execute a camera application from memory and display a preview image displaying an image acquired through a front face or a camera on a display.
  • the electronic device may obtain distance information between at least one object appearing in the preview image and the electronic device by using a distance sensor.
  • a distance sensor when the electronic device displays an image acquired through a rear camera as a preview image on a display, for example, a distance between at least one object included in the preview image using the rear camera and the electronic device. can be detected.
  • the electronic device when displaying an image obtained through a front camera as a preview image on a display, the electronic device may detect a distance between at least one object included in the preview image and the electronic device using the front camera. have.
  • the electronic device may obtain brightness information on a light source in an external environment around the electronic device by using an illuminance sensor.
  • the electronic device may configure the brightness of the flash as a second brightness value based on the acquired distance information and the acquired brightness information.
  • the electronic device may acquire the second image 103 by photographing at least one object included in the preview image at a second brightness value while the flash is operating.
  • a shadow of the electronic device eg, caused by an environmental light source such as lighting
  • the difference in illuminance between the area of the shadow 102 of the electronic device shown in the first image 101 and other areas may be small so that the shadow is not prominent in the second image 103 .
  • Configuring the brightness of the flash to a certain brightness value may mean determining a control value for controlling the light emitting module to generate a flash related to the brightness value.
  • the electronic device may generate a flash by controlling the light emitting module based on the determined control value.
  • FIG. 2 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 100 includes a processor 210, a front camera 215, a rear camera 220, a sensor 230, a display 240, a light emitting module 250, and a memory 260.
  • the electronic device 100 may include additional components other than those shown in FIG. 2 or may omit at least one of the components shown in FIG. 2 .
  • the processor 210 may control one or more other components of the electronic device 100 and/or execute calculation or data processing using instructions stored in the memory 260 .
  • the processor 210 may include a central processing unit (CPU), a graphic processing unit (GPU), a micro controller unit (MCU), a sensor hub, a supplementary processor, a communication processor, and an application. It may include at least one of a processor, an application specific integrated circuit (ASIC), and a field programmable gate array (FPGA), and may have a plurality of cores (eg, a multi-core processor).
  • the processor 210 may execute an application (eg, a camera application) stored in the memory 260 .
  • the processor 210 may obtain an image using the front camera 215 or the rear camera 220 while the camera application is running.
  • the application may be any application using the front camera 215 or the rear camera 220 .
  • the processor 210 may display an image acquired using the front camera 215 or the rear camera 220 on the display 240 as a preview image.
  • the processor 210 may obtain distance information to an object included in the preview image using the sensor 230 (eg, a distance sensor or a depth sensor).
  • the processor 210 may obtain distance information to an object included in the preview image using the front camera 215 or the rear camera 220 .
  • the processor 210 may obtain brightness information around the electronic device 100 using the sensor 230 (eg, an illuminance sensor). Details related to the operation of the processor 210 will be described later with reference to FIGS. 3A and 3B.
  • the front camera 215 or the rear camera 220 may acquire (or take) an image (eg, a still image and/or a moving image).
  • an image signal processor (not shown) electrically connected to the front camera 215 or the rear camera 220 may display an object (eg, a preview image or an image stored in the memory 260). person) and the background.
  • the front camera 215 and the rear camera 220 may be variously referred to.
  • the front camera 215 may be referred to as a first camera or a second camera
  • the rear camera 220 may also be referred to as a first camera or a second camera.
  • the rear camera 220 may be referred to as a second camera.
  • the front camera 215 is referred to as a first camera
  • the rear camera 220 may be referred to as a first camera.
  • the image signal processor may be separated from the front camera 215 or the rear camera 220 or implemented as part of the processor 210 .
  • the front camera 215 or the rear camera 220 may include an image sensor.
  • the image sensor may acquire and process color information.
  • the front camera 215 when taking a picture with the rear camera 220, the front camera 215 may operate in a background state, and when taking a picture with the front camera 215, the rear camera 220 operates in a background state. can do.
  • the senor 230 may include at least one of a depth sensor, a Time of Flight (ToF) sensor, and an image sensor.
  • the depth sensor may measure the depth of an external object and generate depth information corresponding to the external object using the measured depth.
  • the sensor 230 is operatively connected to at least one or more of the processor 210, the front camera 215, the rear camera 220, and the memory 260 to obtain color information, 3D information, It can process distance information, location information, and the like.
  • the senor 230 may include an illuminance sensor.
  • the illuminance sensor may measure illumination of an area around the electronic device 100 or an environment.
  • the illuminance sensor may measure external illuminance using intensity of light incident from the external environment.
  • the illuminance sensor may receive light of the environment to determine (or identify; detect) the illuminance of the environment where the electronic device 100 is located.
  • the display 240 may display an image acquired through the front camera 215 or the rear camera 220 . According to an embodiment, the display 240 may display an image obtained through the front camera 215 or the rear camera 220 as a preview image. According to an embodiment, the electronic device 100 may obtain a user's input through the display 240 and transmit the user's input to the processor 210 .
  • the light emitting module 250 may generate light so that image quality and visibility may be improved and captured in a dark environment.
  • the light emitting module 250 is directed in the same direction as the camera (eg, the front camera 215 or the rear camera 220) (eg, the front direction of the electronic device 100 or the rear side of the electronic device 100). direction) can be placed.
  • the operation of the camera eg, the front camera 215 or the rear camera 220
  • the operation of the light emitting module 250 may be interlocked.
  • the electronic device 100 determines ambient illumination using the sensor 230 and activates shooting by a camera (eg, the front camera 215 or the rear camera 220).
  • the light emission of the light emitting module 250 may be performed at the same time.
  • the electronic device 100 captures an image using a camera (eg, the front camera 215 or the rear camera 220) when light is emitted from the light emitting module 250 to illuminate the shooting environment. can be obtained
  • the electronic device 100 may obtain an image based on light emitted by the light emitting module 250 .
  • the memory 260 may mean one or more memory sets. According to one embodiment, the memory 260 is received from other components (eg, the processor 210, the front camera 215, the rear camera 220, the sensor 230, the display 240) or other components. It may store data and/or instructions generated by the components. In various embodiments, the memory 260 may store an application using a camera.
  • the memory 260 may store an application using a camera.
  • 3A is a flowchart illustrating an operation of determining flash brightness based on distance information to a subject and brightness information around the electronic device in an electronic device according to an exemplary embodiment.
  • each operation may be performed sequentially, but does not necessarily have to be performed sequentially.
  • the order of each operation may be changed, or at least two operations may be performed in parallel.
  • the processor 210 may display an image obtained by driving at least one camera in operation 310 as a preview image on the display.
  • the processor 210 may display an image acquired using the front camera 215 or the rear camera 220 on the display 240 as a preview image.
  • the processor 210 displays a preview image on the display 240 by acquiring it using the front camera 215 or the rear camera 220 while the camera application stored in the memory 260 is executed. can
  • the processor 210 may obtain information about a distance between at least one object included in the preview image and the electronic device using a distance sensor or at least one camera.
  • the processor 210 may obtain depth information and/or distance information on at least one object included in the preview image using the sensor 230 (eg, a depth sensor or a ToF sensor).
  • the processor 210 may alternatively or additionally obtain distance information on at least one object included in the preview image by using at least one camera. For example, when the processor 210 displays an image obtained by driving the front camera 215 as a preview image on the display 240, the processor 210 uses the front camera 215 to obtain a distance to an object included in the preview image. information can be obtained. Also, for example, when the processor 210 displays an image obtained by driving the rear camera 220 as a preview image on the display 240, the processor 210 uses the rear camera 220 to display an object included in the preview image. Distance information can be obtained.
  • the processor 210 may obtain brightness information about a light source illuminating the environment around the electronic device 100 by using an illuminance sensor.
  • the processor 210 may activate an illuminance sensor in response to the occurrence of an event and measure the ambient illuminance of the electronic device 100 using the illuminance sensor.
  • the processor 210 uses the exposure time of a camera (eg, the front camera 215 or the rear camera 220) or the brightness of a light source (or lighting) around the electronic device 100 using an illuminance sensor. can measure
  • the processor 210 determines whether a shadow of the electronic device is generated within the field of view of the front camera 215 or the rear camera 220 by the light source based on at least one of distance information and brightness information in operation 340. can judge According to an embodiment, the processor 210 determines that the shadow of the electronic device 100 is generated by the light source when it is determined that the distance between the front camera 215 or the rear camera 220 and the subject is less than a threshold value. can do.
  • the processor 210 may determine that the shadow of the electronic device 100 is caused by the light source when it is determined that the brightness of the light source around the electronic device 100 is greater than or equal to a threshold value. According to an embodiment, the processor 210 determines that the distance between the front camera 215 or the rear camera 220 and the subject is less than the threshold value and the brightness of the light source around the electronic device 100 is greater than or equal to the threshold value. , it may be determined that the shadow of the electronic device 100 is generated by the light source.
  • the processor 210 determines that the distance between the front camera 215 or the rear camera 220 and the subject is less than a threshold value and the brightness of a light source around the electronic device 100 is less than the threshold value. In this case, it may be determined that the shadow of the electronic device 100 is not generated by the light source. According to an embodiment, the processor 210 determines that the distance between the front camera 215 or the rear camera 220 and the subject is greater than or equal to a threshold value and the brightness of light sources around the electronic device 100 is greater than or equal to the threshold value. In this case, it may be determined that the shadow of the electronic device 100 is not generated by the light source.
  • the processor 210 may configure a brightness value of a flash to remove or reduce a shadow while taking a picture.
  • the processor 210 may determine the strength of the shadow when it is determined that a shadow occurs. According to an embodiment, the processor 210 may determine the strength of the shadow based on distance information to the subject and surrounding brightness information. For example, the processor 210 may determine that the strength of the shadow is greater as the distance between the subject and the electronic device 100 is smaller. Also, for example, the processor 210 may determine that the strength of the shadow is stronger as the brightness of the lighting is brighter. For example, the processor 210 may configure the brightness value of the flash to be higher as the distance is smaller or the surroundings are brighter. The processor 210 may determine the brightness of lighting based on the illuminance value. For example, the processor 210 may determine the brightness of lighting through analysis of an illuminance value detected using an illuminance sensor or an image acquired through a camera.
  • the processor 210 may determine reflectivity of a subject included in the preview image. According to an embodiment, the processor 210 may analyze an image acquired through the front camera 215 or the rear camera 220 to determine reflectivity of at least one subject included in the image.
  • the processor 210 may determine the brightness of the flash based on determining the strength of the shadow and/or reflectivity of an object (subject) in response to determining that a shadow has occurred. According to an embodiment, the processor 210 may control the light emitting module 250 so that the brightness of the flash is proportional to the intensity of the shadow and inversely proportional to the reflectivity of the subject. For example, the processor 210 may determine the brightness of the flash as the strength of the shadow increases. Also, for example, the processor 210 may determine the brightness of the flash to be darker as the reflectivity of the subject increases.
  • the process of determining the brightness of a flash based on the strength of a shadow and/or reflectivity of an object (subject) may be configured in various ways.
  • the processor 210 may determine the brightness value of the flash by inputting the strength of the shadow and/or the reflectivity of an object (subject) to a predetermined function. For another example, the processor 210 may obtain a flash brightness value from a lookup table including a pair of a flash brightness value, a shadow intensity, and/or reflectivity of an object (subject).
  • 3B is a flowchart illustrating determining brightness of a flash based on a parameter calculated by an electronic device according to an exemplary embodiment. Content similar to or redundant with the above in relation to FIG. 3B may be simplified or omitted.
  • the processor 210 may execute a camera application in operation 301.
  • the processor 210 may obtain an image (or video) by driving the camera according to the execution of the camera application.
  • the processor 210 may execute an application using a camera stored in the memory 260 .
  • the processor 210 may determine whether a shadow of the electronic device 100 is generated by the light source. According to an embodiment, the processor 210 generates a shadow of the electronic device 100 or the user based on distance information between a subject and the electronic device 100 and/or brightness information of a light source around the electronic device 100. It is possible to determine whether or not (eg, whether or not to appear in the preview image).
  • the processor 210 determines that the shadow of the electronic device 100 is generated by the light source when it is determined that the distance between the front camera 215 or the rear camera 220 and the subject is less than a threshold value. can do. According to an embodiment, the processor 210 may determine that the shadow of the electronic device 100 is caused by the light source when it is determined that the brightness of the light source around the electronic device 100 is greater than or equal to a threshold value.
  • the processor 210 may calculate a parameter for determining flash brightness. According to an embodiment, when it is determined that a shadow has occurred, the processor 210 determines at least one of the angle between the light source and the electronic device 100, the distance between the subject and the electronic device 100, the reflectivity of the subject, and the strength of the shadow. You can calculate parameters including one.
  • the processor 210 may monitor the occurrence of a shadow while performing operation 303 while the camera application is running.
  • the processor 210 may determine flash brightness (eg, set a brightness value) in operation 307 .
  • the processor 210 may determine flash brightness based on calculating at least one parameter.
  • the calculated parameters may include at least one or more of an angle between a light source and the electronic device 100, a distance between a subject and the electronic device 100, reflectivity of a subject, and strength of a shadow.
  • the processor 210 may set the brightness value of the flash to be proportional to the intensity of the shadow and inversely proportional to the reflectivity of the subject.
  • the processor 210 may activate flash in operation 309 . According to one embodiment, the processor 210 may activate the flash in response to determining the brightness of the flash.
  • the processor 210 may determine whether the intensity of the shadow of the electronic device changes after the flash is activated. According to an embodiment, the processor 210 analyzes the image acquired through the front camera 215 or the rear camera 220 to determine the strength of the shadow generated by the electronic device 100 or the user while the flash is activated. You can judge whether it changes or not.
  • the processor 210 may return to operation 303 to attempt reconstruction of the brightness value to reduce the shadow sensitivity. According to an embodiment, the processor 210 may end the operation when it is determined that the intensity of the shadow of the electronic device has changed.
  • the configuration of operation 311 is not limited to that shown in FIG. 3B. For example, if the shadow intensity has not changed, operation 305 may be returned to attempt reconstruction of the brightness values to reduce the shadow sensitivity. If the shadow intensity is changed, operation 303 may be returned while the camera application is running.
  • 4A and 4B are diagrams illustrating whether a shadow is generated or not depending on a distance from a subject when photographing a subject in an electronic device according to various embodiments of the present disclosure.
  • the brightness of light sources around the electronic device 100 is a first brightness value
  • the subject 410 and the front camera 215 or the rear camera 220 Shadows may occur in the preview image if the distance between them is less than the threshold value.
  • an image obtained by driving the front camera 215 or the rear camera 220 may be displayed on the display 240 as a preview image.
  • the processor 210 analyzes the preview image, and the electronic device 100 and/or the user interacts with the electronic device 100 and/or user by a light source in the environment around the electronic device 100. It is possible to detect that the shadow 420 of has occurred.
  • the processor 210 may generate a shadow having a threshold intensity when a distance between the subject 410 and the front camera 215 or the rear camera 220 is less than a threshold value. As the distance between the subject 410 and the front camera 215 or the rear camera 220 is shorter, a high intensity deep shadow may be formed.
  • the processor 210 has the same first brightness value as the brightness of light sources around the electronic device 100, and the subject 410 and the front camera 215 or the rear camera 220 ) may form an identifiable shadow or may not be captured in the preview image when the distance between the shadows is greater than the threshold value. For example, an image obtained by driving the front camera 215 or the rear camera 220 may be displayed on the display 240 as a preview image. According to an embodiment, the processor 210 analyzes the preview image and determines that the shadow of the electronic device 100 or the user is not generated due to an interaction with a light source around the electronic device 100. .
  • 5A to 5D are diagrams illustrating that the intensity of a shadow varies according to brightness around the electronic device according to various embodiments of the present disclosure.
  • the processor 210 determines that the distance between the subject 410 and the rear camera 220 is a first distance less than a threshold value, and the brightness of light sources around the electronic device 100 is reduced.
  • the processor 210 may analyze the preview image and determine that the shadow of the electronic device 100 or the user is not generated by a light source around the electronic device 100 .
  • a distance between the subject 410 and the rear camera 220 is a first distance less than a threshold, and a second brightness in which the brightness of light sources around the electronic device 100 is greater than or equal to the threshold.
  • a dark shadow may be formed.
  • the processor 210 may display an image obtained by driving the rear camera 220 on the display 240 as a preview image.
  • a shadow 420 having a first intensity may be captured on the preview image.
  • the processor 210 determines that the distance between the subject 410 and the rear camera 220 is a first distance less than a threshold value, and the brightness of light sources around the electronic device 100 is reduced.
  • the third brightness is greater than or equal to the threshold value
  • an image in which a shadow 420 having a second intensity lower than the first intensity obtained by driving the rear camera 220 is captured may be displayed on the display 240 as a preview image.
  • the processor 210 determines that the distance between the subject 410 and the rear camera 220 is a first distance less than a threshold value, and the brightness of light sources around the electronic device 100 is reduced.
  • the fourth brightness is equal to or greater than the threshold value
  • the processor 210 analyzes the preview image to determine whether the electronic device 100 or the user's shadow 420 is reflected by a light source around the electronic device 100. can be judged to have occurred.
  • the processor 210 may differently determine the intensity of the shadow according to the brightness of the light source. For example, when the brightness of the light source is determined to be the second brightness, the third brightness, and the fourth brightness, the processor 210 may determine all of the shadow intensities differently.
  • 6A is a diagram illustrating a case where there is a direct light source in an electronic device according to an embodiment.
  • the electronic device 100 is an image obtained by driving a camera (eg, the front camera 215 or the rear camera 220 of FIG. 2 ) when a direct light source 601 is present.
  • a direct light source 601 may be displayed as a preview image on a display (eg, the display 240 of FIG. 2 ).
  • the direct light source 601 can include a light source that illuminates straight into the front camera 215 opposite the front camera 215 .
  • the direct light source 601 may include a light source that illuminates straight into the rear camera 220 on the opposite side of the rear camera 220 .
  • the processor 210 analyzes the preview image and determines that the shadow of the electronic device 100 or the user is caused by the direct light source 601, the higher the brightness of the direct light source 601 is. It can be judged by the darkening of the shadow.
  • 6B is a diagram illustrating a case in which an indirect light source 602 exists in an electronic device according to an embodiment.
  • the electronic device 100 drives a camera (eg, the front camera 215 or the rear camera 220 of FIG. 2 ) to obtain data.
  • the image may be displayed as a preview image on a display (eg, the display 240 of FIG. 2 ).
  • the indirect light source 602 can include a light source that illuminates in a non-linear direction to the front camera 215 opposite the front camera 215 .
  • the indirect light source 602 can include a light source that illuminates in a non-linear direction to the rear camera 220 opposite the rear camera 220 .
  • the indirect light source 602 includes a first indirect light source 602a positioned at a first angle with the electronic device 100 and a second indirect light source 602b positioned at a second angle with the electronic device 100. ) may be included.
  • the processor 210 analyzes the preview image, and when it is determined that the shadow of the electronic device 100 or the user is caused by the indirect light source 602, the brightness of the indirect light source 602 is increased. It can be judged that the shadow becomes softer as it counts.
  • FIG. 7 is a diagram illustrating identification of a center position of a light source in an electronic device according to an embodiment.
  • the processor 210 may identify a direction of a light source 710 around the electronic device 100 .
  • the processor 210 may identify the direction of the light source 710 by analyzing an image obtained through a front camera or a vision sensor.
  • the processor 210 may identify the center 720 (eg, P1(x,y)) of the light source 710 by analyzing an acquired image or using an artificial intelligence (AI) algorithm. .
  • AI artificial intelligence
  • the processor 210 may determine the relative position of the electronic device 100 and the position of the shadow according to the center 720 of the light source. According to an embodiment, the processor 210 may identify the number of light sources 710 by analyzing an image obtained through a front camera or a vision sensor.
  • the processor 210 may calculate the intensity of the shadow based on the number and direction of the light sources 710 .
  • FIGS. 8A to 8C are diagrams illustrating shadow intensity according to positions and numbers of light sources in an electronic device according to various embodiments of the present disclosure.
  • the electronic device 100 displays (eg, FIG. It can be displayed as a preview image on the display 240 of Fig. 2.
  • the direct light source 801 may include a light source that illuminates the rear camera 220 in a straight line opposite the rear camera 220 (eg, the side on which the front camera is disposed).
  • the processor 210 may analyze the preview image and determine that the shadow 810 of the electronic device and/or the user has occurred due to the direct existence of the light source 801 . According to an embodiment, the processor 210 may obtain an image 840 including a direct light source 801 using a front camera.
  • the processor 210 may directly calculate the brightness of the light source 801 using a front camera or a vision sensor. According to an embodiment, the processor 210 may determine that the brightness of the direct light source 801 is proportional to the intensity of the shadow. For example, when the amount of light flowing into the front camera is large, it may be determined that the exposure time is shortened and the shadow is thick (for example, in preparation for a threshold value). Also, for example, when the amount of light flowing into the front camera is small, it may be determined that the exposure time is long and the shadow is soft.
  • the processor 210 may calculate (or determine) the intensity of the shadow 810 as the first intensity based on a result of analyzing the image 840 obtained using the front camera. According to an embodiment, the processor 210 may calculate the intensity of the shadow 810 as the first intensity based on the direct direction and brightness of the light source 801 by analyzing the acquired image 840 . Therefore, the flash brightness value can be adjusted accordingly.
  • the electronic device 100 displays an image obtained by driving a camera (eg, the rear camera 220 of FIG. 2 ) when an indirect light source 802 is present (eg, the rear camera 220 of FIG. 2 ). It can be displayed as a preview image on the display 240 of FIG. 2 .
  • the indirect light source 802 can include a light source that illuminates in a non-linear direction to the rear camera 220 opposite the rear camera 220 .
  • the processor 210 may analyze the preview image and determine that the shadow 820 of the electronic device and/or the user is caused by the indirect light source 802 . According to an embodiment, the processor 210 may obtain an image 850 including an indirect light source 802 using a front camera.
  • the processor 210 may indirectly calculate the brightness of the light source 802 using a front camera or a vision sensor. According to an embodiment, the processor 210 may determine that the brightness of the indirect light source 802 and the intensity of the shadow are inversely proportional. For example, when the amount of light flowing into the rear camera is large, the exposure time may be shortened and the shadow may be determined to be soft. Also, for example, when the amount of light flowing into the rear camera is small, it may be determined that the exposure time is long and the shadow is dark (for example, in preparation for a threshold value).
  • the processor 210 calculates the intensity of the shadow 820 as a second intensity value smaller than the first intensity value based on a result of analyzing the image 850 obtained using the front camera (or decision) can be made. According to an embodiment, the processor 210 may analyze the acquired image 850 and calculate the intensity of the shadow 820 as the second intensity value based on the direction and brightness of the indirect light source 802 .
  • the electronic device 100 displays an image obtained by driving a camera (eg, the rear camera 220 of FIG. 2 ) when there is an indirect light source 803 (eg, the rear camera 220 of FIG. 2 ). It can be displayed as a preview image on the display 240 of FIG. 2 .
  • the indirect light source 803 may include a light source that illuminates in a non-linear direction to the rear camera 220 from the opposite side of the rear camera 220 .
  • the indirect light source 803 includes a first indirect light source 803a positioned at a first angle with the electronic device 100 and a second indirect light source 803b positioned at a second angle with the electronic device 100. ) may be included.
  • the processor 210 may analyze the preview image and determine that the shadow 830 of the electronic device and/or the user is caused by the indirect light source 803 . According to an embodiment, the processor 210 may obtain an image 860 including an indirect light source 803 using a front camera. According to an embodiment, the processor 210 calculates the intensity of the shadow 830 as a third intensity value smaller than the second intensity value based on a result of analyzing the image 860 obtained using the front camera (or decision) can be made.
  • FIG. 9 is a diagram illustrating flash intensity according to a flash brightness value determined by an electronic device according to an exemplary embodiment.
  • the X axis represents the flash brightness determined by the processor
  • the Y axis represents the flash intensity according to the determined flash brightness.
  • the processor 210 may determine the brightness of the flash based on the intensity of the shadow of the electronic device caused by the light source and/or reflectivity of the subject. According to an embodiment, the processor 210 may control the light emitting module 250 so that the brightness of the flash is proportional to the intensity of the shadow and inversely proportional to the reflectivity of the subject. For example, the processor 210 may determine the brightness of the flash as the strength of the shadow increases. Also, for example, the processor 210 may determine the brightness of the flash to be darker as the reflectivity of the subject increases.
  • the processor 210 may determine intensity of a flash for obtaining an image according to the determined flash brightness. For example, when the determined brightness of the flash is less than the threshold value, the processor 210 may determine the intensity of the flash to be proportional to the brightness of the flash. According to an embodiment, when the brightness of the flash is greater than or equal to a threshold value, the processor 210 may determine the intensity of the flash as the maximum intensity. According to an embodiment, the processor 210 may obtain an image to which the determined flash intensity is applied.
  • FIG. 10 is a block diagram of an electronic device 1001 (eg, the electronic device 100 of FIG. 2 ) in the network environment 1000 according to an embodiment.
  • an electronic device 1001 eg, the electronic device 100 of FIG. 2
  • the network environment 1000 according to an embodiment.
  • an electronic device 1001 communicates with an electronic device 1002 through a first network 1098 (eg, a short-range wireless communication network) or through a second network 1099. It may communicate with at least one of the electronic device 1004 or the server 1008 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 1001 may communicate with the electronic device 1004 through the server 1008. According to an embodiment, the electronic device 1001 includes a processor 1020 (eg, the processor 210 of FIG. 2 ), a memory 1030, an input module 1050, a sound output module 1055, and a display module 1060.
  • a processor 1020 eg, the processor 210 of FIG. 2
  • a memory 1030 e.g, the input module 1050, a sound output module 1055, and a display module 1060.
  • audio module 1070 In some embodiments, in the electronic device 1001, at least one of these components (eg, the connection terminal 1078) may be omitted or one or more other components may be added. In some embodiments, some of these components (eg, sensor module 1076, camera module 1080, or antenna module 1097) are integrated into a single component (eg, display module 1060). It can be.
  • the processor 1020 for example, executes software (eg, the program 1040) to cause at least one other component (eg, hardware or software component) of the electronic device 1001 connected to the processor 1020. It can control and perform various data processing or calculations. According to one embodiment, as at least part of data processing or operation, processor 1020 transfers commands or data received from other components (eg, sensor module 1076 or communication module 1090) to volatile memory 1032. , process commands or data stored in the volatile memory 1032 , and store resultant data in the non-volatile memory 1034 .
  • software eg, the program 1040
  • processor 1020 transfers commands or data received from other components (eg, sensor module 1076 or communication module 1090) to volatile memory 1032. , process commands or data stored in the volatile memory 1032 , and store resultant data in the non-volatile memory 1034 .
  • the processor 1020 may include a main processor 1021 (eg, a central processing unit or an application processor) or a secondary processor 1023 (eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor).
  • a main processor 1021 eg, a central processing unit or an application processor
  • a secondary processor 1023 eg, a graphic processing unit, a neural network processing unit ( NPU: neural processing unit (NPU), image signal processor, sensor hub processor, or communication processor.
  • NPU neural network processing unit
  • NPU neural processing unit
  • image signal processor sensor hub processor
  • communication processor e.g., a communication processor.
  • the auxiliary processor 1023 may use less power than the main processor 1021 or be set to be specialized for a designated function.
  • the auxiliary processor 1023 may be implemented separately from or as part of the main processor 1021 .
  • the secondary processor 1023 may, for example, take the place of the main processor 1021 while the main processor 1021 is inactive (eg sleep), or the main processor 1021 is active (eg application execution). ) state, together with the main processor 1021, at least one of the components of the electronic device 1001 (eg, the display module 1060, the sensor module 1076, or the communication module 1090) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 1023 eg, image signal processor or communication processor
  • may be implemented as part of other functionally related components eg, camera module 1080 or communication module 1090). have.
  • the auxiliary processor 1023 may include a hardware structure specialized for processing an artificial intelligence model.
  • AI models can be created through machine learning. Such learning may be performed, for example, in the electronic device 1001 itself where the artificial intelligence model is performed, or may be performed through a separate server (eg, the server 1008).
  • the learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning or reinforcement learning, but in the above example Not limited.
  • the artificial intelligence model may include a plurality of artificial neural network layers.
  • Artificial neural networks include deep neural networks (DNNs), convolutional neural networks (CNNs), recurrent neural networks (RNNs), restricted boltzmann machines (RBMs), deep belief networks (DBNs), bidirectional recurrent deep neural networks (BRDNNs), It may be one of deep Q-networks or a combination of two or more of the foregoing, but is not limited to the foregoing examples.
  • the artificial intelligence model may include, in addition or alternatively, software structures in addition to hardware structures.
  • the memory 1030 may store various data used by at least one component (eg, the processor 1020 or the sensor module 1076) of the electronic device 1001 .
  • the data may include, for example, input data or output data for software (eg, the program 1040) and commands related thereto.
  • the memory 1030 may include a volatile memory 1032 or a non-volatile memory 1034 .
  • the program 1040 may be stored as software in the memory 1030 and may include, for example, an operating system 1042 , middleware 1044 , or an application 1046 .
  • the input module 1050 may receive a command or data to be used for a component (eg, the processor 1020) of the electronic device 1001 from an outside of the electronic device 1001 (eg, a user).
  • the input module 1050 may include, for example, a microphone, a mouse, a keyboard, a key (eg, a button), or a digital pen (eg, a stylus pen).
  • the sound output module 1055 may output sound signals to the outside of the electronic device 1001 .
  • the sound output module 1055 may include, for example, a speaker or receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback.
  • a receiver may be used to receive an incoming call. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 1060 may visually provide information to the outside of the electronic device 1001 (eg, a user).
  • the display module 1060 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the device.
  • the display module 1060 may include a touch sensor configured to detect a touch or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 1070 may convert sound into an electrical signal or vice versa. According to an embodiment, the audio module 1070 acquires sound through the input module 1050, the sound output module 1055, or an external electronic device connected directly or wirelessly to the electronic device 1001 (eg: Sound may be output through the electronic device 1002 (eg, a speaker or a headphone).
  • the audio module 1070 acquires sound through the input module 1050, the sound output module 1055, or an external electronic device connected directly or wirelessly to the electronic device 1001 (eg: Sound may be output through the electronic device 1002 (eg, a speaker or a headphone).
  • the sensor module 1076 detects an operating state (eg, power or temperature) of the electronic device 1001 or an external environmental state (eg, a user state), and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 1076 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a bio sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 1077 may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device 1001 to an external electronic device (eg, the electronic device 1002).
  • the interface 1077 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card
  • connection terminal 1078 may include a connector through which the electronic device 1001 may be physically connected to an external electronic device (eg, the electronic device 1002).
  • the connection terminal 1078 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 1079 may convert electrical signals into mechanical stimuli (eg, vibration or motion) or electrical stimuli that a user can perceive through tactile or kinesthetic senses.
  • the haptic module 1079 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 1080 may capture still images and moving images. According to one embodiment, the camera module 1080 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 1088 may manage power supplied to the electronic device 1001 .
  • the power management module 1088 may be implemented as at least part of a power management integrated circuit (PMIC), for example.
  • PMIC power management integrated circuit
  • the battery 1089 may supply power to at least one component of the electronic device 1001 .
  • the battery 1089 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • the communication module 1090 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 1001 and an external electronic device (eg, the electronic device 1002, the electronic device 1004, or the server 1008). Establishment and communication through the established communication channel may be supported.
  • the communication module 1090 may include one or more communication processors that operate independently of the processor 1020 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 1090 is a wireless communication module 1092 (eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 1094 (eg, : a local area network (LAN) communication module or a power line communication module).
  • a wireless communication module 1092 eg, a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
  • GNSS global navigation satellite system
  • wired communication module 1094 eg, : a local area network (LAN) communication module or a power line communication module.
  • the corresponding communication module is a first network 1098 (eg, a short-distance communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 1099 (eg, legacy It may communicate with the external electronic device 1004 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, LAN or WAN).
  • a first network 1098 eg, a short-distance communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)
  • a second network 1099 eg, legacy It may communicate with the external electronic device 1004 through a cellular network, a 5G network, a next-generation communication network, the Internet, or a telecommunications network such as a computer network (eg, LAN or WAN).
  • a telecommunications network such as a computer
  • the wireless communication module 1092 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 1096 within a communication network such as the first network 1098 or the second network 1099.
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the electronic device 1001 may be identified or authenticated.
  • the wireless communication module 1092 may support a 5G network after a 4G network and a next-generation communication technology, for example, NR access technology (new radio access technology).
  • NR access technologies include high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access of multiple terminals (massive machine type communications (mMTC)), or high reliability and low latency (ultra-reliable and low latency (URLLC)). -latency communications)) can be supported.
  • the wireless communication module 1092 may support a high frequency band (eg, mmWave band) to achieve a high data rate, for example.
  • a high frequency band eg, mmWave band
  • the wireless communication module 1092 uses various technologies for securing performance in a high frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. Technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna may be supported.
  • the wireless communication module 1092 may support various requirements defined for the electronic device 1001, an external electronic device (eg, the electronic device 1004), or a network system (eg, the second network 1099).
  • the wireless communication module 1092 may be used to realize peak data rate (eg, 20 Gbps or more) for realizing eMBB, loss coverage (eg, 164 dB or less) for realizing mMTC, or U-plane latency (for realizing URLLC).
  • peak data rate eg, 20 Gbps or more
  • loss coverage eg, 164 dB or less
  • U-plane latency for realizing URLLC.
  • DL downlink
  • UL uplink each of 0.5 ms or less, or round trip 1 ms or less
  • the antenna module 1097 may transmit or receive signals or power to the outside (eg, an external electronic device).
  • the antenna module 1097 may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 1097 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 1098 or the second network 1099 is selected from the plurality of antennas by, for example, the communication module 1090. can be chosen A signal or power may be transmitted or received between the communication module 1090 and an external electronic device through the selected at least one antenna.
  • other components eg, a radio frequency integrated circuit (RFIC) may be additionally formed as a part of the antenna module 1097 in addition to the radiator.
  • RFIC radio frequency integrated circuit
  • the antenna module 1097 may form a mmWave antenna module.
  • the mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent to a first surface (eg, a lower surface) of the printed circuit board and capable of supporting a designated high frequency band (eg, mmWave band); and a plurality of antennas (eg, array antennas) disposed on or adjacent to a second surface (eg, a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals of the designated high frequency band. can do.
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 1001 and the external electronic device 1004 through the server 1008 connected to the second network 1099 .
  • Each of the external electronic devices 1002 or 1004 may be the same as or different from the electronic device 1001 .
  • all or part of operations executed in the electronic device 1001 may be executed in one or more external electronic devices among the external electronic devices 1002 , 1004 , or 1008 .
  • the electronic device 1001 when the electronic device 1001 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 1001 instead of executing the function or service by itself.
  • one or more external electronic devices may be requested to perform the function or at least part of the service.
  • One or more external electronic devices receiving the request may execute at least a part of the requested function or service or an additional function or service related to the request, and deliver the execution result to the electronic device 1001 .
  • the electronic device 1001 may provide the result as at least part of a response to the request as it is or after additional processing.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology may be used.
  • the electronic device 1001 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 1004 may include an internet of things (IoT) device.
  • Server 1008 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 1004 or server 1008 may be included in the second network 1099.
  • the electronic device 1001 may be applied to intelligent services (eg, smart home, smart city, smart car, or health care) based on 5G communication technology and IoT-related technology.
  • Electronic devices may be devices of various types.
  • the electronic device may include, for example, a portable communication device (eg, a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance.
  • a portable communication device eg, a smart phone
  • a computer device e.g., a smart phone
  • a portable multimedia device e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a portable medical device
  • a camera e.g., a camera
  • a wearable device e.g., a smart bracelet
  • first, second, or first or secondary may simply be used to distinguish a given component from other corresponding components, and may be used to refer to a given component in another aspect (eg, importance or order) is not limited.
  • a (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • the certain component may be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as, for example, logic, logical blocks, parts, or circuits.
  • a module may be an integrally constructed component or a minimal unit of components or a portion thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • a storage medium eg, internal memory 1036 or external memory 1038
  • a machine eg, electronic device 1001
  • It may be implemented as software (eg, the program 1040) including them.
  • a processor eg, the processor 1020
  • a device eg, the electronic device 1001
  • the one or more instructions may include code generated by a compiler or code executable by an interpreter.
  • the device-readable storage medium may be provided in the form of a non-transitory storage medium.
  • the storage medium is a tangible device and does not contain a signal (e.g. electromagnetic wave), and this term refers to the case where data is stored semi-permanently in the storage medium. It does not discriminate when it is temporarily stored.
  • a signal e.g. electromagnetic wave
  • the method according to various embodiments disclosed in this document may be included and provided in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • a computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • a device e.g. compact disc read only memory (CD-ROM)
  • an application store e.g. Play Store TM
  • It can be distributed (eg downloaded or uploaded) online, directly between smart phones.
  • at least part of the computer program product may be temporarily stored or temporarily created in a storage medium readable by a device such as a manufacturer's server, an application store server, or a relay server's memory.
  • each component (eg, module or program) of the above-described components may include a single object or a plurality of entities, and some of the plurality of entities may be separately disposed in other components. have.
  • one or more components or operations among the aforementioned corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg modules or programs
  • the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by a corresponding component of the plurality of components prior to the integration. .
  • the actions performed by a module, program, or other component are executed sequentially, in parallel, iteratively, or heuristically, or one or more of the actions are executed in a different order, or omitted. or one or more other actions may be added.
  • a camera module 1080 includes a lens assembly 1110, a flash 1120, an image sensor 1130, an image stabilizer 1140, a memory 1150 (eg, a buffer memory), or an image signal processor. (1160).
  • the lens assembly 1110 may collect light emitted from a subject that is an image capture target.
  • the lens assembly 1110 may include one or more lenses.
  • the camera module 1080 may include a plurality of lens assemblies 1110. In this case, the camera module 1080 may form, for example, a dual camera, a 360-degree camera, or a spherical camera.
  • Some of the plurality of lens assemblies 1110 may have the same lens properties (eg, angle of view, focal length, auto focus, f number, or optical zoom), or at least one lens assembly may have the same lens properties as another lens assembly. may have one or more lens properties different from the lens properties of .
  • the lens assembly 1110 may include, for example, a wide-angle lens or a telephoto lens.
  • the flash 1120 may emit light used to enhance light emitted or reflected from a subject.
  • the flash 1120 may include one or more light emitting diodes (eg, a red-green-blue (RGB) LED, a white LED, an infrared LED, or an ultraviolet LED), or a xenon lamp.
  • the image sensor 1130 may acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly 1110 into an electrical signal.
  • the image sensor 1130 may be, for example, one image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, It may include a plurality of image sensors having a property, or a plurality of image sensors having other properties.
  • Each image sensor included in the image sensor 1130 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
  • CCD charged coupled device
  • CMOS complementary metal oxide semiconductor
  • the image stabilizer 1140 moves at least one lens or image sensor 1130 included in the lens assembly 1110 in a specific direction in response to movement of the camera module 1080 or the electronic device 1001 including the same. Operation characteristics of the image sensor 1130 may be controlled (eg, read-out timing is adjusted, etc.). This makes it possible to compensate at least part of the negative effect of the movement on the image being taken.
  • the image stabilizer 1140 may include a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 1080. Such a movement of the camera module 1080 or the electronic device 1001 can be detected using .
  • the image stabilizer 1140 may be implemented as, for example, an optical image stabilizer.
  • the memory 1150 may at least temporarily store at least a portion of an image acquired through the image sensor 1130 for a next image processing task. For example, when image acquisition is delayed according to the shutter, or when a plurality of images are acquired at high speed, the acquired original image (eg, a Bayer-patterned image or a high-resolution image) is stored in the memory 1150 and , a copy image (eg, a low resolution image) corresponding thereto may be previewed through the display device 1060 . Thereafter, when a specified condition is satisfied (eg, a user input or a system command), at least a part of the original image stored in the memory 1150 may be acquired and processed by, for example, the image signal processor 1160 . According to an embodiment, the memory 1150 may be configured as at least a part of the memory 1030 or as a separate memory operated independently of the memory 1030 .
  • a specified condition eg, a user input or a system command
  • the image signal processor 1160 may perform one or more image processes on an image acquired through the image sensor 1130 or an image stored in the memory 1150 .
  • the one or more image processes for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (eg, noise reduction, resolution adjustment, brightness adjustment, blurring ( blurring, sharpening, or softening.
  • the image signal processor 1160 may include at least one of the components included in the camera module 1080 (eg, an image sensor). 1130) may be controlled (eg, exposure time control, read-out timing control, etc.)
  • the image processed by the image signal processor 1160 is stored again in the memory 1150 for further processing.
  • the image signal processor 1160 may be configured as at least a part of the processor 1020 or may be configured as a separate processor that operates independently of the processor 1020.
  • the image signal processor 1160 may be configured as a processor 1020 When configured as a separate processor, at least one image processed by the image signal processor 1160 may be displayed through the display device 1060 as it is by the processor 1020 or after additional image processing.
  • the electronic device 1001 may include a plurality of camera modules 1080 each having different properties or functions.
  • at least one of the plurality of camera modules 1080 may be a wide-angle camera and at least the other may be a telephoto camera.
  • at least one of the plurality of camera modules 1080 may be a front camera and at least the other may be a rear camera.
  • an electronic device eg, the electronic device 100 of FIG. 2
  • includes at least one camera eg, the front camera 215 or the rear camera 220 of FIG. 2
  • a distance sensor e.g. the distance sensor
  • an illuminance sensor e.g. the display 240 of FIG. 2
  • a light emitting module generating a flash e.g. the light emitting module 250 of FIG. 2
  • the at least one processor eg, the processor 210 of FIG. 2 communicatively connected to the display and the light emitting module, wherein the at least one processor drives an image obtained by driving the at least one camera to display the image.
  • the display displays as a preview image, obtains a distance between at least one object appearing in the preview image and the electronic device through at least one of the distance sensor or the at least one camera, and obtains the distance between the electronic device and the Obtain brightness of an environment around the electronic device, and based on the acquired distance and brightness, determine whether a shadow of the electronic device is generated within the field of view of the at least one camera by a light source around the electronic device; , in response to the determination of the shadow of the electronic device within the angle of view, the brightness value of the flash may be configured to at least reduce the shadow.
  • the at least one processor determines that a shadow has occurred when it is determined that a distance between at least one object included in the preview image and the electronic device is less than or equal to a threshold value based on the acquired distance.
  • the at least one processor may determine that a shadow has occurred when it is determined that the brightness around the electronic device is greater than or equal to a threshold value based on the acquired brightness.
  • the at least one processor may determine the intensity of the shadow based on at least one of the distance and the brightness.
  • the at least one processor may determine that the strength of the shadow has a greater value as the distance between at least one object included in the preview image and the electronic device decreases.
  • the at least one processor may determine that the strength of the shadow has a greater value as the brightness around the electronic device increases.
  • the at least one processor analyzes the preview image to determine the reflectivity of the at least one object included in the preview image, and determines the reflectivity of the at least one object included in the preview image, and determines the reflectivity based on the determined reflectivity and the determined strength of the shadow.
  • the brightness value of the flash is configurable.
  • the at least one processor may configure the brightness value of the flash so that the brightness value of the flash is proportional to the determined strength of the shadow and inversely proportional to the determined reflectivity.
  • the at least one camera includes a first camera facing in a first direction and a second camera facing in a second direction opposite to the first direction
  • the at least one processor includes the first camera At least one of the center position of the light source, the relative position of the electronic device according to the center position of the light source, the position of the shadow, and the number of the light sources can be identified through .
  • the at least one processor may identify the center position of the light source by using analysis of the preview image or artificial intelligence (AI) analysis.
  • AI artificial intelligence
  • the operating method of an electronic device includes at least one camera (eg, the front camera 215 or the rear camera 220 of FIG. 2 ).
  • An operation of configuring the brightness value of the flash may be included.
  • An operating method of an electronic device includes determining that a shadow has occurred when it is determined that a distance between at least one object included in the preview image and the electronic device is less than or equal to a threshold value based on the obtained distance. Actions may be included.
  • An operation method of an electronic device may include an operation of determining that a shadow has occurred when it is determined that the brightness around the electronic device is greater than or equal to a threshold value based on the acquired brightness.
  • An operation method of an electronic device may include an operation of determining the strength of the shadow based on at least one of the distance and the brightness when it is determined that the shadow occurs.
  • the determining of the intensity of the shadow may include determining that the intensity of the shadow has a greater value as the distance between at least one object included in the preview image and the electronic device decreases.
  • the operation of determining the intensity of the shadow may include an operation of determining that the intensity of the shadow has a greater value as the brightness around the electronic device increases.
  • the operation of configuring the brightness value of the flash may include an operation of analyzing the preview image to determine the reflectivity of the at least one object included in the preview image, and the determined reflectivity and the determined shadow. It may include an operation of configuring the brightness value of the flash based on the intensity of the.
  • the at least one camera includes a first camera facing a first direction and a second camera opposite to the first direction
  • the operating method of the electronic device includes the detection of the light source through the first camera.
  • An operation of identifying at least one of a center location, a relative location of the electronic device according to a center location of the light source, a location of the shadow, and the number of light sources may be included.
  • the operation of identifying the center position of the light source may include an operation of identifying the center position of the light source using analysis of the preview image or AI analysis.
  • a recording medium storing instructions readable by at least one processor (eg, processor 210 of FIG. 2 ) of an electronic device (eg, electronic device 100 of FIG. 2 ) according to an embodiment is ,
  • the at least one processor displays an image obtained by driving the at least one camera as a preview image on a display, and the distance sensor or the at least one Obtains a distance between at least one object appearing in the preview image and the electronic device through at least one of cameras of , acquires brightness of an environment around the electronic device through the illuminance sensor, and obtains the obtained distance and the Based on the brightness, it is determined whether a shadow of the electronic device is generated within the field of view of the at least one camera by a light source around the electronic device, and in response to the determination of the shadow of the electronic device within the field of view, , configure the brightness value of the flash to at least reduce the shadow.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

전자 장치 및 방법이 개시된다. 전자 장치는, 적어도 하나의 카메라, 거리 센서, 조도 센서, 디스플레이, 플래시를 발생시키는 발광 모듈 및 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는 카메라 프리뷰 이미지를 디스플레이하고, 프리뷰 이미지에 나타난 객체와 상기 장치 사이의 거리를 획득하고, 주변 환경의 밝기를 획득하고, 상기 획득된 정보 및 상기 획득된 밝기에 기초하여 프리뷰 이미지 내에 나타난 전자 장치의 그림자가 있는지 여부를 검출하며, 카메라의 화각 내에 그림자가 있는지 여부를 검출하고, 그림자를 감소시키기 위해 플래시를 위한 밝기 값을 구성하는 방법을 구현한다.

Description

전자 장치의 촬영 방법 및 그 전자 장치
본 개시에 따른 다양한 실시 예들은 디지털 사진에 관한 것으로, 보다 상세하게는, 전자 장치의 플래시 밝기를 제어하여 전자 장치 또는 사용자로부터 발생하는 그림자를 저감시키는 기술에 관한 것이다.
일반적으로 휴대용 단말과 같은 전자 장치에 장착되는 카메라 모듈에는 야간 촬영을 실행할 때에 필요로 하는 광량을 제공하기 위한 플래시(flash)가 내장된다.
카메라 등을 이용하여 피사체를 촬영할 경우 주위 환경의 휘도 상태에 따라 촬영 상태가 결정된다. 실내에서 촬영을 하거나 야간에 사진을 촬영할 때에는 주변 휘도가 매우 낮기 때문에 피사체를 사진에 적절하게 포착하기 위해 플래시를 이용하여 빛을 방출하는 경우가 많다. 플래시에 의해 생성되는 빛은 광량이 크고 색온도 측면에서 태양 광선과 유사하거나 동일할 수 있다. 플래시는 짧은 시간 동안 섬광을 발생하여 사진 촬영시의 주변 휘도를 개선하고 적정한 노출의 정도를 가지는 사진을 촬영할 수 있도록 하고 있다.
휴대폰과 같은 휴대용 단말로 사진을 촬영할 경우 단말 자체에 의한 그림자가 촬영된 피사체에 생기는 경우가 있다. 피사체에 그림자가 생긴 경우 사용자가 원했던 결과물을 얻기 어렵다. 예를 들면, 피사체를 인지하기 어려울 수 있고, 그 안에 포함된 영숫자를 읽기 어려울 수 있다.
이를 방지하기 위해 사용자는 그림자가 발생하지 않는 위치로 단말을 조정하게 된다. 그러나, 이 경우에도 사진을 찍는 각도나 위치가 변경되어 사용자가 원하는 결과물을 얻는 데에 어려움이 생긴다. 유사하게 카메라의 플래시 기능이 실행되면, 상황과 상관없이 플래시의 밝기가 항상 일정하고, 따라서 사진 결과물의 품질을 사용자가 예측 불가하다.
본 문서에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.
일 실시 예에 따른 전자 장치는, 적어도 하나의 카메라, 거리 센서, 조도 센서, 디스플레이, 플래시를 발생시키는 발광 모듈 및 상기 적어도 하나의 카메라, 상기 거리 센서, 상기 조도 센서, 상기 디스플레이 및 상기 발광 모듈과 통신 가능하게 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는 상기 적어도 하나의 카메라를 구동하여 획득된 이미지를 상기 디스플레이에 프리뷰 이미지로 표시(display)하고, 상기 거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하고, 상기 조도 센서를 통해서 상기 전자 장치 주위 환경(또는 주의 광원)에 대한 밝기를 획득하고, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 검출하고, 상기 화각 내에서의 상기 전자 장치의 그림자에 대한 판단에 응답하여, 상기 플래시의 동작에 의해 상기 그림자를 제거하거나 그림자를 감소시키도록 하기 위한 상기 플래시의 밝기 값을 구성할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 적어도 하나의 카메라를 구동하여 획득된 이미지를 디스플레이에 프리뷰 이미지로 표시(display)하는 동작, 거리 센서 또는 상기 적어도 하나의 카메라를 통해서 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하는 동작, 조도 센서를 통해서 상기 전자 장치 주위의 광원에 대한 밝기를 획득하는 동작, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 검출하는 동작, 상기 전자 장치의 그림자가 발생한 것으로 검출하는 것에 응답하여, 상기 그림자를 제거하거나 그림자를 감소시키도록 하기 위한 플래시의 밝기 값을 구성하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 적어도 하나의 프로세서로 판독 가능한 인스트럭션들을 저장하는 기록 매체가 개시되며, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 실행될 때, 상기 적어도 하나의 프로세서가 상기 적어도 하나의 카메라를 구동하여 획득된 이미지를 상기 디스플레이에 프리뷰 이미지로 표시(display)하고, 상기 거리 센서 또는 상기 적어도 하나의 카메라를 통해서 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하고, 상기 조도 센서를 통해서 상기 전자 장치 주위의 광원에 대한 밝기를 획득하고, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 검출하고, 상기 전자 장치의 그림자가 발생한 것으로 검출하는 것에 응답하여, 상기 그림자를 제거하거나 그림자를 감소시키도록 상기 플래시의 밝기 값을 구성하도록 할 수 있다.
본 개시에 따른 다양한 실시 예에서의 전자 장치 및 방법은, 촬영된 이미지 품질의 예상 가능한 정도를 유지하면서 프리뷰 이미지를 분석하여 플래시 밝기를 조절함으로써 그림자를 감소시키거나 제거할 수 있다.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 아래의 기재로부터 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있다.
도 1은 다양한 실시 예들에 따른 전자 장치에서 플래시 밝기에 따라 전자 장치에 의해 피사체가 촬영된 이미지를 나타낸 도면이다.
도 2는 일 실시 예에 따른 전자 장치의 구성요소를 도시한 블록도이다.
도 3a는 일 실시 예에 따른 전자 장치에서 피사체와의 거리 정보 및 전자 장치 주위의 밝기 정보에 기반하여 플래시 밝기를 결정하는 동작을 도시하는 흐름도이다.
도 3b는 일 실시 예에 따른 전자 장치에서 계산된 파라미터에 기반하여 플래시의 밝기를 결정하는 것을 나타낸 흐름도이다.
도 4a 및 도 4b는 다양한 실시 예들에 따른 전자 장치에서 피사체를 촬영하는 경우 피사체와의 거리에 따라 그림자 발생 여부가 달라지는 것을 나타낸 도면이다.
도 5a 내지 도 5d는 다양한 실시 예들에 따른 전자 장치에서 전자 장치 주위의 밝기에 따라 그림자의 강도가 달라지는 것을 나타낸 도면이다.
도 6a는 일 실시 예에 따른 전자 장치에서 직접적인 광원이 있는 경우를 나타낸 도면이다.
도 6b는 일 실시 예에 따른 전자 장치에서 간접적인 광원이 있는 경우를 나타낸 도면이다.
도 7은 일 실시 예에 따른 전자 장치에서 광원의 중심 위치를 식별하는 것을 나타낸 도면이다.
도 8a 내지 도 8c는 다양한 실시 예들에 따른 전자 장치에서 광원의 위치 및 개수에 따른 그림자 강도를 나타낸 도면이다.
도 9는 일 실시 예에 따른 전자 장치에서 결정한 플래시 밝기 값에 따른 플래시 강도를 나타낸 도면이다.
도 10은 일 실시 예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 11은 일 실시 예에 따른, 카메라 모듈을 예시하는 블록도이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
도 1은 다양한 실시 예들에 따른 전자 장치에서 피사체를 촬영하는 경우 플래시 밝기에 따른 이미지를 나타낸 도면이다.
도 1의 (a)를 참조하면, 일 실시 예에 따른 전자 장치는 카메라의 동작을 통해서 획득한 이미지를 디스플레이에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 전자 장치는 후면 카메라를 구동하여 획득한 프리뷰 이미지를 디스플레이에 표시할 수도 있고, 또는 전면 카메라를 구동하여 획득한 프리뷰 이미지를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 메모리에 저장된 카메라 어플리케이션이 실행되고, 카메라를 활성화하고, 프리뷰 이미지를 생성하기 위한 촬영을 개시하면 프리뷰 이미지는 전자 장치에 의해 디스플레이될 수 있다. 몇몇 전자 장치는 복수의 카메라를 가질 수 있고, 전면을 향하거나 후면을 향하는 카메라가 활용될 수 있다.
일 실시 예에 따르면, 전자 장치는 프리뷰 이미지 내에 나타나는 적어도 하나의 객체를 촬영할 수 있다.몇몇 실시예들에서, 플래시가 촬영을 위한 조명을 제공하기 위해 활용될 수 있다. 예를 들어, 도 1에서, 플래시는 제1 이미지(101)를 획득하기 위해 제1 플래시 밝기로 동작할 수 있다. 일 실시 예에 따르면, 플래시가 제1 밝기의 플래시 밝기 값으로 활성화된 제1 이미지(101)에는 전자 장치의 그림자(102)가 촬영될 수 있다. 그림자는 전자 장치 주위의 외부 환경에 배치된 광원(예: 조명)에 의해 유발될 수 있다.
도 1의 (b)를 참조하면, 일 실시 예에 따른 전자 장치는 전면 카메라 또는 후면 카메라를 구동하여 획득한 프리뷰 이미지를 디스플레이에 표시할 수 있다. 일 실시 예에 따르면, 전자 장치는 메모리로부터 카메라 어플리케이션을 실행하고 전면 또는 카메라를 통해 획득한 이미지를 표시하는 프리뷰 이미지를 디스플레이에 표시할 수 있다.
일 실시 예에 따르면, 전자 장치는 거리 센서를 이용하여 프리뷰 이미지에 나타난 적어도 하나의 객체와 전자 장치 사이의 거리 정보를 획득할 수 있다. 일 실시 예에 따르면, 전자 장치는 후면 카메라를 통해 획득한 이미지를 디스플레이에 프리뷰 영상으로 표시하는 경우, 예를 들어, 후면 카메라를 이용하여 프리뷰 이미지에 포함된 적어도 하나의 객체와 전자 장치 사이의 거리를 검출할 수 있다. 다른 실시 예에 따르면, 전자 장치는 전면 카메라를 통해 획득한 이미지를 디스플레이에 프리뷰 영상으로 표시하는 경우, 전면 카메라를 이용하여 프리뷰 이미지에 포함된 적어도 하나의 객체와 전자 장치 사이의 거리를 검출할 수 있다. 일 실시 예에 따르면, 전자 장치는 조도 센서를 이용하여 전자 장치 주위의 외부 환경 내의 광원에 대한 밝기 정보를 획득할 수 있다.
일 실시 예에 따르면, 전자 장치는 획득한 거리 정보 및 획득한 밝기 정보에 기반하여 플래시의 밝기를 제2 밝기 값으로 구성할 수 있다. 일 실시 예에 따르면, 전자 장치는 프리뷰 이미지에 포함된 적어도 하나의 객체를 제2 밝기 값으로 플래시가 동작하는 동안 촬영하여, 제2 이미지(103)를 획득할 수 있다. 일 실시 예에 따르면, 제2 밝기 값이 적용된 제2 이미지(103)에는 전자 장치의 그림자(예를 들어, 조명과 같은 환경 광원에 의해 유발되는)가 나타나지 않을 수 있다. 또는, 제2 이미지(103)에는 그림자가 두드러지지 않도록 제1 이미지(101)에 나타난 전자 장치의 그림자(102)의 영역과 다른 영역 사이의 조도 차이가 작을 수 있다.
플래시의 밝기를 어떠한 밝기 값으로 구성한다는 것은 발광 모듈이 그 밝기 값과 관련된 플래시를 생성하도록 제어하기 위한 제어 값을 결정하는 것을 의미할 수 있다. 전자 장치는 결정된 제어 값에 기반하여 발광 모듈을 제어하여 플래시가 생성되도록 할 수 있다.
도 2는 일 실시 예에 따른 전자 장치의 블록도이다.
도 2를 참조하면, 전자 장치(100)는, 프로세서(210), 전면 카메라(215), 후면 카메라(220), 센서(230), 디스플레이(240), 발광 모듈(250) 및 메모리(260)를 포함할 수 있다. 다양한 실시 예에서, 전자 장치(100)는 도 2에 도시된 구성요소 외에 추가적인 구성요소를 포함하거나, 도 2에 도시된 구성요소 중 적어도 하나를 생략할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 메모리(260)에 저장된 인스트럭션들을 이용하여 전자 장치(100)의 적어도 하나의 다른 구성요소들의 제어 및/또는 연산이나 데이터 처리를 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 중앙처리장치(CPU), 그래픽처리장치(GPU), MCU(micro controller unit), 센서허브, 보조프로세서(supplementary processor), 통신프로세서(communication processor), 애플리케이션 프로세서(application processor), ASIC(application specific integrated circuit), FPGA(field programmable gate arrays) 중 적어도 하나를 포함할 수 있으며, 복수의 코어들(예를 들어, 멀티-코어 프로세서)을 가질 수 있다.
일 실시 예에 따르면, 프로세서(210)는, 메모리(260)에 저장된 어플리케이션(예: 카메라 어플리케이션)을 실행할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 카메라 어플리케이션이 실행된 상태에서, 전면 카메라(215) 또는 후면 카메라(220)를 이용하여 이미지를 획득할 수 있다. 어플리케이션은, 전면 카메라(215) 또는 후면 카메라(220)를 이용하는 임의의 어플리케이션일 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)를 이용하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 센서(230)(예: 거리 센서, 깊이 센서)를 이용하여 프리뷰 이미지에 포함된 객체와의 거리 정보를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)를 이용하여 프리뷰 이미지에 포함된 객체와의 거리 정보를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 센서(230)(예: 조도 센서)를 이용하여 전자 장치(100) 주위의 밝기 정보를 획득할 수 있다. 프로세서(210)의 동작과 관련된 구체적인 내용은 도 3a 및 도 3b를 참조하여 후술한다.
일 실시 예에 따르면, 전면 카메라(215) 또는 후면 카메라(220)는 영상(예: 정지 영상 및/또는 동영상)을 획득(acquire)(또는 촬영)할 수 있다. 예를 들면, 전면 카메라(215) 또는 후면 카메라(220)와 전기적으로 연결되는 이미지 시그널 프로세서(미도시)는, 영상(예: 프리뷰 영상 또는 메모리(260)에 저장된 영상)에 나타난 객체(예: 사람)와 배경을 구분할 수 있다. 다양한 실시 예들에 따르면, 전면 카메라(215) 및 후면 카메라(220)는 다양하게 지칭될 수 있다. 예를 들어, 전면 카메라(215)는 제1 카메라 또는 제2 카메라로 지칭될 수 있으며, 후면 카메라(220)도 제1 카메라 또는 제2 카메라로 지칭될 수 있다. 예를 들어, 전면 카메라(215)가 제1 카메라로 지칭되는 경우 후면 카메라(220)는 제2 카메라로 지칭될 수 있다. 또한 예를 들어, 전면 카메라(215)가 제2 카메라로 지칭되는 경우 후면 카메라(220)는 제1 카메라로 지칭될 수 있다.
일 실시 예에 따르면, 이미지 시그널 프로세서는 전면 카메라(215) 또는 후면 카메라(220)로부터 분리되거나, 프로세서(210)의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 전면 카메라(215) 또는 후면 카메라(220)는 이미지 센서를 포함할 수 있다. 일 실시 예에 따르면, 이미지 센서는 색상 정보를 획득 및 처리할 수 있다. 일 실시 예에 따르면, 후면 카메라(220)로 촬영을 할 때 전면 카메라(215)는 백그라운드 상태로 동작할 수 있고, 전면 카메라(215)로 촬영을 할 때 후면 카메라(220)는 백그라운드 상태로 동작할 수 있다.
일 실시 예에 따르면, 센서(230)는 깊이 센서(depth sensor), Time of Flight(ToF) 센서 및 이미지 센서 중 적어도 하나를 포함할 수 있다. 일 실시 예에 따르면, 깊이 센서는 외부 객체에 대한 깊이를 측정하고, 측정된 깊이를 이용하여 외부 객체에 대응하는 깊이 정보를 생성할 수 있다. 일 실시 예에 따르면, 센서(230)는 프로세서(210) 전면 카메라(215), 후면 카메라(220), 및 메모리(260) 중 적어도 하나 또는 그 이상과 작동적으로 연결되어 색상 정보, 3D 정보, 거리 정보, 위치 정보 등에 관한 처리를 할 수 있다.
일 실시 예에 따르면, 센서(230)는 조도 센서를 포함할 수 있다. 일 실시 예에 따르면, 조도 센서는 전자 장치(100)의 주위 영역 또는 환경의 조도(illumination)를 측정할 수 있다. 일 실시 예에 따르면, 조도 센서는 외부 환경으로부터 입사되는 광의 세기를 이용하여 외부의 조도를 측정할 수 있다. 일 실시 예에 따르면, 조도 센서는 전자 장치(100)가 위치한 환경의 조도를 결정(또는 식별; 검출)하기 위해 환경의 광을 수신할 수 있다.
일 실시 예에 따른 디스플레이(240)는 전면 카메라(215) 또는 후면 카메라(220)를 통해 획득되는 영상을 표시할 수 있다. 일 실시 예에 따르면, 디스플레이(240)는, 전면 카메라(215) 또는 후면 카메라(220)를 통해 획득되는 영상을 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 디스플레이(240)를 통해 사용자의 입력을 획득할 수 있고, 사용자의 입력을 프로세서(210)에 전달할 수 있다.
일 실시 예에 따르면, 발광 모듈(250)(예를 들어, 플래시)은 어두운 환경에서 영상을 품질 및 가시성을 향상시켜서 촬영할 수 있도록 빛을 생성할 수 있다. 일 실시 예에 따르면, 발광 모듈(250)은 카메라(예: 전면 카메라(215) 또는 후면 카메라(220))와 동일한 방향(예: 전자 장치(100)의 전면 방향 또는 전자 장치(100)의 후면 방향)으로 배치될 수 있다. 일 실시 예에 따르면, 카메라(예: 전면 카메라(215) 또는 후면 카메라(220))의 동작과 발광 모듈(250)의 동작은을 상호 연동될 수 있다. 예를 들어, 전자 장치(100)는 촬영 명령을 받으면, 센서(230)를 이용하여 주변의 조도를 판단하고 카메라(예: 전면 카메라(215) 또는 후면 카메라(220))에 의한 촬영을 활성화하는 것과 발광 모듈(250)의 발광을 동일한 시점에 수행할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 촬영 환경을 밝히도록 발광 모듈(250)로부터 빛이 발생하는 시점에 카메라(예: 전면 카메라(215) 또는 후면 카메라(220))를 사용하여 영상을 획득할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 발광 모듈(250)에 의해 발광된 빛을 기반으로 영상을 획득할 수 있다.
일 실시 예에 따르면, 메모리(260)는, 하나 이상의 메모리 집합을 의미할 수 있다. 일 실시 예에 따르면, 메모리(260)는, 다른 구성 요소들(예: 프로세서(210), 전면 카메라(215), 후면 카메라(220), 센서(230), 디스플레이(240))로부터 수신되거나 다른 구성요소들에 의해 생성된 데이터 및/또는 명령을 저장할 수 있다. 다양한 실시 예들에서, 메모리(260)는, 카메라를 이용하는 어플리케이션을 저장할 수 있다.
도 3a는 일 실시 예에 따른 전자 장치에서 피사체와의 거리 정보 및 전자 장치 주위의 밝기 정보에 기반하여 플래시 밝기를 결정하는 동작을 도시하는 흐름도이다. 이하 실시 예에서, 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되어야 하는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며, 적어도 두 동작들이 병렬적으로 수행될 수도 있다.
도 3a를 참조하면, 일 실시 예에 따른 프로세서(210)는 동작 310에서 적어도 하나의 카메라를 구동하여 획득한 이미지를 디스플레이에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)를 이용하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 메모리(260)에 저장된 카메라 어플리케이션이 실행된 상태에서 전면 카메라(215) 또는 후면 카메라(220)를 이용하여 획득함으로써 프리뷰 이미지를 디스플레이(240)에 표시할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 320에서 거리 센서 또는 적어도 하나의 카메라를 이용하여 프리뷰 이미지에 포함된 적어도 하나의 객체와 전자 장치 사이의 거리에 대한 정보를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 센서(230)(예: 깊이 센서, ToF 센서)를 이용하여 프리뷰 이미지에 포함된 적어도 하나의 객체에 대한 깊이 정보 및/또는 거리 정보를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 대체하여 또는 추가적으로 적어도 하나의 카메라를 이용하여 프리뷰 이미지에 포함된 적어도 하나의 객체에 대한 거리 정보를 획득할 수 있다. 예를 들어, 프로세서(210)는 전면 카메라(215)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 영상으로 표시하는 경우, 전면 카메라(215)를 이용하여 프리뷰 이미지에 포함된 객체에 대한 거리 정보를 획득할 수 있다. 또한 예를 들어, 프로세서(210)는 후면 카메라(220)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 영상으로 표시하는 경우, 후면 카메라(220)를 이용하여 프리뷰 이미지에 포함된 객체에 대한 거리 정보를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 330에서 조도 센서를 이용하여 전자 장치(100) 주위의 환경을 밝히는 광원에 대한 밝기 정보를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 이벤트 발생에 대응하여 조도 센서를 활성화시키고, 조도 센서를 이용하여 전자 장치(100)의 주위의 조도를 측정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 카메라(예: 전면 카메라(215) 또는 후면 카메라(220))의 노출 시간 또는 조도 센서를 이용하여 전자 장치(100)주위의 광원(또는 조명)의 밝기를 측정할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 340에서 거리 정보 및 밝기 정보 중 하나 이상에 기반하여 광원에 의해 전자 장치의 그림자가 전면 카메라(215) 또는 후면 카메라(220)의 화각 내에 발생하는지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)와 피사체 사이의 거리가 임계 값 미만인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생한 것으로 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)와 피사체 사이의 거리가 임계 값 미만이면서 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생한 것으로 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)와 피사체 사이의 거리가 임계 값 미만이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 미만인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생하지 않은 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)와 피사체 사이의 거리가 임계 값 이상이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생하지 않은 것으로 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 350에서 그림자가 발생한 것으로 판단하는 것에 응답하여, 사진을 촬영하는 동안 그림자를 제거하거나 그림자를 감소시키도록 플래시의 밝기 값을 구성할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 그림자가 발생하는 것으로 판단되는 경우, 그림자의 강도를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 피사체와의 거리 정보 및 주변의 밝기 정보에 기반하여 그림자의 강도를 판단할 수 있다. 예를 들어, 프로세서(210)는 피사체와 전자 장치(100)사이의 거리가 작을수록 그림자의 강도가 센 것으로 판단할 수 있다. 또한 예를 들어, 프로세서(210)는 조명의 밝기가 밝을수록 그림자의 강도가 센 것으로 판단할 수 있다. 예를 들어, 프로세서(210)는 거리가 작거나 주변이 밝을수록 플래시의 밝기 값을 높은 값으로 구성할 수 있다. 프로세서(210)는 조도 값에 기초하여 조명의 밝기를 결정할 수 있다. 예를 들어, 프로세서(210)는 조도 센서를 이용하여 검출된 조도 값이나 카메라를 통해서 획득된 이미지의 분석을 통해서 조명의 밝기를 결정할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 그림자가 발생하는 것으로 판단되는 경우, 프리뷰 이미지에 포함된 피사체의 반사도를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)를 통해 획득한 이미지를 분석하여 이미지에 포함된 적어도 하나의 피사체의 반사도를 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 그림자가 발생한 것으로 판단하는 것에 응답하여 그림자의 강도 및/또는 객체(피사체)의 반사도를 판단한 것에 기반하여 플래시의 밝기를 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 플래시의 밝기가 그림자의 강도와 비례하고 피사체의 반사도와 반비례하도록 발광 모듈(250)을 제어할 수 있다. 예를 들어, 프로세서(210)는 그림자의 강도가 클수록 플래시의 밝기를 밝게 결정할 수 있다. 또한 예를 들어, 프로세서(210)는 피사체의 반사도가 클수록 플래시의 밝기를 어둡게 결정할 수 있다. 그림자의 강도 및/또는 객체(피사체)의 반사도에 기초하여 플래시의 밝기를 결정하는 프로세스는 다양하게 구성될 수 있다. 예를 들어, 프로세서(210)는 미리 정해진 함수에 그림자의 강도 및/또는 객체(피사체)의 반사도를 입력하여 플래시의 밝기 값을 결정할 수 있다. 다른 예를 들면, 프로세서(210)는 플래시의 밝기 값과 그림자의 강도 및/또는 객체(피사체)의 반사도의 쌍을 포함하는 룩업테이블로부터 플래시의 밝기 값을 획득할 수도 있다.
도 3b는 일 실시 예에 따른 전자 장치에서 계산된 파라미터에 기반하여 플래시의 밝기를 결정하는 것을 나타낸 흐름도이다. 도 3b와 관련하여 전술한 내용과 유사하거나 중복되는 내용은 간략히 하거나 생략할 수 있다.
도 3b를 참조하면, 일 실시 예에 따른 프로세서(210)는 동작 301에서 카메라 어플리케이션을 실행할 수 있다. 일 실시 예에 따르면, 카메라 어플리케이션의 실행에 따라서 프로세서(210)는 카메라를 구동하여 이미지(또는 영상)을 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 메모리(260)에 저장된 카메라를 이용하는 어플리케이션을 실행할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 303에서 광원에 의한 전자 장치(100)의 그림자가 발생하는지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 피사체와 전자 장치(100) 사이의 거리 정보 및/또는 전자 장치(100) 주위의 광원의 밝기 정보에 기반하여 전자 장치(100) 또는 사용자의 그림자가 발생하는지 여부(예를 들어, 프리뷰 이미지에 나타나는지 여부)를 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)와 피사체 사이의 거리가 임계 값 미만인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 것으로 판단되는 경우, 광원에 의해 전자 장치(100)의 그림자가 발생한 것으로 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 305에서 전자 장치의 그림자가 발생한 것으로 판단되는 경우, 플래시 밝기를 결정하기 위한 파라미터를 계산할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 그림자가 발생한 것으로 판단되는 경우, 광원과 전자 장치(100) 사이의 각도, 피사체와 전자 장치(100) 사이의 거리, 피사체의 반사도 및 그림자의 강도 중 적어도 하나를 포함하는 파라미터를 계산할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전자 장치의 그림자가 발생하지 않은 것으로 판단되는 경우, 카메라 어플리케이션이 실행되는 동안 동작 303을 수행하면서 그림자의 발생을 모니터링할 수 있다.
일 실시 예에 따르면, 그림자가 검출된 경우, 프로세서(210)는 동작 307에서 플래시 밝기를 결정할 수 있다(예를 들어, 밝기 값을 설정할 수 있다). 일 실시 예에 따르면, 프로세서(210)는 적어도 하나의 파라미터를 계산한 것에 기반하여 플래시 밝기를 결정할 수 있다. 산출된 파라미터는 광원과 전자 장치(100) 사이의 각도, 피사체와 전자 장치(100) 사이의 거리, 피사체의 반사도 및 그림자의 강도 중 적어도 하나 또는 그 이상을 포함할 수 있다. 예를 들어, 프로세서(210)는 그림자의 강도와 비례하고 피사체의 반사도와 반비례하도록 플래시의 밝기 값을 설정할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 309에서 플래시를 활성화할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 플래시의 밝기를 결정하는 것에 응답하여 플래시를 활성화할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 동작 311에서 플래시의 활성화 이후에 전자 장치의 그림자 강도가 변화하는지 여부를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라(215) 또는 후면 카메라(220)를 통해 획득한 영상을 분석하여, 플래시가 활성화된 동안 전자 장치(100) 또는 사용자에 의해 발생한 그림자의 강도가 변화하는지 여부를 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전자 장치의 그림자 강도가 변하지 않은 것으로 판단되는 경우 그림자 감도를 저감시키기 위해 밝기 값의 재구성을 시도하도록 동작 303으로 돌아갈 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전자 장치의 그림자 강도가 변한 것으로 판단된 경우 동작을 종료할 수 있다. 다만, 동작 311의 구성은 도 3b에 도시된 것에 한정되지 아니한다. 예를 들어, 그림자 강도가 변하지 않은 경우 그림자 감도를 저감시키기 위해 밝기 값의 재구성을 시도하도록 동작 305로 돌아갈 수 있다. 그림자 강도가 변한 경우 카메라 어플리케이션이 실행된 동안 동작 303으로 돌아갈 수 있다.
도 4a 및 도 4b는 다양한 실시 예들에 따른 전자 장치에서 피사체를 촬영하는 경우 피사체와의 거리에 따라 그림자 발생 여부가 달라지는 것을 나타낸 도면이다.
도 4a를 참조하면, 일 실시 예에 따른 프로세서(210)는, 전자 장치(100) 주위의 광원의 밝기가 제1 밝기 값이고, 피사체(410)와 전면 카메라(215) 또는 후면 카메라(220) 사이의 거리가 임계 값 미만인 경우 그림자가 프리뷰 이미지 내에 발생할 수 있다. 예를 들어, 전면 카메라(215) 또는 후면 카메라(220)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 전자 장치(100) 및/또는 사용자와 전자 장치(100) 주변환경의 광원 간의 상호작용에 의해 전자 장치(100) 및/또는 사용자의 그림자(420)가 발생한 것을 검출할 수 있다. 몇몇 실시예에서, 프로세서(210)는 피사체(410)와 전면 카메라(215) 또는 후면 카메라(220) 사이의 거리가 임계 값 미만인 경우, 임계 강도의 그림자가 생성될 수 있다. 피사체(410)와 전면 카메라(215) 또는 후면 카메라(220) 사이의 거리가 가까울수록 높은 강도의 깊은 그림자가 형성될 수 있다.
도 4b를 참조하면, 일 실시 예에 따른 프로세서(210)는, 전자 장치(100) 주위의 광원의 밝기가 동일한 제1 밝기 값이고, 피사체(410)와 전면 카메라(215) 또는 후면 카메라(220) 사이의 거리가 임계 값 이상인 경우 식별 가능한 그림자가 형성되거나 프리뷰 이미지에 촬영되지 않을 수 있다. 예를 들어, 전면 카메라(215) 또는 후면 카메라(220)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 전자 장치(100) 주위의 광원과의 상호작용으로부터 에 의해 전자 장치(100) 또는 사용자의 그림자가 발생하지 않은 것으로 판단할 수 있다.
도 5a 내지 도 5d는 다양한 실시 예들에 따른 전자 장치에서 전자 장치 주위의 밝기에 따라 그림자의 강도가 달라지는 것을 나타낸 도면이다.
도 5a를 참조하면, 일 실시 예에 따른 프로세서(210)는, 피사체(410)와 후면 카메라(220) 사이의 거리가 임계 값 미만인 제1 거리이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 미만인 제1 밝기인 경우, 후면 카메라(220)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 전자 장치(100) 주위의 광원에 의해 전자 장치(100) 또는 사용자의 그림자가 발생하지 않은 것으로 판단할 수 있다.
도 5b를 참조하면, 일 실시 예에 따른 피사체(410)와 후면 카메라(220) 사이의 거리가 임계 값 미만인 제1 거리이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 제2 밝기인 경우, 진한 그림자가 형성될 수 있다. 예를 들어, 프로세서(210)는, 후면 카메라(220)를 구동하여 획득한 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다. 제1 강도를 가지는 그림자(420)가 프리뷰 이미지에 촬영될 수 있다.
도 5c를 참조하면, 일 실시 예에 따른 프로세서(210)는, 피사체(410)와 후면 카메라(220) 사이의 거리가 임계 값 미만인 제1 거리이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 제3 밝기인 경우, 후면 카메라(220)를 구동하여 획득한 제1 강도보다 낮은 제2 강도를 가지는 그림자(420)가 촬영된 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다.
도 5d를 참조하면, 일 실시 예에 따른 프로세서(210)는, 피사체(410)와 후면 카메라(220) 사이의 거리가 임계 값 미만인 제1 거리이고, 전자 장치(100) 주위의 광원의 밝기가 임계 값 이상인 제4 밝기인 경우, 후면 카메라(220)를 구동하여 획득한 제2 및 제1 강도보다 낮은 제3 강도를 가지는 그림자(420)가 촬영된 이미지를 디스플레이(240)에 프리뷰 이미지로 표시할 수 있다.
다양한 실시 예들에 따르면, 도 5b 내지 도 5c에 도시된 것과 같이, 프로세서(210)는 프리뷰 이미지를 분석하여, 전자 장치(100) 주위의 광원에 의해 전자 장치(100) 또는 사용자의 그림자(420)가 발생한 것으로 판단할 수 있다. 다양한 실시 예들에 따르면, 프로세서(210)는 광원의 밝기에 따라 그림자의 강도를 다르게 판단할 수 있다. 예를 들어, 프로세서(210)는 광원의 밝기가 각각 제2 밝기, 제3 밝기 및 제4 밝기인 것으로 판단되는 경우 그림자의 강도를 모두 다르게 판단할 수 있다.
도 6a는 일 실시 예에 따른 전자 장치에서 직접적인 광원이 있는 경우를 나타낸 도면이다.
도 6a를 참조하면, 일 실시 예에 따른 전자 장치(100)는 직접적인 광원(601)이 있는 경우 카메라(예: 도 2의 전면 카메라(215) 또는 후면 카메라(220))를 구동하여 획득한 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 직접적인 광원(601)은 전면 카메라(215)의 반대편에서 전면 카메라(215)로 일직선으로 조명하는 광원을 포함할 수 있다. 또한 예를 들어, 직접적인 광원(601)은 후면 카메라(220)의 반대편에서 후면 카메라(220)로 일직선으로 조명하는 광원을 포함할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 직접적인 광원(601)에 의해 전자 장치(100) 또는 사용자의 그림자가 발생한 것으로 판단되는 경우, 직접적인 광원(601)의 밝기가 셀수록 그림자가 진해지는 것으로 판단할 수 있다.
도 6b는 일 실시 예에 따른 전자 장치에서 간접적인 광원(602)이 있는 경우를 나타낸 도면이다.
도 6b를 참조하면, 일 실시 예에 따른 전자 장치(100)는 간접적인 광원(602)이 있는 경우 카메라(예: 도 2의 전면 카메라(215) 또는 후면 카메라(220))를 구동하여 획득한 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 간접적인 광원(602)은 전면 카메라(215)의 반대편에서 전면 카메라(215)로 일직선이 아닌 방향으로 조명하는 광원을 포함할 수 있다. 또한 예를 들어, 간접적인 광원(602)은 후면 카메라(220)의 반대편에서 후면 카메라(220)로 일직선이 아닌 방향으로 조명하는 광원을 포함할 수 있다. 또한 예를 들어, 간접적인 광원(602)은 전자 장치(100)와 제1 각도에 위치한 제1 간접적인 광원(602a) 및 전자 장치(100)와 제2 각도에 위치한 제2 간접적인 광원(602b)을 포함할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 간접적인 광원(602)에 의해 전자 장치(100) 또는 사용자의 그림자가 발생한 것으로 판단되는 경우, 간접적인 광원(602)의 밝기가 셀수록 그림자가 연해지는 것으로 판단할 수 있다.
도 7은 일 실시 예에 따른 전자 장치에서 광원의 중심 위치를 식별하는 것을 나타낸 도면이다.
도 7을 참조하면, 일 실시 예에 따른 프로세서(210)는 전자 장치(100) 주위의 광원(710)의 방향을 식별할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라 또는 비전 센서를 통하여 획득한 이미지를 분석하여 광원(710)의 방향을 식별할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득한 이미지를 분석하거나 AI(artificial intelligence) 알고리즘을 이용하여 광원(710)의 중심(720)(예: P1(x,y))을 식별할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 광원의 중심(720)에 따른 상대적인 전자 장치(100)의 위치 및 그림자의 위치를 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라 또는 비전 센서를 통하여 획득한 이미지를 분석하여 광원(710)의 개수를 식별할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 그림자가 발생한 것으로 판단되는 경우, 광원(710)의 방향 및 개수에 기반하여 그림자의 강도를 계산할 수 있다.
도 8a 내지 도 8c는 다양한 실시 예들에 따른 전자 장치에서 광원의 위치 및 개수에 따른 그림자 강도를 나타낸 도면이다.
도 8a를 참조하면, 일 실시 예에 따른 전자 장치(100)는 직접적인 광원(801)이 있는 경우 카메라(예: 도 2의 후면 카메라(220))를 구동하여 획득한 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 직접적인 광원(801)은 후면 카메라(220)의 반대편(예를 들어, 전면 카메라가 배치된 면)에서 후면 카메라(220)로 일직선으로 조명하는 광원을 포함할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 직접적인 광원(801)의 존재에 의해 전자 장치 및/또는 사용자의 그림자(810)가 발생한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라를 이용하여 직접적인 광원(801)을 포함하는 이미지(840)를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면카메라 또는 비전 센서를 이용하여 직접적인 광원(801)의 밝기를 계산할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 직접적인 광원(801)의 밝기와 그림자의 강도가 비례하는 것으로 판단할 수 있다. 예를 들어, 전면 카메라에 유입되는 빛의 양이 많은 경우 노출 시간이 짧아지고 그림자가 진한 것으로(예를 들어, 임계치에 대비하여) 판단할 수 있다. 또한 예를 들어, 전면 카메라에 유입되는 빛의 양이 적은 경우 노출 시간이 길어지고 그림자가 연한 것으로 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면카메라를 이용하여 획득한 이미지(840)를 분석한 결과에 기반하여 그림자(810)의 강도를 제1 강도로 계산(또는 결정)할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득한 이미지(840)를 분석하여 직접적인 광원(801)의 방향 및 밝기에 기반하여 그림자(810)의 강도를 제1 강도로 계산할 수 있다. 그러므로, 플래시 밝기 값이 이에 따라서 조정될 수 있다.
도 8b를 참조하면, 일 실시 예에 따른 전자 장치(100)는 간접적인 광원(802)이 있는 경우 카메라(예: 도 2의 후면 카메라(220))를 구동하여 획득한 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 간접적인 광원(802)은 후면 카메라(220)의 반대편에서 후면 카메라(220)로 일직선이 아닌 방향으로 조명하는 광원을 포함할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 간접적인 광원(802)에 의해 전자 장치 및/또는 사용자의 그림자(820)가 발생한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라를 이용하여 간접적인 광원(802)을 포함하는 이미지(850)를 획득할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면카메라 또는 비전 센서를 이용하여 간접적인 광원(802)의 밝기를 계산할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 간접적인 광원(802)의 밝기와 그림자의 강도가 반비례하는 것으로 판단할 수 있다. 예를 들어, 후면 카메라에 유입되는 빛의 양이 많은 경우 노출 시간이 짧아지고 그림자가 연한 것으로 판단할 수 있다. 또한 예를 들어, 후면 카메라에 유입되는 빛의 양이 적은 경우 노출 시간이 길어지고 그림자가 진한 것으로 (예를 들어, 임계치에 대비하여) 판단할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 전면카메라를 이용하여 획득한 이미지(850)를 분석한 결과에 기반하여 그림자(820)의 강도를 제1 강도 값보다 작은 제2 강도 값으로 계산(또는 결정)할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 획득한 이미지(850)를 분석하여 간접적인 광원(802)의 방향 및 밝기에 기반하여 그림자(820)의 강도를 제2 강도 값으로 계산할 수 있다.
도 8c를 참조하면, 일 실시 예에 따른 전자 장치(100)는 간접적인 광원(803)이 있는 경우 카메라(예: 도 2의 후면 카메라(220))를 구동하여 획득한 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시할 수 있다. 예를 들어, 간접적인 광원(803)은 후면 카메라(220)의 반대편에서 후면 카메라(220)로 일직선이 아닌 방향으로 조명하는 광원을 포함할 수 있다. 또한 예를 들어, 간접적인 광원(803)은 전자 장치(100)와 제1 각도에 위치한 제1 간접적인 광원(803a) 및 전자 장치(100)와 제2 각도에 위치한 제2 간접적인 광원(803b)을 포함할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 프리뷰 이미지를 분석하여, 간접적인 광원(803)에 의해 전자 장치 및/또는 사용자의 그림자(830)가 발생한 것으로 판단할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면 카메라를 이용하여 간접적인 광원(803)을 포함하는 이미지(860)를 획득할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 전면카메라를 이용하여 획득한 이미지(860)를 분석한 결과에 기반하여 그림자(830)의 강도를 제2 강도 값보다 작은 제3 강도값으로 계산(또는 결정)할 수 있다.
도 9는 일 실시 예에 따른 전자 장치에서 결정한 플래시 밝기 값에 따른 플래시 강도를 나타낸 도면이다.
도 9를 참조하면, X축은 프로세서가 결정한 플래시의 밝기를 나타내고, Y축은 결정된 플래시 밝기에 따른 플래시 강도를 나타내고 있다.
일 실시 예에 따르면, 프로세서(210)는 광원에 의한 전자 장치의 그림자의 강도 및/또는 피사체의 반사도에 기반하여 플래시의 밝기를 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 플래시의 밝기가 그림자의 강도와 비례하고 피사체의 반사도와 반비례하도록 발광 모듈(250)을 제어할 수 있다. 예를 들어, 프로세서(210)는 그림자의 강도가 클수록 플래시의 밝기를 밝게 결정할 수 있다. 또한 예를 들어, 프로세서(210)는 피사체의 반사도가 클수록 플래시의 밝기를 어둡게 결정할 수 있다.
일 실시 예에 따르면, 프로세서(210)는 결정된 플래시 밝기에 따라서 이미지를 획득하는 플래시의 강도를 결정할 수 있다. 예를 들어, 결정된 플래시의 밝기가 임계 값 미만인 경우, 프로세서(210)는 플래시의 밝기에 비례하도록 플래시의 강도를 결정할 수 있다. 일 실시 예에 따르면, 플래시의 밝기가 임계 값 이상인 경우, 프로세서(210)는 플래시의 강도를 최대 강도로 결정할 수 있다. 일 실시 예에 따르면, 프로세서(210)는 결정된 플래시의 강도가 적용된 이미지를 획득할 수 있다.
도 10은 일 실시 예에 따른 네트워크 환경(1000) 내의 전자 장치(1001)(예: 도 2의 전자 장치(100))의 블록도이다.
도 10을 참조하면, 네트워크 환경(1000)에서 전자 장치(1001)는 제 1 네트워크(1098)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(1002)와 통신하거나, 또는 제 2 네트워크(1099)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(1004) 또는 서버(1008) 중 적어도 하나와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(1001)는 서버(1008)를 통하여 전자 장치(1004)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(1001)는 프로세서(1020)(예: 도 2의 프로세서(210)), 메모리(1030), 입력 모듈(1050), 음향 출력 모듈(1055), 디스플레이 모듈(1060), 오디오 모듈(1070), 센서 모듈(1076), 인터페이스(1077), 연결 단자(1078), 햅틱 모듈(1079), 카메라 모듈(1080), 전력 관리 모듈(1088), 배터리(1089), 통신 모듈(1090), 가입자 식별 모듈(1096), 또는 안테나 모듈(1097)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(1001)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(1078))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(1076), 카메라 모듈(1080), 또는 안테나 모듈(1097))은 하나의 구성요소(예: 디스플레이 모듈(1060))로 통합될 수 있다.
프로세서(1020)는, 예를 들면, 소프트웨어(예: 프로그램(1040))를 실행하여 프로세서(1020)에 연결된 전자 장치(1001)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(1020)는 다른 구성요소(예: 센서 모듈(1076) 또는 통신 모듈(1090))로부터 수신된 명령 또는 데이터를 휘발성 메모리(1032)에 저장하고, 휘발성 메모리(1032)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(1034)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(1020)는 메인 프로세서(1021)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(1023)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(1001)가 메인 프로세서(1021) 및 보조 프로세서(1023)를 포함하는 경우, 보조 프로세서(1023)는 메인 프로세서(1021)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(1023)는 메인 프로세서(1021)와 별개로, 또는 그 일부로서 구현될 수 있다.
보조 프로세서(1023)는, 예를 들면, 메인 프로세서(1021)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(1021)를 대신하여, 또는 메인 프로세서(1021)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(1021)와 함께, 전자 장치(1001)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(1060), 센서 모듈(1076), 또는 통신 모듈(1090))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(1023)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(1080) 또는 통신 모듈(1090))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(1023)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(1001) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(1008))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.
메모리(1030)는, 전자 장치(1001)의 적어도 하나의 구성요소(예: 프로세서(1020) 또는 센서 모듈(1076))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(1040)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(1030)는, 휘발성 메모리(1032) 또는 비휘발성 메모리(1034)를 포함할 수 있다.
프로그램(1040)은 메모리(1030)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(1042), 미들 웨어(1044) 또는 어플리케이션(1046)을 포함할 수 있다.
입력 모듈(1050)은, 전자 장치(1001)의 구성요소(예: 프로세서(1020))에 사용될 명령 또는 데이터를 전자 장치(1001)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(1050)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.
음향 출력 모듈(1055)은 음향 신호를 전자 장치(1001)의 외부로 출력할 수 있다. 음향 출력 모듈(1055)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.
디스플레이 모듈(1060)은 전자 장치(1001)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(1060)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(1060)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.
오디오 모듈(1070)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(1070)은, 입력 모듈(1050)을 통해 소리를 획득하거나, 음향 출력 모듈(1055), 또는 전자 장치(1001)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(1002))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.
센서 모듈(1076)은 전자 장치(1001)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(1076)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.
인터페이스(1077)는 전자 장치(1001)가 외부 전자 장치(예: 전자 장치(1002))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(1077)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.
연결 단자(1078)는, 그를 통해서 전자 장치(1001)가 외부 전자 장치(예: 전자 장치(1002))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(1078)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.
햅틱 모듈(1079)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(1079)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.
카메라 모듈(1080)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(1080)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.
전력 관리 모듈(1088)은 전자 장치(1001)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(1088)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.
배터리(1089)는 전자 장치(1001)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(1089)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.
통신 모듈(1090)은 전자 장치(1001)와 외부 전자 장치(예: 전자 장치(1002), 전자 장치(1004), 또는 서버(1008)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(1090)은 프로세서(1020)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(1090)은 무선 통신 모듈(1092)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(1094)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(1098)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(1099)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(1004)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(1092)은 가입자 식별 모듈(1096)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(1098) 또는 제 2 네트워크(1099)와 같은 통신 네트워크 내에서 전자 장치(1001)를 확인 또는 인증할 수 있다.
무선 통신 모듈(1092)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(1092)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(1092)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(1092)은 전자 장치(1001), 외부 전자 장치(예: 전자 장치(1004)) 또는 네트워크 시스템(예: 제 2 네트워크(1099))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(1092)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.
안테나 모듈(1097)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(1097)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(1097)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(1098) 또는 제 2 네트워크(1099)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(1090)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(1090)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(1097)의 일부로 형성될 수 있다.
다양한 실시예에 따르면, 안테나 모듈(1097)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(1099)에 연결된 서버(1008)를 통해서 전자 장치(1001)와 외부의 전자 장치(1004)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(1002, 또는 1004) 각각은 전자 장치(1001)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(1001)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(1002, 1004, 또는 1008) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(1001)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(1001)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(1001)로 전달할 수 있다. 전자 장치(1001)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(1001)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(1004)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(1008)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(1004) 또는 서버(1008)는 제 2 네트워크(1099) 내에 포함될 수 있다. 전자 장치(1001)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.
본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(1001)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(1036) 또는 외장 메모리(1038))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(1040))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(1001))의 프로세서(예: 프로세서(1020))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.
일 실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.
도 11는, 다양한 실시예들에 따른, 카메라 모듈(1080)을 예시하는 블럭도(1100)이다. 도 11를 참조하면, 카메라 모듈(1080)은 렌즈 어셈블리(1110), 플래쉬(1120), 이미지 센서(1130), 이미지 스태빌라이저(1140), 메모리(1150)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(1160)를 포함할 수 있다. 렌즈 어셈블리(1110)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(1110)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일 실시 예에 따르면, 카메라 모듈(1080)은 복수의 렌즈 어셈블리(1110)들을 포함할 수 있다. 이런 경우, 카메라 모듈(1080)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(1110)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(1110)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다.
플래쉬(1120)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일 실시 예에 따르면, 플래쉬(1120)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(1130)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(1110) 를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일 실시 예에 따르면, 이미지 센서(1130)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(1130)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.
이미지 스태빌라이저(1140)는 카메라 모듈(1080) 또는 이를 포함하는 전자 장치(1001)의 움직임에 반응하여, 렌즈 어셈블리(1110)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(1130)를 특정한 방향으로 움직이거나 이미지 센서(1130)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일 실시 예에 따르면, 이미지 스태빌라이저(1140)는, 일 실시 예에 따르면, 이미지 스태빌라이저(1140)는 카메라 모듈(1080)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(1080) 또는 전자 장치(1001)의 그런 움직임을 감지할 수 있다. 일 실시 예에 따르면, 이미지 스태빌라이저(1140)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(1150)는 이미지 센서(1130)를 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(1150)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 표시 장치(1060)를 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(1150)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(1160)에 의해 획득되어 처리될 수 있다. 일 실시 예에 따르면, 메모리(1150)는 메모리(1030)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.
이미지 시그널 프로세서(1160)는 이미지 센서(1130)를 통하여 획득된 이미지 또는 메모리(1150)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(1160)는 카메라 모듈(1080)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(1130))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(1160)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(1150)에 다시 저장되거나 카메라 모듈(1080)의 외부 구성 요소(예: 메모리(1030), 표시 장치(1060), 전자 장치(1002), 전자 장치(1004), 또는 서버(1008))로 제공될 수 있다. 일 실시 예에 따르면, 이미지 시그널 프로세서(1160)는 프로세서(1020)의 적어도 일부로 구성되거나, 프로세서(1020)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(1160)가 프로세서(1020)와 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(1160)에 의해 처리된 적어도 하나의 이미지는 프로세서(1020)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 표시 장치(1060)를 통해 표시될 수 있다.
일 실시 예에 따르면, 전자 장치(1001)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(1080)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(1080)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(1080)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.
상술한 바와 같이, 일 실시 예에 따른 전자 장치(예: 도 2의 전자 장치(100))는 적어도 하나의 카메라(예: 도 2의 전면 카메라(215) 또는 후면 카메라(220)), 거리 센서, 조도 센서, 디스플레이(예: 도 2의 디스플레이(240)), 플래시를 발생시키는 발광 모듈(예: 도 2의 발광 모듈(250)) 및 상기 적어도 하나의 카메라, 상기 거리 센서, 상기 조도 센서, 상기 디스플레이 및 상기 발광 모듈과 통신 가능하게 연결된 적어도 하나의 프로세서(예: 도 2의 프로세서(210))를 포함하고, 상기 적어도 하나의 프로세서는 상기 적어도 하나의 카메라를 구동하여 획득된 이미지를 상기 디스플레이에 프리뷰 이미지로 표시(display)하고, 상기 거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하고, 상기 조도 센서를 통하여 상기 전자 장치 주위 환경에 대한 밝기를 획득하고, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 판단하고, 상기 화각 내에서의 상기 전자 장치의 그림자에 대한 판단에 응답하여, 상기 그림자를 적어도 감소시키도록 상기 플래시의 밝기 값을 구성할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 획득한 상기 거리에 기반하여 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 임계 값 이하인 것으로 판단되는 경우 그림자가 발생한 것으로 판단할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 획득한 상기 밝기에 기반하여 상기 전자 장치 주위의 상기 밝기가 임계 값 이상인 것으로 판단되는 경우 그림자가 발생한 것으로 판단할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 그림자가 발생하는 것으로 판단되는 경우, 상기 거리 또는 상기 밝기 중 적어도 하나에 기반하여 상기 그림자의 강도를 판단할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 작을수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 전자 장치 주위의 상기 밝기가 강할수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 프리뷰 이미지를 분석하여 상기 프리뷰 이미지에 포함된 상기 적어도 하나의 객체의 반사도를 판단하고, 상기 판단된 반사도 및 상기 판단된 그림자의 강도에 기반하여 상기 플래시의 밝기 값을 구성할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는 상기 플래시의 밝기 값이 상기 판단된 그림자의 강도와 비례하고, 상기 판단된 반사도와 반비례하도록 상기 밝기 값을 구성할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 카메라는 제1 방향을 향하는 제1 카메라 및 상기 제1 방향과 반대인 제2 방향을 향하는 제2 카메라를 포함하고, 상기 적어도 하나의 프로세서는 상기 제1 카메라를 통해 상기 광원의 중심 위치, 상기 광원의 중심 위치에 따른 상기 전자 장치의 상대적 위치, 상기 그림자의 위치 및 상기 광원의 개수 중 적어도 하나를 식별할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 프로세서는, 상기 프리뷰 이미지의 분석 또는 AI(artificial intelligence) 분석을 이용하여 상기 광원의 중심 위치를 식별할 수 있다.
상술한 바와 같이, 일 실시 예에 따른 전자 장치(예: 도 2의 전자 장치(100))의 동작 방법은, 적어도 하나의 카메라(예: 도 2의 전면 카메라(215) 또는 후면 카메라(220))를 구동하여 획득된 이미지를 디스플레이(예: 도 2의 디스플레이(240))에 프리뷰 이미지로 표시(display)하는 동작, 거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하는 동작, 조도 센서를 통하여 상기 전자 장치 주위 환경에 대한 밝기를 획득하는 동작, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 판단하는 동작, 상기 화각 내에 대한 상기 전자 장치의 그림자에 대한 판단에 응답하여, 플래시의 생성에 의해 상기 그림자를 적어도 감소시키도록 상기 플래시의 밝기 값을 구성하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 획득한 상기 거리에 기반하여 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 임계 값 이하인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 획득한 상기 밝기에 기반하여 상기 전자 장치 주위의 상기 밝기가 임계 값 이상인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 상기 그림자가 발생하는 것으로 판단되는 경우, 상기 거리 또는 상기 밝기 중 적어도 하나에 기반하여 상기 그림자의 강도를 판단하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 그림자의 강도를 판단하는 동작은, 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 작을수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 그림자의 강도를 판단하는 동작은, 상기 전자 장치 주위의 상기 밝기가 강할수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 플래시의 밝기 값을 구성하는 동작은, 상기 프리뷰 이미지를 분석하여 상기 프리뷰 이미지에 포함된 상기 적어도 하나의 객체를 반사도를 판단하는 동작 및 상기 판단된 반사도 및 상기 판단된 그림자의 강도에 기반하여 상기 플래시의 밝기 값을 구성하는 동작을 포함할 수 있다.
일 실시 예에 따르면, 상기 적어도 하나의 카메라는 제1 방향을 향하는 제1 카메라 및 상기 제1 방향과 반대인 제2 카메라를 포함하고, 전자 장치의 동작 방법은 상기 제1 카메라를 통해 상기 광원의 중심 위치, 상기 광원의 중심 위치에 따른 상기 전자 장치의 상대적 위치, 상기 그림자의 위치 및 상기 광원의 개수 중 적어도 하나를 식별하는 동작을 포함할 수 있다.
일 실시 예에 따른 전자 장치의 동작 방법은, 상기 광원의 중심 위치를 식별하는 동작은, 상기 프리뷰 이미지의 분석 또는 AI 분석을 이용하여 상기 광원의 중심 위치를 식별하는 동작을 포함할 수 있다.
상술한 바와 같이, 일 실시 예에 따른 전자 장치(예: 도 2의 전자 장치(100))의 적어도 하나의 프로세서(예: 도 2의 프로세서(210))로 판독 가능한 인스트럭션들을 저장하는 기록 매체는, 상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 실행될 때, 상기 적어도 하나의 프로세서가 적어도 하나의 카메라를 구동하여 획득된 이미지를 디스플레이에 프리뷰 이미지로 표시(display)하고, 상기 거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하고, 상기 조도 센서를 통하여 상기 전자 장치 주위 환경에 대한 밝기를 획득하고, 획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 판단하고, 상기 화각 내에서의 상기 전자 장치의 그림자에 대한 판단에 응답하여, 상기 그림자를 적어도 감소시키도록 상기 플래시의 밝기 값을 구성할 수 있다.

Claims (15)

  1. 전자 장치에 있어서,
    적어도 하나의 카메라;
    거리 센서;
    조도 센서;
    디스플레이;
    플래시를 발생시키는 발광 모듈; 및
    상기 적어도 하나의 카메라, 상기 거리 센서, 상기 조도 센서, 상기 디스플레이 및 상기 발광 모듈과 통신 가능하게 연결된 적어도 하나의 프로세서를 포함하고,
    상기 적어도 하나의 프로세서는:
    상기 적어도 하나의 카메라를 구동하여 획득된 이미지를 상기 디스플레이에 프리뷰 이미지로 표시(display)하고,
    상기 거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하고,
    상기 조도 센서를 통하여 상기 전자 장치 주위 환경에 대한 밝기를 획득하고,
    획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 판단하고,
    상기 화각 내에서의 상기 전자 장치의 그림자에 대한 판단에 응답하여, 상기 플래시의 동작에 의해 상기 그림자를 적어도 감소시키도록 상기 플래시의 밝기 값을 구성하는, 전자 장치.
  2. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는 획득한 상기 거리에 기반하여 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 임계 값 이하인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는, 전자 장치.
  3. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는 획득한 상기 밝기에 기반하여 상기 전자 장치 주위의 상기 밝기가 임계 값 이상인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는, 전자 장치.
  4. 청구항 1에 있어서,
    상기 적어도 하나의 프로세서는 상기 그림자가 발생하는 것으로 판단되는 경우, 상기 거리 또는 상기 밝기 중 적어도 하나에 기반하여 상기 그림자의 강도를 판단하는, 전자 장치.
  5. 청구항 4에 있어서,
    상기 적어도 하나의 프로세서는 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 작을수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단하는, 전자 장치.
  6. 청구항 4에 있어서,
    상기 적어도 하나의 프로세서는 상기 전자 장치 주위의 상기 밝기가 강할수록 상기 그림자의 강도가 센 값을 가지는 것으로 판단하는, 전자 장치.
  7. 청구항 4에 있어서,
    상기 적어도 하나의 프로세서는 상기 프리뷰 이미지를 분석하여 상기 프리뷰 이미지에 포함된 상기 적어도 하나의 객체의 반사도를 판단하고, 상기 판단된 반사도 및 상기 판단된 그림자의 강도에 기반하여 상기 플래시의 밝기 값을 구성하는, 전자 장치.
  8. 청구항 7에 있어서,
    상기 적어도 하나의 프로세서는 상기 플래시의 밝기 값이 상기 판단된 그림자의 강도와 비례하고, 상기 판단된 반사도와 반비례하도록 상기 밝기 값을 구성하는, 전자 장치.
  9. 청구항 1에 있어서,
    상기 적어도 하나의 카메라는 제1 방향을 향하는 제1 카메라 및 상기 제1 방향과 반대인 제2 방향을 향하는 제2 카메라를 포함하고,
    상기 적어도 하나의 프로세서는 상기 제1 카메라를 통해 상기 광원의 중심 위치, 상기 광원의 중심 위치에 따른 상기 전자 장치의 상대적 위치, 상기 그림자의 위치 및 상기 광원의 개수 중 적어도 하나를 식별하는, 전자 장치.
  10. 청구항 9에 있어서,
    상기 적어도 하나의 프로세서는, 상기 프리뷰 이미지의 분석 또는 인공 지능(artificial intelligence) 분석을 이용하여 상기 광원의 중심 위치를 식별하는, 전자 장치.
  11. 전자 장치의 동작 방법에 있어서,
    적어도 하나의 카메라를 구동하여 획득된 이미지를 디스플레이에 프리뷰 이미지로 표시(display)하는 동작;
    거리 센서 또는 상기 적어도 하나의 카메라 중 적어도 하나를 통해서 상기 프리뷰 이미지에 나타난 적어도 하나의 객체와 상기 전자 장치 사이의 거리를 획득하는 동작;
    조도 센서를 통하여 상기 전자 장치 주위 환경에 대한 밝기를 획득하는 동작;
    획득한 상기 거리 및 상기 밝기에 기반하여, 상기 전자 장치 주변의 광원에 의해 상기 전자 장치의 그림자가 상기 적어도 하나의 카메라의 화각 내에 발생하는지 여부를 판단하는 동작;
    상기 화각 내에 대한 상기 전자 장치의 그림자에 대한 판단에 응답하여, 플래시의 생성에 의해 상기 그림자를 적어도 감소시키도록 상기 플래시의 밝기 값을 구성하는 동작을 포함하는, 전자 장치의 동작 방법.
  12. 청구항 11에 있어서,
    획득한 상기 거리에 기반하여 상기 프리뷰 이미지에 포함된 적어도 하나의 객체와 상기 전자 장치 사이의 거리가 임계 값 이하인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는 동작을 포함하는, 전자 장치의 동작 방법.
  13. 청구항 11에 있어서,
    획득한 상기 밝기에 기반하여 상기 전자 장치 주위의 상기 밝기가 임계 값 이상인 것으로 판단되는 경우 그림자가 발생한 것으로 판단하는 동작을 포함하는, 전자 장치의 동작 방법.
  14. 청구항 11에 있어서,
    상기 그림자가 발생하는 것으로 판단되는 경우, 상기 거리 또는 상기 밝기 중 적어도 하나에 기반하여 상기 그림자의 강도를 판단하는 동작을 포함하는, 전자 장치의 동작 방법.
  15. 청구항 14에 있어서,
    상기 플래시의 밝기를 결정하는 동작은,
    상기 프리뷰 이미지를 분석하여 상기 프리뷰 이미지에 포함된 상기 적어도 하나의 객체를 반사도를 판단하는 동작 및 상기 판단된 반사도 및 상기 판단된 그림자의 강도에 기반하여 상기 플래시의 밝기 값을 구성하는 동작을 포함하는, 전자 장치의 동작 방법.
PCT/KR2022/004499 2021-05-21 2022-03-30 전자 장치의 촬영 방법 및 그 전자 장치 WO2022244970A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/939,095 US20230007160A1 (en) 2021-05-21 2022-09-07 Photographing method of electronic apparatus and electronic apparatus thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020210065646A KR20220157735A (ko) 2021-05-21 2021-05-21 전자 장치의 촬영 방법 및 그 전자 장치
KR10-2021-0065646 2021-05-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/939,095 Continuation US20230007160A1 (en) 2021-05-21 2022-09-07 Photographing method of electronic apparatus and electronic apparatus thereof

Publications (1)

Publication Number Publication Date
WO2022244970A1 true WO2022244970A1 (ko) 2022-11-24

Family

ID=84140668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2022/004499 WO2022244970A1 (ko) 2021-05-21 2022-03-30 전자 장치의 촬영 방법 및 그 전자 장치

Country Status (3)

Country Link
US (1) US20230007160A1 (ko)
KR (1) KR20220157735A (ko)
WO (1) WO2022244970A1 (ko)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080846A (ja) * 2007-08-07 2009-04-16 Panasonic Corp 画像処理装置および画像処理方法
JP2013078112A (ja) * 2011-09-16 2013-04-25 Panasonic Corp 撮像装置
JP2015099979A (ja) * 2013-11-18 2015-05-28 キヤノン株式会社 携帯端末、画像処理方法及びプログラム
JP2016081677A (ja) * 2014-10-15 2016-05-16 パナソニックIpマネジメント株式会社 照明制御装置および照明制御方法
JP2018014646A (ja) * 2016-07-21 2018-01-25 キヤノン株式会社 画像処理装置および画像処理方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009080846A (ja) * 2007-08-07 2009-04-16 Panasonic Corp 画像処理装置および画像処理方法
JP2013078112A (ja) * 2011-09-16 2013-04-25 Panasonic Corp 撮像装置
JP2015099979A (ja) * 2013-11-18 2015-05-28 キヤノン株式会社 携帯端末、画像処理方法及びプログラム
JP2016081677A (ja) * 2014-10-15 2016-05-16 パナソニックIpマネジメント株式会社 照明制御装置および照明制御方法
JP2018014646A (ja) * 2016-07-21 2018-01-25 キヤノン株式会社 画像処理装置および画像処理方法

Also Published As

Publication number Publication date
US20230007160A1 (en) 2023-01-05
KR20220157735A (ko) 2022-11-29

Similar Documents

Publication Publication Date Title
WO2020080845A1 (en) Electronic device and method for obtaining images
WO2022108235A1 (ko) 슬로우 셔터를 제공하기 위한 방법, 장치 및 저장 매체
WO2019066370A1 (ko) 외부 광에 기반하여 카메라를 제어하는 전자 장치 및 제어 방법
WO2022235075A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2022196993A1 (ko) 카메라 모듈의 화각을 이용하여 이미지를 촬영하는 전자 장치 및 방법
WO2022092706A1 (ko) 복수의 카메라를 이용한 사진 촬영 방법 및 그 장치
WO2021235884A1 (ko) Awb를 수행하여 이미지를 생성하는 전자 장치 및 방법
WO2022244970A1 (ko) 전자 장치의 촬영 방법 및 그 전자 장치
WO2022245148A1 (ko) 이미지 처리 방법 및 그 전자 장치
WO2022203169A1 (ko) 전자 장치의 촬영 방법 및 그 전자 장치
WO2022240186A1 (ko) 이미지 왜곡을 보정하는 방법 및 그 전자 장치
WO2024106746A1 (ko) 디지털 보케 이미지의 해상도를 높이기 위한 전자 장치 및 방법
WO2022203355A1 (ko) 복수의 카메라들을 포함하는 전자 장치
WO2022240183A1 (ko) 이미지 데이터와 모션 데이터를 포함하는 파일을 생성하는 방법 및 그 전자 장치
WO2024085487A1 (ko) 카메라의 설정을 변경하기 위한 전자 장치, 방법, 및 비일시적 컴퓨터 판독가능 저장 매체
WO2022025574A1 (ko) 이미지 센서와 이미지 시그널 프로세서를 포함하는 전자 장치 및 그의 방법
WO2023080495A1 (ko) 하이 다이나믹 레인지 이미지들을 촬영하는 전자 장치와 이의 동작 방법
WO2022031050A1 (ko) 이미지를 생성하는 전자 장치 및 방법
WO2022240122A1 (ko) 카메라를 포함하는 전자 장치
WO2022245129A1 (ko) 오브젝트 추적 방법 및 이를 위한 전자 장치
WO2023277585A1 (ko) 신경망을 통해 이미지를 처리하는 방법 및 그 전자 장치
WO2024117590A1 (ko) 이미지의 뷰 영역을 결정하는 전자 장치 및 그 동작 방법
WO2023018262A1 (ko) 이미지를 제공하기 위한 방법 및 이를 지원하는 전자 장치
WO2023153743A1 (ko) 전자 장치 및 이의 동작 방법
WO2022250344A1 (ko) 이미지 센서 및 동적 비전 센서를 포함하는 전자 장치 및 그 동작 방법

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22804826

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22804826

Country of ref document: EP

Kind code of ref document: A1