WO2021187778A1 - Electronic device for performing photographing using flash - Google Patents

Electronic device for performing photographing using flash Download PDF

Info

Publication number
WO2021187778A1
WO2021187778A1 PCT/KR2021/002654 KR2021002654W WO2021187778A1 WO 2021187778 A1 WO2021187778 A1 WO 2021187778A1 KR 2021002654 W KR2021002654 W KR 2021002654W WO 2021187778 A1 WO2021187778 A1 WO 2021187778A1
Authority
WO
WIPO (PCT)
Prior art keywords
processor
image
flash
light emission
camera device
Prior art date
Application number
PCT/KR2021/002654
Other languages
French (fr)
Korean (ko)
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 삼성전자 주식회사
Publication of WO2021187778A1 publication Critical patent/WO2021187778A1/en

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • 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/70Circuitry for compensating brightness variation in the scene
    • 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
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Definitions

  • Embodiments disclosed in this document relate to photographing technology of an electronic device.
  • the electronic device may include a miniaturized image capturing apparatus.
  • the electronic device may perform photographing in various light source environments (eg, low light, high light, or backlight), and may control settings of the image capturing apparatus based on various light source environments.
  • various light source environments eg, low light, high light, or backlight
  • the electronic device may perform photographing by emitting a flash according to ambient illuminance.
  • photographing by emitting a flash according to ambient illuminance.
  • exposure is optimized only for subjects at a specific distance, and overexposure or underexposure for the remaining subjects (under) exposure (eg cave effect) may occur.
  • an electronic device acquires a plurality of images by adjusting the number of flashes, an intensity of light emission, or a light emission time of a flash according to a distance of subjects, and synthesizes the plurality of images to photograph an image having an optimized brightness would like to provide
  • An electronic device may include a flash, a first camera device, a second camera device, and a processor operatively connected to the flash, the first camera device, and the second camera device.
  • the processor measures depth information corresponding to the first image based on a first image acquired through the first camera device and a second image acquired through the second camera device, and based on the depth information to determine an image synthesizing condition for acquiring the third images, the image synthesizing condition may include details related to an operation of the flash or the first camera device when the third images are acquired.
  • the electronic device may include a flash, a camera device, a depth measuring device, and a processor operatively connected to the flash, the camera device, and the depth measuring device.
  • the processor obtains a first image obtained through the first camera device, measures depth information corresponding to the first image through the depth measurement device, and obtains second images based on the depth information
  • the flash operation condition is set to determine the flash operation condition at the time of photographing for the purpose of capturing the second images.
  • a plurality of images are obtained by adjusting the number of flashes, the intensity of flashes, or the flashing time according to the distance of the subjects, and an image having an optimized brightness is captured by synthesizing the plurality of images.
  • FIG. 1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure
  • FIG. 2 is a diagram illustrating an electronic device according to an embodiment.
  • FIG. 3 is a flowchart illustrating a photographing operation of an electronic device according to an exemplary embodiment.
  • FIG. 4 is a diagram illustrating an example of a flash operation and a camera operation during multiple light emission according to an embodiment.
  • FIG. 5 is a diagram illustrating another example of a flash operation and a camera operation during multiple light emission according to various embodiments of the present disclosure
  • FIG. 6 is a diagram illustrating an example of a flash operation and a camera operation during continuous light emission according to an embodiment.
  • FIG. 7 is a diagram illustrating another example of a flash operation and a camera operation during continuous light emission according to various embodiments of the present disclosure
  • FIG. 8 is a diagram illustrating an additional function of a camera device according to an exemplary embodiment.
  • FIG. 9 is a diagram illustrating an image synthesis process according to an exemplary embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 .
  • the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
  • the sensor module 176 eg, a fingerprint sensor, an iris sensor, or an illumina
  • the processor 120 for example, executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • software eg, the program 140
  • the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 .
  • the volatile memory 132 may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 .
  • the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • a main processor 121 eg, a central processing unit or an application processor
  • an auxiliary processor 123 eg, a graphic processing unit or an image signal processor
  • the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function.
  • the auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
  • the auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states.
  • the auxiliary processor 123 eg, an image signal processor or a communication processor
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 .
  • the data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto.
  • the memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
  • the program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
  • the input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 .
  • the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
  • the sound output device 155 may output a sound signal to the outside of the electronic device 101 .
  • the sound output device 155 may include, for example, a speaker or a receiver.
  • the speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
  • the display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 .
  • the display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device.
  • the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
  • the audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 .
  • the electronic device 102) eg, a speaker or headphones
  • the electronic device 102 may output a sound.
  • the sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do.
  • the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
  • the interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • the connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ).
  • the connection terminal 178 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 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 may manage power supplied to the electronic device 101 .
  • the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101 .
  • the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
  • the communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel.
  • the communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication.
  • the communication module 190 is a wireless communication module 192 (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 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module).
  • a wireless communication module 192 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 194 eg, : It may include a local area network (LAN) communication module, or a power line communication module.
  • a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN).
  • a computer network eg, a telecommunication network such as a LAN or WAN.
  • These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other.
  • the wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 .
  • subscriber information eg, International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device).
  • the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern.
  • the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna.
  • other components eg, RFIC
  • other than the radiator may be additionally formed as a part of the antenna module 197 .
  • peripheral devices eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal eg commands or data
  • the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 .
  • Each of the external electronic devices 102 and 104 may be the same as or different from the electronic device 101 .
  • all or part of the operations performed by the electronic device 101 may be performed by one or more of the external electronic devices 102 , 104 , or 108 .
  • the electronic device 101 may perform the function or service itself instead of executing the function or service itself.
  • one or more external electronic devices may be requested to perform at least a part of the function or the service.
  • the one or more external electronic devices that have received 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 transmit a result of the execution to the electronic device 101 .
  • the electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request.
  • cloud computing, distributed computing, or client-server computing technology may be used.
  • FIG. 2 is a diagram illustrating an electronic device according to an embodiment.
  • the electronic device 200 includes a processor 210 (eg, the processor 120 of FIG. 1 ), a display device 220 (eg, the display device 160 of FIG. 1 ), and a memory 230 . (eg, the memory 130 of FIG. 1 ), a first camera device 241 , a second camera device 242 , a flash 250 , or an illuminance sensor 260 .
  • the electronic device 200 may additionally include a depth measuring device 243 .
  • at least one of the first camera device 241 and the second camera device 242 and the flash 250 are packaged in one package (or part) (eg, the camera module 180 of FIG. 1 ). may be included.
  • the processor 210 may execute a photographing related application (eg, a camera app). For example, the processor 210 may activate the first camera device 241 together with the execution of the photographing related application. The processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 . The processor 210 may display the first image through the display device 220 . The first image may mean a preview shown to the user before the final photographing.
  • a photographing related application eg, a camera app
  • the processor 210 may activate the first camera device 241 together with the execution of the photographing related application.
  • the processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 .
  • the processor 210 may display the first image through the display device 220 .
  • the first image may mean a preview shown to the user before the final photographing.
  • the processor 210 may determine whether a low-illuminance environment is present. For example, the processor 210 may measure the ambient illuminance of the electronic device 200 through the illuminance sensor 260 . If the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 may take a picture in the normal mode. When the measured ambient illuminance is equal to or less than the specified reference illuminance value, the processor 210 may measure depth information corresponding to the first image. For example, the processor 210 may activate the second camera device 242 and acquire an additional image for depth measurement through the second camera device 242 .
  • the processor 210 may measure depth information (eg, a table including depth values of each part of the first image) corresponding to the first image by using the first image and the additional image. As another example, the processor 210 may measure depth information corresponding to the first image through the depth measuring device 243 .
  • depth information eg, a table including depth values of each part of the first image
  • the first camera device 241 and the second camera device 242 may be configured as dual stereo cameras for depth measurement.
  • the second camera device 242 may include the same or similar lens configuration as the first camera device 241 .
  • the processor 210 is configured to determine depth information corresponding to the first image acquired by the first camera device 241 by using the viewpoint mismatch of the images acquired by the first camera device 241 and the second camera device 242 . can be obtained.
  • the processor 210 may measure the ambient illuminance of the electronic device 200 before acquiring the first image, and may determine whether a low illuminance environment exists.
  • the processor 210 may determine an image synthesis condition based on the depth information. For example, the processor 210 may determine the number of images to be synthesized during final photographing based on the depth information. Alternatively, the processor 210 may set a shooting condition for each of the composite images determined based on the depth information (eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time). ) can be determined.
  • the depth information eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time.
  • the processor 210 may compare a background depth of the first image (eg, an average depth value of pixels in the background region of the first image) with a reference depth. For example, the processor 210 may extract a background component of the first image based on the depth information. The processor 210 may compare the background depth of the background component with the reference depth. If the background depth is equal to or greater than the reference depth, the processor 210 may determine to acquire a background image. If the background depth is smaller than the reference depth, the processor 210 may determine not to acquire the background image.
  • a background depth of the first image eg, an average depth value of pixels in the background region of the first image
  • the processor 210 may extract a background component of the first image based on the depth information.
  • the processor 210 may compare the background depth of the background component with the reference depth. If the background depth is equal to or greater than the reference depth, the processor 210 may determine to acquire a background image. If the background depth is smaller than the reference depth, the processor 210 may determine not to acquire the background image.
  • the processor 210 may determine whether there is an object having a change in depth in the first image. For example, the processor 210 may identify at least one object (eg, a subject) included in the first image. The processor 210 may continuously measure depth information corresponding to the first image. The processor 210 may determine whether there is an object having a change in depth in the first image based on the changed depth information.
  • the processor 210 may identify at least one object (eg, a subject) included in the first image.
  • the processor 210 may continuously measure depth information corresponding to the first image.
  • the processor 210 may determine whether there is an object having a change in depth in the first image based on the changed depth information.
  • the processor 210 may obtain additional second images by performing multiple flashes of the flash 250 .
  • the processor 210 may emit the flash 250 a plurality of times based on the determined image synthesis condition, and acquire the second images through the first camera device 241 while the flash 250 emits light.
  • the number of light emission and light emission intensity of the flash 250 may be determined based on the image synthesis condition.
  • the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition.
  • the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 .
  • An image synthesis method through multiple light emission according to various embodiments will be described in detail with reference to FIGS. 4 and 5 .
  • the processor 210 may continuously emit the flash 250 to acquire additional second images.
  • the processor 210 emits the flash 250 for a specified period of time with a specified emission intensity based on the determined image synthesis condition, and uses the first camera device 241 while the flash 250 is emitted. 2 images can be acquired.
  • the light emission intensity and the light emission time of the flash 250 may be determined based on the image synthesis conditions.
  • the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition.
  • the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 .
  • An image synthesis method through continuous light emission according to various embodiments will be described in detail with reference to FIGS. 6 and 7 .
  • the processor 210 may obtain a third image (eg, a final image) by synthesizing the obtained second images. For example, the processor 210 may select a portion to be synthesized from each of the second images based on the depth information. For example, the processor 210 may select a first portion corresponding to a first object having a first depth from one of the second images. The processor 210 may select a second portion corresponding to a second object having a second depth from another one of the second images. The processor 210 may select a third portion corresponding to a third object having a third depth from another one of the second images. The processor 210 may generate a third image by synthesizing the first part, the second part, and the third part.
  • a third image eg, a final image
  • the processor 210 may also synthesize the first image (eg, a portion corresponding to an object having a specified depth in the first image) with the second images.
  • the processor 210 may also combine the background image with the second images.
  • the processor 210 may display the third image resulting from the synthesis on the display device 220 .
  • the processor 210 may store the third image in the memory 230 based on a user input.
  • FIG. 3 is a flowchart illustrating a photographing operation of an electronic device according to an exemplary embodiment.
  • the electronic device 200 determines the light emission conditions (eg, the number of flashes, the light emission intensity, or the light emission time) to obtain a plurality of images, and a final result may be displayed by synthesizing the obtained plurality of images.
  • the light emission conditions eg, the number of flashes, the light emission intensity, or the light emission time
  • the processor 210 may execute a photographing related application (eg, a camera app). For example, the processor 210 may activate the first camera device 241 together with the execution of the photographing related application. The processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 . The processor 210 may display the first image through the display device 220 . The first image may mean a preview shown to the user before the final photographing.
  • a photographing related application eg, a camera app
  • the processor 210 may activate the first camera device 241 together with the execution of the photographing related application.
  • the processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 .
  • the processor 210 may display the first image through the display device 220 .
  • the first image may mean a preview shown to the user before the final photographing.
  • the processor 210 may determine whether there is a low-illuminance environment. For example, the processor 210 may measure the ambient illuminance of the electronic device 200 through the illuminance sensor 260 . If the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 determines that it is not a low illuminance environment (eg, No in operation 310), and performs operation 315 to photograph in the normal mode. If the measured ambient illuminance is less than or equal to the specified reference illuminance value, the processor 210 may determine that it is a low illuminance environment (eg, Yes in operation 310 ), and may perform operation 320 .
  • the processor 210 may determine whether there is a low-illuminance environment. For example, the processor 210 may measure the ambient illuminance of the electronic device 200 through the illuminance sensor 260 . If the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 determines that it is not a low
  • the processor 210 may measure the ambient illuminance of the electronic device 200 before acquiring the first image, and may determine whether a low illuminance environment exists.
  • the processor 210 may perform imaging in a normal mode. For example, if the measured ambient illuminance is greater than the specified illuminance value, the processor 210 may set the first camera device 241 to a normal mode. For example, in the normal mode, the processor 210 may take a picture without the operation of the flash 250 . Alternatively, in the normal mode, the processor 120 may perform photographing without synthesizing a plurality of images.
  • the processor 210 may measure depth information corresponding to the first image. For example, the processor 210 may activate the second camera device 242 and acquire an additional image for depth measurement through the second camera device 242 .
  • the processor 210 may measure depth information (eg, a table including depth values of each part of the first image) corresponding to the first image by using the first image and the additional image.
  • the processor 210 may measure depth information corresponding to the first image through the depth measuring device 243 .
  • the processor 210 may determine an image synthesis condition based on the depth information. For example, the processor 210 may determine the number of images to be synthesized in operation 355 based on the depth information. Alternatively, the processor 210 may set a shooting condition for each of the composite images determined based on the depth information (eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time). ) can be determined.
  • the depth information eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time.
  • the intensity of light obtained from the image sensor of the first camera device 241 may be expressed as Equation (1).
  • Equation 1 I may represent an intensity of light obtained from the image sensor of the first camera device 241 , S may represent a shutter speed, ⁇ may represent a reflectance of a subject, and Am may represent an ambient light source.
  • the reflectivity of the ambient light source and the subject is a fixed value, whereby the exposure can be controlled by controlling the shutter speed.
  • Equation 2 Equation 2
  • Li is the initial light emission amount of the flash 250
  • d may represent the distance between the subject and the first camera device 241 .
  • the intensity of light obtained from the image sensor of the first camera device 241 is based on the distance between the subject and the first camera device 241 (eg, the square of the distance between the subject and the first camera device 241 ) inversely) can be determined.
  • Subjects having the same reflectance may emit the same intensity of light when photographing under the same amount of light.
  • the intensity of light from the subject varies rapidly according to the light emission position of the flash 250 and the distance of the subject.
  • Equation 2 may be expressed as Equation 3 .
  • Equation 3 S1 represents an appropriate shutter speed for the first subject, S2 represents an appropriate shutter speed for the second subject, and d1 represents the distance between the first camera device 241 and the first subject, ⁇ may represent a distance between the first subject and the second subject.
  • S1 and S2 can be determined. For example, based on Equation 3, when the first subject is 0.3 m away from the first camera device 241 and the second subject is 21 m away from the first subject, the first subject and the second subject are set with the same brightness.
  • the shutter speed required to shoot can be S1*250 (eg, if S1 is 1/250s at proper exposure, S2 is 1s).
  • the processor 210 may determine the maximum number of composites to be 12.
  • the processor 210 may compare the background depth and reference depth of the first image. For example, the processor 210 may extract a background component of the first image based on the depth information. For example, the processor 120 may exclude a component of at least one object (eg, a subject) having a specified depth value from the first image. The processor 120 may extract the background component from the first image by using the depth information of the at least one object. The processor 120 may calculate an appropriate exposure based on the background depth of the background component. The background depth may mean an average depth value of pixels corresponding to the background component. The processor 210 may compare the background depth with the reference depth.
  • the processor 120 may extract a background component of the first image based on the depth information.
  • the processor 120 may exclude a component of at least one object (eg, a subject) having a specified depth value from the first image.
  • the processor 120 may extract the background component from the first image by using the depth information of the at least one object.
  • the processor 120 may calculate an appropriate exposure based on the background depth of the background component.
  • the processor 210 may determine to acquire a background image. When the background depth is equal to or greater than the reference depth, it may be necessary to calculate an appropriate exposure for capturing the background component. If the background depth is smaller than the reference depth (eg, Yes in operation 330 ), the processor 210 may determine not to acquire a background image and perform operation 340 . When the background depth is smaller than the reference depth, proper exposure of the background component may be satisfied only by exposure for the at least one object. For example, when the average value of gray levels for all regions of the first image is about 76 when the background component is not separated, the gray level of the background component of the first image may be about 46. The reference depth may be determined based on a gray level of the background component.
  • the processor 210 may determine whether there is an object having a change in depth in the first image. For example, the processor 210 may identify at least one object (eg, a subject) included in the first image. The processor 210 may continuously measure depth information corresponding to the first image. The processor 210 may determine whether there is an object having a change in depth in the first image based on the changed depth information. When there is no object having a change in depth in the first image (eg, No in operation 340 ), the processor 210 may perform operation 345 . When an object having a change in depth exists in the first image (eg, Yes in operation 340 ), the processor 210 may perform operation 350 .
  • the processor 210 may perform operation 350 .
  • an object having a change in depth may include an object having a continuous surface according to an increase (or decrease) in depth.
  • the object having a change in depth may include an object having a movement when photographing in a direction in which the depth increases (or decreases).
  • the processor 210 may multi-emit the flash 250 to obtain additional second images. For example, the processor 210 emits the flash 250 a plurality of times based on the image synthesis condition determined in operation 325 , and uses the first camera device 241 to display the second image while the flash 250 emits light. can be obtained The number of light emission and light emission intensity of the flash 250 may be determined based on the image synthesis condition. Alternatively, the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition. When it is determined to acquire the background image in operation 335 , the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 .
  • the processor 210 may continuously emit the flash 250 to acquire additional second images.
  • the processor 210 emits the flash 250 for a specified time with a specified emission intensity based on the image synthesis condition determined in operation 325 , and operates the first camera device 241 while the flash 250 emits light.
  • the second images may be acquired through
  • the light emission intensity and the light emission time of the flash 250 may be determined based on the image synthesis conditions.
  • the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition.
  • the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 .
  • the light emission of the flash 250 for obtaining the background image may be included in the continuous light emission.
  • the processor 210 may obtain a third image (eg, a final image) by synthesizing the obtained second images. For example, the processor 210 may select a portion to be synthesized from each of the second images based on the depth information. For example, the processor 210 may select a first portion corresponding to a first object having a first depth from one of the second images. The processor 210 may select a second portion corresponding to a second object having a second depth from another one of the second images. The processor 210 may select a third portion corresponding to a third object having a third depth from another one of the second images. The processor 210 may generate a third image by synthesizing the first part, the second part, and the third part.
  • a third image eg, a final image
  • the processor 210 may also synthesize the first image (eg, a portion corresponding to an object having a specified depth in the first image) with the second images.
  • the processor 210 may also combine the background image (eg, a background portion of the background image) with the second images.
  • the processor 210 may display the third image resulting from the synthesis on the display device 220 .
  • the processor 210 may store the third image in the memory 230 based on a user input.
  • FIG. 4 is a diagram illustrating an example of a flash operation and a camera operation during multiple light emission according to an embodiment.
  • the processor 210 may acquire second images through multiple light emission (eg, operation 345 of FIG. 3 ). For example, when there is no change in depth of at least one object included in a first image obtained when a photographing-related application is executed, the processor 210 may multi-emit the flash 250 .
  • the processor 210 may acquire the first image after executing a photographing related application.
  • the processor 210 may display the first image through the display device 220 .
  • the first camera device 241 may acquire the first image through the first exposure 411 .
  • the first exposure 411 may be performed without the operation of the flash 250 or with the first emission 401 .
  • the first light emission 401 may be set to have a first intensity F41 and to last for a first time T41 .
  • the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 may perform a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 421 to the fifth light emission 424 , and the second The exposure 431 to the fifth exposure 434 instruction, the sixth light emission 441 instruction, or the sixth exposure 451 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 411 .
  • the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 401 .
  • the processor 210 may determine an image synthesis condition based on the depth information.
  • the image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
  • the processor 210 may determine the number of times the flash 250 is emitted to obtain second images (eg, images for compositing) based on the depth information. For example, the number of times the flash 250 is emitted may be determined according to the number of objects having different depths included in the first image. As an example, the processor 210 may determine the second light emission 421 to the fifth light emission 424 . The processor 210 may set the light emission intensity of the second light emission 421 to the fifth light emission 424 to be the same (eg, set to the second intensity F42). The processor 210 may set the light emission time of the second light emission 421 to the fifth light emission 424 differently depending on the depth.
  • the second light emission 421 may be set to last for a second time period T42.
  • the third light emission 422 may be set to last for a third time period T43 .
  • the fourth light emission 423 may be set to last for a fourth time period T44.
  • the fifth light emission 424 may be set to last for a fifth time period T45.
  • the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring the second images based on the depth information. For example, the number of exposures of the first camera device 241 may be set to be the same as the number of times of light emission of the flash 250 . The exposure time of the first camera device 241 may be determined according to a corresponding light emitting operation. As an example, the processor 210 may determine a second exposure 431 to a fifth exposure 434 . For example, the second exposure 431 may be set to last the same as the second light emission 421 or for a time shorter than the specified time (eg, the second time T42 ).
  • the third exposure 432 may be set to last for a time equal to or smaller than the third light emission 422 (eg, the third time T43 ) by a specified time.
  • the fourth exposure 433 may be set to last for a time equal to or smaller than a predetermined time (eg, the fourth time T44 ) as the fourth light emission 423 .
  • the fifth exposure 434 may be set to last for a time equal to or less than a predetermined time (eg, a fifth time T45 ) as the fifth light emission 424 .
  • the processor 210 may selectively determine the sixth light emission 441 to acquire the background image.
  • the sixth light emission 441 may be set to last for a sixth time period T46.
  • the sixth time T46 may be set longer than any one of the first time T41 to the fifth time T45.
  • the processor 210 may set the sixth exposure 451 in response to the sixth light emission 441 .
  • the sixth exposure 451 may be set to last for a time equal to or smaller than the sixth light emission 441 by a specified time (eg, the sixth time T46).
  • FIG. 5 is a diagram illustrating another example of a flash operation and a camera operation during multiple light emission according to various embodiments of the present disclosure
  • the processor 210 may acquire second images through multiple light emission. For example, if there is no change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 345 of FIG. 3 ), the processor 210 may perform multiple flashes of the flash 250 . can
  • the processor 210 may acquire the first image after executing a photographing related application.
  • the processor 210 may display the first image through the display device 220 .
  • the first camera device 241 may acquire the first image through the first exposure 511 .
  • the first exposure 511 may be performed without the operation of the flash 250 or with the first emission 501 .
  • the first light emission 501 may be set to have a first intensity F51 and to be continued for a first time period T51.
  • the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 521 to the fifth light emission 524 , and the second The exposure 531 to the fifth exposure 534 instruction, the sixth light emission 541 instruction, or the sixth exposure 551 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 511 .
  • the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 501 .
  • the processor 210 may determine an image synthesis condition based on the depth information.
  • the image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
  • the processor 210 may determine the number of times the flash 250 is emitted to obtain second images (eg, images for compositing) based on the depth information. For example, the number of times the flash 250 is emitted may be determined according to the number of objects having different depths included in the first image. For example, the processor 210 may determine the second light emission 521 to the fifth light emission 524 . The processor 210 may set the light emission time of the second light emission 521 to the fifth light emission 524 to be the same (eg, set to the second time period T52). The processor 210 may set the light emission intensity of the second light emission 521 to the fifth light emission 524 differently depending on the depth. For example, the second light emission 521 may be set to the second intensity F52 . The third light emission 522 may be set to the third intensity F53 . The fourth light emission 523 may be set to the fourth intensity F54 . The fifth light emission 524 may be set to a fifth intensity F55 .
  • the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring the second images based on the depth information. For example, the number of exposures of the first camera device 241 may be set to be the same as the number of times of light emission of the flash 250 . The exposure time of the first camera device 241 may be determined according to a corresponding light emitting operation. As an example, the processor 210 may determine a second exposure 531 to a fifth exposure 534 . For example, each of the second exposures 531 to 534 may be set to last for a time equal to or smaller than the second time T52 by a specified time.
  • the processor 210 may selectively determine the sixth light emission 541 to acquire the background image.
  • the sixth light emission 541 may be set to last for a third time period T53.
  • the third time T53 may be set longer than any one of the first time T51 and the second time T52.
  • the sixth light emission 541 may be set to have an intensity equal to or greater than the fifth intensity F55 .
  • the processor 210 may set the sixth exposure 551 in response to the sixth light emission 541 .
  • the sixth exposure 551 may be set to last for a time equal to or smaller than the sixth light emission 541 (eg, the third time T53 ) by a specified time.
  • FIG. 6 is a diagram illustrating an example of a flash operation and a camera operation during continuous light emission according to an embodiment.
  • the processor 210 may acquire second images through continuous light emission.
  • the processor 210 may continuously emit the flash 250 when there is a change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 350 of FIG. 3 ).
  • the processor 210 may acquire the first image after executing a photographing related application.
  • the processor 210 may display the first image through the display device 220 .
  • the first camera device 241 may acquire the first image through the first exposure 611 .
  • the first exposure 611 may be performed without the operation of the flash 250 or with the first emission 601 .
  • the first light emission 601 may be set to have a first intensity F61 and to last for a first time period T61.
  • the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 621 , and the second exposure 631 to fifth an exposure 634 instruction, a third light emission 641 instruction, or a sixth exposure 651 instruction) may be performed.
  • the user input may be received before the first exposure 611 .
  • the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 601 .
  • the processor 210 may determine an image synthesis condition based on the depth information.
  • the image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
  • the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring second images (eg, images for compositing) based on the depth information. .
  • the number of exposures of the first camera device 241 may be determined according to the number of objects having different depths included in the first image.
  • the processor 210 may determine a second exposure 631 to a fifth exposure 634 .
  • the second exposure 631 may be set to last for the fourth time T64.
  • the third exposure 632 may be set to last for a fifth time T65.
  • the fourth exposure 633 may be set to last for a sixth time period T66.
  • the fifth exposure 634 may be set to last for the seventh time T67.
  • the processor 210 may determine an emission time of the flash 250 for acquiring the second images based on the depth information. For example, the processor 210 may set one continuous light emission (eg, the second light emission 621 ) to emit light for a specified time with a specified intensity based on the second exposure 631 to the fifth exposure 634 . have. For example, the processor 210 may determine that the second light emission 621 is performed while the second exposure 631 to the fifth exposure 634 of the first camera device 241 are in progress. For example, the second light emission 621 may be set to have a second intensity F62 and continue for a second time period T62.
  • one continuous light emission eg, the second light emission 621
  • the processor 210 may determine that the second light emission 621 is performed while the second exposure 631 to the fifth exposure 634 of the first camera device 241 are in progress.
  • the second light emission 621 may be set to have a second intensity F62 and continue for a second time period T62.
  • the processor 210 may selectively determine the third light emission 641 to acquire the background image.
  • the third light emission 641 may be set to have a second intensity F62 and continue for a third time period T63.
  • the third light emission 641 may be set to have an intensity greater than the second intensity F62 .
  • the third time T63 may be set longer than any one of the first time T61 and the fourth time T64 to the seventh time T67.
  • the processor 210 may set the sixth exposure 651 in response to the third light emission 641 .
  • the sixth exposure 651 may be set to last for a time equal to or smaller than the third light emission 641 by a specified time (eg, the third time T63).
  • FIG. 7 is a diagram illustrating another example of a flash operation and a camera operation during continuous light emission according to various embodiments of the present disclosure
  • the processor 210 may acquire second images through continuous light emission.
  • the processor 210 may continuously emit the flash 250 when there is a change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 350 of FIG. 3 ).
  • the processor 210 may acquire the first image after executing a photographing related application.
  • the processor 210 may display the first image through the display device 220 .
  • the first camera device 241 may acquire the first image through the first exposure 711 .
  • the first exposure 711 may be performed without the operation of the flash 250 or with the first light emission 701 .
  • the first light emission 701 may be set to have a first intensity F71 and to be continued for a first time period T71.
  • the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 721 , and second exposures 731 to 5 ). an exposure 734 instruction, a third light emission 741 instruction, or a sixth exposure 751 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 711 .
  • the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 701 .
  • the processor 210 may determine an image synthesis condition based on the depth information.
  • the image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
  • the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring second images (eg, images for compositing) based on the depth information. .
  • the number of exposures of the first camera device 241 may be determined according to the number of objects having different depths included in the first image.
  • the processor 210 may determine a second exposure 731 to a fifth exposure 734 .
  • the second exposure 731 may be set to last for the fourth time T74.
  • the third exposure 732 to the fifth exposure 734 may be set to last for the same time as the second exposure 731 .
  • the processor 210 may determine an emission time of the flash 250 for acquiring the second images based on the depth information. For example, the processor 210 may set one continuous light emission (eg, the second light emission 721 ) to emit light for a specified time with a specified intensity based on the second exposure 731 to the fifth exposure 734 . have. For example, the processor 210 may determine that the second light emission 621 is performed while the second exposure 731 to the fifth exposure 734 of the first camera device 241 are in progress. The second light emission 621 may have an intensity increasing from the second intensity F72 to the third intensity F73 and may be set to last for a second time period T72.
  • one continuous light emission eg, the second light emission 721
  • the second light emission 621 may have an intensity increasing from the second intensity F72 to the third intensity F73 and may be set to last for a second time period T72.
  • the processor 210 may selectively determine the third light emission 741 to acquire the background image.
  • the third light emission 741 may be set to have a third intensity F73 and continue for a third time period T73.
  • the third light emission 741 may be set to have an intensity greater than the third intensity F73 .
  • the third time T73 may be set longer than any one of the first time T71 and the fourth time T74.
  • the processor 210 may set the sixth exposure 751 in response to the third light emission 741 .
  • the sixth exposure 751 may be set to last for a time equal to or smaller than the third light emission 741 by a specified time (eg, the third time T73 ).
  • FIG. 8 is a diagram illustrating an additional function of a camera device according to an exemplary embodiment.
  • the electronic device 800 may provide an effect of changing the guide number GN of the flash 250 .
  • the electronic device 800 may display the user interface 801 of the photographing related application on a display device (eg, the display device 220 ).
  • the user interface 801 may include an object (hereinafter, referred to as a guide number object) 810 for controlling the guide number GN.
  • the guide number GN may be a numerical value calculated by multiplying an aperture value and an illumination distance based on ISO 100, which is a sensitivity.
  • the appropriate aperture value may be calculated by dividing the guide number GN by the distance between the flash 250 and an object to be photographed (eg, a subject).
  • the shooting distance eg, the distance of a subject having an appropriate exposure
  • the guide number object 810 may have a bar shape.
  • the guide number object 810 may include a control point 811 that is moved based on a user input. According to the movement of the control point 811 , the electronic device 800 may provide an effect of increasing or decreasing the guide number GN of the flash 250 . The electronic device 800 may provide an effect of increasing or decreasing the guide number GN of the flash 250 through the method of FIGS. 4 to 7 . For example, the physically fixed brightness of the flash 250 may be compensated by adjusting the shutter speed through the method of FIGS. 4 to 7 . The electronic device 800 applies the method of FIGS. 4 to 7 according to the user's adjustment of the control point 811 of the guide number object 810 to obtain the effect of virtually adjusting the intensity of the flash 250 . can provide
  • FIG. 9 is a diagram illustrating an image synthesis process according to an exemplary embodiment.
  • the electronic device 200 may obtain a final image 941 by synthesizing a plurality of images.
  • a final image 941 objects included in the image may be expressed with appropriate brightness according to depth.
  • the electronic device 200 may acquire the first image 901 using or not using the flash 250 .
  • the electronic device 200 may measure depth information of objects included in the first image 901 .
  • the electronic device 200 determines various image synthesizing conditions (eg, the number of times the flash 250 emits light, the light emission time, the light emission intensity, or the number of exposures and the exposure time of the first camera device 241 ) based on the depth information.
  • the electronic device 200 may acquire a second image 911 and a third image 912 according to the image synthesis condition. This is an example, and the electronic device 200 may additionally acquire more images according to the image synthesis condition.
  • the electronic device 200 may acquire the background image 931 if necessary.
  • the electronic device 200 may obtain a final image 941 by synthesizing the second image 911 and the third image 912 through the image synthesis method of FIGS. 3 to 7 .
  • the electronic device 200 may obtain a final image 941 by synthesizing the first to third images 901 , 911 , and 912 through the image synthesis method of FIGS. 3 to 7 .
  • the electronic device 200 may obtain a final image 941 by synthesizing the first to fourth images 901 , 911 , 912 , and 931 through the image synthesis method of FIGS. 3 to 7 . .
  • 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 device.
  • 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 “second” may simply be used to distinguish the component from other such components, and refer to the component in another aspect (e.g., importance or order) is not limited. that one (e.g., first) component is “coupled” or “connected” to another (e.g., second) component with or without the terms “functionally” or “communicatively” When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
  • module may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit.
  • a module may be an integrally formed part or a minimum unit or a part of the part 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
  • one or more instructions stored in a storage medium may be implemented as software (eg, the program 140) including
  • the processor eg, the processor 120
  • the device may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called.
  • 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.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
  • a signal eg, electromagnetic wave
  • the method according to various embodiments disclosed in this document may be provided by being included in a computer program product.
  • Computer program products may be traded between sellers and buyers as commodities.
  • the computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play StoreTM) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones).
  • a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
  • each component eg, a module or a program of the above-described components may include a singular or a plurality of entities.
  • one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added.
  • a plurality of components eg, a module or a program
  • the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. .
  • operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

Disclosed is an electronic device comprising a flash, a first camera device, a second camera device, and a processor operatively connected to the flash, the first camera device, and the second camera device. The processor may be configured to: measure, on the basis of a first image acquired through the first camera device and a second image acquired through the second camera device, depth information corresponding to the first image; and determine an image synthesis condition for obtaining third images on the basis of the depth information, wherein the image synthesis condition includes details related to the operation of the flash or the first camera device at the time of acquisition of the third images. Various other embodiments inferred from the specification are also possible.

Description

플래시를 사용하여 촬영을 수행하는 전자 장치Electronic devices that use flash to take pictures
본 문서에서 개시되는 실시 예들은, 전자 장치의 촬영 기술과 관련된다.Embodiments disclosed in this document relate to photographing technology of an electronic device.
영상 기기의 급속한 발전으로 이미지 센서가 장착된 카메라 또는 캠코더와 같은 이미지 촬영 장치에 대한 개발이 가속화되고 있다. 이미지 촬영 장치는 이미지를 촬영하여 기록 매체에 기록함과 동시에, 언제든지 재생시킬 수 있어 사용자가 급속하게 증가하고 있다. 이에 따라 성능 및 기능에 대한 사용자의 요구도 점차 높아지고 있으며, 소형, 경량화, 저전력화와 더불어 고성능화 및 다기능화가 추구되고 있다.BACKGROUND With the rapid development of imaging devices, development of an image capturing device such as a camera or camcorder equipped with an image sensor is accelerating. The image photographing apparatus captures an image, records it on a recording medium, and simultaneously reproduces the image at any time, so the number of users is rapidly increasing. Accordingly, users' demands for performance and functions are gradually increasing, and high performance and multifunctionalization are being pursued along with miniaturization, light weight, and low power consumption.
전자 장치는 소형화된 이미지 촬영 장치를 포함할 수 있다. 전자 장치는 다양한 광원 환경(예: 저조도, 고조도 또는 역광)에서 촬영을 수행할 수 있고, 다양한 광원 환경에 기초하여 이미지 촬영 장치의 설정을 제어할 수 있다.The electronic device may include a miniaturized image capturing apparatus. The electronic device may perform photographing in various light source environments (eg, low light, high light, or backlight), and may control settings of the image capturing apparatus based on various light source environments.
전자 장치는 주변 조도에 따라 플래시를 발광하여 촬영을 수행할 수 있다. 플래시를 발광하여 촬영 시 영상 내에 서로 거리가 다른 피사체들이 포함되는 경우, 상기 피사체들의 거리를 고려하지 않으면, 특정 거리의 피사체에 대해서만 노출이 최적화 되고, 나머지 피사체들에 대하여는 오버(over) 노출 또는 언더(under) 노출(예: 동굴 효과)이 발생할 수 있다.The electronic device may perform photographing by emitting a flash according to ambient illuminance. When shooting with a flash, when subjects with different distances are included in the image, if the distances of the subjects are not taken into account, exposure is optimized only for subjects at a specific distance, and overexposure or underexposure for the remaining subjects (under) exposure (eg cave effect) may occur.
본 발명의 다양한 실시 예들은 피사체들의 거리에 따라 플래시의 발광 횟수, 발광 세기 또는 발광 시간을 조절하여 복수의 이미지를 획득하고, 상기 복수의 이미지를 합성하여 최적화된 밝기를 가지는 이미지를 촬영하는 전자 장치를 제공하고자 한다.According to various embodiments of the present disclosure, an electronic device acquires a plurality of images by adjusting the number of flashes, an intensity of light emission, or a light emission time of a flash according to a distance of subjects, and synthesizes the plurality of images to photograph an image having an optimized brightness would like to provide
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 플래시, 제1 카메라 장치, 제2 카메라 장치, 및 상기 플래시, 상기 제1 카메라 장치 및 상기 제2 카메라 장치에 작동적으로 연결된 프로세서를 포함할 수 있다. 상기 프로세서는, 상기 제1 카메라 장치를 통해 획득한 제1 이미지 및 상기 제2 카메라 장치를 통해 획득한 제2 이미지에 기초하여 상기 제1 이미지에 대응하는 깊이 정보를 측정하고, 상기 깊이 정보에 기초하여 제3 이미지들을 획득하기 위한 영상 합성 조건을 결정하도록 설정되고, 상기 영상 합성 조건은 상기 제3 이미지들의 획득 시 상기 플래시 또는 상기 제1 카메라 장치의 동작에 관련된 세부사항을 포함할 수 있다.An electronic device according to an embodiment disclosed herein may include a flash, a first camera device, a second camera device, and a processor operatively connected to the flash, the first camera device, and the second camera device. can The processor measures depth information corresponding to the first image based on a first image acquired through the first camera device and a second image acquired through the second camera device, and based on the depth information to determine an image synthesizing condition for acquiring the third images, the image synthesizing condition may include details related to an operation of the flash or the first camera device when the third images are acquired.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 플래시, 카메라 장치, 깊이 측정 장치, 및 상기 플래시, 상기 카메라 장치 및 상기 깊이 측정 장치에 작동적으로 연결된 프로세서를 포함할 수 있다. 상기 프로세서는, 상기 제1 카메라 장치를 통해 획득한 제1 이미지를 획득하고, 상기 깊이 측정 장치를 통해 상기 제1 이미지에 대응하는 깊이 정보를 측정하고, 상기 깊이 정보에 기초하여 제2 이미지들을 획득하기 위한 촬영 시 상기 플래시 동작 조건을 결정하도록 설정되고, 상기 플래시 동작 조건은 상기 제2 이미지들의 획득 시 상기 플래시의 발광 횟수, 발광 세기 또는 발광 시간을 포함할 수 있다.In addition, the electronic device according to an embodiment disclosed in this document may include a flash, a camera device, a depth measuring device, and a processor operatively connected to the flash, the camera device, and the depth measuring device. The processor obtains a first image obtained through the first camera device, measures depth information corresponding to the first image through the depth measurement device, and obtains second images based on the depth information The flash operation condition is set to determine the flash operation condition at the time of photographing for the purpose of capturing the second images.
본 문서에 개시되는 실시 예들에 따르면, 피사체들의 거리에 따라 플래시의 발광 횟수, 발광 세기 또는 발광 시간을 조절하여 복수의 이미지를 획득하고, 상기 복수의 이미지를 합성하여 최적화된 밝기를 가지는 이미지를 촬영할 수 있다.According to the embodiments disclosed in this document, a plurality of images are obtained by adjusting the number of flashes, the intensity of flashes, or the flashing time according to the distance of the subjects, and an image having an optimized brightness is captured by synthesizing the plurality of images. can
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition, various effects directly or indirectly identified through this document may be provided.
도 1은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블럭도이다.1 is a block diagram of an electronic device in a network environment according to various embodiments of the present disclosure;
도 2는 일 실시 예에 따른 전자 장치를 나타내는 도면이다.2 is a diagram illustrating an electronic device according to an embodiment.
도 3은 일 실시 예에 따른 전자 장치의 촬영 동작을 나타내는 순서도이다.3 is a flowchart illustrating a photographing operation of an electronic device according to an exemplary embodiment.
도 4는 일 실시 예에 따른 다중 발광 시 플래시 동작 및 카메라 동작의 일 예를 나타내는 도면이다.4 is a diagram illustrating an example of a flash operation and a camera operation during multiple light emission according to an embodiment.
도 5는 다양한 실시 예에 따른 다중 발광 시 플래시 동작 및 카메라 동작의 다른 예를 나타내는 도면이다.5 is a diagram illustrating another example of a flash operation and a camera operation during multiple light emission according to various embodiments of the present disclosure;
도 6은 일 실시 예에 따른 지속 발광 시 플래시 동작 및 카메라 동작의 일 예를 나타내는 도면이다.6 is a diagram illustrating an example of a flash operation and a camera operation during continuous light emission according to an embodiment.
도 7은 다양한 실시 예에 따른 지속 발광 시 플래시 동작 및 카메라 동작의 다른 예를 나타내는 도면이다.7 is a diagram illustrating another example of a flash operation and a camera operation during continuous light emission according to various embodiments of the present disclosure;
도 8은 일 실시 예에 따른 카메라 장치의 추가 기능을 나타내는 도면이다.8 is a diagram illustrating an additional function of a camera device according to an exemplary embodiment.
도 9는 일 실시 예에 따른 이미지 합성 과정을 나타내는 도면이다.9 is a diagram illustrating an image synthesis process according to an exemplary embodiment.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present invention are included.
도 1은, 다양한 실시 예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다1 is a block diagram of an electronic device 101 in a network environment 100 according to various embodiments of the present disclosure. Referring to FIG. 1 , in a network environment 100 , the electronic device 101 communicates with the electronic device 102 through a first network 198 (eg, a short-range wireless communication network) or a second network 199 . It may communicate with the electronic device 104 or the server 108 through (eg, a long-distance wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108 . According to an embodiment, the electronic device 101 includes a processor 120 , a memory 130 , an input device 150 , a sound output device 155 , a display device 160 , an audio module 170 , and a sensor module ( 176 , interface 177 , haptic module 179 , camera module 180 , power management module 188 , battery 189 , communication module 190 , subscriber identification module 196 , or antenna module 197 . ) may be included. In some embodiments, at least one of these components (eg, the display device 160 or the camera module 180 ) may be omitted or one or more other components may be added to the electronic device 101 . In some embodiments, some of these components may be implemented as a single integrated circuit. For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented while being embedded in the display device 160 (eg, a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (eg, the program 140) to execute at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120 . It can control and perform various data processing or operations. According to an embodiment, as at least part of data processing or operation, the processor 120 converts commands or data received from other components (eg, the sensor module 176 or the communication module 190) to the volatile memory 132 . may be loaded into the volatile memory 132 , process commands or data stored in the volatile memory 132 , and store the resulting data in the non-volatile memory 134 . According to an embodiment, the processor 120 includes a main processor 121 (eg, a central processing unit or an application processor), and an auxiliary processor 123 (eg, a graphic processing unit or an image signal processor) that can be operated independently or together with the main processor 121 . , a sensor hub processor, or a communication processor). Additionally or alternatively, the auxiliary processor 123 may be configured to use less power than the main processor 121 or to be specialized for a designated function. The auxiliary processor 123 may be implemented separately from or as a part of the main processor 121 .
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor 123 may be, for example, on behalf of the main processor 121 while the main processor 121 is in an inactive (eg, sleep) state, or when the main processor 121 is active (eg, executing an application). ), together with the main processor 121, at least one of the components of the electronic device 101 (eg, the display device 160, the sensor module 176, or the communication module 190) It is possible to control at least some of the related functions or states. According to an embodiment, the auxiliary processor 123 (eg, an image signal processor or a communication processor) may be implemented as a part of another functionally related component (eg, the camera module 180 or the communication module 190). have.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176 ) of the electronic device 101 . The data may include, for example, input data or output data for software (eg, the program 140 ) and instructions related thereto. The memory 130 may include a volatile memory 132 or a non-volatile memory 134 .
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system 142 , middleware 144 , or an application 146 .
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)는, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input device 150 may receive a command or data to be used by a component (eg, the processor 120 ) of the electronic device 101 from the outside (eg, a user) of the electronic device 101 . The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (eg, a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output device 155 may output a sound signal to the outside of the electronic device 101 . The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback, and the receiver can be used to receive incoming calls. According to an embodiment, the receiver may be implemented separately from or as a part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)는, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. The display device 160 may visually provide information to the outside (eg, a user) of the electronic device 101 . The display device 160 may include, for example, a display, a hologram device, or a projector and a control circuit for controlling the corresponding device. According to an embodiment, the display device 160 may include a touch circuitry configured to sense a touch or a sensor circuit (eg, a pressure sensor) configured to measure the intensity of a force generated by the touch. have.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert a sound into an electric signal or, conversely, convert an electric signal into a sound. According to an embodiment, the audio module 170 acquires a sound through the input device 150 , or an external electronic device (eg, a sound output device 155 ) connected directly or wirelessly with the electronic device 101 . The electronic device 102) (eg, a speaker or headphones) may output a sound.
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 176 detects an operating state (eg, power or temperature) of the electronic device 101 or an external environmental state (eg, user state), and generates an electrical signal or data value corresponding to the sensed state. can do. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 실시 예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 177 may support one or more specified protocols that may be used by the electronic device 101 to directly or wirelessly connect with an external electronic device (eg, the electronic device 102 ). According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시 예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102 ). According to an embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that the user can perceive through tactile or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 may capture still images and moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시 예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101 . According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101 . According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 실시 예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 is a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the electronic device 102, the electronic device 104, or the server 108). It can support establishment and communication through the established communication channel. The communication module 190 may include one or more communication processors that operate independently of the processor 120 (eg, an application processor) and support direct (eg, wired) communication or wireless communication. According to an embodiment, the communication module 190 is a wireless communication module 192 (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 194 (eg, : It may include a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may be a first network 198 (eg, a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network 199 (eg, a cellular network, the Internet, or It may communicate with the external electronic device 104 through a computer network (eg, a telecommunication network such as a LAN or WAN). These various types of communication modules may be integrated into one component (eg, a single chip) or may be implemented as a plurality of components (eg, multiple chips) separate from each other. The wireless communication module 192 uses subscriber information (eg, International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199 . The electronic device 101 may be identified and authenticated.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive a signal or power to the outside (eg, an external electronic device). According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected from the plurality of antennas by, for example, the communication module 190 . can be selected. A signal or power may be transmitted or received between the communication module 190 and an external electronic device through the selected at least one antenna. According to some embodiments, other components (eg, RFIC) other than the radiator may be additionally formed as a part of the antenna module 197 .
상기 구성요소들 중 적어도 일부는 주변 기기들 간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (eg, a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal (eg commands or data) can be exchanged with each other.
일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to an embodiment, the command or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199 . Each of the external electronic devices 102 and 104 may be the same as or different from the electronic device 101 . According to an embodiment, all or part of the operations performed by the electronic device 101 may be performed by one or more of the external electronic devices 102 , 104 , or 108 . For example, when the electronic device 101 needs to perform a function or service automatically or in response to a request from a user or other device, the electronic device 101 may perform the function or service itself instead of executing the function or service itself. Alternatively or additionally, one or more external electronic devices may be requested to perform at least a part of the function or the service. The one or more external electronic devices that have received 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 transmit a result of the execution to the electronic device 101 . The electronic device 101 may process the result as it is or additionally and provide it as at least a part of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.
도 2는 일 실시 예에 따른 전자 장치를 나타내는 도면이다.2 is a diagram illustrating an electronic device according to an embodiment.
도 2를 참조하면, 전자 장치(200)는 프로세서(210)(예: 도 1의 프로세서(120)), 표시 장치(220)(예: 도 1의 표시 장치(160)), 메모리(230)(예: 도 1의 메모리(130)), 제1 카메라 장치(241), 제2 카메라 장치(242), 플래시(250) 또는 조도 센서(260)를 포함할 수 있다. 또는 전자 장치(200)는 깊이 측정 장치(243)를 추가적으로 포함할 수 있다. 일 실시 예에서, 제1 카메라 장치(241) 및 제2 카메라 장치(242) 중 적어도 하나와 플래시(250)는 하나의 패키지(또는, 부품)(예: 도 1의 카메라 모듈(180))에 포함될 수 있다.Referring to FIG. 2 , the electronic device 200 includes a processor 210 (eg, the processor 120 of FIG. 1 ), a display device 220 (eg, the display device 160 of FIG. 1 ), and a memory 230 . (eg, the memory 130 of FIG. 1 ), a first camera device 241 , a second camera device 242 , a flash 250 , or an illuminance sensor 260 . Alternatively, the electronic device 200 may additionally include a depth measuring device 243 . In an embodiment, at least one of the first camera device 241 and the second camera device 242 and the flash 250 are packaged in one package (or part) (eg, the camera module 180 of FIG. 1 ). may be included.
일 실시 예에 따르면, 프로세서(210)는 촬영 관련 어플리케이션(예: 카메라 앱)을 실행할 수 있다. 예를 들면, 프로세서(210)는 상기 촬영 관련 어플리케이션의 실행과 함께 제1 카메라 장치(241)를 활성화할 수 있다. 프로세서(210)는 제1 카메라 장치(241)를 통해 제1 이미지(예: 프리뷰 이미지)를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 표시할 수 있다. 상기 제1 이미지는 최종적인 촬영 전에 사용자에게 보여지는 미리 보기를 의미할 수 있다.According to an embodiment, the processor 210 may execute a photographing related application (eg, a camera app). For example, the processor 210 may activate the first camera device 241 together with the execution of the photographing related application. The processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 . The processor 210 may display the first image through the display device 220 . The first image may mean a preview shown to the user before the final photographing.
일 실시 예에 따르면, 프로세서(210)는 저조도 환경 여부를 판단할 수 있다. 예를 들면, 프로세서(210)는 조도 센서(260)를 통해 전자 장치(200)의 주변 조도를 측정할 수 있다. 측정된 주변 조도가 지정된 기준 조도 값보다 크면, 프로세서(210)는 일반 모드로 촬영할 수 있다. 측정된 주변 조도가 상기 지정된 기준 조도 값 이하이면, 프로세서(210)는 상기 제1 이미지에 대응하는 깊이 정보를 측정할 수 있다. 일 예로, 프로세서(210)는 제2 카메라 장치(242)를 활성화하고, 제2 카메라 장치(242)를 통해 깊이 측정을 위한 추가 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지와 상기 추가 이미지를 이용하여 상기 제1 이미지에 대응하는 깊이 정보(예: 상기 제1 이미지의 각 부분의 깊이 값을 포함하는 테이블)를 측정할 수 있다. 다른 예로, 프로세서(210)는 깊이 측정 장치(243)를 통해 상기 제1 이미지에 대응하는 깊이 정보를 측정할 수 있다.According to an embodiment, the processor 210 may determine whether a low-illuminance environment is present. For example, the processor 210 may measure the ambient illuminance of the electronic device 200 through the illuminance sensor 260 . If the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 may take a picture in the normal mode. When the measured ambient illuminance is equal to or less than the specified reference illuminance value, the processor 210 may measure depth information corresponding to the first image. For example, the processor 210 may activate the second camera device 242 and acquire an additional image for depth measurement through the second camera device 242 . The processor 210 may measure depth information (eg, a table including depth values of each part of the first image) corresponding to the first image by using the first image and the additional image. As another example, the processor 210 may measure depth information corresponding to the first image through the depth measuring device 243 .
일 실시 예에 따르면, 제1 카메라 장치(241) 및 제2 카메라 장치(242)는 깊이 측정을 위한 듀얼 스테레오 카메라로 구성될 수 있다. 예를 들면, 제2 카메라 장치(242)는 제1 카메라 장치(241)와 동일 또는 유사한 렌즈 구성을 포함할 수 있다. 프로세서(210)는 제1 카메라 장치(241) 및 제2 카메라 장치(242)에서 획득된 이미지들의 시점 불일치를 이용하여 제1 카메라 장치(241)에 의해 획득된 상기 제1 이미지에 대응하는 깊이 정보를 획득할 수 있다.According to an embodiment, the first camera device 241 and the second camera device 242 may be configured as dual stereo cameras for depth measurement. For example, the second camera device 242 may include the same or similar lens configuration as the first camera device 241 . The processor 210 is configured to determine depth information corresponding to the first image acquired by the first camera device 241 by using the viewpoint mismatch of the images acquired by the first camera device 241 and the second camera device 242 . can be obtained.
다양한 실시 예에 따르면, 프로세서(210)는 상기 제1 이미지를 획득하기 전에 전자 장치(200)의 주변 조도를 측정하고, 저조도 환경 여부를 판단할 수 있다.According to various embodiments, the processor 210 may measure the ambient illuminance of the electronic device 200 before acquiring the first image, and may determine whether a low illuminance environment exists.
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 최종 촬영 시 합성될 이미지의 개수를 결정할 수 있다. 또는 프로세서(210)는 상기 깊이 정보에 기초하여 결정된 합성 이미지들 각각의 촬영 조건(예: 제1 카메라 장치(241)의 노출 횟수, 노출 시간, 플래시(250)의 발광 횟수, 발광 세기 또는 발광 시간)을 결정할 수 있다.According to an embodiment, the processor 210 may determine an image synthesis condition based on the depth information. For example, the processor 210 may determine the number of images to be synthesized during final photographing based on the depth information. Alternatively, the processor 210 may set a shooting condition for each of the composite images determined based on the depth information (eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time). ) can be determined.
일 실시 예에 따르면, 프로세서(210)는 상기 제1 이미지의 배경 깊이(예: 상기 제1 이미지의 배경 영역의 픽셀들에 대한 평균 깊이 값)와 기준 깊이를 비교할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제1 이미지의 배경 성분을 추출할 수 있다. 프로세서(210)는 상기 배경 성분의 배경 깊이와 기준 깊이를 비교할 수 있다. 상기 배경 깊이가 상기 기준 깊이 이상이면, 프로세서(210)는 배경 이미지를 획득하는 것으로 결정할 수 있다. 상기 배경 깊이가 상기 기준 깊이보다 작으면, 프로세서(210)는 배경 이미지를 획득하지 않는 것으로 결정할 수 있다.According to an embodiment, the processor 210 may compare a background depth of the first image (eg, an average depth value of pixels in the background region of the first image) with a reference depth. For example, the processor 210 may extract a background component of the first image based on the depth information. The processor 210 may compare the background depth of the background component with the reference depth. If the background depth is equal to or greater than the reference depth, the processor 210 may determine to acquire a background image. If the background depth is smaller than the reference depth, the processor 210 may determine not to acquire the background image.
일 실시 예에 따르면, 프로세서(210)는 상기 제1 이미지에서 깊이 변화가 있는 객체의 존재 여부를 판단할 수 있다. 예를 들면, 프로세서(210)는 상기 제1 이미지에 포함된 적어도 하나의 객체(예: 피사체)를 확인할 수 있다. 프로세서(210)는 상기 제1 이미지에 대응하는 깊이 정보를 계속적으로 측정할 수 있다. 프로세서(210)는 변화하는 깊이 정보에 기초하여 상기 제1 이미지에서 깊이 변화가 있는 객체의 존재 여부를 판단할 수 있다.According to an embodiment, the processor 210 may determine whether there is an object having a change in depth in the first image. For example, the processor 210 may identify at least one object (eg, a subject) included in the first image. The processor 210 may continuously measure depth information corresponding to the first image. The processor 210 may determine whether there is an object having a change in depth in the first image based on the changed depth information.
일 실시 예에 따르면, 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하지 않는 경우, 프로세서(210)는 플래시(250)를 다중 발광하여 추가적인 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 결정된 영상 합성 조건에 기초하여 플래시(250)를 복수 회 발광하고, 플래시(250)가 발광하는 동안 제1 카메라 장치(241)를 통해 상기 제2 이미지들을 획득할 수 있다. 플래시(250)의 발광 횟수 및 발광 세기는 상기 영상 합성 조건에 기초하여 결정될 수 있다. 또는 제1 카메라 장치(241)의 노출 횟수 및 노출 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 다양한 실시 예로서, 배경 이미지를 획득하는 것으로 결정된 경우, 프로세서(210)는 배경 이미지 획득을 위한 플래시(250)를 발광하고, 제1 카메라 장치(241)를 통해 배경 이미지를 획득할 수 있다. 다양한 실시 예들에 따른 다중 발광을 통한 이미지 합성 방법은 도 4 및 도 5에서 자세히 설명한다.According to an embodiment, when an object having a change in depth does not exist in the first image, the processor 210 may obtain additional second images by performing multiple flashes of the flash 250 . For example, the processor 210 may emit the flash 250 a plurality of times based on the determined image synthesis condition, and acquire the second images through the first camera device 241 while the flash 250 emits light. can The number of light emission and light emission intensity of the flash 250 may be determined based on the image synthesis condition. Alternatively, the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition. According to various embodiments, when it is determined to acquire the background image, the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 . An image synthesis method through multiple light emission according to various embodiments will be described in detail with reference to FIGS. 4 and 5 .
일 실시 예에 따르면, 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하는 경우, 프로세서(210)는 플래시(250)를 지속 발광하여 추가적인 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 결정된 영상 합성 조건에 기초하여 지정된 발광 세기로 지정된 시간 동안 플래시(250)를 발광하고, 플래시(250)가 발광하는 동안 제1 카메라 장치(241)를 통해 상기 제2 이미지들을 획득할 수 있다. 플래시(250)의 발광 세기 및 발광 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 또는 제1 카메라 장치(241)의 노출 횟수 및 노출 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 다양한 실시 예로서, 배경 이미지를 획득하는 것으로 결정된 경우, 프로세서(210)는 배경 이미지 획득을 위한 플래시(250)를 발광하고, 제1 카메라 장치(241)를 통해 배경 이미지를 획득할 수 있다. 다양한 실시 예들에 따른 지속 발광을 통한 이미지 합성 방법은 도 6 및 도 7에서 자세히 설명한다.According to an embodiment, when an object having a change in depth exists in the first image, the processor 210 may continuously emit the flash 250 to acquire additional second images. For example, the processor 210 emits the flash 250 for a specified period of time with a specified emission intensity based on the determined image synthesis condition, and uses the first camera device 241 while the flash 250 is emitted. 2 images can be acquired. The light emission intensity and the light emission time of the flash 250 may be determined based on the image synthesis conditions. Alternatively, the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition. According to various embodiments, when it is determined to acquire the background image, the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 . An image synthesis method through continuous light emission according to various embodiments will be described in detail with reference to FIGS. 6 and 7 .
일 실시 예에 따르면, 프로세서(210)는 획득된 제2 이미지들을 합성하여 제3 이미지(예: 최종 이미지)를 획득할 수 있다. 예를 들면, 프로세서(210)는 깊이 정보에 기초하여 제2 이미지들 각각에서 합성될 부분을 선택할 수 있다. 일 예로, 프로세서(210)는 제2 이미지들 중 하나에서 제1 깊이를 가지는 제1 객체에 대응하는 제1 부분을 선택할 수 있다. 프로세서(210)는 제2 이미지들 중 다른 하나에서 제2 깊이를 가지는 제2 객체에 대응하는 제2 부분을 선택할 수 있다. 프로세서(210)는 제2 이미지들 중 또 다른 하나에서 제3 깊이를 가지는 제3 객체에 대응하는 제3 부분을 선택할 수 있다. 프로세서(210)는 제1 부분, 제2 부분 및 제3 부분을 합성하여 제3 이미지를 생성할 수 있다. 다른 예로, 프로세서(210)는 상기 제1 이미지(예: 상기 제1 이미지에서 지정된 깊이를 가지는 객체에 대응하는 부분)도 상기 제2 이미지들과 함께 합성할 수 있다. 또 다른 예로, 배경 이미지(예: 상기 제1 이미지의 배경 부분)가 획득된 경우, 프로세서(210)는 상기 배경 이미지도 상기 제2 이미지들과 함께 합성할 수 있다. 프로세서(210)는 합성의 결과인 상기 제3 이미지를 표시 장치(220)에 표시할 수 있다. 프로세서(210)는 사용자 입력에 기초하여 상기 제3 이미지를 메모리(230)에 저장할 수 있다.According to an embodiment, the processor 210 may obtain a third image (eg, a final image) by synthesizing the obtained second images. For example, the processor 210 may select a portion to be synthesized from each of the second images based on the depth information. For example, the processor 210 may select a first portion corresponding to a first object having a first depth from one of the second images. The processor 210 may select a second portion corresponding to a second object having a second depth from another one of the second images. The processor 210 may select a third portion corresponding to a third object having a third depth from another one of the second images. The processor 210 may generate a third image by synthesizing the first part, the second part, and the third part. As another example, the processor 210 may also synthesize the first image (eg, a portion corresponding to an object having a specified depth in the first image) with the second images. As another example, when a background image (eg, a background portion of the first image) is obtained, the processor 210 may also combine the background image with the second images. The processor 210 may display the third image resulting from the synthesis on the display device 220 . The processor 210 may store the third image in the memory 230 based on a user input.
도 3은 일 실시 예에 따른 전자 장치의 촬영 동작을 나타내는 순서도이다.3 is a flowchart illustrating a photographing operation of an electronic device according to an exemplary embodiment.
도 2 및 도 3을 참조하면, 전자 장치(200)는 저조도 환경에서 피사체들(예: 이미지에 포함된 객체들)의 거리에 따라 플래시(250)의 발광 조건(예: 발광 횟수, 발광 세기 또는 발광 시간)을 제어하여 복수의 이미지를 획득하고, 획득된 복수의 이미지를 합성하여 최종 결과물을 표시할 수 있다.2 and 3 , the electronic device 200 determines the light emission conditions (eg, the number of flashes, the light emission intensity, or the light emission time) to obtain a plurality of images, and a final result may be displayed by synthesizing the obtained plurality of images.
일 실시 예에 따르면, 동작 305에서, 프로세서(210)는 촬영 관련 어플리케이션(예: 카메라 앱)을 실행할 수 있다. 예를 들면, 프로세서(210)는 상기 촬영 관련 어플리케이션의 실행과 함께 제1 카메라 장치(241)를 활성화할 수 있다. 프로세서(210)는 제1 카메라 장치(241)를 통해 제1 이미지(예: 프리뷰 이미지)를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 표시할 수 있다. 상기 제1 이미지는 최종적인 촬영 전에 사용자에게 보여지는 미리 보기를 의미할 수 있다.According to an embodiment, in operation 305 , the processor 210 may execute a photographing related application (eg, a camera app). For example, the processor 210 may activate the first camera device 241 together with the execution of the photographing related application. The processor 210 may acquire a first image (eg, a preview image) through the first camera device 241 . The processor 210 may display the first image through the display device 220 . The first image may mean a preview shown to the user before the final photographing.
일 실시 예에 따르면, 동작 310에서, 프로세서(210)는 저조도 환경 여부를 판단할 수 있다. 예를 들면, 프로세서(210)는 조도 센서(260)를 통해 전자 장치(200)의 주변 조도를 측정할 수 있다. 측정된 주변 조도가 지정된 기준 조도 값보다 크면, 프로세서(210)는 저조도 환경이 아닌 것으로 판단하고(예: 동작 310의 No), 동작 315를 수행하여 일반 모드로 촬영할 수 있다. 측정된 주변 조도가 상기 지정된 기준 조도 값 이하이면, 프로세서(210)는 저조도 환경인 것으로 판단하고(예: 동작 310의 Yes), 동작 320을 수행할 수 있다.According to an embodiment, in operation 310, the processor 210 may determine whether there is a low-illuminance environment. For example, the processor 210 may measure the ambient illuminance of the electronic device 200 through the illuminance sensor 260 . If the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 determines that it is not a low illuminance environment (eg, No in operation 310), and performs operation 315 to photograph in the normal mode. If the measured ambient illuminance is less than or equal to the specified reference illuminance value, the processor 210 may determine that it is a low illuminance environment (eg, Yes in operation 310 ), and may perform operation 320 .
다양한 실시 예에 따르면, 프로세서(210)는 상기 제1 이미지를 획득하기 전에 전자 장치(200)의 주변 조도를 측정하고, 저조도 환경 여부를 판단할 수 있다.According to various embodiments, the processor 210 may measure the ambient illuminance of the electronic device 200 before acquiring the first image, and may determine whether a low illuminance environment exists.
일 실시 예에 따르면, 동작 315에서, 측정된 주변 조도가 상기 지정된 기준 조도 값보다 크면, 프로세서(210)는 일반 모드로 촬영을 수행할 수 있다. 예를 들면, 측정된 주변 조도가 상기 지정된 조도 값보다 크면, 프로세서(210)는 제1 카메라 장치(241)를 일반 모드로 설정할 수 있다. 일 예로, 상기 일반 모드 시, 프로세서(210)는 플래시(250)의 동작 없이 촬영할 수 있다. 또는 상기 일반 모드 시, 프로세서(120)는 복수의 이미지의 합성 없이 촬영을 수행할 수 있다.According to an embodiment, in operation 315 , if the measured ambient illuminance is greater than the specified reference illuminance value, the processor 210 may perform imaging in a normal mode. For example, if the measured ambient illuminance is greater than the specified illuminance value, the processor 210 may set the first camera device 241 to a normal mode. For example, in the normal mode, the processor 210 may take a picture without the operation of the flash 250 . Alternatively, in the normal mode, the processor 120 may perform photographing without synthesizing a plurality of images.
일 실시 예에 따르면, 동작 320에서, 측정된 주변 조도가 상기 지정된 기준 조도 값 이하이면, 프로세서(210)는 상기 제1 이미지에 대응하는 깊이 정보를 측정할 수 있다. 예를 들면, 프로세서(210)는 제2 카메라 장치(242)를 활성화하고, 제2 카메라 장치(242)를 통해 깊이 측정을 위한 추가 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지와 상기 추가 이미지를 이용하여 상기 제1 이미지에 대응하는 깊이 정보(예: 상기 제1 이미지의 각 부분의 깊이 값을 포함하는 테이블)를 측정할 수 있다. 다른 예로서, 프로세서(210)는 깊이 측정 장치(243)를 통해 상기 제1 이미지에 대응하는 깊이 정보를 측정할 수 있다.According to an embodiment, in operation 320 , if the measured ambient illuminance is equal to or less than the specified reference illuminance value, the processor 210 may measure depth information corresponding to the first image. For example, the processor 210 may activate the second camera device 242 and acquire an additional image for depth measurement through the second camera device 242 . The processor 210 may measure depth information (eg, a table including depth values of each part of the first image) corresponding to the first image by using the first image and the additional image. As another example, the processor 210 may measure depth information corresponding to the first image through the depth measuring device 243 .
일 실시 예에 따르면, 동작 325에서, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 동작 355에서 합성될 이미지의 개수를 결정할 수 있다. 또는 프로세서(210)는 상기 깊이 정보에 기초하여 결정된 합성 이미지들 각각의 촬영 조건(예: 제1 카메라 장치(241)의 노출 횟수, 노출 시간, 플래시(250)의 발광 횟수, 발광 세기 또는 발광 시간)을 결정할 수 있다.According to an embodiment, in operation 325, the processor 210 may determine an image synthesis condition based on the depth information. For example, the processor 210 may determine the number of images to be synthesized in operation 355 based on the depth information. Alternatively, the processor 210 may set a shooting condition for each of the composite images determined based on the depth information (eg, the number of exposures of the first camera device 241 , the exposure time, the number of flashes of the flash 250 , the light emission intensity, or the light emission time). ) can be determined.
예를 들면, 제1 카메라 장치(241)의 이미지 센서에서 획득되는 빛의 강도(intensity)는 수학식 1과 같이 표현될 수 있다.For example, the intensity of light obtained from the image sensor of the first camera device 241 may be expressed as Equation (1).
Figure PCTKR2021002654-appb-M000001
Figure PCTKR2021002654-appb-M000001
수학식 1에서, I는 제1 카메라 장치(241)의 이미지 센서에서 획득되는 빛의 강도를 나타내고, S는 셔터 속도를 나타내고, λ는 피사체의 반사율을 나타내고, Am은 주변 광원을 나타낼 수 있다. 특정 환경에서, 주변 광원과 피사체의 반사율은 고정된 값이고, 이에 의해 셔터 속도를 제어하여, 노출은 제어될 수 있다. 일 예로, 저조도 상황에서 플래시(250)가 발광하는 경우, 수학식 1은 수학식 2와 같이 표현될 수 있다.In Equation 1, I may represent an intensity of light obtained from the image sensor of the first camera device 241 , S may represent a shutter speed, λ may represent a reflectance of a subject, and Am may represent an ambient light source. In certain circumstances, the reflectivity of the ambient light source and the subject is a fixed value, whereby the exposure can be controlled by controlling the shutter speed. For example, when the flash 250 emits light in a low-light situation, Equation 1 may be expressed as Equation 2.
Figure PCTKR2021002654-appb-M000002
Figure PCTKR2021002654-appb-M000002
수학식 2에서, Li는 플래시(250)의 초기 발광량이고, d는 피사체와 제1 카메라 장치(241) 사이의 거리를 나타낼 수 있다. 이때 제1 카메라 장치(241)의 이미지 센서에서 획득되는 빛의 강도는 피사체와 제1 카메라 장치(241) 사이의 거리에 기초(예: 피사체와 제1 카메라 장치(241) 사이의 거리의 제곱에 반비례)하여 결정될 수 있다. 동일한 반사율을 가지는 피사체는, 동일한 광량 하에서 촬영 시, 동일한 빛의 강도를 발할 수 있다. 하지만, 플래시(250)와 같은 지향성의(Directional) 조사 특성을 가지는 광원에 의해 피사체에 빛이 조사되면, 플래시(250)의 발광 위치와 피사체의 거리에 따라 피사체로부터의 빛의 강도는 급격한 변화 분포를 가질 수 있다. 따라서, 플래시(250) 발광 후 촬영 시 피사체의 거리를 고려하지 않으면, 특정 거리의 피사체에 대해서만 노출이 최적화되고, 상기 특정 거리와 다른 거리에 위치한 피사체에 대해서는 오버(over) 또는 언더(under) 노출(예: 동굴 효과)이 발생할 수 있다. 일 예로, 제1 카메라 장치(241)로부터 서로 다른 거리에 위치하는 제1 피사체 및 제2 피사체가 존재하는 경우, 수학식 2는 수학식 3과 같이 표현될 수 있다.In Equation 2, Li is the initial light emission amount of the flash 250 , and d may represent the distance between the subject and the first camera device 241 . In this case, the intensity of light obtained from the image sensor of the first camera device 241 is based on the distance between the subject and the first camera device 241 (eg, the square of the distance between the subject and the first camera device 241 ) inversely) can be determined. Subjects having the same reflectance may emit the same intensity of light when photographing under the same amount of light. However, when light is irradiated to the subject by a light source having the same directional irradiation characteristics as the flash 250 , the intensity of light from the subject varies rapidly according to the light emission position of the flash 250 and the distance of the subject. can have Therefore, if the distance of the subject is not taken into consideration when shooting after the flash 250 is emitted, exposure is optimized only for a subject at a specific distance, and over or under exposure for a subject located at a different distance from the specific distance. (eg cave effect) may occur. For example, when the first subject and the second subject located at different distances from the first camera device 241 exist, Equation 2 may be expressed as Equation 3 .
Figure PCTKR2021002654-appb-M000003
Figure PCTKR2021002654-appb-M000003
수학식 3에서, S1은 제1 피사체에 대한 적정 셔터 속도를 나타내고, S2는 제2 피사체에 대한 적정 셔터 속도를 나타내고, d1은 제1 카메라 장치(241)와 제1 피사체 사이의 거리를 나타내고, Δ는 제1 피사체와 제2 피사체 사이의 거리를 나타낼 수 있다. d1 및 Δ의 변화에 따라, S1과 S2는 결정될 수 있다. 예컨대, 수학식 3에 기초하여, 제1 피사체가 제1 카메라 장치(241)로부터 0.3m 떨어져 있고, 제2 피사체가 제1 피사체로부터 21m 떨어져 있는 경우, 제1 피사체와 제2 피사체를 동일한 밝기로 촬영하기 위해 필요한 셔터 속도는 S1*250 일 수 있다(예: 적정 노출 시 S1이 1/250s 인 경우, S2는 1s 임). 플래시(250) 발광 시 적정 노출 거리가 1.76m 인 제1 카메라 장치(241)의 경우, 최소 촬영 거리가 30cm이면, 프로세서(210)는 최대 합성 매수를 12로 결정할 수 있다.In Equation 3, S1 represents an appropriate shutter speed for the first subject, S2 represents an appropriate shutter speed for the second subject, and d1 represents the distance between the first camera device 241 and the first subject, Δ may represent a distance between the first subject and the second subject. According to the change of d1 and Δ, S1 and S2 can be determined. For example, based on Equation 3, when the first subject is 0.3 m away from the first camera device 241 and the second subject is 21 m away from the first subject, the first subject and the second subject are set with the same brightness. The shutter speed required to shoot can be S1*250 (eg, if S1 is 1/250s at proper exposure, S2 is 1s). In the case of the first camera device 241 having an appropriate exposure distance of 1.76 m when the flash 250 is emitted, if the minimum photographing distance is 30 cm, the processor 210 may determine the maximum number of composites to be 12.
일 실시 예에 따르면, 동작 330에서, 프로세서(210)는 상기 제1 이미지의 배경 깊이와 기준 깊이를 비교할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제1 이미지의 배경 성분을 추출할 수 있다. 일 예로, 프로세서(120)는 상기 제1 이미지에서 지정된 깊이 값을 가지는 적어도 하나의 객체(예: 피사체)의 성분을 제외할 수 있다. 프로세서(120)는 상기 적어도 하나의 객체의 깊이 정보를 활용하여 상기 제1 이미지에서 상기 배경 성분을 추출할 수 있다. 프로세서(120)는 상기 배경 성분의 상기 배경 깊이에 기초하여 적정 노출을 계산할 수 있다. 상기 배경 깊이는 상기 배경 성분에 대응하는 픽셀들의 평균 깊이 값을 의미할 수 있다. 프로세서(210)는 상기 배경 깊이와 기준 깊이를 비교할 수 있다. 상기 배경 깊이가 상기 기준 깊이 이상이면(예: 동작 330의 No), 동작 335에서, 프로세서(210)는 배경 이미지를 획득하는 것으로 결정할 수 있다. 상기 배경 깊이가 상기 기준 깊이 이상이면, 상기 배경 성분을 촬영하기 위한 적정 노출의 계산이 필요할 수 있다. 상기 배경 깊이가 상기 기준 깊이보다 작으면(예: 동작 330의 Yes), 프로세서(210)는 배경 이미지를 획득하지 않는 것으로 결정하고 동작 340을 수행할 수 있다. 상기 배경 깊이가 상기 기준 깊이보다 작으면, 상기 적어도 하나의 객체를 위한 노출만으로도 상기 배경 성분에 대한 적정 노출이 만족될 수 있다. 예컨대, 상기 배경 성분을 분리하지 않을 때 상기 제1 이미지의 모든 영역에 대한 그레이 레벨의 평균 값이 약 76인 경우, 상기 제1 이미지의 배경 성분의 그레이 레벨은 약 46일 수 있다. 상기 기준 깊이는 상기 배경 성분의 그레이 레벨에 기초하여 결정될 수 있다.According to an embodiment, in operation 330 , the processor 210 may compare the background depth and reference depth of the first image. For example, the processor 210 may extract a background component of the first image based on the depth information. For example, the processor 120 may exclude a component of at least one object (eg, a subject) having a specified depth value from the first image. The processor 120 may extract the background component from the first image by using the depth information of the at least one object. The processor 120 may calculate an appropriate exposure based on the background depth of the background component. The background depth may mean an average depth value of pixels corresponding to the background component. The processor 210 may compare the background depth with the reference depth. If the background depth is equal to or greater than the reference depth (eg, No in operation 330 ), in operation 335 , the processor 210 may determine to acquire a background image. When the background depth is equal to or greater than the reference depth, it may be necessary to calculate an appropriate exposure for capturing the background component. If the background depth is smaller than the reference depth (eg, Yes in operation 330 ), the processor 210 may determine not to acquire a background image and perform operation 340 . When the background depth is smaller than the reference depth, proper exposure of the background component may be satisfied only by exposure for the at least one object. For example, when the average value of gray levels for all regions of the first image is about 76 when the background component is not separated, the gray level of the background component of the first image may be about 46. The reference depth may be determined based on a gray level of the background component.
일 실시 예에 따르면, 동작 340에서, 프로세서(210)는 상기 제1 이미지에서 깊이 변화가 있는 객체의 존재 여부를 판단할 수 있다. 예를 들면, 프로세서(210)는 상기 제1 이미지에 포함된 적어도 하나의 객체(예: 피사체)를 확인할 수 있다. 프로세서(210)는 상기 제1 이미지에 대응하는 깊이 정보를 계속적으로 측정할 수 있다. 프로세서(210)는 변화하는 깊이 정보에 기초하여 상기 제1 이미지에서 깊이 변화가 있는 객체의 존재 여부를 판단할 수 있다. 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하지 않는 경우(예: 동작 340의 No), 프로세서(210)는 동작 345를 수행할 수 있다. 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하는 경우(예: 동작 340의 Yes), 프로세서(210)는 동작 350을 수행할 수 있다. 일 예로, 깊이 변화가 있는 객체는 깊이 증가(또는 감소)에 따라 연속적인 표면을 가지는 객체를 포함할 수 있다. 다른 예로, 깊이 변화가 있는 객체는 깊이 증가(또는 감소)하는 방향으로 촬영 시 움직임을 가지는 객체를 포함할 수 있다.According to an embodiment, in operation 340, the processor 210 may determine whether there is an object having a change in depth in the first image. For example, the processor 210 may identify at least one object (eg, a subject) included in the first image. The processor 210 may continuously measure depth information corresponding to the first image. The processor 210 may determine whether there is an object having a change in depth in the first image based on the changed depth information. When there is no object having a change in depth in the first image (eg, No in operation 340 ), the processor 210 may perform operation 345 . When an object having a change in depth exists in the first image (eg, Yes in operation 340 ), the processor 210 may perform operation 350 . As an example, an object having a change in depth may include an object having a continuous surface according to an increase (or decrease) in depth. As another example, the object having a change in depth may include an object having a movement when photographing in a direction in which the depth increases (or decreases).
일 실시 예에 따르면, 동작 345에서, 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하지 않는 경우, 프로세서(210)는 플래시(250)를 다중 발광하여 추가적인 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 동작 325에서 결정된 영상 합성 조건에 기초하여 플래시(250)를 복수 회 발광하고, 플래시(250)가 발광하는 동안 제1 카메라 장치(241)를 통해 상기 제2 이미지들을 획득할 수 있다. 플래시(250)의 발광 횟수 및 발광 세기는 상기 영상 합성 조건에 기초하여 결정될 수 있다. 또는 제1 카메라 장치(241)의 노출 횟수 및 노출 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 동작 335에서 배경 이미지를 획득하는 것으로 결정된 경우, 프로세서(210)는 배경 이미지 획득을 위한 플래시(250)를 발광하고, 제1 카메라 장치(241)를 통해 배경 이미지를 획득할 수 있다.According to an embodiment, in operation 345 , if there is no object having a change in depth in the first image, the processor 210 may multi-emit the flash 250 to obtain additional second images. For example, the processor 210 emits the flash 250 a plurality of times based on the image synthesis condition determined in operation 325 , and uses the first camera device 241 to display the second image while the flash 250 emits light. can be obtained The number of light emission and light emission intensity of the flash 250 may be determined based on the image synthesis condition. Alternatively, the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition. When it is determined to acquire the background image in operation 335 , the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 .
일 실시 예에 따르면, 동작 350에서, 상기 제1 이미지에 깊이 변화가 있는 객체가 존재하는 경우, 프로세서(210)는 플래시(250)를 지속 발광하여 추가적인 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 동작 325에서 결정된 영상 합성 조건에 기초하여 지정된 발광 세기로 지정된 시간 동안 플래시(250)를 발광하고, 플래시(250)가 발광하는 동안 제1 카메라 장치(241)를 통해 상기 제2 이미지들을 획득할 수 있다. 플래시(250)의 발광 세기 및 발광 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 또는 제1 카메라 장치(241)의 노출 횟수 및 노출 시간은 상기 영상 합성 조건에 기초하여 결정될 수 있다. 동작 335에서 배경 이미지를 획득하는 것으로 결정된 경우, 프로세서(210)는 배경 이미지 획득을 위한 플래시(250)를 발광하고, 제1 카메라 장치(241)를 통해 배경 이미지를 획득할 수 있다. 일 예로, 상기 배경 이미지 획득을 위한 플래시(250)의 발광은 상기 지속 발광에 포함될 수 있다.According to an embodiment, in operation 350 , when an object having a change in depth exists in the first image, the processor 210 may continuously emit the flash 250 to acquire additional second images. For example, the processor 210 emits the flash 250 for a specified time with a specified emission intensity based on the image synthesis condition determined in operation 325 , and operates the first camera device 241 while the flash 250 emits light. The second images may be acquired through The light emission intensity and the light emission time of the flash 250 may be determined based on the image synthesis conditions. Alternatively, the number of exposures and exposure time of the first camera device 241 may be determined based on the image synthesis condition. When it is determined to acquire the background image in operation 335 , the processor 210 may emit a flash 250 for acquiring the background image and acquire the background image through the first camera device 241 . For example, the light emission of the flash 250 for obtaining the background image may be included in the continuous light emission.
일 실시 예에 따르면, 동작 355에서, 프로세서(210)는 획득된 제2 이미지들을 합성하여 제3 이미지(예: 최종 이미지)를 획득할 수 있다. 예를 들면, 프로세서(210)는 깊이 정보에 기초하여 제2 이미지들 각각에서 합성될 부분을 선택할 수 있다. 일 예로, 프로세서(210)는 제2 이미지들 중 하나에서 제1 깊이를 가지는 제1 객체에 대응하는 제1 부분을 선택할 수 있다. 프로세서(210)는 제2 이미지들 중 다른 하나에서 제2 깊이를 가지는 제2 객체에 대응하는 제2 부분을 선택할 수 있다. 프로세서(210)는 제2 이미지들 중 또 다른 하나에서 제3 깊이를 가지는 제3 객체에 대응하는 제3 부분을 선택할 수 있다. 프로세서(210)는 제1 부분, 제2 부분 및 제3 부분을 합성하여 제3 이미지를 생성할 수 있다. 다른 예로, 프로세서(210)는 상기 제1 이미지(예: 상기 제1 이미지에서 지정된 깊이를 가지는 객체에 대응하는 부분)도 상기 제2 이미지들과 함께 합성할 수 있다. 또 다른 예로, 배경 이미지가 획득된 경우, 프로세서(210)는 상기 배경 이미지(예: 배경 이미지의 배경 부분)도 상기 제2 이미지들과 함께 합성할 수 있다. 프로세서(210)는 합성의 결과인 상기 제3 이미지를 표시 장치(220)에 표시할 수 있다. 프로세서(210)는 사용자 입력에 기초하여 상기 제3 이미지를 메모리(230)에 저장할 수 있다.According to an embodiment, in operation 355, the processor 210 may obtain a third image (eg, a final image) by synthesizing the obtained second images. For example, the processor 210 may select a portion to be synthesized from each of the second images based on the depth information. For example, the processor 210 may select a first portion corresponding to a first object having a first depth from one of the second images. The processor 210 may select a second portion corresponding to a second object having a second depth from another one of the second images. The processor 210 may select a third portion corresponding to a third object having a third depth from another one of the second images. The processor 210 may generate a third image by synthesizing the first part, the second part, and the third part. As another example, the processor 210 may also synthesize the first image (eg, a portion corresponding to an object having a specified depth in the first image) with the second images. As another example, when a background image is obtained, the processor 210 may also combine the background image (eg, a background portion of the background image) with the second images. The processor 210 may display the third image resulting from the synthesis on the display device 220 . The processor 210 may store the third image in the memory 230 based on a user input.
도 4는 일 실시 예에 따른 다중 발광 시 플래시 동작 및 카메라 동작의 일 예를 나타내는 도면이다.4 is a diagram illustrating an example of a flash operation and a camera operation during multiple light emission according to an embodiment.
도 2 및 도 4를 참조하면, 프로세서(210)는 다중 발광을 통해(예: 도 3의 동작 345) 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 촬영 관련 어플리케이션의 실행 시 획득되는 제1 이미지에 포함된 적어도 하나의 객체의 깊이 변화가 없는 경우 플래시(250)를 다중 발광할 수 있다.2 and 4 , the processor 210 may acquire second images through multiple light emission (eg, operation 345 of FIG. 3 ). For example, when there is no change in depth of at least one object included in a first image obtained when a photographing-related application is executed, the processor 210 may multi-emit the flash 250 .
일 실시 예에 따르면, 프로세서(210)는 촬영 관련 어플리케이션을 실행한 후 제1 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 표시할 수 있다. 예를 들면, 제1 카메라 장치(241)는 제1 노출(411)을 통해 상기 제1 이미지를 획득할 수 있다. 제1 노출(411)은 플래시(250)의 동작없이 또는 제1 발광(401)과 함께 수행될 수 있다. 일 예로, 제1 발광(401)은 제1 세기(F41)를 가지고 제1 시간(T41) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may acquire the first image after executing a photographing related application. The processor 210 may display the first image through the display device 220 . For example, the first camera device 241 may acquire the first image through the first exposure 411 . The first exposure 411 may be performed without the operation of the flash 250 or with the first emission 401 . As an example, the first light emission 401 may be set to have a first intensity F41 and to last for a first time T41 .
일 실시 예에 따르면, 프로세서(210)는 촬영 시작과 관련된 사용자 입력(예: 촬영 버튼 클릭)을 수신할 수 있다. 예를 들면, 프로세서(210)는 상기 사용자 입력에 기초하여 촬영에 관한 일련의 동작들(예: 깊이에 따라 영상 합성 조건 결정, 제2 발광(421) 내지 제5 발광(424) 지시, 제2 노출(431) 내지 제5 노출(434) 지시, 제6 발광(441) 지시 또는 제6 노출(451) 지시)을 수행할 수 있다. 다른 실시 예에서는, 상기 사용자 입력은 제1 노출(411) 전에 수신될 수도 있다.According to an embodiment, the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 may perform a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 421 to the fifth light emission 424 , and the second The exposure 431 to the fifth exposure 434 instruction, the sixth light emission 441 instruction, or the sixth exposure 451 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 411 .
일 실시 예에 따르면, 프로세서(210)는 제1 발광(401)의 전 또는 후에 상기 제1 이미지에 대응하는 깊이 정보를 획득할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 상기 영상 합성 조건은 플래시(250)의 발광 횟수, 발광 시간, 발광 세기, 또는 제1 카메라 장치(241)의 노출 횟수, 노출 시간을 포함할 수 있다.According to an embodiment, the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 401 . For example, the processor 210 may determine an image synthesis condition based on the depth information. The image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 제2 이미지들(예: 합성용 이미지들)을 획득하기 위한 플래시(250)의 발광 횟수를 결정할 수 있다. 예를 들면, 플래시(250)의 발광 횟수는 상기 제1 이미지에 포함된, 깊이가 다른 객체들의 수에 대응하여 결정될 수 있다. 일 예로, 프로세서(210)는 제2 발광(421) 내지 제5 발광(424)을 결정할 수 있다. 프로세서(210)는 제2 발광(421) 내지 제5 발광(424)의 발광 세기를 동일하게 설정(예: 제2 세기(F42)로 설정)할 수 있다. 프로세서(210)는 제2 발광(421) 내지 제5 발광(424)의 발광 시간을 깊이에 따라 서로 다르게 설정할 수 있다. 예컨대, 제2 발광(421)은 제2 시간(T42) 동안 지속되도록 설정될 수 있다. 제3 발광(422)은 제3 시간(T43) 동안 지속되도록 설정될 수 있다. 제4 발광(423)은 제4 시간(T44) 동안 지속되도록 설정될 수 있다. 제5 발광(424)은 제5 시간(T45) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of times the flash 250 is emitted to obtain second images (eg, images for compositing) based on the depth information. For example, the number of times the flash 250 is emitted may be determined according to the number of objects having different depths included in the first image. As an example, the processor 210 may determine the second light emission 421 to the fifth light emission 424 . The processor 210 may set the light emission intensity of the second light emission 421 to the fifth light emission 424 to be the same (eg, set to the second intensity F42). The processor 210 may set the light emission time of the second light emission 421 to the fifth light emission 424 differently depending on the depth. For example, the second light emission 421 may be set to last for a second time period T42. The third light emission 422 may be set to last for a third time period T43 . The fourth light emission 423 may be set to last for a fourth time period T44. The fifth light emission 424 may be set to last for a fifth time period T45.
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제2 이미지들을 획득하기 위한 제1 카메라 장치(241)의 노출 횟수 및 노출 시간을 결정할 수 있다. 예를 들면, 제1 카메라 장치(241)의 노출 횟수는 플래시(250)의 발광 횟수와 동일하게 설정될 수 있다. 제1 카메라 장치(241)의 노출 시간은 대응하는 발광 동작에 따라 결정될 수 있다. 일 예로, 프로세서(210)는 제2 노출(431) 내지 제5 노출(434)을 결정할 수 있다. 예컨대, 제2 노출(431)은 제2 발광(421)과 같거나 지정된 시간만큼 작은 시간(예: 제2 시간(T42)) 동안 지속되도록 설정될 수 있다. 제3 노출(432)은 제3 발광(422)과 같거나 지정된 시간만큼 작은 시간(예: 제3 시간(T43)) 동안 지속되도록 설정될 수 있다. 제4 노출(433)은 제4 발광(423)과 같거나 지정된 시간만큼 작은 시간(예: 제4 시간(T44)) 동안 지속되도록 설정될 수 있다. 제5 노출(434)은 제5 발광(424)과 같거나 지정된 시간만큼 작은 시간(예: 제5 시간(T45)) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring the second images based on the depth information. For example, the number of exposures of the first camera device 241 may be set to be the same as the number of times of light emission of the flash 250 . The exposure time of the first camera device 241 may be determined according to a corresponding light emitting operation. As an example, the processor 210 may determine a second exposure 431 to a fifth exposure 434 . For example, the second exposure 431 may be set to last the same as the second light emission 421 or for a time shorter than the specified time (eg, the second time T42 ). The third exposure 432 may be set to last for a time equal to or smaller than the third light emission 422 (eg, the third time T43 ) by a specified time. The fourth exposure 433 may be set to last for a time equal to or smaller than a predetermined time (eg, the fourth time T44 ) as the fourth light emission 423 . The fifth exposure 434 may be set to last for a time equal to or less than a predetermined time (eg, a fifth time T45 ) as the fifth light emission 424 .
다양한 실시 예에 따르면, 배경 이미지 획득이 결정된 경우(예: 도 3의 동작 335), 프로세서(210)는 배경 이미지 획득을 위해 제6 발광(441)을 선택적으로 결정할 수 있다. 예를 들면, 제6 발광(441)은 제6 시간(T46) 동안 지속되도록 설정될 수 있다. 제6 시간(T46)은 제1 시간(T41) 내지 제5 시간(T45) 중 어느 하나보다 길게 설정될 수 있다. 프로세서(210)는 제6 발광(441)에 대응하여 제6 노출(451)을 설정할 수 있다. 제6 노출(451)은 제6 발광(441)과 같거나 지정된 시간만큼 작은 시간(예: 제6 시간(T46)) 동안 지속되도록 설정될 수 있다.According to various embodiments, when the background image acquisition is determined (eg, operation 335 of FIG. 3 ), the processor 210 may selectively determine the sixth light emission 441 to acquire the background image. For example, the sixth light emission 441 may be set to last for a sixth time period T46. The sixth time T46 may be set longer than any one of the first time T41 to the fifth time T45. The processor 210 may set the sixth exposure 451 in response to the sixth light emission 441 . The sixth exposure 451 may be set to last for a time equal to or smaller than the sixth light emission 441 by a specified time (eg, the sixth time T46).
도 5는 다양한 실시 예에 따른 다중 발광 시 플래시 동작 및 카메라 동작의 다른 예를 나타내는 도면이다.5 is a diagram illustrating another example of a flash operation and a camera operation during multiple light emission according to various embodiments of the present disclosure;
도 2 및 도 5를 참조하면, 프로세서(210)는 다중 발광을 통해 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 촬영 관련 어플리케이션의 실행 시 획득되는 제1 이미지에 포함된 적어도 하나의 객체의 깊이 변화가 없는 경우(예: 도 3의 동작 345) 플래시(250)를 다중 발광할 수 있다.2 and 5 , the processor 210 may acquire second images through multiple light emission. For example, if there is no change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 345 of FIG. 3 ), the processor 210 may perform multiple flashes of the flash 250 . can
일 실시 예에 따르면, 프로세서(210)는 촬영 관련 어플리케이션을 실행한 후 제1 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 표시할 수 있다. 예를 들면, 제1 카메라 장치(241)는 제1 노출(511)을 통해 상기 제1 이미지를 획득할 수 있다. 제1 노출(511)은 플래시(250)의 동작없이 또는 제1 발광(501)과 함께 수행될 수 있다. 일 예로, 제1 발광(501)은 제1 세기(F51)를 가지고 제1 시간(T51) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may acquire the first image after executing a photographing related application. The processor 210 may display the first image through the display device 220 . For example, the first camera device 241 may acquire the first image through the first exposure 511 . The first exposure 511 may be performed without the operation of the flash 250 or with the first emission 501 . For example, the first light emission 501 may be set to have a first intensity F51 and to be continued for a first time period T51.
일 실시 예에 따르면, 프로세서(210)는 촬영 시작과 관련된 사용자 입력(예: 촬영 버튼 클릭)을 수신할 수 있다. 예를 들면, 프로세서(210)는 상기 사용자 입력에 기초하여 촬영에 관한 일련의 동작들(예: 깊이에 따라 영상 합성 조건 결정, 제2 발광(521) 내지 제5 발광(524) 지시, 제2 노출(531) 내지 제5 노출(534) 지시, 제6 발광(541) 지시 또는 제6 노출(551) 지시)을 수행할 수 있다. 다른 실시 예에서는, 상기 사용자 입력은 제1 노출(511) 전에 수신될 수도 있다.According to an embodiment, the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 521 to the fifth light emission 524 , and the second The exposure 531 to the fifth exposure 534 instruction, the sixth light emission 541 instruction, or the sixth exposure 551 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 511 .
일 실시 예에 따르면, 프로세서(210)는 제1 발광(501)의 전 또는 후에 상기 제1 이미지에 대응하는 깊이 정보를 획득할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 상기 영상 합성 조건은 플래시(250)의 발광 횟수, 발광 시간, 발광 세기, 또는 제1 카메라 장치(241)의 노출 횟수, 노출 시간을 포함할 수 있다.According to an embodiment, the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 501 . For example, the processor 210 may determine an image synthesis condition based on the depth information. The image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 제2 이미지들(예: 합성용 이미지들)을 획득하기 위한 플래시(250)의 발광 횟수를 결정할 수 있다. 예를 들면, 플래시(250)의 발광 횟수는 상기 제1 이미지에 포함된, 깊이가 다른 객체들의 수에 대응하여 결정될 수 있다. 일 예로, 프로세서(210)는 제2 발광(521) 내지 제5 발광(524)을 결정할 수 있다. 프로세서(210)는 제2 발광(521) 내지 제5 발광(524)의 발광 시간을 동일하게 설정(예: 제2 시간(T52)으로 설정)할 수 있다. 프로세서(210)는 제2 발광(521) 내지 제5 발광(524)의 발광 세기를 깊이에 따라 서로 다르게 설정할 수 있다. 예컨대, 제2 발광(521)은 제2 세기(F52)로 설정될 수 있다. 제3 발광(522)은 제3 세기(F53)로 설정될 수 있다. 제4 발광(523)은 제4 세기(F54)로 설정될 수 있다. 제5 발광(524)은 제5 세기(F55)로 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of times the flash 250 is emitted to obtain second images (eg, images for compositing) based on the depth information. For example, the number of times the flash 250 is emitted may be determined according to the number of objects having different depths included in the first image. For example, the processor 210 may determine the second light emission 521 to the fifth light emission 524 . The processor 210 may set the light emission time of the second light emission 521 to the fifth light emission 524 to be the same (eg, set to the second time period T52). The processor 210 may set the light emission intensity of the second light emission 521 to the fifth light emission 524 differently depending on the depth. For example, the second light emission 521 may be set to the second intensity F52 . The third light emission 522 may be set to the third intensity F53 . The fourth light emission 523 may be set to the fourth intensity F54 . The fifth light emission 524 may be set to a fifth intensity F55 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제2 이미지들을 획득하기 위한 제1 카메라 장치(241)의 노출 횟수 및 노출 시간을 결정할 수 있다. 예를 들면, 제1 카메라 장치(241)의 노출 횟수는 플래시(250)의 발광 횟수와 동일하게 설정될 수 있다. 제1 카메라 장치(241)의 노출 시간은 대응하는 발광 동작에 따라 결정될 수 있다. 일 예로, 프로세서(210)는 제2 노출(531) 내지 제5 노출(534)을 결정할 수 있다. 예컨대, 제2 노출(531) 내지 제5 노출(534) 각각은 제2 시간(T52)과 같거나 지정된 시간만큼 작은 시간 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring the second images based on the depth information. For example, the number of exposures of the first camera device 241 may be set to be the same as the number of times of light emission of the flash 250 . The exposure time of the first camera device 241 may be determined according to a corresponding light emitting operation. As an example, the processor 210 may determine a second exposure 531 to a fifth exposure 534 . For example, each of the second exposures 531 to 534 may be set to last for a time equal to or smaller than the second time T52 by a specified time.
다양한 실시 예에 따르면, 배경 이미지 획득이 결정된 경우(예: 도 3의 동작 335), 프로세서(210)는 배경 이미지 획득을 위해 제6 발광(541)을 선택적으로 결정할 수 있다. 예를 들면, 제6 발광(541)은 제3 시간(T53) 동안 지속되도록 설정될 수 있다. 제3 시간(T53)은 제1 시간(T51) 및 제2 시간(T52) 중 어느 하나보다 길게 설정될 수 있다. 제6 발광(541)은 제5 세기(F55)와 같거나 큰 세기를 가지도록 설정될 수 있다. 프로세서(210)는 제6 발광(541)에 대응하여 제6 노출(551)을 설정할 수 있다. 제6 노출(551)은 제6 발광(541)과 같거나 지정된 시간만큼 작은 시간(예: 제3 시간(T53)) 동안 지속되도록 설정될 수 있다.According to various embodiments, when the background image acquisition is determined (eg, operation 335 of FIG. 3 ), the processor 210 may selectively determine the sixth light emission 541 to acquire the background image. For example, the sixth light emission 541 may be set to last for a third time period T53. The third time T53 may be set longer than any one of the first time T51 and the second time T52. The sixth light emission 541 may be set to have an intensity equal to or greater than the fifth intensity F55 . The processor 210 may set the sixth exposure 551 in response to the sixth light emission 541 . The sixth exposure 551 may be set to last for a time equal to or smaller than the sixth light emission 541 (eg, the third time T53 ) by a specified time.
도 6은 일 실시 예에 따른 지속 발광 시 플래시 동작 및 카메라 동작의 일 예를 나타내는 도면이다.6 is a diagram illustrating an example of a flash operation and a camera operation during continuous light emission according to an embodiment.
도 2 및 도 6을 참조하면, 프로세서(210)는 지속 발광을 통해 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 촬영 관련 어플리케이션의 실행 시 획득되는 제1 이미지에 포함된 적어도 하나의 객체의 깊이 변화가 있는 경우(예: 도 3의 동작 350) 플래시(250)를 지속 발광할 수 있다.2 and 6 , the processor 210 may acquire second images through continuous light emission. For example, the processor 210 may continuously emit the flash 250 when there is a change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 350 of FIG. 3 ). can
일 실시 예에 따르면, 프로세서(210)는 촬영 관련 어플리케이션을 실행한 후 제1 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 보여줄 수 있다. 예를 들면, 제1 카메라 장치(241)는 제1 노출(611)을 통해 상기 제1 이미지를 획득할 수 있다. 제1 노출(611)은 플래시(250)의 동작없이 또는 제1 발광(601)과 함께 수행될 수 있다. 일 예로, 제1 발광(601)은 제1 세기(F61)를 가지고 제1 시간(T61) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may acquire the first image after executing a photographing related application. The processor 210 may display the first image through the display device 220 . For example, the first camera device 241 may acquire the first image through the first exposure 611 . The first exposure 611 may be performed without the operation of the flash 250 or with the first emission 601 . For example, the first light emission 601 may be set to have a first intensity F61 and to last for a first time period T61.
일 실시 예에 따르면, 프로세서(210)는 촬영 시작과 관련된 사용자 입력(예: 촬영 버튼 클릭)을 수신할 수 있다. 예를 들면, 프로세서(210)는 상기 사용자 입력에 기초하여 촬영에 관한 일련의 동작들(예: 깊이에 따라 영상 합성 조건 결정, 제2 발광(621) 지시, 제2 노출(631) 내지 제5 노출(634) 지시, 제3 발광(641) 지시 또는 제6 노출(651) 지시)을 수행할 수 있다. 다른 실시 예에서는, 상기 사용자 입력은 제1 노출(611) 전에 수신될 수도 있다.According to an embodiment, the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 621 , and the second exposure 631 to fifth an exposure 634 instruction, a third light emission 641 instruction, or a sixth exposure 651 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 611 .
일 실시 예에 따르면, 프로세서(210)는 제1 발광(601)의 전 또는 후에 상기 제1 이미지에 대응하는 깊이 정보를 획득할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 상기 영상 합성 조건은 플래시(250)의 발광 횟수, 발광 시간, 발광 세기, 또는 제1 카메라 장치(241)의 노출 횟수, 노출 시간을 포함할 수 있다.According to an embodiment, the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 601 . For example, the processor 210 may determine an image synthesis condition based on the depth information. The image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 제2 이미지들(예: 합성용 이미지들)을 획득하기 위한 제1 카메라 장치(241)의 노출 횟수 및 노출 시간을 결정할 수 있다. 예를 들면, 제1 카메라 장치(241)의 노출 횟수는 상기 제1 이미지에 포함된, 깊이가 다른 객체들의 수에 대응하여 결정될 수 있다. 일 예로, 프로세서(210)는 제2 노출(631) 내지 제5 노출(634)을 결정할 수 있다. 예컨대, 제2 노출(631)은 제4 시간(T64) 동안 지속되도록 설정될 수 있다. 제3 노출(632)은 제5 시간(T65) 동안 지속되도록 설정될 수 있다. 제4 노출(633)은 제6 시간(T66) 동안 지속되도록 설정될 수 있다. 제5 노출(634)은 제7 시간(T67) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring second images (eg, images for compositing) based on the depth information. . For example, the number of exposures of the first camera device 241 may be determined according to the number of objects having different depths included in the first image. As an example, the processor 210 may determine a second exposure 631 to a fifth exposure 634 . For example, the second exposure 631 may be set to last for the fourth time T64. The third exposure 632 may be set to last for a fifth time T65. The fourth exposure 633 may be set to last for a sixth time period T66. The fifth exposure 634 may be set to last for the seventh time T67.
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제2 이미지들을 획득하기 위한 플래시(250)의 발광 시간을 결정할 수 있다. 예를 들면, 프로세서(210)는 제2 노출(631) 내지 제5 노출(634)에 기초하여 지정된 세기로 지정된 시간 동안 발광하도록 하나의 지속 발광(예: 제2 발광(621))을 설정할 수 있다. 일 예로, 프로세서(210)는 제1 카메라 장치(241)의 제2 노출(631) 내지 제5 노출(634)이 진행되는 동안 제2 발광(621)이 수행되도록 결정할 수 있다. 예컨대, 제2 발광(621)은 제2 세기(F62)를 가지고 제2 시간(T62) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine an emission time of the flash 250 for acquiring the second images based on the depth information. For example, the processor 210 may set one continuous light emission (eg, the second light emission 621 ) to emit light for a specified time with a specified intensity based on the second exposure 631 to the fifth exposure 634 . have. For example, the processor 210 may determine that the second light emission 621 is performed while the second exposure 631 to the fifth exposure 634 of the first camera device 241 are in progress. For example, the second light emission 621 may be set to have a second intensity F62 and continue for a second time period T62.
다양한 실시 예에 따르면, 배경 이미지 획득이 결정된 경우(예: 도 3의 동작 335), 프로세서(210)는 배경 이미지 획득을 위해 제3 발광(641)을 선택적으로 결정할 수 있다. 예를 들면, 제3 발광(641)은 제2 세기(F62)를 가지고 제3 시간(T63) 동안 지속되도록 설정될 수 있다. 또는 제3 발광(641)은 제2 세기(F62)보다 큰 세기를 가지도록 설정될 수 있다. 제3 시간(T63)은 제1 시간(T61), 제4 시간(T64) 내지 제7 시간(T67) 중 어느 하나보다 길게 설정될 수 있다. 프로세서(210)는 제3 발광(641)에 대응하여 제6 노출(651)을 설정할 수 있다. 제6 노출(651)은 제3 발광(641)과 같거나 지정된 시간만큼 작은 시간(예: 제3 시간(T63)) 동안 지속되도록 설정될 수 있다.According to various embodiments, when the background image acquisition is determined (eg, operation 335 of FIG. 3 ), the processor 210 may selectively determine the third light emission 641 to acquire the background image. For example, the third light emission 641 may be set to have a second intensity F62 and continue for a third time period T63. Alternatively, the third light emission 641 may be set to have an intensity greater than the second intensity F62 . The third time T63 may be set longer than any one of the first time T61 and the fourth time T64 to the seventh time T67. The processor 210 may set the sixth exposure 651 in response to the third light emission 641 . The sixth exposure 651 may be set to last for a time equal to or smaller than the third light emission 641 by a specified time (eg, the third time T63).
도 7은 다양한 실시 예에 따른 지속 발광 시 플래시 동작 및 카메라 동작의 다른 예를 나타내는 도면이다.7 is a diagram illustrating another example of a flash operation and a camera operation during continuous light emission according to various embodiments of the present disclosure;
도 2 및 도 7을 참조하면, 프로세서(210)는 지속 발광을 통해 제2 이미지들을 획득할 수 있다. 예를 들면, 프로세서(210)는 촬영 관련 어플리케이션의 실행 시 획득되는 제1 이미지에 포함된 적어도 하나의 객체의 깊이 변화가 있는 경우(예: 도 3의 동작 350) 플래시(250)를 지속 발광할 수 있다.2 and 7 , the processor 210 may acquire second images through continuous light emission. For example, the processor 210 may continuously emit the flash 250 when there is a change in the depth of at least one object included in the first image obtained when the shooting-related application is executed (eg, operation 350 of FIG. 3 ). can
일 실시 예에 따르면, 프로세서(210)는 촬영 관련 어플리케이션을 실행한 후 제1 이미지를 획득할 수 있다. 프로세서(210)는 상기 제1 이미지를 표시 장치(220)를 통해 보여줄 수 있다. 예를 들면, 제1 카메라 장치(241)는 제1 노출(711)을 통해 상기 제1 이미지를 획득할 수 있다. 제1 노출(711)은 플래시(250)의 동작없이 또는 제1 발광(701)과 함께 수행될 수 있다. 일 예로, 제1 발광(701)은 제1 세기(F71)를 가지고 제1 시간(T71) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may acquire the first image after executing a photographing related application. The processor 210 may display the first image through the display device 220 . For example, the first camera device 241 may acquire the first image through the first exposure 711 . The first exposure 711 may be performed without the operation of the flash 250 or with the first light emission 701 . For example, the first light emission 701 may be set to have a first intensity F71 and to be continued for a first time period T71.
일 실시 예에 따르면, 프로세서(210)는 촬영 시작과 관련된 사용자 입력(예: 촬영 버튼 클릭)을 수신할 수 있다. 예를 들면, 프로세서(210)는 상기 사용자 입력에 기초하여 촬영에 관한 일련의 동작들(예: 깊이에 따라 영상 합성 조건 결정, 제2 발광(721) 지시, 제2 노출(731) 내지 제5 노출(734) 지시, 제3 발광(741) 지시 또는 제6 노출(751) 지시)을 수행할 수 있다. 다른 실시 예에서는, 상기 사용자 입력은 제1 노출(711) 전에 수신될 수도 있다.According to an embodiment, the processor 210 may receive a user input related to the start of shooting (eg, click a shooting button). For example, the processor 210 performs a series of operations related to photographing based on the user input (eg, determining an image synthesis condition according to depth, instructing the second light emission 721 , and second exposures 731 to 5 ). an exposure 734 instruction, a third light emission 741 instruction, or a sixth exposure 751 instruction) may be performed. In another embodiment, the user input may be received before the first exposure 711 .
일 실시 예에 따르면, 프로세서(210)는 제1 발광(701)의 전 또는 후에 상기 제1 이미지에 대응하는 깊이 정보를 획득할 수 있다. 예를 들면, 프로세서(210)는 상기 깊이 정보에 기초하여 영상 합성 조건을 결정할 수 있다. 상기 영상 합성 조건은 플래시(250)의 발광 횟수, 발광 시간, 발광 세기, 또는 제1 카메라 장치(241)의 노출 횟수, 노출 시간을 포함할 수 있다.According to an embodiment, the processor 210 may acquire depth information corresponding to the first image before or after the first light emission 701 . For example, the processor 210 may determine an image synthesis condition based on the depth information. The image synthesis condition may include the number of flashes of the flash 250 , the duration of light emission, the intensity of light emission, or the number of exposures and the exposure time of the first camera device 241 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 제2 이미지들(예: 합성용 이미지들)을 획득하기 위한 제1 카메라 장치(241)의 노출 횟수 및 노출 시간을 결정할 수 있다. 예를 들면, 제1 카메라 장치(241)의 노출 횟수는 상기 제1 이미지에 포함된, 깊이가 다른 객체들의 수에 대응하여 결정될 수 있다. 일 예로, 프로세서(210)는 제2 노출(731) 내지 제5 노출(734)을 결정할 수 있다. 예컨대, 제2 노출(731)은 제4 시간(T74) 동안 지속되도록 설정될 수 있다. 제3 노출(732) 내지 제5 노출(734)은 제2 노출(731)과 동일한 시간 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine the number of exposures and the exposure time of the first camera device 241 for acquiring second images (eg, images for compositing) based on the depth information. . For example, the number of exposures of the first camera device 241 may be determined according to the number of objects having different depths included in the first image. As an example, the processor 210 may determine a second exposure 731 to a fifth exposure 734 . For example, the second exposure 731 may be set to last for the fourth time T74. The third exposure 732 to the fifth exposure 734 may be set to last for the same time as the second exposure 731 .
일 실시 예에 따르면, 프로세서(210)는 상기 깊이 정보에 기초하여 상기 제2 이미지들을 획득하기 위한 플래시(250)의 발광 시간을 결정할 수 있다. 예를 들면, 프로세서(210)는 제2 노출(731) 내지 제5 노출(734)에 기초하여 지정된 세기로 지정된 시간 동안 발광하도록 하나의 지속 발광(예: 제2 발광(721))을 설정할 수 있다. 일 예로, 프로세서(210)는 제1 카메라 장치(241)의 제2 노출(731) 내지 제5 노출(734)이 진행되는 동안 제2 발광(621)이 수행되도록 결정할 수 있다. 제2 발광(621)은 제2 세기(F72)부터 제3 세기(F73)까지 증가하는 세기를 가지고 제2 시간(T72) 동안 지속되도록 설정될 수 있다.According to an embodiment, the processor 210 may determine an emission time of the flash 250 for acquiring the second images based on the depth information. For example, the processor 210 may set one continuous light emission (eg, the second light emission 721 ) to emit light for a specified time with a specified intensity based on the second exposure 731 to the fifth exposure 734 . have. For example, the processor 210 may determine that the second light emission 621 is performed while the second exposure 731 to the fifth exposure 734 of the first camera device 241 are in progress. The second light emission 621 may have an intensity increasing from the second intensity F72 to the third intensity F73 and may be set to last for a second time period T72.
다양한 실시 예에 따르면, 배경 이미지 획득이 결정된 경우(예: 도 3의 동작 335), 프로세서(210)는 배경 이미지 획득을 위해 제3 발광(741)을 선택적으로 결정할 수 있다. 예를 들면, 제3 발광(741)은 제3 세기(F73)를 가지고 제3 시간(T73) 동안 지속되도록 설정될 수 있다. 또는 제3 발광(741)은 제3 세기(F73)보다 큰 세기를 가지도록 설정될 수 있다. 제3 시간(T73)은 제1 시간(T71) 및 제4 시간(T74) 중 어느 하나보다 길게 설정될 수 있다. 프로세서(210)는 제3 발광(741)에 대응하여 제6 노출(751)을 설정할 수 있다. 제6 노출(751)은 제3 발광(741)과 같거나 지정된 시간만큼 작은 시간(예: 제3 시간(T73)) 동안 지속되도록 설정될 수 있다.According to various embodiments, when it is determined to acquire the background image (eg, operation 335 of FIG. 3 ), the processor 210 may selectively determine the third light emission 741 to acquire the background image. For example, the third light emission 741 may be set to have a third intensity F73 and continue for a third time period T73. Alternatively, the third light emission 741 may be set to have an intensity greater than the third intensity F73 . The third time T73 may be set longer than any one of the first time T71 and the fourth time T74. The processor 210 may set the sixth exposure 751 in response to the third light emission 741 . The sixth exposure 751 may be set to last for a time equal to or smaller than the third light emission 741 by a specified time (eg, the third time T73 ).
도 8은 일 실시 예에 따른 카메라 장치의 추가 기능을 나타내는 도면이다.8 is a diagram illustrating an additional function of a camera device according to an exemplary embodiment.
도 8을 참조하면, 전자 장치(800)(예: 전자 장치(200))는 플래시(250)의 가이드 넘버(GN, guide number)를 변경하는 효과를 제공할 수 있다. 예를 들면, 전자 장치(800)는 표시 장치(예: 표시 장치(220))에 촬영 관련 어플리케이션의 사용자 인터페이스(801)를 표시할 수 있다. 사용자 인터페이스(801)는 가이드 넘버(GN)를 제어하는 객체(이하, 가이드 넘버 객체)(810)를 포함할 수 있다. 예컨대, 가이드 넘버(GN)는 감도인 ISO 100을 기준으로 하여, 조리개 값과 조명 거리를 곱하여 산출된 수치일 수 있다. 적정 조리개 값은 가이드 넘버(GN)를 플래시(250)와 촬영하려는 객체(예: 피사체) 사이의 거리로 나누어 산출될 수 있다. 또는 촬영 거리(예: 적정 노출을 가지는 피사체의 거리)는 가이드 넘버(GN)를 조리개 값으로 나누어 산출될 수 있다. 일 예로, 가이드 넘버 객체(810)는 막대 형태를 가질 수 있다. Referring to FIG. 8 , the electronic device 800 (eg, the electronic device 200 ) may provide an effect of changing the guide number GN of the flash 250 . For example, the electronic device 800 may display the user interface 801 of the photographing related application on a display device (eg, the display device 220 ). The user interface 801 may include an object (hereinafter, referred to as a guide number object) 810 for controlling the guide number GN. For example, the guide number GN may be a numerical value calculated by multiplying an aperture value and an illumination distance based on ISO 100, which is a sensitivity. The appropriate aperture value may be calculated by dividing the guide number GN by the distance between the flash 250 and an object to be photographed (eg, a subject). Alternatively, the shooting distance (eg, the distance of a subject having an appropriate exposure) may be calculated by dividing the guide number GN by the aperture value. As an example, the guide number object 810 may have a bar shape.
일 실시 예에 따르면, 가이드 넘버 객체(810)는 사용자 입력에 기초하여 이동되는 제어 포인트(811)를 포함할 수 있다. 제어 포인트(811)의 이동에 따라, 전자 장치(800)는 플래시(250)의 가이드 넘버(GN)를 증가 또는 감소하는 효과를 제공할 수 있다. 전자 장치(800)는 도 4 내지 도 7의 방법을 통해 플래시(250)의 가이드 넘버(GN)를 증가 또는 감소하는 효과를 제공할 수 있다. 예를 들면, 물리적으로 고정되어 있는 플래시(250)의 밝기는 도 4 내지 도 7의 방법을 통해 셔터 속도를 조절하여 보상할 수 있다. 전자 장치(800)는, 사용자에 의한 가이드 넘버 객체(810)의 제어 포인트(811)의 조절에 따라 도 4 내지 도 7의 방법을 적용하여, 플래시(250)의 세기를 가상으로 조절하는 효과를 제공할 수 있다.According to an embodiment, the guide number object 810 may include a control point 811 that is moved based on a user input. According to the movement of the control point 811 , the electronic device 800 may provide an effect of increasing or decreasing the guide number GN of the flash 250 . The electronic device 800 may provide an effect of increasing or decreasing the guide number GN of the flash 250 through the method of FIGS. 4 to 7 . For example, the physically fixed brightness of the flash 250 may be compensated by adjusting the shutter speed through the method of FIGS. 4 to 7 . The electronic device 800 applies the method of FIGS. 4 to 7 according to the user's adjustment of the control point 811 of the guide number object 810 to obtain the effect of virtually adjusting the intensity of the flash 250 . can provide
도 9는 일 실시 예에 따른 이미지 합성 과정을 나타내는 도면이다.9 is a diagram illustrating an image synthesis process according to an exemplary embodiment.
도 2 내지 도 7, 및 도 9를 참조하면, 전자 장치(200)는 복수의 이미지를 합성하여 최종 이미지(941)를 획득할 수 있다. 예를 들면, 최종 이미지(941)는 이미지 내에 포함된 객체들이 깊이에 따라 적절한 밝기로 표현될 수 있다.2 to 7 and 9 , the electronic device 200 may obtain a final image 941 by synthesizing a plurality of images. For example, in the final image 941, objects included in the image may be expressed with appropriate brightness according to depth.
일 실시 예에 따르면, 전자 장치(200)는 플래시(250) 사용 또는 미사용하여 제1 이미지(901)를 획득할 수 있다. 전자 장치(200)는 제1 이미지(901)에 포함된 객체들의 깊이 정보를 측정할 수 있다. 전자 장치(200)는 상기 깊이 정보에 기초하여 다양한 영상 합성 조건(예: 플래시(250)의 발광 횟수, 발광 시간, 발광 세기, 또는 제1 카메라 장치(241)의 노출 횟수, 노출 시간)를 결정할 수 있다. 전자 장치(200)는 상기 영상 합성 조건에 따라 제2 이미지(911) 및 제3 이미지(912)를 획득할 수 있다. 이는 예시적인 것으로, 전자 장치(200)는 상기 영상 합성 조건에 따라 추가적으로 더 많은 이미지를 획득할 수 있다. 전자 장치(200)는 필요한 경우 배경 이미지(931)를 획득할 수 있다. 일 예로, 전자 장치(200)는 제2 이미지(911) 및 제3 이미지(912)를 도 3 내지 도 7의 이미지 합성 방법을 통해 합성하여 최종 이미지(941)를 획득할 수 있다. 다른 예로, 전자 장치(200)는 제1 내지 제3 이미지들(901, 911, 912)을 도 3 내지 도 7의 이미지 합성 방법을 통해 합성하여 최종 이미지(941)를 획득할 수 있다. 또 다른 예로, 전자 장치(200)는 제1 내지 제4 이미지들(901, 911, 912, 931)을 도 3 내지 도 7의 이미지 합성 방법을 통해 합성하여 최종 이미지(941)를 획득할 수 있다.According to an embodiment, the electronic device 200 may acquire the first image 901 using or not using the flash 250 . The electronic device 200 may measure depth information of objects included in the first image 901 . The electronic device 200 determines various image synthesizing conditions (eg, the number of times the flash 250 emits light, the light emission time, the light emission intensity, or the number of exposures and the exposure time of the first camera device 241 ) based on the depth information. can The electronic device 200 may acquire a second image 911 and a third image 912 according to the image synthesis condition. This is an example, and the electronic device 200 may additionally acquire more images according to the image synthesis condition. The electronic device 200 may acquire the background image 931 if necessary. For example, the electronic device 200 may obtain a final image 941 by synthesizing the second image 911 and the third image 912 through the image synthesis method of FIGS. 3 to 7 . As another example, the electronic device 200 may obtain a final image 941 by synthesizing the first to third images 901 , 911 , and 912 through the image synthesis method of FIGS. 3 to 7 . As another example, the electronic device 200 may obtain a final image 941 by synthesizing the first to fourth images 901 , 911 , 912 , and 931 through the image synthesis method of FIGS. 3 to 7 . .
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document 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 device. The electronic device according to the embodiment of this document is not limited to the above-described devices.
본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시 예들로 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제1", "제2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutions of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar or related components. The singular form of the noun corresponding to the item may include one or more of the item, unless the relevant context clearly dictates otherwise. As used herein, "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C", and "A , B, or C" each may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as “first”, “second”, or “first” or “second” may simply be used to distinguish the component from other such components, and refer to the component in another aspect (e.g., importance or order) is not limited. that one (e.g., first) component is "coupled" or "connected" to another (e.g., second) component with or without the terms "functionally" or "communicatively" When referenced, it means that one component can be connected to the other component directly (eg by wire), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. As used herein, the term “module” may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as, for example, logic, logic block, component, or circuit. A module may be an integrally formed part or a minimum unit or a part of the part that performs one or more functions. For example, according to an embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시 예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.According to various embodiments of the present document, one or more instructions stored in a storage medium (eg, the internal memory 136 or the external memory 138) readable by a machine (eg, the electronic device 101) may be implemented as software (eg, the program 140) including For example, the processor (eg, the processor 120 ) of the device (eg, the electronic device 101 ) may call at least one of one or more instructions stored from a storage medium and execute it. This makes it possible for the device to be operated to perform at least one function according to the at least one command called. 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. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain a signal (eg, electromagnetic wave), and this term is used in cases where data is semi-permanently stored in the storage medium and It does not distinguish between temporary storage cases.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, the method according to various embodiments disclosed in this document may be provided by being included in a computer program product. Computer program products may be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a machine-readable storage medium (eg compact disc read only memory (CD-ROM)), or via an application store (eg Play Store™) or on two user devices ( It can be distributed (eg downloaded or uploaded) directly, online between smartphones (eg: smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily created in a machine-readable storage medium such as a memory of a server of a manufacturer, a server of an application store, or a relay server.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, a module or a program) of the above-described components may include a singular or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or a program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component are executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations are executed in a different order, omitted, or , or one or more other operations may be added.

Claims (15)

  1. 전자 장치에 있어서,In an electronic device,
    플래시;flash;
    제1 카메라 장치;a first camera device;
    제2 카메라 장치; 및a second camera device; and
    상기 플래시, 상기 제1 카메라 장치 및 상기 제2 카메라 장치에 작동적으로 연결된 프로세서를 포함하고,a processor operatively coupled to the flash, the first camera device, and the second camera device;
    상기 프로세서는,The processor is
    상기 제1 카메라 장치를 통해 획득한 제1 이미지 및 상기 제2 카메라 장치를 통해 획득한 제2 이미지에 기초하여 상기 제1 이미지에 대응하는 깊이 정보를 측정하고,Measuring depth information corresponding to the first image based on the first image acquired through the first camera device and the second image acquired through the second camera device,
    상기 깊이 정보에 기초하여 제3 이미지들을 획득하기 위한 영상 합성 조건을 결정하도록 설정되고,set to determine an image synthesis condition for obtaining third images based on the depth information,
    상기 영상 합성 조건은 상기 제3 이미지들의 획득 시 상기 플래시 또는 상기 제1 카메라 장치의 동작에 관련된 세부사항을 포함하는 전자 장치.The image synthesis condition includes details related to an operation of the flash or the first camera device when the third images are acquired.
  2. 청구항 1에 있어서,The method according to claim 1,
    조도 센서를 더 포함하고,It further comprises an illuminance sensor,
    상기 영상 합성 조건은 상기 제3 이미지들의 획득 시 상기 플래시의 발광 횟수, 발광 세기, 발광 시간 또는 상기 제1 카메라 장치의 노출 횟수, 노출 시간을 포함하고,The image synthesis conditions include the number of flashes, the intensity of light emission, the light emission time, or the number of exposures and the exposure time of the first camera device when the third images are acquired,
    상기 프로세서는,The processor is
    상기 조도 센서를 통해 측정된 조도 값이 기준 조도 이하인 경우, 상기 깊이 정보에 기초하여 상기 영상 합성 조건을 결정하도록 설정된, 전자 장치.The electronic device is configured to determine the image synthesis condition based on the depth information when the illuminance value measured by the illuminance sensor is equal to or less than a reference illuminance.
  3. 청구항 1에 있어서,The method according to claim 1,
    상기 프로세서는,The processor is
    상기 깊이 정보에 기초하여 상기 제1 이미지에서 적어도 하나의 객체를 검출하고,detecting at least one object in the first image based on the depth information,
    상기 적어도 하나의 객체의 개수에 대응하여 상기 제1 카메라 장치의 노출 횟수를 결정하도록 설정된, 전자 장치.The electronic device is configured to determine the number of exposures of the first camera device in response to the number of the at least one object.
  4. 청구항 3에 있어서,4. The method according to claim 3,
    상기 프로세서는,The processor is
    상기 적어도 하나의 객체 중 깊이 증가에 따라 연속적인 표면을 가지는 객체가 존재하지 않는 경우, 상기 적어도 하나의 객체의 개수에 대응하여 상기 플래시의 발광 횟수를 결정하도록 설정된, 전자 장치.The electronic device is configured to determine the number of times the flash is emitted according to the number of the at least one object when there is no object having a continuous surface according to the increase in depth among the at least one object.
  5. 청구항 4에 있어서,5. The method according to claim 4,
    상기 프로세서는,The processor is
    상기 플래시의 발광 시점마다 발광 세기를 다르게 설정하도록 설정된, 전자 장치.The electronic device is set to set the light emission intensity differently for each light emission timing of the flash.
  6. 청구항 3에 있어서,4. The method according to claim 3,
    상기 프로세서는,The processor is
    상기 적어도 하나의 객체 중 깊이 증가에 따라 연속적인 표면을 가지는 객체가 존재하는 경우, 상기 플래시의 발광 세기를 증가하면서 상기 제3 이미지들을 획득하도록 설정된, 전자 장치.The electronic device is configured to acquire the third images while increasing the light emission intensity of the flash when an object having a continuous surface according to an increase in depth among the at least one object exists.
  7. 청구항 3에 있어서,4. The method according to claim 3,
    상기 프로세서는,The processor is
    상기 적어도 하나의 객체 중 깊이 증가에 따라 연속적인 표면을 가지는 객체가 존재하는 경우, 상기 노출 횟수가 증가할수록 상기 제1 카메라 장치의 노출 시간을 증가하면서 상기 제3 이미지들을 획득하도록 설정된, 전자 장치.The electronic device is configured to acquire the third images while increasing the exposure time of the first camera device as the number of exposures increases when there is an object having a continuous surface according to an increase in depth among the at least one object.
  8. 청구항 3에 있어서,4. The method according to claim 3,
    상기 프로세서는,The processor is
    상기 적어도 하나의 객체 중 깊이 증가에 따라 연속적인 표면을 가지는 객체가 존재하는 경우, 상기 플래시를 지정된 세기로 지정된 시간 동안 1회 발광시키도록 설정된, 전자 장치.and when an object having a continuous surface according to an increase in depth exists among the at least one object, the electronic device is configured to emit the flash once for a specified time with a specified intensity.
  9. 청구항 8에 있어서,9. The method of claim 8,
    상기 프로세서는,The processor is
    상기 지정된 시간 동안 결정된 노출 횟수만큼 상기 제1 카메라 장치를 노출하여 상기 제3 이미지들을 획득하도록 설정된, 전자 장치.The electronic device is set to acquire the third images by exposing the first camera device for a determined number of exposures during the specified time.
  10. 청구항 9에 있어서,10. The method of claim 9,
    상기 프로세서는,The processor is
    상기 노출 횟수가 증가할수록 상기 제1 카메라 장치의 노출 시간을 증가하면서 상기 제3 이미지들을 획득하도록 설정되고,It is set to acquire the third images while increasing the exposure time of the first camera device as the number of exposures increases,
    상기 제1 카메라 장치의 노출 시간의 합은 상기 지정된 시간보다 작게 설정되는 전자 장치.and a sum of exposure times of the first camera device is set to be smaller than the specified time.
  11. 청구항 8에 있어서,9. The method of claim 8,
    상기 프로세서는,The processor is
    상기 지정된 세기를 증가하면서 상기 제3 이미지들을 획득하도록 설정된, 전자 장치.The electronic device is configured to acquire the third images while increasing the specified intensity.
  12. 청구항 1에 있어서,The method according to claim 1,
    상기 프로세서는,The processor is
    상기 제3 이미지들에서 지정된 범위의 밝기를 가지는 부분들을 선택하고, 선택된 부분들을 합성하여 제4 이미지를 생성하도록 설정된, 전자 장치.The electronic device is configured to select portions having a brightness in a specified range from the third images and synthesize the selected portions to generate a fourth image.
  13. 청구항 1에 있어서,The method according to claim 1,
    상기 프로세서는,The processor is
    상기 깊이 정보에 기초하여 배경 부분을 추출하고,extracting a background part based on the depth information,
    상기 배경 부분의 깊이가 기준 깊이보다 큰 경우, 상기 배경 부분에 대응하는 배경 이미지의 획득을 결정하도록 설정된, 전자 장치.and when the depth of the background portion is greater than a reference depth, determine acquisition of a background image corresponding to the background portion.
  14. 청구항 13에 있어서,14. The method of claim 13,
    상기 프로세서는,The processor is
    상기 배경 부분에 대응하는 상기 플래시의 발광 세기, 발광 시간 및 상기 제1 카메라 장치의 노출 시간에 따라 상기 배경 이미지를 획득하고,acquiring the background image according to the light emission intensity of the flash corresponding to the background part, the light emission time, and the exposure time of the first camera device;
    상기 제3 이미지들 및 상기 배경 이미지를 합성하여 최종 이미지를 생성하도록 설정된, 전자 장치.The electronic device is configured to generate a final image by synthesizing the third images and the background image.
  15. 전자 장치에 있어서,In an electronic device,
    플래시;flash;
    카메라 장치;camera device;
    깊이 측정 장치; 및depth measuring device; and
    상기 플래시, 상기 카메라 장치 및 상기 깊이 측정 장치에 작동적으로 연결된 프로세서를 포함하고,a processor operatively coupled to the flash, the camera device and the depth measurement device;
    상기 프로세서는,The processor is
    상기 제1 카메라 장치를 통해 획득한 제1 이미지를 획득하고,Obtaining a first image acquired through the first camera device,
    상기 깊이 측정 장치를 통해 상기 제1 이미지에 대응하는 깊이 정보를 측정하고,Measuring depth information corresponding to the first image through the depth measuring device,
    상기 깊이 정보에 기초하여 제2 이미지들을 획득하기 위한 촬영 시 상기 플래시 동작 조건을 결정하고,determining the flash operation condition when photographing to obtain second images based on the depth information,
    상기 플래시 동작 조건에 기초하여 획득된 상기 제2 이미지들 각각의 서로 다른 일부를 합성하여 최종 이미지를 획득하도록 설정되고,set to obtain a final image by synthesizing different parts of each of the second images obtained based on the flash operation condition;
    상기 플래시 동작 조건은 상기 제2 이미지들의 획득 시 상기 플래시의 발광 횟수, 발광 세기, 발광 시간 또는 상기 카메라 장치의 노출 횟수, 노출 시간을 포함하는 전자 장치.The flash operation condition includes the number of times the flash is emitted, the intensity of light emission, the light emission time, or the number of exposures and the exposure time of the camera device when the second images are acquired.
PCT/KR2021/002654 2020-03-19 2021-03-04 Electronic device for performing photographing using flash WO2021187778A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2020-0033945 2020-03-19
KR1020200033945A KR20210117566A (en) 2020-03-19 2020-03-19 Electronic device shooting by using flash

Publications (1)

Publication Number Publication Date
WO2021187778A1 true WO2021187778A1 (en) 2021-09-23

Family

ID=77771711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2021/002654 WO2021187778A1 (en) 2020-03-19 2021-03-04 Electronic device for performing photographing using flash

Country Status (2)

Country Link
KR (1) KR20210117566A (en)
WO (1) WO2021187778A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016099598A (en) * 2014-11-26 2016-05-30 キヤノン株式会社 Imaging apparatus, method for controlling the same, and control program
KR101954192B1 (en) * 2012-11-15 2019-03-05 엘지전자 주식회사 Array camera, Moblie terminal, and method for operating the same
KR20190039051A (en) * 2019-04-02 2019-04-10 엘지이노텍 주식회사 Apparatus for stereo matching
KR20190041586A (en) * 2017-10-13 2019-04-23 삼성전자주식회사 Electronic device composing a plurality of images and method
KR101951318B1 (en) * 2012-08-27 2019-04-25 삼성전자주식회사 3D image acquisition apparatus and method of obtaining color and depth images simultaneously

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101951318B1 (en) * 2012-08-27 2019-04-25 삼성전자주식회사 3D image acquisition apparatus and method of obtaining color and depth images simultaneously
KR101954192B1 (en) * 2012-11-15 2019-03-05 엘지전자 주식회사 Array camera, Moblie terminal, and method for operating the same
JP2016099598A (en) * 2014-11-26 2016-05-30 キヤノン株式会社 Imaging apparatus, method for controlling the same, and control program
KR20190041586A (en) * 2017-10-13 2019-04-23 삼성전자주식회사 Electronic device composing a plurality of images and method
KR20190039051A (en) * 2019-04-02 2019-04-10 엘지이노텍 주식회사 Apparatus for stereo matching

Also Published As

Publication number Publication date
KR20210117566A (en) 2021-09-29

Similar Documents

Publication Publication Date Title
WO2020171583A1 (en) Electronic device for stabilizing image and method for operating same
WO2020204659A1 (en) Electronic device, method, and computer-readable medium for providing bokeh effect in video
WO2020080845A1 (en) Electronic device and method for obtaining images
WO2020130281A1 (en) Electronic device and method for providing avatar based on emotion state of user
WO2019039765A1 (en) Camera module including reinforcement members for supporting printed circuit board on which plurality of image sensors are disposed and electronic device including the same
WO2020116844A1 (en) Electronic device and method for acquiring depth information by using at least one of cameras or depth sensor
WO2020032497A1 (en) Method and apparatus for incorporating noise pattern into image on which bokeh processing has been performed
WO2019139404A1 (en) Electronic device and method for processing image of same
WO2020209492A1 (en) Folded camera and electronic device including the same
WO2020197070A1 (en) Electronic device performing function according to gesture input and operation method thereof
WO2020032383A1 (en) Electronic device for providing recognition result of external object by using recognition information about image, similar recognition information related to recognition information, and hierarchy information, and operating method therefor
WO2019168374A1 (en) Method for generating plural information using camera to sense plural wave bandwidth and apparatus thereof
WO2019172723A1 (en) Interface connected to image sensor and electronic device comprising interfaces connected among plurality of processors
WO2021162353A1 (en) Electronic device comprising camera and method of operating same
WO2021112500A1 (en) Electronic device and method for correcting image in camera switching
WO2020190008A1 (en) Electronic device for auto focusing function and operating method thereof
WO2019066370A1 (en) Electronic device for controlling camera on basis of external light, and control method therefor
WO2020060081A1 (en) Electronic device for driving plurality of cameras on basis of external illuminance
WO2019172577A1 (en) Image processing device and method of electronic device
WO2021187778A1 (en) Electronic device for performing photographing using flash
WO2021080307A1 (en) Method for controlling camera and electronic device therefor
WO2022030943A1 (en) Image segmentation apparatus and method based on deep learning
WO2021125875A1 (en) Electronic device for providing image processing service through network
WO2021096219A1 (en) Electronic device comprising camera and method thereof
WO2021235884A1 (en) Electronic device and method for generating image by performing awb

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: 21771365

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: 21771365

Country of ref document: EP

Kind code of ref document: A1