본 개시는 이미지를 처리하는 방법 및 그 전자 장치에 관한 것이다.The present disclosure relates to a method for processing an image and an electronic device thereof.
일상 생활에서 휴대 전자 장치를 소지하는 것이 일반화되면서, 휴대 전자 장치의 카메라 기능 활용이 크게 증가하였고, 카메라 기능이 휴대 전자 장치를 선택하는 기준이 될 정도로 휴대 전자 장치를 이용한 촬영은 없어서는 안될 기능으로 인식되고 있다. 최근에는, 휴대 전자 장치의 카메라 기능이 고도화되면서, 다양한 촬영 환경에서 선명한 이미지를 얻기 위한 기술들이 적용되고 있다. 예시적으로, 사용자가 촬영하고자 하는 이미지의 장면 특성이나 조명 환경에 따라 장면의 색상을 유지시키면서 카메라에 입사되는 광량을 줄이는 ND(neutral density) 필터의 효과를 제공할 수 있다.As carrying portable electronic devices in daily life has become common, the use of the camera function of portable electronic devices has increased significantly, and taking pictures using portable electronic devices is recognized as an indispensable function to the extent that the camera function has become a criterion for selecting portable electronic devices. Recently, as the camera function of portable electronic devices has become more advanced, technologies for obtaining clear images in various shooting environments have been applied. For example, the effect of an ND (neutral density) filter that reduces the amount of light incident on the camera while maintaining the color of the scene depending on the scene characteristics or lighting environment of the image that the user wants to take can be provided.
상술한 정보는 본 개시에 대한 이해를 돕기 위한 목적으로 하는 배경 기술(related art)로 제공될 수 있다. 상술한 내용 중 어느 것도 본 개시와 관련된 종래 기술(prior art)로서 적용될 수 있는지에 대하여 어떠한 주장이나 결정이 제기되지 않는다.The above information may be provided as related art for the purpose of assisting in understanding the present disclosure. No claim or determination is made as to whether any of the above is applicable as prior art related to the present disclosure.
본 개시의 일 실시 예에 따른 전자 장치는, 카메라, 디스플레이, 프로세서, 및 인스트럭션들을 저장하는 메모리를 포함할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 카메라의 설정 정보를 확인하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength) 중 적어도 하나를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 디스플레이 상에 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 시, 상기 전자 장ㅊ가, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행될 시, 상기 전자 장치가, 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하도록 할 수 있다.An electronic device according to one embodiment of the present disclosure may include a camera, a display, a processor, and a memory storing instructions. The instructions, when executed by the processor, may cause the electronic device to check setting information of the camera. The instructions, when executed by the processor, may cause the electronic device to determine a first shooting setting for providing a preview image based on at least one of the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect. The instructions, when executed by the processor, may cause the electronic device to determine a second shooting setting for obtaining a short exposure image and a number of times a short exposure image is captured if a shooting command is confirmed while providing a preview image based on the first shooting setting on the display. The instructions, when executed by the processor, may cause the electronic device to acquire a plurality of short exposure images based on the second shooting settings during a specified time period. The instructions, when executed by the processor, may cause the electronic device to synthesize at least some of the acquired plurality of short exposure images to acquire a long exposure image corresponding to the specified time period.
본 개시의 일 실시 예에 따른 방법은, 전자 장치에 포함된 카메라의 설정 정보를 확인하는 동작을 포함할 수 있다. 상기 방법은, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength) 중 적어도 하나를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하는 동작을 포함할 수 있다. 상기 방법은, 상기 전자 장치의 디스플레이를 통해 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하는 동작을 포함할 수 있다. 상기 방법은, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하는 동작을 포함할 수 있다. 상기 방법은, 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하는 동작을 포함할 수 있다.A method according to an embodiment of the present disclosure may include an operation of checking setting information of a camera included in an electronic device. The method may include an operation of determining a first shooting setting for providing a preview image based on at least one of the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect. The method may include an operation of determining a second shooting setting for obtaining a short exposure image and a number of times to capture the short exposure image when a shooting command is confirmed while providing the preview image based on the first shooting setting through a display of the electronic device. The method may include an operation of obtaining a plurality of short exposure images based on the second shooting setting during a specified time period. The method may include an operation of obtaining a long exposure image corresponding to the specified time period by synthesizing at least some of the obtained plurality of short exposure images.
본 개시의 일 실시 예에 따른 컴퓨터로 판독 가능한 기록 매체는, 컴퓨터에서 실행 가능한 프로그램들을 포함할 수 있다. 상기 프로그램들은, 전자 장치에 포함된 카메라의 설정 정보를 확인하는 동작을 수행할 수 있다. 상기 프로그램들은, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength) 중 적어도 하나를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하는 동작을 수행할 수 있다. 상기 프로그램들은, 상기 전자 장치의 디스플레이를 통해 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하는 동작을 수행할 수 있다. 상기 프로그램들은, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하는 동작을 수행할 수 있다. 상기 프로그램들은, 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하는 동작을 수행할 수 있다.A computer-readable recording medium according to an embodiment of the present disclosure may include programs executable on a computer. The programs may perform an operation of checking setting information of a camera included in an electronic device. The programs may perform an operation of determining a first shooting setting for providing a preview image based on at least one of the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect. The programs may perform an operation of determining a second shooting setting for obtaining a short exposure image and a number of times to capture a short exposure image when a shooting command is confirmed while providing a preview image based on the first shooting setting through a display of the electronic device. The programs may perform an operation of obtaining a plurality of short exposure images based on the second shooting setting during a specified time period. The programs may perform an operation of obtaining a long exposure image corresponding to the specified time period by synthesizing at least some of the obtained plurality of short exposure images.
도 1은 일 실시 예에 따른 네트워크 환경 내의 전자 장치의 블록도이다.FIG. 1 is a block diagram of an electronic device within a network environment according to one embodiment.
도 2는 다양한 실시 예들에 따른, 카메라 모듈을 예시하는 블록도이다.FIG. 2 is a block diagram illustrating a camera module according to various embodiments.
도 3은 일 실시 예에 따른, 전자 장치의 구성을 설명하는 도면이다.FIG. 3 is a drawing illustrating a configuration of an electronic device according to one embodiment.
도 4는 일 실시 예에 따라, ND 필터 효과가 적용된 장노출 이미지를 생성하는 방식을 설명하는 도면이다.FIG. 4 is a diagram illustrating a method for generating a long exposure image with an ND filter effect applied, according to one embodiment.
도 5는 일 실시 예에 따른, 전자 장치의 동작 방법을 도시하는 흐름도이다.FIG. 5 is a flowchart illustrating a method of operating an electronic device according to one embodiment.
도 6은 일 실시 예에 따라, 자동 모드에서 프리뷰 이미지 획득을 위한 촬영 설정을 결정하는 방법을 도시하는 흐름도이다.FIG. 6 is a flowchart illustrating a method for determining shooting settings for acquiring a preview image in automatic mode, according to one embodiment.
도 7은 일 실시 예에 따라, 자동 모드에서 프리뷰 이미지를 제공하는 동안 사용자 촬영 설정 값을 업데이트하는 방법을 도시하는 흐름도이다.FIG. 7 is a flowchart illustrating a method for updating user shooting settings while providing a preview image in automatic mode, according to one embodiment.
도 8은 일 실시 예에 따라, 수동 모드에서 프리뷰 이미지 획득을 위한 촬영 설정을 결정하는 방법을 도시하는 흐름도이다.FIG. 8 is a flowchart illustrating a method for determining shooting settings for acquiring a preview image in manual mode, according to one embodiment.
도 9는 일 실시 예에 따라, 복수 개의 단노출 이미지를 이용하여 ND 필터 효과가 적용된 장노출 이미지를 생성하는 방법을 도시하는 흐름도이다.FIG. 9 is a flowchart illustrating a method of generating a long exposure image with an ND filter effect applied using a plurality of short exposure images, according to one embodiment.
도 10은 일 실시 예에 따른, 전자 장치의 세부 구성을 설명하는 도면이다.FIG. 10 is a drawing illustrating a detailed configuration of an electronic device according to one embodiment.
도 11a 및 도 11b는 일 실시 예에 따라, 단노출 이미지 획득을 위한 촬영 설정의 동적 변경에 기반하여 장노출 이미지에 표현되는 ND 필터 효과를 설명하는 도면이다.FIGS. 11A and 11B are diagrams illustrating an ND filter effect expressed in a long exposure image based on dynamic changes in shooting settings for acquiring a short exposure image, according to one embodiment.
도 12a 및 도 12b는 일 실시 예에 따라, 카메라 어플리케이션의 실행 화면을 통해 ND 필터 효과를 설정하는 방식을 설명하는 도면이다.FIGS. 12a and 12b are diagrams illustrating a method of setting an ND filter effect through an execution screen of a camera application according to one embodiment.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.In connection with the description of the drawings, the same or similar reference numerals may be used for identical or similar components.
이하, 첨부된 도면을 참조하여 본 문서에 개시된 다양한 실시 예들이 설명된다. 이는 본 발명의 다양한 실시 예들을 특정한 형태로 한정하려는 것이 아니며, 본 발명의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments disclosed in this document will be described with reference to the attached drawings. It should be understood that this is not intended to limit the various embodiments of the present invention to a specific form, but includes various modifications, equivalents, and/or alternatives of the present invention.
ND(neutral density) 필터는 촬영 시 카메라에 입사되는 빛의 양을 감소시키는 기능을 제공할 수 있다. 전자 장치는 ND 필터 기능이 적용되지 않은 상태에서 적정 밝기의 이미지를 획득하기 위해 노출 시간을 짧게 설정하여야 하는데, 짧은 노출 시간으로 인해 피사체의 움직임이 자연스럽게 표현되지 않을 수 있다. 피사체의 움직임 표현을 위해 노출 시간을 증가시키면, 노출 시간 동안 카메라에 입사되는 빛의 양 또한 증가하여 과 노출된(over-exposed) 결과 이미지가 획득될 수 있다. ND 필터 기능이 적용된 경우, 노출 시간이 증가하더라도 빛의 양이 감소되어 적정 밝기의 장노출 이미지의 촬영이 가능해질 수 있다.An ND (neutral density) filter can provide a function to reduce the amount of light incident on a camera when taking a picture. In order to obtain an image with an appropriate brightness without the ND filter function being applied, an electronic device must set a short exposure time. However, the movement of the subject may not be expressed naturally due to the short exposure time. If the exposure time is increased to express the movement of the subject, the amount of light incident on the camera during the exposure time also increases, resulting in an overexposed image. When the ND filter function is applied, even if the exposure time is increased, the amount of light is reduced, making it possible to take a long-exposure image with an appropriate brightness.
스마트폰과 같은 전자 장치에서는 ND 필터의 기능을 소프트웨어를 통해 제공할 수 있다. 예를 들어, 전자 장치는 획득하고자 하는 이미지와 동일한 밝기를 갖는 복수 개의 단노출(short exposure) 이미지들을 사용자가 설정한 노출 시간동안 획득하고, 획득된 단노출 이미지들을 합성하여 장노출(long exposure) 효과를 갖는 이미지를 생성할 수 있다. 장노출 이미지를 획득하기 위해, 전자 장치는 사용자에 의해 설정된 카메라의 촬영 설정(예: ISO, SS, EV)을 기반으로 결과 이미지(장노출 이미지)의 밝기를 계산하고, 촬영 명령이 입력되면 결과 이미지의 합성에 이용되는 단노출 이미지들을 획득하기 위한 촬영 설정과 단노출 영상의 촬영 횟수를 결정할 수 있다. 전자 장치는 상기 결정된 촬영 설정 및 촬영 횟수에 기초하여 동일 간격으로 획득된 복수 개의 단노출 이미지들을 합성하여 결과 이미지를 생성할 수 있는데, 이 과정에서 사용자가 획득하고자 하는 이미지의 장면 특성은 고려되지 않아 촬영 결과로 획득된 장노출 이미지의 품질이 저하될 수 있다.In an electronic device such as a smartphone, the function of an ND filter can be provided through software. For example, the electronic device can acquire a plurality of short exposure images having the same brightness as an image to be acquired for an exposure time set by a user, and synthesize the acquired short exposure images to generate an image having a long exposure effect. In order to acquire a long exposure image, the electronic device can calculate the brightness of the resulting image (long exposure image) based on the shooting settings of the camera set by the user (e.g., ISO, SS, EV), and when a shooting command is input, the electronic device can determine the shooting settings for acquiring the short exposure images used for synthesizing the resulting image and the number of shots of the short exposure images. The electronic device can generate a resulting image by synthesizing a plurality of short exposure images acquired at equal intervals based on the determined shooting settings and the number of shots. In this process, the scene characteristics of the image to be acquired by the user are not considered, and thus the quality of the long exposure image acquired as a result of the shooting may deteriorate.
본 개시의 다양한 실시 예들에서는, 사용자에 의해 설정된 촬영 설정 정보 외에 촬영하고자 하는 장면 특성(예: 조명 환경, 피사체의 타입)을 기반으로 단노출 이미지 획득을 위한 촬영 설정을 동적으로 결정하여 장노출 이미지 생성에 필요한 복수의 단노출 이미지들을 효율적으로 획득하기 위한 다양한 실시 예들을 제공할 수 있다. 또한, 카메라가 자동 모드(auto mode)로 설정된 경우, 촬영 전 제공되는 프리뷰 이미지의 분석 결과를 기반으로 카메라의 AE(auto exposure) 알고리즘에 의해 결정된 촬영 설정을 업데이트하여 단노출 이미지를 획득하도록 하는 다양한 실시예들을 제공할 수 있다.In various embodiments of the present disclosure, various embodiments can be provided for efficiently acquiring a plurality of short exposure images necessary for generating a long exposure image by dynamically determining shooting settings for acquiring a short exposure image based on scene characteristics (e.g., lighting environment, type of subject) to be captured in addition to shooting setting information set by a user. In addition, when the camera is set to auto mode, various embodiments can be provided for acquiring a short exposure image by updating shooting settings determined by an AE (auto exposure) algorithm of the camera based on an analysis result of a preview image provided before shooting.
본 개시에서 이루고자 하는 기술적 과제는 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 본 문서에 속하는 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved in the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by a person having ordinary knowledge in the technical field to which this document belongs.
도 1은 일 실시 예에 따른 네트워크 환경(100) 내의 전자 장치를 도시한 도면이다.FIG. 1 is a diagram illustrating an electronic device within a network environment (100) according to one embodiment.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시 예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1, in a network environment (100), an electronic device (101) may communicate with an electronic device (102) through a first network (198) (e.g., a short-range wireless communication network), or may communicate with at least one of an electronic device (104) or a server (108) through a second network (199) (e.g., a long-range wireless communication network). According to one embodiment, the electronic device (101) may communicate with the electronic device (104) through the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input module (150), an audio output module (155), a display module (160), an audio module (170), a sensor module (176), an interface (177), a connection terminal (178), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the connection terminal (178)), or may include one or more other components. In some embodiments, some of these components (e.g., the sensor module (176), the camera module (180), or the antenna module (197)) may be integrated into one component (e.g., the display module (160)).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시 예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculation, the processor (120) may store a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) in a volatile memory (132), process the command or data stored in the volatile memory (132), and store result data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor) or an auxiliary processor (123) (e.g., a graphic processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor) that can operate independently or together therewith. For example, if the electronic device (101) includes a main processor (121) and a secondary processor (123), the secondary processor (123) may be configured to use lower power than the main processor (121) or to be specialized for a given function. The secondary processor (123) may be implemented separately from the main processor (121) or as a part thereof.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일 실시 예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted Boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor (123) may control at least a part of functions or states associated with at least one of the components of the electronic device (101) (e.g., the display module (160), the sensor module (176), or the communication module (190)), for example, while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. According to one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)). According to one embodiment, the auxiliary processor (123) (e.g., a neural network processing device) may include a hardware structure specialized for processing an artificial intelligence model. The artificial intelligence model may be generated through machine learning. Such learning may be performed, for example, in the electronic device (101) itself on which the artificial intelligence model is executed, or may be performed through a separate server (e.g., server (108)). The learning algorithm may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but is not limited to the examples described above. The artificial intelligence model may include a plurality of artificial neural network layers. The artificial neural network may be one of a deep neural network (DNN), a convolutional neural network (CNN), a recurrent neural network (RNN), a restricted Boltzmann machine (RBM), a deep belief network (DBN), a bidirectional recurrent deep neural network (BRDNN), deep Q-networks, or a combination of two or more of the above, but is not limited to the examples described above. In addition to the hardware structure, the artificial intelligence model may additionally or alternatively include a software structure.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory (130) can store various data used by at least one component (e.g., processor (120) or sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., program (140)) and input data or output data for commands related thereto. The memory (130) can include volatile memory (132) or nonvolatile memory (134).
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다.The program (140) may be stored as software in memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The input module (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input module (150) can include, for example, a microphone, a mouse, a keyboard, a key (e.g., a button), or a digital pen (e.g., a stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The audio output module (155) can output an audio signal to the outside of the electronic device (101). The audio output module (155) can include, for example, a speaker or a receiver. The speaker can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive an incoming call. According to one embodiment, the receiver can be implemented separately from the speaker or as a part thereof.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시 예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module (160) can visually provide information to an external party (e.g., a user) of the electronic device (101). The display module (160) can include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. According to one embodiment, the display module (160) can include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can obtain sound through an input module (150), or output sound through an audio output module (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or a headphone) directly or wirelessly connected to the electronic device (101).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시 예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module (176) can detect an operating state (e.g., power or temperature) of the electronic device (101) or an external environmental state (e.g., user state) and generate an electric signal or data value corresponding to the detected state. According to one embodiment, the sensor module (176) can 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, 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 designated protocols that may be used to directly or wirelessly connect the electronic device (101) with an external electronic device (e.g., the electronic device (102)). According to one 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) may be physically connected to an external electronic device (e.g., the electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시 예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module (179) can convert an electrical signal into a mechanical stimulus (e.g., vibration or movement) or an electrical stimulus that a user can perceive through a tactile or kinesthetic sense. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시 예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module (180) can capture still images and moving images. According to one embodiment, the camera module (180) can 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) can manage power supplied to the electronic device (101). According to one embodiment, the power management module (188) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시 예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery (189) can power at least one component of the electronic device (101). In one embodiment, the battery (189) can include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, 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)(예: 블루투스, Wi-Fi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.The communication module (190) may support establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., the electronic device (102), the electronic device (104), or the server (108)), and performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., the application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a GNSS (global navigation satellite system) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Among these communication modules, a corresponding communication module may communicate with an external electronic device (104) via a first network (198) (e.g., a short-range communication network such as Bluetooth, Wi-Fi (wireless fidelity) direct, or IrDA (infrared data association)) or a second network (199) (e.g., a long-range communication network such as a legacy cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify or authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module (192) can support a 5G network and next-generation communication technology after a 4G network, for example, NR access technology (new radio access technology). The NR access technology can support high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), terminal power minimization and connection of multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low-latency communications)). The wireless communication module (192) can support, for example, a high-frequency band (e.g., mmWave band) to achieve a high data transmission rate. The wireless communication module (192) may support various technologies for securing performance in a high-frequency band, such as beamforming, massive multiple-input and multiple-output (MIMO), full dimensional MIMO (FD-MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module (192) may support various requirements specified in an electronic device (101), an external electronic device (e.g., electronic device (104)), or a network system (e.g., second network (199)). According to one embodiment, the wireless communication module (192) may support a peak data rate (e.g., 20 Gbps or more) for eMBB realization, a loss coverage (e.g., 164 dB or less) for mMTC realization, or a U-plane latency (e.g., 0.5 ms or less for downlink (DL) and uplink (UL) each, or 1 ms or less for round trip) for URLLC realization.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시 예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제1 네트워크(198) 또는 제2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module (197) can transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one embodiment, the antenna module (197) may include an antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). According to one embodiment, the antenna module (197) may include a plurality of antennas (e.g., an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and the external electronic device through the selected at least one antenna. According to some embodiments, in addition to the radiator, another component (e.g., a radio frequency integrated circuit (RFIC)) may be additionally formed as a part of the antenna module (197).
다양한 실시 예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제2 면(예: 윗면 또는 측면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various embodiments, the antenna module (197) may form a mmWave antenna module. According to one embodiment, the mmWave antenna module may include a printed circuit board, an RFIC positioned on or adjacent a first surface (e.g., a bottom surface) of the printed circuit board and capable of supporting a designated high-frequency band (e.g., a mmWave band), and a plurality of antennas (e.g., an array antenna) positioned on or adjacent a second surface (e.g., a top surface or a side surface) of the printed circuit board and capable of transmitting or receiving signals in the designated high-frequency band.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the above components may be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
일 실시 예에 따르면, 명령 또는 데이터는 제2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시 예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시 예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시 예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to one embodiment, a command or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the external electronic devices (102 or 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service by itself, request one or more external electronic devices to perform at least a part of the function or service. 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 the result of the execution to the electronic device (101). The electronic device (101) may provide the result, as is or additionally processed, as at least a part of a response to the request. For this purpose, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology may be used, for example. The electronic device (101) may provide an ultra-low latency service by using distributed computing or mobile edge computing, for example. In another embodiment, the external electronic device (104) may include an IoT (Internet of Things) device. The server (108) may be an intelligent server using machine learning and/or a neural network. According to one embodiment, the external electronic device (104) or the server (108) may be included in the second network (199). The electronic device (101) can be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
도 2는 다양한 실시예들에 따른, 카메라 모듈(180)을 예시하는 블록도(200)이다.FIG. 2 is a block diagram (200) illustrating a camera module (180) according to various embodiments.
도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다.Referring to FIG. 2, the camera module (180) may include a lens assembly (210), a flash (220), an image sensor (230), an image stabilizer (240), a memory (250) (e.g., a buffer memory), or an image signal processor (260). The lens assembly (210) may collect light emitted from a subject that is a target of image capturing. The lens assembly (210) may include one or more lenses. According to one embodiment, the camera module (180) may include a plurality of lens assemblies (210). In this case, the camera module (180) may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies (210) may have the same lens properties (e.g., angle of view, focal length, autofocus, f number, or optical zoom), or at least one lens assembly may have one or more lens properties that are different from the lens properties of the other lens assemblies. The lens assembly (210) may include, for example, a wide-angle lens or a telephoto lens.
플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일실시예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210) 를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일실시예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.The flash (220) can emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (220) can include one or more light-emitting diodes (e.g., red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. The image sensor (230) can convert light emitted or reflected from a subject and transmitted through the lens assembly (210) into an electrical signal, thereby obtaining an image corresponding to the subject. According to one embodiment, the image sensor (230) can include one image sensor selected from among image sensors having different properties, such as, for example, an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same property, or a plurality of image sensors having different properties. Each image sensor included in the image sensor (230) may be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.
이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 일실시예에 따르면, 이미지 스태빌라이저(240)은 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 디스플레이 모듈(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일실시예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.The image stabilizer (240) can move at least one lens or image sensor (230) included in the lens assembly (210) in a specific direction or control the operating characteristics of the image sensor (230) (e.g., adjusting read-out timing, etc.) in response to the movement of the camera module (180) or the electronic device (101) including the same. This allows compensating for at least some of the negative effects of the movement on the captured image. In one embodiment, the image stabilizer (240) can detect such movement of the camera module (180) or the electronic device (101) by using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module (180). In one embodiment, the image stabilizer (240) can be implemented as, for example, an optical image stabilizer. The memory (250) can temporarily store at least a portion of an image acquired through the image sensor (230) for the next image processing task. For example, when image acquisition is delayed due to a shutter, or when a plurality of images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (250), and a corresponding copy image (e.g., a low-resolution image) can be previewed through the display module (160). Thereafter, when a specified condition is satisfied (e.g., a user input or a system command), at least a portion of the original image stored in the memory (250) can be acquired and processed by, for example, an image signal processor (260). According to one embodiment, the memory (250) can be configured as at least a portion of the memory (130), or as a separate memory that operates independently therefrom.
이미지 시그널 프로세서(260)는 이미지 센서(230)을 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening)을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 디스플레이 모듈(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일실시예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)이 프로세서(120)과 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 디스플레이 모듈(160)를 통해 표시될 수 있다.The image signal processor (260) can perform one or more image processing operations on an image acquired through an image sensor (230) or an image stored in a memory (250). The one or more image processing operations may include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor (260) may perform control (e.g., exposure time control, or read-out timing control, etc.) for at least one of the components included in the camera module (180) (e.g., the image sensor (230)). The image processed by the image signal processor (260) may be stored back in the memory (250) for further processing or may be provided to an external component of the camera module (180) (e.g., the memory (130), the display module (160), the electronic device (102), the electronic device (104), or the server (108)). According to one embodiment, the image signal processor (260) may include at least one of the processors (120). It may be configured as a part of the image signal processor (260) or as a separate processor that operates independently of the processor (120). When the image signal processor (260) is configured as a separate processor from the processor (120), at least one image processed by the image signal processor (260) may be displayed through the display module (160) as is or after undergoing additional image processing by the processor (120).
일 실시예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.According to one embodiment, the electronic device (101) may include a plurality of camera modules (180), each having different properties or functions. In this case, for example, at least one of the plurality of camera modules (180) may be a wide-angle camera and at least another may be a telephoto camera. Similarly, at least one of the plurality of camera modules (180) may be a front camera and at least another may be a rear camera.
도 3은 일 실시 예에 따른, 전자 장치(300)의 구성을 설명하는 도면이다.FIG. 3 is a drawing illustrating the configuration of an electronic device (300) according to one embodiment.
도 3을 참조하면, 전자 장치(300)는 프리뷰 이미지를 제공하는 동안 분석된 장면 특성과 ND 필터 효과의 강도를 기반으로 단노출 이미지 획득을 위한 촬영 설정을 동적으로 결정하여 복수 개의 단노출 이미지들을 획득하고, 획득된 단노출 이미지들을 합성하여 실제 ND 필터와 유사한 포화 영역 및 객체 움직임을 표현하는 장노출 이미지를 획득하는 장치로서, 카메라(310), 디스플레이(320), 프로세서(330) 또는 메모리(340)를 포함할 수 있다. 도 3에서, 전자 장치(300)는 도 1에 도시된 전자 장치(101)에 대응될 수 있다.Referring to FIG. 3, an electronic device (300) may include a camera (310), a display (320), a processor (330), or a memory (340) as a device that dynamically determines shooting settings for obtaining a single exposure image based on analyzed scene characteristics and the intensity of an ND filter effect while providing a preview image, obtains a plurality of single exposure images, and synthesizes the obtained single exposure images to obtain a long exposure image expressing a saturated area and object movement similar to an actual ND filter. In FIG. 3, the electronic device (300) may correspond to the electronic device (101) illustrated in FIG. 1.
일 실시 예에서, 카메라(310)(예: 도 1의 카메라 모듈(180))는 사용자의 조작에 따라 피사체를 촬영할 수 있다. 예를 들어, 카메라(310)는 카메라 어플리케이션이 실행되면 상기 피사체를 포함하는 프리뷰 이미지를 프레임 단위로 획득하고, 프리뷰 이미지를 표시하는 중 촬영 명령 (예: 셔터 버튼 입력)이 입력되면 상기 피사체를 포함하는 이미지를 촬영할 수 있다. 다양한 실시 예에 따라, 카메라(310)는 촬영 명령이 입력되면, 촬영 환경을 기반으로 AE(auto exposure) 알고리즘에 의해 결정된 촬영 설정(예: ISO 감도, 셔터 속도 또는 노출 값) 또는 사용자에 의해 설정된 촬영 설정을 기반으로 촬영을 수행할 수 있다.In one embodiment, the camera (310) (e.g., the camera module (180) of FIG. 1) can capture a subject according to a user's operation. For example, when a camera application is executed, the camera (310) can obtain a preview image including the subject in units of frames, and when a shooting command (e.g., shutter button input) is input while displaying the preview image, the camera (310) can capture an image including the subject. According to various embodiments, when a shooting command is input, the camera (310) can perform shooting based on shooting settings (e.g., ISO sensitivity, shutter speed, or exposure value) determined by an AE (auto exposure) algorithm based on a shooting environment or shooting settings set by a user.
일 실시 예에서, 디스플레이(320)(예: 도 1의 디스플레이 모듈(160))는 카메라(310)를 이용하여 획득된 이미지를 표시할 수 있다. 예를 들어, 디스플레이(320)는 카메라 어플리케이션이 실행되면, 카메라(310)로부터 획득된 프리뷰 이미지를 표시할 수 있다. 다른 예를 들어, 디스플레이(320)는 상기 프리뷰 이미지를 제공하는 동안 입력된 촬영 명령에 대응하여 획득된 이미지를 표시할 수 있다.In one embodiment, the display (320) (e.g., the display module (160) of FIG. 1) may display an image acquired using the camera (310). For example, the display (320) may display a preview image acquired from the camera (310) when a camera application is executed. For another example, the display (320) may display an image acquired in response to an input shooting command while providing the preview image.
일 실시 예에서, 디스플레이(320)는 LCD(liquid crystal display), TFT-LCD(thin film transistor LCD), OLED(organic light emitting diodes), 발광다이오드(LED), AMOLED(active matrix organic LED), 플렉서블 디스플레이(flexible display) 및 3차원 디스플레이(3 dimension display) 중 적어도 하나 이상으로 구성될 수 있다. 또한 이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 TOLED(transparent OLED)를 포함하는 투명 디스플레이 형태로 구성될 수 있다.In one embodiment, the display (320) may be configured with at least one of a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), an organic light emitting diodes (OLED), a light emitting diode (LED), an active matrix organic LED (AMOLED), a flexible display, and a 3-dimensional display. Additionally, some of these displays may be configured as transparent or light-transmitting so that the outside can be viewed therethrough. This may be configured in the form of a transparent display including a TOLED (transparent OLED).
일 실시 예에서, 메모리(340)(예: 도 1의 메모리(130))는 실행 시에, 프로세서(330)(예: 도 1의 프로세서(120))에 의해, 전자 장치(300)가 각종 동작들을 수행하도록 하는 인스트럭션들을 저장할 수 있다. 예를 들어, 프로세서(330)는 복수 개의 단노출 이미지들을 합성하여 실제 ND 필터와 유사한 포화 영역 및 피사체 움직임을 표현하는 장노출 이미지를 획득하기 위한 동작들을 수행하도록 제어할 수 있다.In one embodiment, the memory (340) (e.g., the memory (130) of FIG. 1) may store instructions that, when executed, cause the electronic device (300) to perform various operations by the processor (330) (e.g., the processor (120) of FIG. 1). For example, the processor (330) may control operations to be performed to synthesize a plurality of short exposure images to obtain a long exposure image that expresses a saturated area and subject movement similar to an actual ND filter.
일 실시 예에서, 프로세서(330)는 카메라 어플리케이션이 실행되면, 카메라(310)의 설정 정보를 확인할 수 있다. 상기 설정 정보는 ISO(international standard organization) 감도, 셔터 속도(shutter speed), 노출 값(exposure value), 또는 ND(neutral density) 필터 효과의 강도 중 적어도 하나를 포함할 수 있다. 상기 설정 정보는 상기 카메라 어플리케이션의 실행 화면을 통해 설정 또는 변경될 수 있다.In one embodiment, the processor (330) can check the setting information of the camera (310) when the camera application is executed. The setting information can include at least one of ISO (International Standard Organization) sensitivity, shutter speed, exposure value, or intensity of ND (neutral density) filter effect. The setting information can be set or changed through the execution screen of the camera application.
일 실시 예에서, 프로세서(330)는 상기 확인된 설정 정보를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정할 수 있다. 상기 제1 촬영 설정은 프리뷰 이미지를 제공하는 동안 카메라 시스템에 실제 적용될 수 있는 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나를 포함할 수 있다. 예를 들어, 프로세서(330)는 카메라(310)가 수동 모드(manual mode)로 설정됨을 확인하면, 사용자에 의해 선택된 상기 설정 정보의 각 항목 별 설정 값을 확인할 수 있다. 프로세서(330)는 상기 확인된 설정 정보의 각 항목별 설정 값에 대응하여 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정하고, 사용자에 의해 선택된 ND 필터 효과의 강도를 기반으로 상기 적어도 하나의 항목에 대한 설정 값을 변경할 수 있다. 예시적으로, 사용자가 'ISO 감도 100, 셔터 속도 1/15, ND 필터 효과 강도 2'의 설정 값을 선택한 경우, 프로세서(330)는 사용자가 선택한 설정 정보와 동일한 밝기를 갖는 다른 설정(예: 'ISO 감도 100, 셔터 속도 1/30초', 또는 'ISO 감도 50, 셔터 속도 1/15초')으로 변경할 수 있다. 프로세서(330)는 사용자에 의해 선택된 상기 설정 정보와 동일한 밝기를 갖는 프리뷰 이미지를 제공하기 위해, 상기 변경된 설정 값을 기반으로 상기 제1 촬영 설정을 결정할 수 있다.In one embodiment, the processor (330) may determine a first shooting setting for providing a preview image based on the verified setting information. The first shooting setting may include at least one of an ISO sensitivity, a shutter speed, or an exposure value that may actually be applied to the camera system while providing the preview image. For example, if the processor (330) determines that the camera (310) is set to a manual mode, the processor (330) may check a setting value for each item of the setting information selected by the user. The processor (330) may determine a setting value for at least one item of the ISO sensitivity, the shutter speed, or the exposure value in response to the setting value for each item of the verified setting information, and may change the setting value for the at least one item based on the intensity of the ND filter effect selected by the user. For example, if a user selects setting values of 'ISO sensitivity 100, shutter speed 1/15, ND filter effect strength 2', the processor (330) may change to another setting (e.g., 'ISO sensitivity 100, shutter speed 1/30 second', or 'ISO sensitivity 50, shutter speed 1/15 second') having the same brightness as the setting information selected by the user. The processor (330) may determine the first shooting setting based on the changed setting value in order to provide a preview image having the same brightness as the setting information selected by the user.
다른 예를 들어, 프로세서(330)는 카메라(310)가 자동 모드(auto mode)로 설정된 경우, 조명 환경 또는 피사체의 타입 중 적어도 하나를 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값과 ND 필터 효과의 강도를 결정할 수 있다. 이 때, 상기 적어도 하나의 항목에 대한 설정 값과 상기 ND 필터 효과의 강도는 이전 시점에 획득된 이미지 프레임 분석 결과를 기반으로 AE(auto exposure) 알고리즘에 의해서 결정될 수 있다. 프로세서(330)는 상기 결정된 ND 필터 효과의 강도를 고려하여 상기 적어도 하나의 항목에 대한 설정 값을 변경할 수 있으며, 상기 변경된 적어도 하나의 항목에 대한 설정 값을 제1 촬영 설정으로 결정할 수 있다. 프로세서(330)는 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 획득할 수 있다. 프로세서(330)는 상기 획득된 프리뷰 이미지를 디스플레이(320) 상에 제공하는 동안 상기 프리뷰 이미지를 분석할 수 있다. 프로세서(330)는 상기 프리뷰 이미지의 분석 결과, 상기 제1 촬영 설정의 각 항목별 설정 값 및 상기 결정된 ND 필터 효과의 강도를 기반으로 복수 개의 촬영 설정 후보를 생성할 수 있고, 상기 프리뷰 이미지의 분석 결과와 카메라의 촬영 정책을 기반으로 상기 복수 개의 촬영 설정 후보 중 하나의 촬영 설정 후보를 선택할 수 있다.For another example, when the camera (310) is set to auto mode, the processor (330) may determine a setting value for at least one of the ISO sensitivity, shutter speed, or exposure value and the intensity of the ND filter effect based on at least one of the lighting environment or the type of the subject. At this time, the setting value for the at least one item and the intensity of the ND filter effect may be determined by an AE (auto exposure) algorithm based on an image frame analysis result acquired at a previous point in time. The processor (330) may change the setting value for the at least one item in consideration of the determined intensity of the ND filter effect, and may determine the changed setting value for the at least one item as the first shooting setting. The processor (330) may obtain a preview image based on the first shooting setting. The processor (330) may analyze the preview image while providing the acquired preview image on the display (320). The processor (330) can generate a plurality of shooting setting candidates based on the analysis results of the preview image, the setting values for each item of the first shooting setting, and the intensity of the determined ND filter effect, and can select one shooting setting candidate from among the plurality of shooting setting candidates based on the analysis results of the preview image and the shooting policy of the camera.
다양한 실시 예에 따라, 프로세서(330)는 상기 제1 촬영 설정을 결정하는 과정에서 복수 개의 촬영 설정 후보 중 하나를 선택할 수 있다. 프로세서(330)는 AE 알고리즘을 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값이 결정되면, 프리뷰 이미지의 분석 결과를 기반으로 적용 가능한 ND 필터 효과의 강도를 확인하고, 상기 확인된 ND 필터 효과의 강도를 고려하여 상기 적어도 하나의 항목에 대한 설정 값과 동일한 밝기를 갖는 이미지를 획득할 수 있는 다른 복수 개의 촬영 설정 후보들을 포함하는 목록을 생성할 수 있다. 예를 들어, 상기 적어도 하나의 항목에 대한 설정 값이 'ISO 감도 100, 셔터 속도 1/60초'로 결정된 경우, 프로세서(330)는 이와 동일한 밝기를 갖는 이미지를 획득할 수 있는 모든 촬영 설정들과 ND 필터 효과의 강도를 상기 복수 개의 촬영 설정 후보(예: 후보1 (ISO 감도 100, 셔터 속도 1/30, ND 필터 효과의 강도 2), 후보2 (ISO 감도 100, 셔터 속도 1/15, ND 필터 효과의 강도 4), 후보 3 (ISO 감도 100, 셔터 속도 1/8, ND 필터 효과의 강도 8), 후보 4 (ISO 감도 100, 셔터 속도 1, ND 필터의 효과 64) 등)로 결정할 수 있다. 프로세서(330)는 상기 복수 개의 촬영 설정 후보 중 상기 프리뷰 이미지의 분석 결과와 지정된 조건을 기반으로 선택된 촬영 설정 후보를 상기 제1 촬영 설정으로 결정할 수 있다. 여기서, 상기 프리뷰 이미지의 분석 결과는 상기 프리뷰 이미지를 제공하는 동안 분석된 조명 환경(예: 주간 또는 야간, 실내 또는 실외) 또는 피사체의 타입(예: 물(폭포, 바다, 분수), 자동차 궤적, 야간 플래시 또는 그 외 일반 장면) 중 적어도 하나를 포함할 수 있다. 상기 지정된 조건은 상기 제1 촬영 설정 중 어느 항목의 설정 값이 유지되어야 하는지 또는 어느 항목의 설정 값이 변경될 수 있는지를 정의하는 카메라(310)의 촬영 정책과 연관될 수 있다. 예를 들어, 'ISO 감도 유지'의 촬영 정책이 설정된 경우, 프로세서(330)는 상기 복수 개의 촬영 설정 후보 중 상기 제1 촬영 설정의 ISO와 상이한 설정 값을 갖는 촬영 설정 후보를 제외할 수 있다. 다른 예를 들어, 프로세서(330)는 상기 프리뷰 이미지의 분석 결과 '낮 폭포'로 확인되면, 상기 목록에서 남은 촬영 설정 후보들 중 셔터 속도의 설정 값이 가장 큰 촬영 설정 후보를 상기 제1 촬영 설정으로 결정할 수 있다. 상기 프리뷰 이미지의 분석 결과 '낮 일반 장면'으로 확인되면, 프로세서(330)는 상기 목록에서 남은 촬영 설정 후보들 중 셔터 속도가 지정된 값(예: 0.5초)에 가까운 설정 값을 갖는 촬영 설정 후보를 상기 제1 촬영 설정으로 선택할 수 있다.According to various embodiments, the processor (330) may select one of a plurality of shooting setting candidates in the process of determining the first shooting setting. When a setting value for at least one item among ISO sensitivity, shutter speed, and exposure value is determined based on an AE algorithm, the processor (330) may determine an intensity of an applicable ND filter effect based on an analysis result of a preview image, and may generate a list including other plurality of shooting setting candidates capable of obtaining an image having the same brightness as the setting value for the at least one item, taking into consideration the determined intensity of the ND filter effect. For example, if the setting value for at least one of the above items is determined as 'ISO sensitivity 100, shutter speed 1/60 seconds', the processor (330) may determine all shooting settings capable of obtaining an image having the same brightness and the intensity of the ND filter effect as the plurality of shooting setting candidates (e.g., candidate 1 (ISO sensitivity 100, shutter speed 1/30, intensity of ND filter effect 2), candidate 2 (ISO sensitivity 100, shutter speed 1/15, intensity of ND filter effect 4), candidate 3 (ISO sensitivity 100, shutter speed 1/8, intensity of ND filter effect 8), candidate 4 (ISO sensitivity 100, shutter speed 1, effect of ND filter 64) etc.). The processor (330) may determine a shooting setting candidate selected from the plurality of shooting setting candidates as the first shooting setting based on the analysis result of the preview image and the specified condition. Here, the analysis result of the preview image may include at least one of the analyzed lighting environment (e.g., daytime or nighttime, indoor or outdoor) or the type of the subject (e.g., water (waterfall, sea, fountain), car trail, night flash, or other general scene) while providing the preview image. The specified condition may be associated with a shooting policy of the camera (310) that defines which setting value of an item of the first shooting setting should be maintained or which setting value of an item can be changed. For example, if a shooting policy of 'maintain ISO sensitivity' is set, the processor (330) may exclude a shooting setting candidate having a setting value different from the ISO of the first shooting setting from among the plurality of shooting setting candidates. As another example, if the processor (330) determines 'daytime waterfall' as the analysis result of the preview image, the processor (330) may determine a shooting setting candidate having the largest setting value of shutter speed from among the remaining shooting setting candidates in the list as the first shooting setting. If the analysis result of the above preview image is confirmed as a 'daytime general scene', the processor (330) may select a shooting setting candidate having a shutter speed setting value close to a specified value (e.g., 0.5 seconds) from among the remaining shooting setting candidates in the list as the first shooting setting.
일 실시 예에서, 프로세서(330)는, 디스플레이(320)를 통해, 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공할 수 있다. 프로세서(330)는 상기 프리뷰 이미지를 제공하는 동안 상기 카메라 어플리케이션의 실행 화면을 통해 사용자의 촬영 명령(예: 셔터 버튼 입력)이 수신됨을 확인할 수 있다.In one embodiment, the processor (330) may provide a preview image based on the first shooting settings through the display (320). While providing the preview image, the processor (330) may confirm that a user's shooting command (e.g., shutter button input) is received through the execution screen of the camera application.
일 실시 예에서, 프로세서(330)는 상기 프리뷰 이미지를 제공하는 중 상기 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정과 단노출 이미지의 촬영 횟수를 결정할 수 있다. 프로세서(330)는 상기 확인된 설정 정보(예: ISO 감도, 셔터 속도, 노출 값, 또는 ND 필터 효과 강도)를 기반으로 상기 제2 촬영 설정을 결정할 수 있다. 예를 들어, 상기 확인된 설정 정보가 'ISO 감도 50, 셔터 속도 1초, ND 필터 효과 강도 8'로 선택된 경우, 프로세서(330)는 'ISO 감도 50, 셔터 속도 1/8초'로 상기 제2 촬영 설정의 설정 값을 결정할 수 있다.In one embodiment, when the processor (330) confirms the shooting command while providing the preview image, the processor (330) may determine the second shooting settings for obtaining a short exposure image and the number of times to shoot the short exposure image. The processor (330) may determine the second shooting settings based on the confirmed setting information (e.g., ISO sensitivity, shutter speed, exposure value, or ND filter effect strength). For example, when the confirmed setting information is selected as 'ISO sensitivity 50, shutter speed 1 second, ND filter effect strength 8', the processor (330) may determine the setting values of the second shooting settings as 'ISO sensitivity 50, shutter speed 1/8 second'.
다양한 실시 예에 따라, 프로세서(330)는 상기 제2 촬영 설정을 결정하는 과정에서 복수 개의 단노출 촬영 설정 후보 중 하나를 선택할 수 있다. 프로세서(330)는 상기 프리뷰 이미지를 제공하는 동안 확인된 설정 정보를 기반으로 장노출 영상 생성에 활용될 복수 개의 단노출 촬영 설정 후보들을 포함하는 목록을 생성할 수 있다. 상기 설정 정보는 카메라(310)의 촬영 관련 항목(예: ISO 감도, 셔터 속도, 노출 값 또는 ND 필터 효과)별 설정 값으로서, 수동 모드인 경우 사용자에 의해 설정된 값이고, 자동 모드인 경우 AE 알고리즘에 의해 결정된 값일 수 있다. 예를 들어, 상기 확인된 설정 정보가 'ISO 감도 50, 셔터 속도 1초, ND 필터 효과 강도 8'인 경우, 이와 동일한 밝기를 갖는 이미지를 획득할 수 있는 모든 단노출 촬영 설정들을 상기 복수 개의 단노출 촬영 설정 후보로 결정할 수 있다. 프로세서(330)는 상기 복수 개의 단노출 촬영 설정 후보 중 카메라(310)의 하드웨어 사양과 지정된 조건을 기반으로 선택된 단노출 촬영 설정 후보를 상기 제2 촬영 설정으로 결정할 수 있다. 여기서, 상기 하드웨어 사양은 카메라(310)에서 촬영 설정으로서 선택 가능한 범위 (예: ISO 감도의 설정 범위, 셔터 속도의 설정 범위 또는 노출 값의 설정 범위), 카메라(310)의 최대 프레임 레이트(maximum frame rate)를 포함할 수 있다. 상기 지정된 조건은 상기 복수 개의 단노출 촬영 설정 후보 중에서 상기 제2 촬영 설정을 선택함에 있어, 상기 확인된 설정 정보 중에서 어느 항목의 설정 값이 유지되어야 하는지 또는 어느 항목의 설정 값이 변경될 수 있는지를 정의하는 카메라(310)의 촬영 정책과 연관될 수 있다. 예를 들어, 카메라(310)에서 이용 가능한 ISO 감도의 설정 범위가 25 내지 1500이고, 셔터 속도의 설정 범위가 1/125초 내지 1초이면, 프로세서(330)는 상기 복수 개의 단노출 촬영 설정 후보 중 해당 범위를 벗어나는 단노출 촬영 설정 후보를 제외할 수 있다. 다른 예를 들어, 'ISO 감도 유지'의 촬영 정책이 설정된 경우, 프로세서(330)는 상기 목록에서 남은 단노출 촬영 설정 후보들 중 상기 확인된 설정 정보의 ISO와 동일한 설정 값을 갖는 단노출 촬영 설정 후보를 상기 제2 촬영 설정으로 선택할 수 있다.According to various embodiments, the processor (330) may select one of a plurality of short exposure shooting setting candidates in the process of determining the second shooting setting. The processor (330) may generate a list including a plurality of short exposure shooting setting candidates to be utilized for generating a long exposure image based on the setting information confirmed while providing the preview image. The setting information may be a setting value for each shooting-related item of the camera (310) (e.g., ISO sensitivity, shutter speed, exposure value, or ND filter effect), and may be a value set by a user in the case of manual mode, or a value determined by an AE algorithm in the case of automatic mode. For example, if the confirmed setting information is 'ISO sensitivity 50, shutter speed 1 second, ND filter effect strength 8', all short exposure shooting settings capable of obtaining an image having the same brightness as the plurality of short exposure shooting setting candidates may be determined. The processor (330) may determine a single exposure shooting setting candidate selected from among the plurality of single exposure shooting setting candidates based on the hardware specifications of the camera (310) and a specified condition as the second shooting setting. Here, the hardware specifications may include a range selectable as a shooting setting in the camera (310) (e.g., a setting range of ISO sensitivity, a setting range of shutter speed, or a setting range of exposure value) and a maximum frame rate of the camera (310). The specified condition may be associated with a shooting policy of the camera (310) that defines which setting value of an item among the confirmed setting information should be maintained or which setting value of an item can be changed when selecting the second shooting setting from among the plurality of single exposure shooting setting candidates. For example, if the setting range of the ISO sensitivity available in the camera (310) is 25 to 1500, and the setting range of the shutter speed is 1/125 second to 1 second, the processor (330) may exclude a single exposure shooting setting candidate that falls outside the corresponding range from among the plurality of single exposure shooting setting candidates. For another example, if the shooting policy of 'maintain ISO sensitivity' is set, the processor (330) may select a single exposure shooting setting candidate having the same setting value as the ISO of the confirmed setting information from among the remaining single exposure shooting setting candidates in the list as the second shooting setting.
일 실시 예에서, 프로세서(330)는 상기 확인된 설정 정보에 따른 셔터 속도(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도), 상기 제2 촬영 설정에 따른 셔터 속도, 또는 카메라(310)의 최대 프레임 레이트를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 프로세서(330)는 상기 제2 촬영 설정의 셔터 속도와 제한 셔터 속도를 비교하고, 상기 비교 결과를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 예를 들어, 프로세서(330)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 확인된 설정 정보에 따른 셔터 속도(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도)를 상기 제2 촬영 설정의 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 이 때, 상기 제한 셔터 속도는 상기 카메라(310)의 최대 프레임 레이트(1초당 획득할 수 있는 이미지의 수)를 기반으로 결정될 수 있다. 카메라(310)의 최대 프레임 레이트가 30FPS라면, 상기 제한 셔터 속도는 그 역수로서 약 0.033초일 수 있다. 만약, 상기 확인된 설정 정보에 따른 셔터 속도(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도)가 1초이고, 제2 촬영 설정의 셔터 속도가 0.25초인 경우, 프로세서(330)는 상기 확인된 설정 정보에 따른 셔터 속도(1초)를 상기 제2 촬영 설정의 셔터 속도(0.25초)로 나눗셈 연산한 결과인 4를 상기 단노출 이미지 촬영 횟수로 결정할 수 있다. 다른 예를 들어, 프로세서(330)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 상기 확인된 설정 정보에 따른 셔터 속도를 상기 제한 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 만약, 상기 확인된 설정 정보에 따른 셔터 속도가 1초이고, 제2 촬영 설정의 셔터 속도가 0.017초인 경우, 프로세서(330)는 상기 확인된 설정 정보에 따른 셔터 속도(1초)를 상기 제한 셔터 속도(0.033초)로 나눗셈 연산한 결과인 30을 상기 단노출 이미지 촬영 횟수로 결정할 수 있다.In one embodiment, the processor (330) may determine the number of shots of the single exposure image based on the shutter speed according to the verified setting information (e.g., the shutter speed set by the user in the case of manual mode, or the shutter speed determined by the processor (330) in the case of automatic mode), the shutter speed according to the second shooting settings, or the maximum frame rate of the camera (310). The processor (330) may compare the shutter speed of the second shooting settings with the limited shutter speed, and determine the number of shots of the single exposure image based on the comparison result. For example, if the shutter speed of the second shooting settings is greater than or equal to the limited shutter speed, the processor (330) may divide the shutter speed according to the verified setting information (e.g., the shutter speed set by the user in the case of manual mode, or the shutter speed determined by the processor (330) in the case of automatic mode) by the shutter speed of the second shooting settings, and determine the quotient as the number of shots of the single exposure image. At this time, the limited shutter speed may be determined based on the maximum frame rate (the number of images that can be acquired per second) of the camera (310). If the maximum frame rate of the camera (310) is 30 FPS, the limited shutter speed may be its reciprocal, i.e., about 0.033 seconds. If the shutter speed according to the confirmed setting information (e.g., the shutter speed set by the user in the case of manual mode, or the shutter speed determined by the processor (330) in the case of automatic mode) is 1 second, and the shutter speed of the second shooting setting is 0.25 seconds, the processor (330) may determine the result of dividing the shutter speed (1 second) according to the confirmed setting information by the shutter speed (0.25 seconds) of the second shooting setting, i.e., 4, as the number of single exposure image captures. For another example, if the shutter speed of the second shooting setting is lower than the limited shutter speed, the processor (330) may determine the quotient obtained by dividing the shutter speed according to the confirmed setting information by the limited shutter speed as the number of shots of the single exposure image. If the shutter speed according to the confirmed setting information is 1 second and the shutter speed of the second shooting setting is 0.017 seconds, the processor (330) may determine the result of dividing the shutter speed (1 second) according to the confirmed setting information by the limited shutter speed (0.033 seconds), which is 30, as the number of shots of the single exposure image.
일 실시 예에서, 프로세서(330)는 상기 제2 촬영 설정의 셔터 속도와 상기 제한 셔터 속도의 비교 결과에 따라 상기 제2 촬영 설정의 셔터 속도를 변경할 수 있다. 프로세서(330)는 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값이 상기 제한 셔터 속도보다 크거나 같은지 여부를 판단할 수 있다. 프로세서(330)는 상기 판단 결과 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 기준 셔터 속도로 정의하고, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작거나 동일한 값을 갖도록 변경할 수 있다. 예를 들어, 프로세서(330)는 상기 확인된 설정 정보에 따른 셔터 속도(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도), 상기 제한 셔터 속도 또는 상기 ND 필터 효과의 강도에 기반한 함수를 이용하여 상기 제2 촬영 설정의 셔터 속도를 재계산하여 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 업데이트할 수 있다. 상기 함수는 상기 ND 필터 효과의 강도가 증가함에 따라 계산 결과가 동일 또는 감소하는 단조 감소 함수의 특성을 갖는 함수일 수 있다. 상기 판단 결과 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 프로세서(330)는 상기 확인된 설정 정보를 기반으로 결정된 제2 촬영 설정을 유지할 수 있다.In one embodiment, the processor (330) may change the shutter speed of the second shooting settings according to a comparison result between the shutter speed of the second shooting settings and the limited shutter speed. The processor (330) may determine whether a setting value of the shutter speed according to the second shooting settings is greater than or equal to the limited shutter speed. If the determination result shows that the shutter speed of the second shooting settings is greater than or equal to the limited shutter speed, the processor (330) may define the setting value of the shutter speed according to the second shooting settings as a reference shutter speed, and may change the shutter speed of the second shooting settings to have a value less than or equal to the limited shutter speed. For example, the processor (330) may recalculate the shutter speed of the second shooting settings using a function based on the shutter speed according to the confirmed setting information (e.g., a shutter speed set by the user in case of manual mode, or a shutter speed determined by the processor (330) in case of automatic mode), the limited shutter speed, or the intensity of the ND filter effect, and update the setting value of the shutter speed according to the second shooting settings. The above function may be a function having the characteristic of a monotonically decreasing function in which the calculation result is the same or decreases as the intensity of the ND filter effect increases. If the shutter speed of the second shooting setting is smaller than the limited shutter speed as a result of the determination, the processor (330) may maintain the second shooting setting determined based on the confirmed setting information.
일 실시 예에서, 프로세서(330)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같은 경우, 재계산된 제2 촬영 설정의 노출 값이 상기 제1 촬영 설정의 노출 값보다 작거나 같은 값으로 설정된 것으로 판단할 수 있다. 예를 들어, 프로세서(330)는 상기 확인된 설정 정보가 'ISO 감도 100, 셔터 속도 1/15초'인 경우, 상기 재계산된 제2 촬영 설정이 'ISO 감도 100, 셔터 속도 1/60초'임을 확인하면, 단노출 이미지의 노출 값이 사용자가 획득하고자 하는 장노출 이미지의 노출 값보다 2EV 낮은 값으로 설정됨을 판단할 수 있다. 이 경우, 프로세서(330)는 단노출 이미지를 획득한 이후 장노출 이미지를 생성하는 과정에서 상기 업데이트된 제2 촬영 설정에 따른 셔터 속도의 설정 값과 상기 기준 셔터 속도 사이의 차이를 기반으로 상기 장노출 이미지의 노출 값을 보정하여, 상기 획득된 단노출 이미지의 노출 값보다 밝게 장노출 이미지가 생성되도록 할 수 있다.In one embodiment, the processor (330) may determine that the exposure value of the recalculated second shooting settings is set to a value less than or equal to the exposure value of the first shooting settings when the shutter speed of the second shooting settings is greater than or equal to the limited shutter speed. For example, when the processor (330) determines that the recalculated second shooting settings are 'ISO sensitivity 100, shutter speed 1/15 seconds' when the confirmed setting information is 'ISO sensitivity 100, shutter speed 1/60 seconds', the processor (330) may determine that the exposure value of the short exposure image is set to a value 2EV lower than the exposure value of the long exposure image that the user wants to acquire. In this case, the processor (330) may correct the exposure value of the long exposure image based on the difference between the setting value of the shutter speed according to the updated second shooting settings and the reference shutter speed during the process of generating a long exposure image after acquiring the short exposure image, so that the long exposure image is generated brighter than the exposure value of the acquired short exposure image.
일 실시 예에서, 프로세서(330)는 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득할 수 있다. 프로세서(330)는 지정된 시간 구간동안 상기 제2 촬영 설정을 기반으로 상기 단노출 이미지의 촬영 횟수에 대응하는 복수 개의 단노출 이미지를 획득할 수 있다. 상기 지정된 시간 구간은 상기 제1 촬영 설정의 셔터 속도에 대응하여 결정될 수 있다.In one embodiment, the processor (330) can acquire a plurality of short exposure images based on the second shooting settings. The processor (330) can acquire a plurality of short exposure images corresponding to the number of times the short exposure images are shot based on the second shooting settings during a specified time period. The specified time period can be determined corresponding to the shutter speed of the first shooting settings.
다양한 실시 예에 따라, 프로세서(330)는 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도와 상기 단노출 이미지들이 획득되는 시간 간격을 가변할 수 있다. 예를 들어, 프로세서(330)는 상기 지정된 시간 구간동안 획득되는 단노출 이미지들 중 홀수 번째 이미지와 짝수 번째 이미지의 셔터 속도를 상이하게 설정하거나, 또는 홀수 번째 이미지와 짝수 번째 이미지가 획득되는 시간 간격이 상이해지도록 설정할 수 있다. 다른 예를 들어, 프로세서(330)는 촬영 시점의 조명 환경이 지정된 밝기 이하인 어두운 상황인 경우, 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도를 동일하게 설정하거나, 및/또는 동일한 시간 간격으로 상기 단노출 이미지들을 획득하도록 설정할 수 있다.According to various embodiments, the processor (330) may vary the shutter speed of the single exposure images acquired during the specified time period and the time interval at which the single exposure images are acquired. For example, the processor (330) may set the shutter speeds of the odd-numbered images and the even-numbered images acquired during the specified time period to be different, or may set the time intervals at which the odd-numbered images and the even-numbered images are acquired to be different. As another example, when the lighting environment at the time of shooting is a dark situation with a specified brightness or less, the processor (330) may set the shutter speeds of the single exposure images acquired during the specified time period to be the same, and/or may set the single exposure images to be acquired at the same time interval.
일 실시 예에서, 프로세서(330)는 상기 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출 이미지를 획득할 수 있다. 다양한 실시 예에 따라, 프로세서(330)는 장노출 이미지를 생성하는 과정에서, 상기 장노출 이미지에 대한 밝기 보정이 필요한지 여부를 판단할 수 있다. 예를 들어, 상기 단노출 이미지들의 노출 값이 사용자가 획득하고자 하는 장노출 이미지의 노출 값보다 낮게 설정되었다고 판단된 경우, 프로세서(330)는 상기 제2 촬영 설정의 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정하고, 상기 결정된 노출 보정 값을 기반으로 상기 장노출 이미지의 밝기를 보정할 수 있다.In one embodiment, the processor (330) may synthesize at least some of the plurality of short exposure images to obtain a long exposure image corresponding to the specified time interval. According to various embodiments, the processor (330) may determine whether brightness compensation is necessary for the long exposure image during the process of generating the long exposure image. For example, if it is determined that the exposure values of the short exposure images are set lower than the exposure value of the long exposure image that the user wants to obtain, the processor (330) may determine an exposure compensation value for the long exposure image based on the exposure value of the second shooting setting, and may correct the brightness of the long exposure image based on the determined exposure compensation value.
일 실시 예에서, 프로세서(330)는 상기 장노출 이미지의 생성에 이용된 복수 개의 단노출 이미지가 안정된 상황에서 획득되었는지 여부를 판단할 수 있다. 예를 들어, 프로세서(330)는 하나 이상의 센서(예: 도 1의 센서 모듈(176))를 이용하여 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였는지 여부를 판단할 수 있다. 상기 하나 이상의 센서는 자이로 센서, 가속도 센서 또는 그 외 전자 장치(300)의 움직임 검출이 가능한 다양한 타입의 센서들을 포함할 수 있다. 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였다고 판단되면, 프로세서(330)는 상기 복수 개의 단노출 이미지의 적어도 일부를 정합하고, 상기 정합된 단노출 이미지에 대한 움직임 보정 후 합성을 수행하는 방식으로 상기 장노출 이미지를 생성할 수 있다.In one embodiment, the processor (330) may determine whether the plurality of short exposure images used to generate the long exposure image were acquired in a stable situation. For example, the processor (330) may determine whether movement of the electronic device (300) occurred while acquiring the plurality of short exposure images using one or more sensors (e.g., the sensor module (176) of FIG. 1). The one or more sensors may include various types of sensors capable of detecting movement of the electronic device (300), such as a gyro sensor, an acceleration sensor, or other sensors capable of detecting movement of the electronic device (300). If it is determined that movement of the electronic device (300) occurred while acquiring the plurality of short exposure images, the processor (330) may generate the long exposure image by aligning at least some of the plurality of short exposure images and performing motion compensation and synthesis on the aligned short exposure images.
도 4는 일 실시 예에 따라, ND 필터 효과가 적용된 장노출 이미지를 생성하는 방식을 설명하는 도면이다.FIG. 4 is a diagram illustrating a method for generating a long exposure image with an ND filter effect applied, according to one embodiment.
도 4를 참조하면, 전자 장치(300)는 복수 개의 단노출 이미지(400)를 이용하여 ND 필터 효과가 적용된 장노출 이미지(410)를 생성할 수 있다. 전자 장치(300)는 카메라(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라(310))의 설정 정보를 확인하면, 상기 설정 정보에 따른 ND 필터 효과의 강도를 고려하여 단노출 이미지 획득을 위한 촬영 설정을 결정할 수 있다. 상기 설정 정보는 ISO 감도, 셔터 속도, 노출 값 또는 ND 필터 효과 강도 중 적어도 하나를 포함하며, 상기 설정 정보의 각 항목별 설정 값은 수동 모드인 경우 사용자에 의해 설정되고 자동 모드인 경우 AE 알고리즘을 기반으로 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(330))에 의해 결정될 수 있다. 상기 단노출 이미지 획득을 위한 촬영 설정은 촬영이 수행되는 동안 카메라 시스템에 실제 적용될 수 있는 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나를 포함할 수 있다. 예를 들어, 전자 장치(300)는 상기 확인된 설정 정보가 'ISO 감도 100, 셔터 속도 1초, ND 필터 효과 강도 4'인 경우, 상기 단노출 이미지 획득을 위한 촬영 설정을 'ISO 감도 100, 셔터 속도 1/4초'로 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 단노출 이미지 획득을 위한 촬영 설정의 셔터 속도가 카메라(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라(310))의 최대 프레임 레이트(예: 30FPS)을 기반으로 결정된 제한 셔터 속도보다 크거나 같으면, 상기 제한 셔터 속도보다 작거나 동일한 값을 갖도록 상기 촬영 설정의 셔터 속도를 변경할 수 있다.Referring to FIG. 4, the electronic device (300) can generate a long exposure image (410) with an ND filter effect applied by using a plurality of short exposure images (400). When the electronic device (300) checks the setting information of a camera (e.g., the camera module (180) of FIG. 1 or the camera (310) of FIG. 3), the electronic device can determine the shooting settings for obtaining a short exposure image by considering the intensity of the ND filter effect according to the setting information. The setting information includes at least one of ISO sensitivity, shutter speed, exposure value, or ND filter effect intensity, and the setting value for each item of the setting information can be set by a user in the case of manual mode and determined by a processor (e.g., the processor (120) of FIG. 1 or the processor (330) of FIG. 3) based on an AE algorithm in the case of automatic mode. The shooting settings for obtaining the short exposure image can include at least one of the ISO sensitivity, shutter speed, or exposure value that can be actually applied to the camera system during shooting. For example, if the confirmed setting information is 'ISO sensitivity 100, shutter speed 1 second, ND filter effect strength 4', the electronic device (300) may determine the shooting settings for obtaining the single exposure image as 'ISO sensitivity 100, shutter speed 1/4 second'. As another example, if the shutter speed of the shooting settings for obtaining the single exposure image is greater than or equal to a limit shutter speed determined based on a maximum frame rate (e.g., 30 FPS) of a camera (e.g., camera module (180) of FIG. 1 or camera (310) of FIG. 3), the electronic device (300) may change the shutter speed of the shooting settings to have a value less than or equal to the limit shutter speed.
일 실시 예에서, 전자 장치(300)는 상기 결정된 촬영 설정을 기반으로 지정된 시간 구간 동안 상기 복수 개의 단노출 이미지를 획득할 수 있다. 상기 지정된 시간 구간은 상기 설정 정보에 따른 셔터 속도(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도)에 대응될 수 있다. 여기서, 전자 장치(300)는 상기 설정 정보에 따른 셔터 속도, 상기 단노출 이미지 획득을 위한 촬영 설정에 따른 셔터 속도, 또는 상기 제한 셔터 속도를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 단노출 이미지 획득을 위한 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 설정 정보에 따른 셔터 속도를 상기 촬영 설정의 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 상기 설정 정보에 따른 셔터 속도를 상기 제한 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다.In one embodiment, the electronic device (300) may acquire the plurality of single exposure images during a specified time period based on the determined shooting settings. The specified time period may correspond to a shutter speed according to the setting information (e.g., a shutter speed set by a user in the manual mode, or a shutter speed determined by the processor (330) in the automatic mode). Here, the electronic device (300) may determine the number of times to capture the single exposure image based on the shutter speed according to the setting information, the shutter speed according to the shooting settings for acquiring the single exposure image, or the limited shutter speed. For example, if the shutter speed of the shooting settings for acquiring the single exposure image is greater than or equal to the limited shutter speed, the electronic device (300) may divide the shutter speed according to the setting information by the shutter speed of the shooting settings and determine the quotient as the number of times to capture the single exposure image. For another example, if the shutter speed of the shooting settings is lower than the limited shutter speed, the electronic device (300) can divide the shutter speed according to the setting information by the limited shutter speed and determine the quotient obtained as the number of shots of the single exposure image.
일 실시 예에서, 전자 장치(300)는 상기 획득된 복수 개의 단노출 이미지(400)의 적어도 일부를 합성하는 방식으로 ND 필터 효과가 적용된 장노출 이미지(410)를 획득할 수 있다.In one embodiment, the electronic device (300) can obtain a long exposure image (410) with an ND filter effect applied by synthesizing at least a portion of the acquired multiple short exposure images (400).
도 5는 일 실시 예에 따른, 전자 장치(300)의 동작 방법을 도시하는 흐름도이다. 일 실시 예에 따르면, 전자 장치(300)는 프리뷰 이미지를 제공하는 동안 분석된 장면 특성과 ND 필터 효과의 강도를 기반으로 단노출 이미지 획득을 위한 촬영 설정을 동적으로 결정하여 복수 개의 단노출 이미지들을 획득하고, 획득된 단노출 이미지들을 합성하여 실제 ND 필터와 유사한 포화 영역 및 객체 움직임을 표현하는 장노출 이미지를 획득하는 장치로서, 도 1에 도시된 전자 장치(101)에 대응될 수 있다. 도 5의 동작들은 전자 장치(300)에 포함된 프로세서(예: 도 1의 프로세서(120) 또는 도 3의 프로세서(330))에 의해 수행될 수 있다.FIG. 5 is a flowchart illustrating an operating method of an electronic device (300) according to an embodiment. According to an embodiment, the electronic device (300) dynamically determines shooting settings for obtaining a short exposure image based on analyzed scene characteristics and the intensity of an ND filter effect while providing a preview image, obtains a plurality of short exposure images, and synthesizes the obtained short exposure images to obtain a long exposure image expressing a saturated area and object movement similar to an actual ND filter, which may correspond to the electronic device (101) illustrated in FIG. 1. The operations of FIG. 5 may be performed by a processor included in the electronic device (300) (e.g., the processor (120) of FIG. 1 or the processor (330) of FIG. 3).
도 5를 참조하면, 동작 510에서 전자 장치(300)는 카메라(예: 도 1의 카메라 모듈(180) 또는 도 3의 카메라(310))의 설정 정보를 확인할 수 있다. 상기 설정 정보는 ISO(international standard organization) 감도, 셔터 속도(shutter speed), 노출 값(exposure value), 또는 ND(neutral density) 필터 효과 강도 중 적어도 하나를 포함할 수 있다.Referring to FIG. 5, in operation 510, the electronic device (300) can check setting information of a camera (e.g., the camera module (180) of FIG. 1 or the camera (310) of FIG. 3). The setting information may include at least one of ISO (international standard organization) sensitivity, shutter speed, exposure value, or ND (neutral density) filter effect strength.
일 실시 예에 따르면, 동작 520에서 전자 장치(300)는 상기 확인된 설정 정보를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정할 수 있다. 상기 제1 촬영 설정은 프리뷰 이미지를 제공하는 동안 카메라 시스템에 실제 적용될 수 있는 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나를 포함할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 카메라(310)가 자동 모드(auto mode)로 설정된 경우, AE(auto exposure) 알고리즘을 기반으로 상기 제1 촬영 설정 및 ND 필터 효과 강도를 결정할 수 있다. 다양한 실시 예에 따른, 자동 모드에서 동작 520의 제1 촬영 설정 결정에 관한 구체적 내용은 도 6을 참조하여 설명한다.According to one embodiment, in operation 520, the electronic device (300) may determine a first shooting setting for providing a preview image based on the verified setting information. The first shooting setting may include at least one of an ISO sensitivity, a shutter speed, or an exposure value that may actually be applied to the camera system while providing the preview image. According to various embodiments, the electronic device (300) may determine the first shooting setting and the ND filter effect strength based on an AE (auto exposure) algorithm when the camera (310) is set to an auto mode. Specific details regarding the determination of the first shooting setting in operation 520 in the auto mode according to various embodiments will be described with reference to FIG. 6.
도 6은 일 실시 예에 따라, 자동 모드에서 프리뷰 이미지 획득을 위한 제1 촬영 설정을 결정하는 방법을 도시하는 흐름도이다. 도 6을 참조하면, 동작 610에서 전자 장치(300)는 카메라(310)의 설정 정보가 자동 모드로 설정됨을 확인할 수 있다. 자동 모드에서, 전자 장치(300)는 상기 설정 정보의 설정 값들을 모두 auto로 인식할 수 있다. 예를 들어, 전자 장치(300)는 상기 설정 정보를 'ISO 감도 auto, 셔터 속도 auto, 노출 값 auto, ND 필터 효과 강도 auto'로 인식할 수 있다.FIG. 6 is a flowchart illustrating a method for determining a first shooting setting for acquiring a preview image in an automatic mode according to an embodiment of the present invention. Referring to FIG. 6, in operation 610, the electronic device (300) may confirm that the setting information of the camera (310) is set to the automatic mode. In the automatic mode, the electronic device (300) may recognize all of the setting values of the setting information as auto. For example, the electronic device (300) may recognize the setting information as 'ISO sensitivity auto, shutter speed auto, exposure value auto, ND filter effect strength auto'.
일 실시 예에 따르면, 동작 620에서 전자 장치(300)는 상기 확인된 설정 정보를 기반으로 사용자 촬영 설정 값을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 인식된 설정 정보 'ISO 감도 auto, 셔터 속도 auto, 노출 값 auto, ND 필터 효과 auto' 중 카메라 시스템에 의해 변경될 수 없는 ND 필터 효과의 값을 제거하고, 상기 카메라 시스템에 의해 실제 활용될 수 있는 항목들의 값(예: 'ISO 감도 auto, 셔터 속도 auto, 노출 값 auto')을 상기 사용자 촬영 설정 값으로 결정할 수 있다.According to one embodiment, in operation 620, the electronic device (300) may determine user shooting setting values based on the verified setting information. For example, the electronic device (300) may remove a value of an ND filter effect that cannot be changed by the camera system from the recognized setting information 'ISO sensitivity auto, shutter speed auto, exposure value auto, ND filter effect auto', and determine values of items that can actually be utilized by the camera system (e.g., 'ISO sensitivity auto, shutter speed auto, exposure value auto') as the user shooting setting values.
일 실시 예에 따르면, 동작 630에서 전자 장치(300)는 상기 사용자 촬영 설정 값을 시스템 촬영 설정 값으로 변환할 수 있다. 상기 시스템 촬영 설정 값은 AE(auto exposure) 알고리즘을 기반으로 결정될 수 있다. 예를 들어, 전자 장치(300)는 이전에 결정된 ISO 감도, 셔터 속도 및 이를 기반으로 획득된 프리뷰 이미지의 밝기 중 적어도 하나를 고려하여 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나에 대한 설정 값을 결정할 수 있다.According to one embodiment, in operation 630, the electronic device (300) may convert the user shooting setting value into a system shooting setting value. The system shooting setting value may be determined based on an AE (auto exposure) algorithm. For example, the electronic device (300) may determine a setting value for at least one of the ISO sensitivity, the shutter speed, or the exposure value by considering at least one of the previously determined ISO sensitivity, the shutter speed, and the brightness of the preview image acquired based thereon.
일 실시 예에 따르면, 동작 640에서 전자 장치(300)는 상기 시스템 촬영 설정 값을 기반으로 프리뷰 이미지를 프레임 단위로 획득할 수 있다. 전자 장치(300)는 동작 645에서 상기 획득된 프리뷰 이미지를 분석하여 상기 프리뷰 이미지에 대한 밝기 또는 장면 분석 결과를 획득할 수 있다. 상기 장면 분석 결과는 상기 프리뷰 이미지의 조명 환경(예: 주간 또는 야간, 실내 또는 실외) 및/또는 피사체의 타입(예: 물(폭포, 바다, 분수), 자동차 궤적, 야간 플래시 또는 그 외 일반 장면)을 포함할 수 있다. 전자 장치(300)는 동작 650에서 상기 결정된 시스템 촬영 설정 값과 동작 645의 프리뷰 이미지 분석 결과를 기반으로 적용 가능한 ND 필터 효과의 강도를 확인하고, 상기 확인된 ND 필터 효과의 강도를 기반으로 사용자 촬영 설정 값을 업데이트할 수 있다. 다양한 실시 예에 따른, 자동 모드에서 동작 650의 사용자 촬영 설정 값의 업데이트에 관한 구체적 내용은 도 7을 참조하여 설명한다.According to one embodiment, in operation 640, the electronic device (300) may obtain a preview image frame by frame based on the system shooting setting value. In operation 645, the electronic device (300) may analyze the obtained preview image to obtain a brightness or scene analysis result for the preview image. The scene analysis result may include a lighting environment (e.g., day or night, indoor or outdoor) and/or a type of a subject (e.g., water (waterfall, sea, fountain), car trajectory, night flash, or other general scene) of the preview image. In operation 650, the electronic device (300) may check the intensity of an applicable ND filter effect based on the determined system shooting setting value and the preview image analysis result of operation 645, and update the user shooting setting value based on the checked intensity of the ND filter effect. Specific details regarding the update of the user shooting setting value of operation 650 in an automatic mode according to various embodiments will be described with reference to FIG. 7.
도 7은 일 실시 예에 따라, 자동 모드에서 프리뷰 이미지를 제공하는 동안 사용자 촬영 설정 값을 업데이트하는 방법을 도시하는 흐름도이다. 도 7을 참조하면, 동작 710에서 전자 장치(300)는 상기 결정/변경된 시스템 촬영 설정 값과 동일한 밝기를 갖는 이미지를 획득할 수 있는 다른 복수 개의 촬영 설정 후보를 결정할 수 있다. 예를 들어, 상기 시스템 촬영 설정이 'ISO 감도 100, 셔터 속도 1/125초'로 결정된 경우, 전자 장치(300)는 아래 표 1과 같이 복수 개의 촬영 설정 후보를 결정할 수 있다.FIG. 7 is a flowchart illustrating a method for updating user shooting setting values while providing a preview image in an automatic mode, according to an embodiment of the present invention. Referring to FIG. 7, in operation 710, the electronic device (300) may determine a plurality of other shooting setting candidates capable of obtaining an image having the same brightness as the determined/changed system shooting setting values. For example, if the system shooting setting is determined as 'ISO sensitivity 100, shutter speed 1/125 second', the electronic device (300) may determine a plurality of shooting setting candidates as shown in Table 1 below.
일 실시 예에 따르면, 동작 720에서 전자 장치(300)는 상기 프리뷰 이미지의 분석 결과와 카메라(310)의 촬영 정책을 기반으로 상기 복수 개의 촬영 설정 후보 중 하나의 촬영 설정 후보를 선택할 수 있다. 예를 들어, 전자 장치(300)는 'ISO 감도 유지'의 촬영 정책이 설정된 경우, 상기 복수 개의 촬영 설정 후보 중 상기 시스템 촬영 설정의 ISO 감도 100과 상이한 설정 값을 갖는 촬영 설정 후보를 제외할 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 프리뷰 이미지를 분석하여 획득된 상기 프리뷰 이미지의 장면 특성을 기반으로 상기 복수 개의 촬영 설정 후보들 중 상기 장면 특성에 대응하는 셔터 속도를 갖는 촬영 설정 후보를 선택할 수도 있다. 전자 장치(300)는 상기 복수 개의 촬영 설정 후보 중 선택된 촬영 설정 후보를 기반으로 상기 사용자 촬영 설정 값을 업데이트할 수 있다.According to one embodiment, in operation 720, the electronic device (300) may select one of the plurality of shooting setting candidates based on the analysis result of the preview image and the shooting policy of the camera (310). For example, when the shooting policy of 'maintain ISO sensitivity' is set, the electronic device (300) may exclude a shooting setting candidate having a setting value different from the ISO sensitivity of 100 of the system shooting setting from among the plurality of shooting setting candidates. As another example, the electronic device (300) may select a shooting setting candidate having a shutter speed corresponding to the scene characteristic of the preview image obtained by analyzing the preview image from among the plurality of shooting setting candidates. The electronic device (300) may update the user shooting setting value based on the shooting setting candidate selected from among the plurality of shooting setting candidates.
다시 도 6을 참조하면, 동작 660에서 전자 장치(300)는 결정된 시스템 촬영 설정 값을 기반으로 상기 프리뷰 이미지를 획득하고, 상기 획득된 프리뷰 이미지와 상기 업데이트된 사용자 촬영 설정 값을 디스플레이(예: 도 1의 디스플레이 모듈(160) 또는 도 3의 디스플레이(320)) 상에 렌더링할 수 있다.Referring again to FIG. 6 , at operation 660, the electronic device (300) may obtain the preview image based on the determined system shooting setting values, and render the obtained preview image and the updated user shooting setting values on a display (e.g., the display module (160) of FIG. 1 or the display (320) of FIG. 3).
다양한 실시 예에 따라, 전자 장치(300)는 카메라(310)가 수동 모드(manual mode)로 설정된 경우, 사용자에 의해 선택된 상기 설정 정보를 기반으로 상기 제1 촬영 설정을 결정할 수 있다. 다양한 실시 예에 따른, 수동 모드에서 동작 520의 제1 촬영 설정 결정에 관한 구체적 내용은 도 8을 참조하여 설명한다.According to various embodiments, the electronic device (300) may determine the first shooting setting based on the setting information selected by the user when the camera (310) is set to a manual mode. Specific details regarding the determination of the first shooting setting in operation 520 in a manual mode according to various embodiments are described with reference to FIG. 8.
도 8은 일 실시 예에 따라, 수동 모드에서 프리뷰 이미지 획득을 위한 제1 촬영 설정을 결정하는 방법을 도시하는 흐름도이다. 도 8을 참조하면, 동작 810에서 전자 장치(300)는 카메라(310)의 설정 정보가 수동 모드로 설정됨을 확인할 수 있다. 수동 모드에서, 전자 장치(300)는 사용자에 의해 선택된 상기 설정 정보의 각 항목 별 설정 값을 확인할 수 있다.FIG. 8 is a flowchart illustrating a method for determining a first shooting setting for obtaining a preview image in a manual mode according to an embodiment. Referring to FIG. 8, in operation 810, the electronic device (300) can confirm that the setting information of the camera (310) is set to the manual mode. In the manual mode, the electronic device (300) can confirm the setting value for each item of the setting information selected by the user.
일 실시 예에 따르면, 동작 820에서 전자 장치(300)는 상기 확인된 설정 정보의 각 항목별 설정 값을 기반으로 촬영 설정 값을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 확인된 설정 정보의 각 항목별 설정 값에 대응하여 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정하고, 사용자에 의해 선택된 ND 필터 효과의 강도를 기반으로 상기 적어도 하나의 항목에 대한 설정 값을 변경할 수 있다. 전자 장치(300)는 상기 변경된 적어도 하나의 항목에 대한 설정 값을 기반으로 상기 촬영 설정 값을 결정할 수 있다. 예시적으로, 사용자가 'ISO 감도 100, 셔터 속도 1/15, ND 필터 효과 강도 2'의 설정 값을 선택한 경우, 전자 장치(300)는 사용자가 선택한 설정 정보와 동일한 밝기를 갖는 'ISO 감도 100, 셔터 속도 1/30초'의 설정 값을 상기 촬영 설정 값으로 결정할 수 있다.According to one embodiment, in operation 820, the electronic device (300) may determine a shooting setting value based on the setting value of each item of the confirmed setting information. For example, the electronic device (300) may determine a setting value for at least one item among ISO sensitivity, shutter speed, and exposure value in response to the setting value of each item of the confirmed setting information, and may change the setting value for the at least one item based on the intensity of the ND filter effect selected by the user. The electronic device (300) may determine the shooting setting value based on the setting value for the changed at least one item. For example, if the user selects the setting values of 'ISO sensitivity 100, shutter speed 1/15, ND filter effect intensity 2', the electronic device (300) may determine the setting values of 'ISO sensitivity 100, shutter speed 1/30 second' having the same brightness as the setting information selected by the user as the shooting setting value.
일 실시 예에 따르면, 동작 830에서 전자 장치(300)는 상기 촬영 설정 값을 기반으로 프리뷰 이미지를 디스플레이(320) 상에 렌더링할 수 있다. 전자 장치(300)는 디스플레이(320) 상에 렌더링된 프리뷰 이미지를 기반으로, 획득하고자 하는 장노출 이미지의 밝기를 미리 예측할 수 있다.According to one embodiment, in operation 830, the electronic device (300) can render a preview image on the display (320) based on the shooting setting values. The electronic device (300) can predict the brightness of a long exposure image to be acquired in advance based on the preview image rendered on the display (320).
다시 도 5을 참조하면, 동작 530에서 전자 장치(300)는 상기 제1 촬영 설정을 기반으로 획득된 프리뷰 이미지를 제공하고, 동작 540에서 상기 프리뷰 이미지를 제공하는 동안 사용자의 촬영 명령(예: 셔터 버튼 입력)이 입력되는지 여부를 판단할 수 있다.Referring again to FIG. 5, at operation 530, the electronic device (300) provides a preview image acquired based on the first shooting settings, and at operation 540, determines whether a user's shooting command (e.g., shutter button input) is input while providing the preview image.
상기 판단 결과, 상기 촬영 명령이 입력되지 않았으면(동작 540-No), 전자 장치(300)는 동작 530으로 복귀하여 계속 프리뷰 이미지를 제공할 수 있다.As a result of the above judgment, if the shooting command is not input (operation 540-No), the electronic device (300) returns to operation 530 and can continue to provide preview images.
상기 판단 결과, 상기 촬영 명령이 입력되었으면(동작 540-Yes), 전자 장치(300)는 동작 550에서 단노출 이미지 획득을 위한 제2 촬영 설정과 단노출 이미지의 촬영 횟수를 결정할 수 있다. 일 실시 예에 따르면, 전자 장치(300)는 상기 확인된 카메라의 설정 정보(예: 동작 650의 업데이트된 사용자 촬영 설정이나 동작 820의 사용자에 의해서 설정된 설정 정보)을 기반으로 상기 제2 촬영 설정을 결정할 수 있다. 예를 들어, 상기 확인된 설정 정보가 'ISO 감도 50, 셔터 속도 1초, ND 필터 효과 강도 8'인 경우, 전자 장치(300)는 'ISO 감도 50, 셔터 속도 1/8초'로 상기 제2 촬영 설정의 설정 값을 결정할 수 있다. 일 실시 예에 따르면, 전자 장치(300)는 상기 확인된 설정 정보(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도), 상기 제2 촬영 설정에 따른 셔터 속도, 또는 카메라(310)의 최대 프레임 레이트(즉, 1초당 획득할 수 있는 이미지의 수)를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도와 제한 셔터 속도의 비교 결과를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 상기 제한 셔터 속도는 상기 카메라(310)의 최대 프레임 레이트를 기반으로 결정될 수 있다. 카메라(310)의 최대 프레임 레이트가 30FPS라면, 상기 제한 셔터 속도는 그 역수로서 약 0.033초일 수 있다. 예를 들어, 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 확인된 설정 정보(예: 수동 모드인 경우 사용자가 설정한 셔터 속도, 또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도)를 상기 제2 촬영 설정의 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 만약, 상기 확인된 설정 정보에 따른 셔터 속도가 1초이고, 제2 촬영 설정의 셔터 속도가 0.25초인 경우, 전자 장치(300)는 상기 제1 촬영 설정의 셔터 속도(1초)를 상기 제2 촬영 설정의 셔터 속도(0.25초)로 나눗셈 연산한 결과인 4를 상기 단노출 이미지 촬영 횟수로 결정할 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 상기 확인된 설정 정보에 따른 셔터 속도를 상기 제한 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 만약, 상기 확인된 설정 정보에 따른 셔터 속도가 1초이고, 제2 촬영 설정의 셔터 속도가 0.017초인 경우, 전자 장치(300)는 상기 설정 정보에 따른 셔터 속도(1초)를 상기 제한 셔터 속도(0.033초)로 나눗셈 연산한 결과인 30을 상기 단노출 이미지 촬영 횟수로 결정할 수 있다.As a result of the above determination, if the shooting command is input (operation 540-Yes), the electronic device (300) can determine the second shooting settings for obtaining a single exposure image and the number of times to shoot a single exposure image in operation 550. According to one embodiment, the electronic device (300) can determine the second shooting settings based on the confirmed camera setting information (e.g., the updated user shooting settings of operation 650 or the setting information set by the user of operation 820). For example, if the confirmed setting information is 'ISO sensitivity 50, shutter speed 1 second, ND filter effect strength 8', the electronic device (300) can determine the setting values of the second shooting settings as 'ISO sensitivity 50, shutter speed 1/8 second'. According to one embodiment, the electronic device (300) may determine the number of times to capture the single exposure image based on the verified setting information (e.g., a shutter speed set by a user in case of manual mode, or a shutter speed determined by the processor (330) in case of automatic mode), a shutter speed according to the second shooting setting, or a maximum frame rate of the camera (310) (i.e., the number of images that can be acquired per second). The electronic device (300) may determine the number of times to capture the single exposure image based on a comparison result between the shutter speed of the second shooting setting and the limited shutter speed. The limited shutter speed may be determined based on the maximum frame rate of the camera (310). If the maximum frame rate of the camera (310) is 30 FPS, the limited shutter speed may be its reciprocal, i.e., approximately 0.033 seconds. For example, if the shutter speed of the second shooting setting is greater than or equal to the limited shutter speed, the electronic device (300) may divide the verified setting information (e.g., the shutter speed set by the user in the case of manual mode, or the shutter speed determined by the processor (330) in the case of automatic mode) by the shutter speed of the second shooting setting and determine the quotient obtained by dividing the same as the number of shots of the single exposure image. If the shutter speed according to the verified setting information is 1 second and the shutter speed of the second shooting setting is 0.25 seconds, the electronic device (300) may determine the result of dividing the shutter speed (1 second) of the first shooting setting by the shutter speed (0.25 seconds) of the second shooting setting, which is 4, as the number of shots of the single exposure image. For another example, if the shutter speed of the second shooting setting is lower than the limited shutter speed, the electronic device (300) may determine the quotient obtained by dividing the shutter speed according to the confirmed setting information by the limited shutter speed as the number of shots of the single exposure image. If the shutter speed according to the confirmed setting information is 1 second and the shutter speed of the second shooting setting is 0.017 seconds, the electronic device (300) may determine the result of dividing the shutter speed (1 second) according to the setting information by the limited shutter speed (0.033 seconds), which is 30, as the number of shots of the single exposure image.
다양한 실시 예에 따라, 전자 장치(300)는 동작 550에서, 복수 개의 단노출 촬영 설정 후보 중 하나를 선택하는 방식으로 상기 제2 촬영 설정을 결정할 수 있다. 전자 장치(300)는 상기 확인된 설정 정보를 고려하여 장노출 이미지를 획득할 수 있는 복수 개의 단노출 촬영 설정 후보들을 결정할 수 있다. 예를 들어, 상기 확인된 설정 정보가 'ISO 감도 50, 셔터 속도 1초, ND 필터 효과 강도 8'인 경우, 이와 동일한 밝기를 갖는 이미지를 획득할 수 있는 단노출 촬영 설정들을 아래 표 2와 같이 복수 개의 단노출 촬영 설정 후보로 결정할 수 있다.According to various embodiments, the electronic device (300) may determine the second shooting setting by selecting one of the multiple short exposure shooting setting candidates in operation 550. The electronic device (300) may determine the multiple short exposure shooting setting candidates capable of obtaining a long exposure image by considering the confirmed setting information. For example, if the confirmed setting information is 'ISO sensitivity 50, shutter speed 1 second, ND filter effect strength 8', the single exposure shooting settings capable of obtaining an image having the same brightness as the multiple short exposure shooting setting candidates may be determined as shown in Table 2 below.
일 실시 예에 따르면, 전자 장치(300)는 상기 복수 개의 단노출 촬영 설정 후보 중 카메라(310)의 하드웨어 사양과 지정된 조건을 기반으로 선택된 단노출 촬영 설정 후보를 상기 제2 촬영 설정으로 결정할 수 있다. 여기서, 상기 하드웨어 사양은 카메라(310)에서 촬영 설정으로서 선택 가능한 범위 (예: ISO 감도의 설정 범위, 셔터 속도의 설정 범위 또는 노출 값의 설정 범위), 카메라(310)의 최대 프레임 레이트(maximum frame rate)를 포함할 수 있다. 상기 지정된 조건은 상기 복수 개의 단노출 촬영 설정 후보 중에서 상기 제2 촬영 설정을 선택함에 있어, 상기 확인된 설정 정보의 항목들 중 어느 항목의 설정 값이 유지되어야 하는지 또는 어느 항목의 설정 값이 변경될 수 있는지를 정의하는 카메라(310)의 촬영 정책과 연관될 수 있다. 예를 들어, 카메라(310)에서 이용 가능한 ISO 감도의 설정 범위가 25 내지 1500이고, 셔터 속도의 설정 범위가 1/125초 내지 1초이면, 전자 장치(300)는 표 2의 단노출 촬영 설정 후보 중 해당 범위를 벗어나는 단노출 촬영 설정 후보 1, 8을 제외할 수 있다. 다른 예를 들어, 'ISO 감도 유지'의 촬영 정책이 설정된 경우, 전자 장치(300)는 표 2에서 남은 단노출 촬영 설정 후보들 중 상기 설정 정보의 ISO와 동일한 설정 값을 갖는 단노출 촬영 설정 후보 3을 상기 제2 촬영 설정으로 선택할 수 있다.According to one embodiment, the electronic device (300) may determine a single exposure shooting setting candidate selected from among the plurality of single exposure shooting setting candidates based on the hardware specifications of the camera (310) and a specified condition as the second shooting setting. Here, the hardware specifications may include a range selectable as a shooting setting in the camera (310) (e.g., a setting range of ISO sensitivity, a setting range of shutter speed, or a setting range of exposure value) and a maximum frame rate of the camera (310). The specified condition may be associated with a shooting policy of the camera (310) that defines which of the items of the confirmed setting information should have a setting value to be maintained or which of the items can have a setting value to be changed when selecting the second shooting setting from among the plurality of single exposure shooting setting candidates. For example, if the setting range of the ISO sensitivity available in the camera (310) is 25 to 1500, and the setting range of the shutter speed is 1/125 second to 1 second, the electronic device (300) can exclude the short exposure shooting setting candidates 1 and 8 that are out of the corresponding ranges from among the short exposure shooting setting candidates in Table 2. For another example, if the shooting policy of 'maintain ISO sensitivity' is set, the electronic device (300) can select the short exposure shooting setting candidate 3 that has the same setting value as the ISO of the setting information from among the remaining short exposure shooting setting candidates in Table 2 as the second shooting setting.
다양한 실시 예에 따라, 전자 장치(300)는 동작 550에서 결정된 제2 촬영 설정을, 상기 제2 촬영 설정의 셔터 속도와 상기 제한 셔터 속도의 비교 결과에 따라 변경할 수 있다. 다양한 실시 예에 따른, 상기 제2 촬영 설정의 결정/변경 및 단노출 이미지 획득에 관한 구체적 내용은 도 9를 참조하여 설명한다.According to various embodiments, the electronic device (300) may change the second shooting setting determined in operation 550 based on a comparison result between the shutter speed of the second shooting setting and the limited shutter speed. Specific details regarding the determination/change of the second shooting setting and acquisition of a single exposure image according to various embodiments are described with reference to FIG. 9.
도 9는 일 실시 예에 따라, 복수 개의 단노출 이미지를 이용하여 ND 필터 효과가 적용된 장노출 이미지를 생성하는 방법을 도시하는 흐름도이다. 도 9를 참조하면, 동작 910에서 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같은지 여부를 판단할 수 있다.FIG. 9 is a flowchart illustrating a method of generating a long exposure image with an ND filter effect applied using a plurality of short exposure images according to an embodiment of the present invention. Referring to FIG. 9, in operation 910, the electronic device (300) may determine whether the shutter speed of the second shooting setting is greater than or equal to the limited shutter speed.
상기 판단 결과, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면(동작 910-Yes), 전자 장치(300)는 동작 920에서 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 기준 셔터 속도로 정의하고, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 동일한 값을 갖도록 변경할 수 있다. 예를 들어, 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도, 상기 제한 셔터 속도 또는 상기 ND 필터 효과의 강도에 기반한 함수를 이용하여 상기 제2 촬영 설정의 셔터 속도를 재계산하여 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 업데이트할 수 있다. 상기 함수는 상기 ND 필터 효과의 강도가 증가함에 따라 계산 결과가 동일 또는 감소하는 단조 감소 함수의 특성을 갖는 함수일 수 있다. 전자 장치(300)는 동작 925에서 상기 변경된 제2 촬영 설정, 상기 사용자가 설정한 셔터 속도 (또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도), 또는 카메라(310)의 최대 프레임 레이트(즉, 1초당 획득할 수 있는 이미지의 수)를 기반으로 상기 단노출 이미지의 촬영 횟수를 변경할 수 있다.As a result of the above determination, if the shutter speed of the second shooting setting is greater than or equal to the limited shutter speed (operation 910-Yes), the electronic device (300) may define the setting value of the shutter speed according to the second shooting setting as a reference shutter speed in operation 920, and change the shutter speed of the second shooting setting to have a value greater than or equal to the limited shutter speed. For example, the electronic device (300) may recalculate the shutter speed of the second shooting setting using a function based on the shutter speed of the second shooting setting, the limited shutter speed, or the intensity of the ND filter effect, to update the setting value of the shutter speed according to the second shooting setting. The function may be a function having the characteristic of a monotonically decreasing function in which a calculation result remains the same or decreases as the intensity of the ND filter effect increases. The electronic device (300) may change the number of shots of the single exposure image based on the changed second shooting setting at operation 925, the shutter speed set by the user (or the shutter speed determined by the processor (330) if in automatic mode), or the maximum frame rate of the camera (310) (i.e., the number of images that can be acquired per second).
전자 장치(300)는 동작 925에서 상기 변경된 제2 촬영 설정에 따른 셔터 속도의 설정 값과 상기 기준 셔터 속도 사이의 차이를 기반으로 상기 제2 촬영 설정의 노출 값을 계산하고, 상기 계산된 제2 촬영 설정의 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정할 수 있다. 예를 들어, 전자 장치(300)는 상기 확인된 설정 정보가 'ISO 감도 100, 셔터 속도 1초, ND 필터 효과 강도 4'인 경우, 상기 기준 셔터 속도가 1/4초이고, 상기 계산된 제2 촬영 설정의 노출 값이 1/15초임을 확인하면, 단노출 이미지의 노출 값이 사용자가 획득하고자 하는 장노출 이미지의 노출 값보다 2EV 낮은 값으로 설정됨을 판단하고, 장노출 이미지 생성 시 2EV만큼 상기 장노출 이미지의 노출 값을 높이도록 보정할 수 있다. 전자 장치(300)는 동작 930에서, 동작 920의 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득할 수 있다. 동작 930에서, 전자 장치(300)는 상기 복수 개의 단노출 이미지 각각에 대한 메타데이터(예: 촬영 시간, 이미지 포맷)를 함께 획득할 수 있다.The electronic device (300) may calculate an exposure value of the second shooting settings based on a difference between the setting value of the shutter speed according to the changed second shooting settings and the reference shutter speed in operation 925, and determine an exposure compensation value for the long exposure image based on the calculated exposure value of the second shooting settings. For example, if the electronic device (300) confirms that the confirmed setting information is 'ISO sensitivity 100, shutter speed 1 second, ND filter effect strength 4', the reference shutter speed is 1/4 second, and the calculated exposure value of the second shooting settings is 1/15 second, the electronic device (300) may determine that the exposure value of the short exposure image is set to a value 2EV lower than the exposure value of the long exposure image that the user wants to obtain, and may compensate to increase the exposure value of the long exposure image by 2EV when generating the long exposure image. The electronic device (300) may obtain a plurality of short exposure images based on the second shooting settings of operation 920 in operation 930. In operation 930, the electronic device (300) can obtain metadata (e.g., shooting time, image format) for each of the plurality of single exposure images.
상기 판단 결과, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면(동작 910-No), 전자 장치(300)는 동작 930에서, 동작 550의 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지와 각 단노출 이미지에 대한 메타 데이터를 획득할 수 있다.As a result of the above determination, if the shutter speed of the second shooting setting is less than the limited shutter speed (operation 910-No), the electronic device (300) can obtain a plurality of single exposure images and metadata for each single exposure image based on the second shooting setting of operation 550 in operation 930.
일 실시 예에 따르면, 전자 장치(300)는 동작 930에서 지정된 시간 구간동안 상기 제2 촬영 설정을 기반으로 상기 복수 개의 단노출 이미지를 획득할 수 있다. 상기 지정된 시간 구간은 상기 사용자가 설정한 셔터 속도 (또는 자동 모드인 경우 프로세서(330)에 의해서 결정된 셔터 속도)에 대응하여 결정될 수 있다. 다양한 실시 예에 따라, 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도와 상기 단노출 이미지들이 획득되는 시간 간격은 동일 또는 상이하게 설정될 수 있다. 예를 들어, 전자 장치(300)는 상기 지정된 시간 구간동안 획득되는 단노출 이미지들 중 홀수 번째 이미지와 짝수 번째 이미지의 셔터 속도를 상이하게 설정하거나, 또는 홀수 번째 이미지와 짝수 번째 이미지가 획득되는 시간 간격이 상이해지도록 설정할 수 있다. 다른 예를 들어, 전자 장치(300)는 촬영 시점의 조명 환경이 지정된 밝기 이하인 어두운 상황인 경우, 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도를 동일하게 설정하거나, 및/또는 동일한 시간 간격으로 상기 단노출 이미지들을 획득하도록 설정할 수 있다.According to one embodiment, the electronic device (300) may acquire the plurality of short exposure images based on the second shooting settings during a time period specified in operation 930. The specified time period may be determined in response to a shutter speed set by the user (or a shutter speed determined by the processor (330) in the automatic mode). According to various embodiments, the shutter speeds of the short exposure images acquired during the specified time period and the time intervals at which the short exposure images are acquired may be set to be the same or different. For example, the electronic device (300) may set the shutter speeds of odd-numbered images and even-numbered images among the short exposure images acquired during the specified time period to be different, or may set the time intervals at which the odd-numbered images and even-numbered images are acquired to be different. As another example, if the lighting environment at the time of shooting is dark with a brightness lower than a specified level, the electronic device (300) may set the shutter speed of single exposure images acquired during the specified time period to be the same, and/or may set the single exposure images to be acquired at the same time interval.
일 실시 예에 따르면, 전자 장치(300)는 동작 935에서 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였는지 분석할 수 있다. 예를 들어, 전자 장치(300)는 상기 복수 개의 단노출 이미지 각각에 대한 메타데이터를 기반으로 각 단노출 이미지가 촬영된 시점을 확인하고, 하나 이상의 센서(예: 도 1의 센서 모듈(176))로부터 해당 시점의 전자 장치(300)의 움직임 발생 여부를 확인할 수 있다. 상기 하나 이상의 센서는 자이로 센서, 가속도 센서 또는 그 외 전자 장치(300)의 움직임 검출이 가능한 다양한 타입의 센서들을 포함할 수 있다.According to one embodiment, the electronic device (300) may analyze whether movement of the electronic device (300) occurred while acquiring the plurality of single exposure images in operation 935. For example, the electronic device (300) may determine the time at which each single exposure image was captured based on metadata for each of the plurality of single exposure images, and may determine whether movement of the electronic device (300) occurred at the corresponding time from one or more sensors (e.g., the sensor module (176) of FIG. 1). The one or more sensors may include a gyro sensor, an acceleration sensor, or various types of sensors capable of detecting movement of the electronic device (300).
일 실시 예에 따르면, 전자 장치(300)는 동작 940에서 상기 획득된 복수 개의 단노출 이미지를 이용하여 장노출 이미지를 생성할 수 있다. 이 과정에서, 전자 장치(300)는 상기 장노출 이미지에 대한 보정이 필요한지 여부를 판단할 수 있다. 예를 들어, 전자 장치(300)는 상기 단노출 이미지들의 노출 값이 사용자가 획득하고자 하는 장노출 이미지의 노출 값보다 낮게 설정되었다고 판단된 경우, 상기 제2 촬영 설정의 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정하고, 상기 결정된 노출 보정 값을 기반으로 상기 장노출 이미지의 밝기를 보정할 수 있다. 다른 예를 들어, 전자 장치(300)는 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였다고 분석된 경우, 상기 복수 개의 단노출 이미지 중 상기 장노출 이미지 생성에 이용되는 적어도 일부를 정합하고, 상기 정합된 단노출 이미지에 대한 움직임 보정을 수행할 수 있다.According to one embodiment, the electronic device (300) may generate a long exposure image using the acquired multiple short exposure images in operation 940. In this process, the electronic device (300) may determine whether correction is required for the long exposure image. For example, if the electronic device (300) determines that the exposure values of the short exposure images are set lower than the exposure value of the long exposure image that the user wants to acquire, the electronic device (300) may determine an exposure compensation value for the long exposure image based on the exposure value of the second shooting setting, and may correct the brightness of the long exposure image based on the determined exposure compensation value. As another example, if the electronic device (300) analyzes that movement of the electronic device (300) occurred while acquiring the multiple short exposure images, the electronic device (300) may align at least some of the multiple short exposure images used to generate the long exposure image, and perform motion correction for the aligned short exposure image.
다시 도 5을 참조하면, 동작 560에서 전자 장치(300)는 상기 결정된 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하고, 동작 570에서 상기 복수 개의 단노출 이미지의 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출 이미지를 획득할 수 있다.Referring again to FIG. 5 , at operation 560, the electronic device (300) may acquire a plurality of short exposure images based on the determined second shooting settings, and at operation 570, synthesize at least a portion of the plurality of short exposure images to acquire a long exposure image corresponding to the specified time interval.
도 10은 일 실시 예에 따른, 전자 장치(300)의 세부 구성을 설명하는 도면이다. 도 10을 참조하여 설명되는 기능이나 동작은 도 3의 전자 장치(300)의 프로세서(330) (예: 어플리케이션 프로세서)에 의해 수행되는 기능으로 이해될 수 있다. 예를 들어, 도 10에 도시된 프리뷰 제공부(1010)의 카메라 설정 확인부(1011), 프리뷰 촬영 설정 결정부(1012), 프리뷰 이미지 획득부(1013), 프리뷰 이미지 분석부(1014), 프리뷰 이미지 렌더링부(1015), 촬영부(1020)의 촬영 설정 획득부(1021), 단노출 이미지 촬영 설정 결정부(1022), 단노출 이미지 및 메타데이터 획득부(1023), 노출 보정값 결정부(1024), 장노출 이미지 생성부(1025), 움직임 센서 데이터 획득부(1026), 움직임 센서 데이터 분석부(1027), 단노출 이미지 흔들림 판단부(1028)는 적어도 하나의 명령어를 포함하는 소프트웨어 모듈로 구현될 수 있다. 프로세서(330)는 도 10에 도시된 소프트웨어 모듈들을 구현하기 위해 메모리(340)에 저장된 명령어들(예: 인스트럭션들(instructions))을 실행시킬 수 있고, 기능과 관련된 하드웨어(예: 도 3의 카메라(310), 디스플레이(320) 또는 메모리(340))를 제어할 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 도 10에 도시된 구성 요소들로 제한되지 않으며, 도 1에 도시된 구성 요소들 중 전자 장치(300)에서 요구되는 기능에 대응하는 구성 요소를 추가 포함할 수 있다.FIG. 10 is a drawing illustrating a detailed configuration of an electronic device (300) according to one embodiment. The functions or operations described with reference to FIG. 10 may be understood as functions performed by the processor (330) (e.g., application processor) of the electronic device (300) of FIG. 3. For example, the camera setting confirmation unit (1011), the preview shooting setting determination unit (1012), the preview image acquisition unit (1013), the preview image analysis unit (1014), the preview image rendering unit (1015), the shooting setting acquisition unit (1021) of the shooting unit (1020), the short exposure image shooting setting determination unit (1022), the short exposure image and metadata acquisition unit (1023), the exposure compensation value determination unit (1024), the long exposure image generation unit (1025), the motion sensor data acquisition unit (1026), the motion sensor data analysis unit (1027), and the short exposure image shake determination unit (1028) of the preview providing unit (1010) illustrated in FIG. 10 may be implemented as a software module including at least one command. The processor (330) may execute commands (e.g., instructions) stored in the memory (340) to implement the software modules illustrated in FIG. 10, and control hardware related to the function (e.g., the camera (310), the display (320), or the memory (340) of FIG. 3). According to various embodiments, the electronic device (300) is not limited to the components illustrated in FIG. 10, and may additionally include components corresponding to the functions required in the electronic device (300) among the components illustrated in FIG. 1.
도 10을 참조하면, 전자 장치(300)는 카메라(310)를 통해 획득된 프리뷰 이미지를 제공하기 위한 프리뷰 제공부(1010)와 상기 프리뷰 이미지를 제공하는 동안 입력된 촬영 명령에 대응하여 장노출 이미지를 획득하기 위한 촬영부(1020)를 포함할 수 있다.Referring to FIG. 10, the electronic device (300) may include a preview providing unit (1010) for providing a preview image acquired through a camera (310) and a shooting unit (1020) for acquiring a long exposure image in response to a shooting command input while providing the preview image.
일 실시 예에서, 프리뷰 제공부(1010)는 카메라 설정 확인부(1011), 프리뷰 촬영 설정 결정부(1012), 프리뷰 이미지 획득부(1013), 프리뷰 이미지 분석부(1014) 또는 프리뷰 이미지 렌더링부(1015)를 포함할 수 있다.In one embodiment, the preview providing unit (1010) may include a camera setting checking unit (1011), a preview shooting setting determining unit (1012), a preview image obtaining unit (1013), a preview image analyzing unit (1014), or a preview image rendering unit (1015).
일 실시 예에서, 카메라 설정 확인부(1011)는 카메라 어플리케이션이 실행되면, 카메라(310)의 설정 정보를 확인할 수 있다. 상기 설정 정보는 ISO(international standard organization) 감도, 셔터 속도(shutter speed), 노출 값(exposure value), ND(neutral density) 필터 효과 강도 중 적어도 하나를 포함할 수 있다.In one embodiment, the camera setting verification unit (1011) can verify the setting information of the camera (310) when the camera application is executed. The setting information can include at least one of ISO (international standard organization) sensitivity, shutter speed, exposure value, and ND (neutral density) filter effect strength.
일 실시 예에서, 프리뷰 촬영 설정 결정부(1021)는 상기 확인된 설정 정보를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정할 수 있다. 상기 제1 촬영 설정은 프리뷰 이미지를 제공하는 동안 카메라 시스템에 실제 적용될 수 있는 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나를 포함할 수 있다.In one embodiment, the preview shooting setting determination unit (1021) may determine a first shooting setting for providing a preview image based on the confirmed setting information. The first shooting setting may include at least one of an ISO sensitivity, a shutter speed, or an exposure value that may actually be applied to the camera system while providing the preview image.
다양한 실시 예에 따라, 카메라(310)가 자동 모드(auto mode)로 설정된 경우, 프리뷰 촬영 설정 결정부(1021)는 AE(auto exposure) 알고리즘을 이용하여 프리뷰 이미지의 획득을 위한 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 획득할 수 있다. 전자 장치(300)는 상기 프리뷰 이미지를 제공하는 동안 상기 프리뷰 이미지를 분석하고, 상기 프리뷰 이미지의 분석 결과(예: 조명 환경 또는 피사체의 타입)를 기반으로 적용 가능한 ND 필터 효과의 강도를 확인할 수 있다. 전자 장치(300)는 상기 확인된 ND 필터 효과의 강도를 기반으로 상기 적어도 하나의 항목의 설정 값을 변경하고, 상기 변경된 적어도 하나의 항목에 대한 설정 값 및 ND 필터 효과의 강도를 기반으로 프리뷰 이미지를 디스플레이 상에 렌더링하여 사용자에게 제공할 수 있다.According to various embodiments, when the camera (310) is set to the auto mode, the preview shooting setting determination unit (1021) may obtain a setting value for at least one of the ISO sensitivity, shutter speed, or exposure value for obtaining a preview image by using an AE (auto exposure) algorithm. The electronic device (300) may analyze the preview image while providing the preview image, and may confirm the intensity of an applicable ND filter effect based on the analysis result of the preview image (e.g., the lighting environment or the type of the subject). The electronic device (300) may change the setting value of the at least one item based on the confirmed intensity of the ND filter effect, and may render the preview image on the display and provide it to the user based on the changed setting value for the at least one item and the intensity of the ND filter effect.
다양한 실시 예에 따라, 카메라(310)가 수동 모드(manual mode)로 설정된 경우, 프리뷰 촬영 설정 결정부(1021)는 사용자에 의해 선택된 상기 설정 정보의 각 항목 별 설정 값을 확인하고, 상기 확인된 설정 정보의 각 항목별 설정 값에 대응하여 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정할 수 있다. 프리뷰 촬영 설정 결정부(1021)는 사용자에 의해 선택된 ND 필터 효과의 강도를 기반으로 상기 적어도 하나의 항목에 대한 설정 값을 변경하고, 상기 변경된 설정 값을 기반으로 상기 제1 촬영 설정을 결정할 수 있다.According to various embodiments, when the camera (310) is set to a manual mode, the preview shooting setting determination unit (1021) may check the setting value for each item of the setting information selected by the user, and determine the setting value for at least one item among the ISO sensitivity, shutter speed, or exposure value in response to the setting value for each item of the checked setting information. The preview shooting setting determination unit (1021) may change the setting value for the at least one item based on the intensity of the ND filter effect selected by the user, and determine the first shooting setting based on the changed setting value.
일 실시 예에서, 프리뷰 이미지 획득부(1013)는 카메라(310)를 이용하여 상기 결정된 제1 촬영 설정을 기반으로 프리뷰 이미지를 획득할 수 있다.In one embodiment, the preview image acquisition unit (1013) can acquire a preview image based on the determined first shooting settings using the camera (310).
일 실시 예에서, 프리뷰 이미지 분석부(1014)는 상기 획득된 프리뷰 이미지를 분석할 수 있다. 프리뷰 이미지 분석부(1014)는 상기 프리뷰 이미지를 제공하는 동안 가장 최근에 획득된 프리뷰 이미지를 분석할 수 있다. 상기 프리뷰 이미지의 분석 결과는 상기 프리뷰 이미지를 제공하는 동안 분석된 조명 환경(예: 주간 또는 야간, 실내 또는 실외) 또는 피사체의 타입(예: 물(폭포, 바다, 분수), 자동차 궤적, 야간 플래시 또는 그 외 일반 장면) 중 적어도 하나를 포함할 수 있다. 프리뷰 이미지 분석부(1014)는 상기 프리뷰 이미지를 제공하는 동안 지속적으로 상기 프리뷰 이미지의 분석을 수행할 수 있다. 다양한 실시 예에 따라, 상기 제1 촬영 설정은 상기 프리뷰 이미지가 제공되는 동안 상기 프리뷰 이미지의 분석 결과를 기반으로 지속적으로 변경/업데이트될 수 있다.In one embodiment, the preview image analysis unit (1014) can analyze the acquired preview image. The preview image analysis unit (1014) can analyze the most recently acquired preview image while providing the preview image. The analysis result of the preview image can include at least one of a lighting environment (e.g., day or night, indoor or outdoor) or a type of a subject (e.g., water (waterfall, sea, fountain), car trail, night flash, or other general scene) analyzed while providing the preview image. The preview image analysis unit (1014) can continuously analyze the preview image while providing the preview image. According to various embodiments, the first shooting setting can be continuously changed/updated based on the analysis result of the preview image while providing the preview image.
일 실시 예에서, 프리뷰 이미지 렌더링부(1015)는 상기 제1 촬영 설정을 기반으로 획득된 프리뷰 이미지를 디스플레이(320) 상에 렌더링하여 제공할 수 있다.In one embodiment, the preview image rendering unit (1015) may render and provide a preview image acquired based on the first shooting settings on the display (320).
일 실시 예에서, 전자 장치(300)는 상기 프리뷰 이미지를 제공하는 중 사용자의 촬영 명령(예: 셔터 버튼 입력)이 입력됨을 확인하면, 프리뷰 제공부(1010)에 의한 상기 프리뷰 이미지의 업데이트 동작을 중단하고, 이미지 획득을 위해 상기 촬영 명령을 촬영부(1020)로 전달할 수 있다.In one embodiment, when the electronic device (300) determines that a user's shooting command (e.g., shutter button input) is input while providing the preview image, the electronic device (300) may stop the update operation of the preview image by the preview providing unit (1010) and transmit the shooting command to the shooting unit (1020) for image acquisition.
일 실시 예에서, 촬영부(1020)는 촬영 설정 획득부(1021), 단노출 이미지 촬영 설정 결정부(1022), 단노출 이미지 및 메타데이터 획득부(1023), 노출 보정값 결정부(1024), 장노출 이미지 생성부(1025), 움직임 센서 데이터 획득부(1026), 움직임 센서 데이터 분석부(1027) 또는 단노출 이미지 흔들림 판단부(1028)를 포함할 수 있다.In one embodiment, the shooting unit (1020) may include a shooting setting acquisition unit (1021), a short exposure image shooting setting determination unit (1022), a short exposure image and metadata acquisition unit (1023), an exposure compensation value determination unit (1024), a long exposure image generation unit (1025), a motion sensor data acquisition unit (1026), a motion sensor data analysis unit (1027), or a short exposure image shake determination unit (1028).
일 실시 예에서, 촬영 설정 획득부(1021)는 상기 촬영 명령이 입력되면, 프리뷰 제공부(1010)로부터 상기 프리뷰 이미지를 제공하는 동안 결정/업데이트된 촬영 설정을 획득할 수 있다. 촬영 설정 획득부(1021)는 단노출 영상 획득을 위한 제2 촬영 설정을 결정하는 데 필요한 카메라(310)의 하드웨어 사양과 카메라(310)의 촬영 정책을 확인할 수도 있다. 상기 하드웨어 사양은 카메라(310)에서 촬영 설정으로서 선택 가능한 범위 (예: ISO 감도의 설정 범위, 셔터 속도의 설정 범위 또는 노출 값의 설정 범위), 카메라(310)의 최대 프레임 레이트(maximum frame rate)를 포함할 수 있다. 상기 촬영 정책은 상기 단노출 영상 획득을 위한 제2 촬영 설정을 결정하는 과정에서 상기 프리뷰 이미지를 제공하는 동안 결정/업데이트된 촬영 설정으로부터 어느 항목의 설정 값이 유지되어야 하는지 또는 어느 항목의 설정 값이 변경될 수 있는지를 정의한 것으로 이해될 수 있다.In one embodiment, the shooting setting acquisition unit (1021) may acquire the shooting setting determined/updated while providing the preview image from the preview providing unit (1010) when the shooting command is input. The shooting setting acquisition unit (1021) may also check the hardware specifications of the camera (310) and the shooting policy of the camera (310) required to determine the second shooting setting for obtaining a single exposure image. The hardware specifications may include a range selectable as the shooting setting in the camera (310) (e.g., a setting range of ISO sensitivity, a setting range of shutter speed, or a setting range of exposure value) and a maximum frame rate of the camera (310). The shooting policy may be understood as defining which setting value of an item should be maintained or which setting value of an item can be changed from the shooting setting determined/updated while providing the preview image in the process of determining the second shooting setting for obtaining the single exposure image.
일 실시 예에서, 단노출 이미지 촬영 설정 결정부(1022)는 상기 촬영 설정을 기반으로 단노출 영상 획득을 위한 제2 촬영 설정을 결정할 수 있다. 다양한 실시 예에 따라, 단노출 이미지 촬영 설정 결정부(1022)는 상기 촬영 설정의 셔터 속도에 대응하는 장노출(long exposure) 이미지를 획득할 수 있는 복수 개의 단노출 촬영 설정 후보를 결정하고, 상기 복수 개의 단노출 촬영 설정 후보 중에서 선택된 단노출 촬영 설정 후보를 상기 제2 촬영 설정으로 결정할 수 있다. 이 경우, 단노출 이미지 촬영 설정 결정부(1022)는 상기 복수 개의 단노출 촬영 설정 후보 중에서 카메라(310)의 하드웨어 사양과 카메라(310)의 촬영 정책을 충족하는 단노출 촬영 설정 후보를 상기 촬영 설정으로 선택할 수 있다.In one embodiment, the short exposure image capture setting determination unit (1022) may determine a second capture setting for capturing a short exposure image based on the capture setting. According to various embodiments, the short exposure image capture setting determination unit (1022) may determine a plurality of short exposure capture setting candidates capable of capturing a long exposure image corresponding to a shutter speed of the capture setting, and may determine a short exposure capture setting candidate selected from the plurality of short exposure capture setting candidates as the second capture setting. In this case, the short exposure image capture setting determination unit (1022) may select a short exposure capture setting candidate that satisfies the hardware specifications of the camera (310) and the capture policy of the camera (310) from the plurality of short exposure capture setting candidates as the capture setting.
또한 단노출 이미지 촬영 설정 결정부(1022)는 상기 제2 촬영 설정을, 상기 제2 촬영 설정의 셔터 속도와 상기 제한 셔터 속도의 비교 결과에 따라 변경할 수 있다. 단노출 이미지 촬영 설정 결정부(1022)는 제2 촬영 설정에 따른 셔터 속도의 설정 값을 기준 셔터 속도로 정의하고, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 동일한 값을 갖도록 변경할 수 있다. 예를 들어, 전자 장치(300)는 상기 제2 촬영 설정의 셔터 속도, 상기 제한 셔터 속도 또는 상기 ND 필터 효과의 강도에 기반한 함수를 이용하여 상기 제2 촬영 설정의 셔터 속도를 재계산하여 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 업데이트할 수 있다. 그리고, 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 단노출 이미지 촬영 설정 결정부(1022)는 상기 제2 촬영 설정을 유지할 수 있다.In addition, the short exposure image shooting setting determining unit (1022) can change the second shooting setting according to the comparison result of the shutter speed of the second shooting setting and the limited shutter speed. The short exposure image shooting setting determining unit (1022) can define the setting value of the shutter speed according to the second shooting setting as the reference shutter speed, and if the shutter speed of the second shooting setting is greater than or equal to the limited shutter speed, can change the shutter speed of the second shooting setting to have a value greater than or equal to the limited shutter speed. For example, the electronic device (300) can recalculate the shutter speed of the second shooting setting using a function based on the shutter speed of the second shooting setting, the limited shutter speed, or the intensity of the ND filter effect, and update the setting value of the shutter speed according to the second shooting setting. In addition, if the shutter speed of the second shooting setting is less than the limited shutter speed, the short exposure image shooting setting determining unit (1022) can maintain the second shooting setting.
또한, 단노출 이미지 촬영 설정 결정부(1022)는 상기 촬영 설정의 셔터 속도, 상기 제2 촬영 설정에 따른 셔터 속도, 또는 카메라(310)의 최대 프레임 레이트를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 단노출 이미지 촬영 설정 결정(1022)는 상기 제2 촬영 설정의 셔터 속도가 제한 셔터 속도를 비교하고, 상기 비교 결과를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정할 수 있다. 예를 들어, 단노출 이미지 촬영 설정 결정부(1022)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 크거나 같으면, 상기 촬영 설정의 셔터 속도를 상기 제2 촬영 설정의 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다. 상기 제한 셔터 속도는 상기 카메라(310)의 최대 프레임 레이트(즉, 1초당 획득할 수 있는 이미지의 수)를 기반으로 결정될 수 있다. 다른 예를 들어, 단노출 이미지 촬영 설정 결정부(1022)는 상기 제2 촬영 설정의 셔터 속도가 상기 제한 셔터 속도보다 작으면, 상기 촬영 설정의 셔터 속도를 상기 제한 셔터 속도로 나눗셈 연산하여 구한 몫을 상기 단노출 이미지의 촬영 횟수로 결정할 수 있다.In addition, the short exposure image shooting setting determination unit (1022) can determine the number of shots of the short exposure image based on the shutter speed of the shooting setting, the shutter speed according to the second shooting setting, or the maximum frame rate of the camera (310). The short exposure image shooting setting determination unit (1022) can compare the shutter speed of the second shooting setting with the limited shutter speed, and determine the number of shots of the short exposure image based on the comparison result. For example, if the shutter speed of the second shooting setting is greater than or equal to the limited shutter speed, the short exposure image shooting setting determination unit (1022) can divide the shutter speed of the shooting setting by the shutter speed of the second shooting setting and determine the quotient as the number of shots of the short exposure image. The limited shutter speed can be determined based on the maximum frame rate (i.e., the number of images that can be acquired per second) of the camera (310). As another example, if the shutter speed of the second shooting setting is smaller than the limited shutter speed, the single exposure image shooting setting determining unit (1022) may determine the quotient obtained by dividing the shutter speed of the shooting setting by the limited shutter speed as the number of shots of the single exposure image.
일 실시 예에서, 단노출 이미지 및 메타데이터 획득부(1023)는 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지와 상기 복수 개의 단노출 이미지 각각에 대한 메타데이터(예: 촬영 시간, 이미지 포맷)를 획득할 수 있다. 단노출 이미지 및 메타데이터 획득부(1023)는 지정된 시간 구간동안 상기 제2 촬영 설정을 기반으로 상기 단노출 이미지의 촬영 횟수에 대응하는 복수 개의 단노출 이미지를 획득할 수 있다. 상기 지정된 시간 구간은 상기 확인된 촬영 설정의 셔터 속도에 대응하여 결정될 수 있다. 다양한 실시 예에 따라, 단노출 이미지 및 메타데이터 획득부(1023)는 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도와 상기 단노출 이미지들이 획득되는 시간 간격을 가변할 수 있다. 예를 들어, 단노출 이미지 및 메타데이터 획득부 (1023)는 상기 지정된 시간 구간동안 획득되는 단노출 이미지들 중 홀수 번째 이미지와 짝수 번째 이미지의 셔터 속도를 상이하게 설정하거나, 또는 홀수 번째 이미지와 짝수 번째 이미지가 획득되는 시간 간격이 상이해지도록 설정할 수 있다. 다른 예를 들어, 단노출 이미지 및 메타데이터 획득부(1023)는 촬영 시점의 조명 환경이 지정된 밝기 이하인 어두운 상황인 경우, 상기 지정된 시간 구간동안 획득되는 단노출 이미지들의 셔터 속도를 동일하게 설정하거나, 및/또는 동일한 시간 간격으로 상기 단노출 이미지들을 획득하도록 설정할 수 있다.In one embodiment, the short exposure image and metadata acquisition unit (1023) may acquire a plurality of short exposure images and metadata (e.g., shooting time, image format) for each of the plurality of short exposure images based on the second shooting settings. The short exposure image and metadata acquisition unit (1023) may acquire a plurality of short exposure images corresponding to the number of times the short exposure images are shot based on the second shooting settings during a specified time period. The specified time period may be determined in response to a shutter speed of the confirmed shooting settings. According to various embodiments, the short exposure image and metadata acquisition unit (1023) may vary the shutter speed of the short exposure images acquired during the specified time period and the time interval at which the short exposure images are acquired. For example, the short exposure image and metadata acquisition unit (1023) may set the shutter speeds of odd-numbered images and even-numbered images among the short exposure images acquired during the specified time period to be different, or may set the time intervals at which the odd-numbered images and even-numbered images are acquired to be different. As another example, the short exposure image and metadata acquisition unit (1023) may set the shutter speeds of the short exposure images acquired during the specified time period to be the same, and/or may set the short exposure images to be acquired at the same time interval, when the lighting environment at the time of shooting is dark with a specified brightness or lower.
일 실시 예에서, 노출 보정값 결정부(1024)는 장노출 이미지를 생성하는 과정에서 밝기 보정이 필요한지 여부를 판단하고, 밝기 보정을 위한 노출 보정 값을 결정할 수 있다. 예를 들어, 노출 보정값 결정부(1024)는 상기 단노출 이미지들의 노출 값이 사용자가 획득하고자 하는 장노출 이미지의 노출 값보다 낮게 설정되었다고 판단된 경우, 상기 제2 촬영 설정의 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정할 수 있다.In one embodiment, the exposure compensation value determining unit (1024) may determine whether brightness compensation is necessary in the process of generating a long exposure image, and may determine an exposure compensation value for brightness compensation. For example, if the exposure compensation value determining unit (1024) determines that the exposure values of the short exposure images are set lower than the exposure value of the long exposure image that the user wants to acquire, the exposure compensation value for the long exposure image may be determined based on the exposure value of the second shooting setting.
일 실시 예에서, 장노출 이미지 생성부(1025)는 상기 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출 이미지를 획득할 수 있다.In one embodiment, the long exposure image generation unit (1025) can synthesize at least some of the plurality of short exposure images to obtain a long exposure image corresponding to the specified time interval.
일 실시 예에서, 움직임 센서 데이터 획득부(1026)는 상기 장노출 이미지의 생성에 이용된 복수 개의 단노출 이미지가 안정된 상황에서 획득되었는지 판단하기 위해 하나 이상의 센서(예: 도 1의 센서 모듈(176))로부터 상기 복수 개의 단노출 이미지가 촬영된 시점에 검출된 전자 장치(300)의 움직임에 관한 센서 데이터를 획득할 수 있다. 상기 하나 이상의 센서는 자이로 센서, 가속도 센서 또는 그 외 전자 장치(300)의 움직임 검출이 가능한 다양한 타입의 센서들을 포함할 수 있다. 움직임 센서 데이터 획득부(1026)는 상기 복수 개의 단노출 이미지 각각에 대한 메타데이터를 기반으로 각 단노출 이미지가 촬영된 시점에 대응하는 센서 데이터를 획득할 수 있다.In one embodiment, the motion sensor data acquisition unit (1026) may acquire sensor data regarding movement of the electronic device (300) detected at the time when the multiple short exposure images were captured from one or more sensors (e.g., the sensor module (176) of FIG. 1) to determine whether the multiple short exposure images used to generate the long exposure image were acquired in a stable situation. The one or more sensors may include a gyro sensor, an acceleration sensor, or various types of sensors capable of detecting movement of the electronic device (300). The motion sensor data acquisition unit (1026) may acquire sensor data corresponding to the time when each short exposure image was captured based on metadata for each of the multiple short exposure images.
일 실시 예에서, 움직임 센서 데이터 분석부(1027)는 상기 획득된 전자 장치(300)의 움직임에 관한 센서 데이터를 분석하여 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였는지 여부를 확인할 수 있다.In one embodiment, the motion sensor data analysis unit (1027) can analyze the acquired sensor data regarding the movement of the electronic device (300) to determine whether movement of the electronic device (300) occurred while acquiring the plurality of single exposure images.
일 실시 예에서, 단노출 이미지 흔들림 판단부(1028)는 상기 복수 개의 단노출 이미지를 획득하는 동안 전자 장치(300)의 움직임이 발생하였다고 분석된 경우, 상기 복수 개의 단노출 이미지 중 상기 장노출 이미지 생성에 이용되는 적어도 일부를 정합하고, 상기 정합된 단노출 이미지에 대한 움직임 보정을 수행할 수 있다.In one embodiment, if the short exposure image shake determination unit (1028) analyzes that movement of the electronic device (300) has occurred while acquiring the plurality of short exposure images, it may align at least some of the short exposure images used to generate the long exposure image, and perform motion compensation on the aligned short exposure images.
도 11a 및 도 11b는 일 실시 예에 따라, 단노출 이미지 획득을 위한 촬영 설정의 동적 변경에 기반하여 장노출 이미지에 표현되는 ND 필터 효과를 설명하는 도면이다. 다양한 실시 예에 따라, 전자 장치(300)는 빛이 없는 촬영 환경에서 위에서 아래로 움직이는 강한 점 광원을 촬영한 이미지를 획득하기 위해 상기 점 광원을 포함하는 복수 개의 단노출 이미지를 합성할 수 있다.FIGS. 11A and 11B are diagrams illustrating an ND filter effect expressed in a long exposure image based on a dynamic change in shooting settings for acquiring a short exposure image, according to one embodiment. According to various embodiments, the electronic device (300) can synthesize a plurality of short exposure images including the point light source to acquire an image by capturing a strong point light source moving from top to bottom in a shooting environment without light.
일 실시 예에서, 전자 장치(300)는 사용자의 입력 또는 AE 알고리즘을 기반으로 설정된 노출 시간 동안 복수 개의 단노출 이미지를 획득할 수 있다. 상기 복수 개의 단노출 이미지는 상기 노출 시간 동안 상이한 시점에 상기 점 광원을 촬영한 이미지일 수 있다. 다양한 실시 예에 따라, 전자 장치(300)는 ND 필터 효과를 적용하지 않은 상태에서 상기 점 광원을 촬영할 경우, 도 11a와 같이 상기 점 광원과 그 주변 영역이 넓게 포화된 형태의 단노출 이미지들(1101, 1102, 1103)을 획득할 수 있다. 전자 장치(300)는 상기 획득된 단노출 이미지들(1101, 1102, 1103)을 합성하면, 상기 점 광원의 움직임 경로에 따라 포화 영역이 중첩되어 표현된 장노출 이미지(1110)를 획득할 수 있다. 이때, 장노출 이미지(1110)는 실제 광원의 움직임보다 넓은 면적의 포화 영역이 표현된 형태의 이미지일 수 있다.In one embodiment, the electronic device (300) may acquire a plurality of short exposure images during an exposure time set based on a user's input or an AE algorithm. The plurality of short exposure images may be images captured at different points in time during the exposure time. According to various embodiments, when the electronic device (300) captures the point light source without applying an ND filter effect, the electronic device (300) may acquire short exposure images (1101, 1102, 1103) in which the point light source and its surrounding area are widely saturated, as shown in FIG. 11A. When the electronic device (300) synthesizes the acquired short exposure images (1101, 1102, 1103), the electronic device (300) may acquire a long exposure image (1110) in which a saturated area is expressed by overlapping according to a movement path of the point light source. In this case, the long exposure image (1110) may be an image in which a saturated area of a larger area than the actual movement of the light source is expressed.
일 실시 예에서, 전자 장치(300)는 ND 필터 효과를 고려하여 촬영 설정(예: ISO 감도, 셔터 속도 또는 노출 값)을 동적으로 변경하고, 변경된 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득할 수 있다. 예를 들어, 'ISO 감도 100, 셔터 속도 1/4, ND 필터 효과 강도 2'로 설정된 경우, 전자 장치(300)는 단노출 이미지 촬영 설정 결정부(1022)를 통해 제2 촬영 설정을 'ISO 감도 100, 셔터 속도 1/30초'로 결정할 수 있고, 노출 보정값 결정부(1024)는 상기 촬영 설정과 상기 제2 촬영 설정 값을 기반으로 상기 제2 촬영 설정이 2EV 낮은 밝기로 촬영된 것을 계산할 수 있다. 전자 장치(300)는 ND 필터 효과를 고려하여 변경된 제2 촬영 설정을 기반으로 상기 점 광원을 촬영할 경우, 도 11b와 같이 상기 점 광원에 의한 포화 영역이 감소된 형태의 단노출 이미지들(1121, 1122, 1123)을 획득할 수 있다. 전자 장치(300)는 상기 획득된 단노출 이미지들(1121, 1122, 1123)을 합성하면, 상기 점 광원의 움직임 경로에 따라 포화 영역이 중첩되어 표현된 장노출 이미지(1130)를 획득할 수 있다. 이때, 장노출 이미지(1130)에 포함된 광원의 포화 영역은 실제 광원의 움직임 면적과 유사하게 표현될 수 있다.In one embodiment, the electronic device (300) can dynamically change the shooting settings (e.g., ISO sensitivity, shutter speed, or exposure value) considering the ND filter effect, and acquire a plurality of short exposure images based on the changed shooting settings. For example, when 'ISO sensitivity 100, shutter speed 1/4, ND filter effect strength 2' is set, the electronic device (300) can determine the second shooting settings as 'ISO sensitivity 100, shutter speed 1/30 second' through the short exposure image shooting setting determination unit (1022), and the exposure compensation value determination unit (1024) can calculate that the second shooting settings are shot at a brightness 2EV lower based on the shooting settings and the second shooting setting values. When the electronic device (300) photographs the point light source based on the second shooting settings changed in consideration of the ND filter effect, the electronic device (300) can obtain short exposure images (1121, 1122, 1123) in which the saturation area due to the point light source is reduced, as shown in FIG. 11b. When the electronic device (300) synthesizes the obtained short exposure images (1121, 1122, 1123), the electronic device (300) can obtain a long exposure image (1130) in which the saturation area is expressed by overlapping along the movement path of the point light source. At this time, the saturation area of the light source included in the long exposure image (1130) can be expressed similarly to the movement area of the actual light source.
도 12a 및 도 12b는 일 실시 예에 따라, 카메라 어플리케이션의 실행 화면을 통해 ND 필터 효과를 설정하는 방식을 설명하는 도면이다. 다양한 실시 예에 따라, 전자 장치(300)는 카메라 어플리케이션이 실행된 동안 상기 카메라 어플리케이션의 실행 화면을 통해 ND 필터 효과를 설정/변경할 수 있다.FIGS. 12A and 12B are diagrams illustrating a method of setting an ND filter effect through an execution screen of a camera application according to one embodiment. According to various embodiments, the electronic device (300) can set/change an ND filter effect through an execution screen of the camera application while the camera application is running.
도 12a를 참조하면, 전자 장치(300)는 카메라 어플리케이션의 실행 화면(1210)을 통해, 사용자가 직접 카메라(310)의 설정(예: ISO 감도, 셔터 속도, 노출 값, ND 필터 효과 등)을 입력/변경할 수 있는 사용자 인터페이스를 제공할 수 있다. 전자 장치(300)는 실행 화면(1210)의 ND 필터 효과 설정 메뉴(1211)에 대한 사용자 입력을 감지하면, 실행 화면(1220) 하단에 상기 ND 필터 효과의 강도(strength)를 설정/조절할 수 있는 인터페이스(1221)를 표시할 수 있다. 전자 장치(300)는 실행 화면(1220)의 인터페이스(1221)를 통해 ND 필터 효과의 강도를 2로 설정하는 사용자의 입력을 확인하면, 실행 화면(1220)의 상단에 ND 필터 효과가 강도 2로 설정됨을 표시할 수 있다. 전자 장치(300)는 실행 화면(1230)의 인터페이스(1231)를 통해 ND 필터 효과의 강도를 128로 변경하는 사용자의 입력을 확인하면, 실행 화면(1230)의 상단에 ND 필터 효과가 강도 128로 변경됨을 표시할 수 있다Referring to FIG. 12A, the electronic device (300) may provide a user interface through which a user can directly input/change settings (e.g., ISO sensitivity, shutter speed, exposure value, ND filter effect, etc.) of a camera (310) through an execution screen (1210) of a camera application. When the electronic device (300) detects a user input for an ND filter effect setting menu (1211) of the execution screen (1210), the electronic device (300) may display an interface (1221) for setting/adjusting the strength of the ND filter effect at the bottom of the execution screen (1220). When the electronic device (300) confirms a user input for setting the strength of the ND filter effect to 2 through the interface (1221) of the execution screen (1220), the electronic device (300) may display that the ND filter effect is set to strength 2 at the top of the execution screen (1220). When the electronic device (300) confirms a user's input to change the intensity of the ND filter effect to 128 through the interface (1231) of the execution screen (1230), it can display that the ND filter effect has been changed to intensity 128 at the top of the execution screen (1230).
도 12b를 참조하면, 전자 장치(300)는 카메라(310)가 자동 모드로 설정된 경우, ISO 감도, 셔터 속도, 노출 값 또는 ND 필터 효과 중 적어도 하나의 항목의 설정 값이 변경될 수 있다. 예를 들어, 전자 장치(300)는 실행 화면(1240)의 인터페이스(1241)를 통해 자동모드 설정을 확인하면, 실행 화면(1250)을 통해서 설정(또는 변경)된 ISO 감도(1252), 셔터 속도(1253), 노출 값(1254), ND 필터 효과 강도(1251)를 표시할 수 있다.Referring to FIG. 12b, when the camera (310) is set to the automatic mode, the electronic device (300) may change the setting value of at least one of the ISO sensitivity, shutter speed, exposure value, or ND filter effect. For example, when the electronic device (300) confirms the automatic mode setting through the interface (1241) of the execution screen (1240), the electronic device (300) may display the set (or changed) ISO sensitivity (1252), shutter speed (1253), exposure value (1254), and ND filter effect strength (1251) through the execution screen (1250).
일 실시 예에 따른 전자 장치(예: 전자 장치(300))는, 카메라(310), 디스플레이(320), 프로세서(330), 및 인스트럭션들을 저장하는 메모리(340)를 포함하고, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 카메라(310)의 설정 정보를 확인하고, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength) 중 적어도 하나를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하고, 상기 디스플레이(320) 상에 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하고, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하고, 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하도록 할 수 있다.An electronic device (e.g., electronic device (300)) according to an embodiment includes a camera (310), a display (320), a processor (330), and a memory (340) storing instructions, wherein the instructions, when executed by the processor (330), cause the electronic device (300) to: check setting information of the camera (310), determine a first shooting setting for providing a preview image based on at least one of the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect; and, while providing a preview image on the display (320) based on the first shooting setting, determine a second shooting setting for obtaining a short exposure image and a number of times to capture a short exposure image; obtain a plurality of short exposure images based on the second shooting setting during a specified time interval; and synthesize at least some of the obtained plurality of short exposure images to generate a composite image corresponding to the specified time interval. It is possible to obtain long exposure images.
일 실시 예에서, 상기 카메라(310)의 설정 정보는, ISO(international standard organization) 감도, 셔터 속도(shutter speed), 노출 값(exposure value) 또는 ND 필터 효과 강도 중 적어도 하나를 포함할 수 있다.In one embodiment, the setting information of the camera (310) may include at least one of ISO (international standard organization) sensitivity, shutter speed, exposure value, or ND filter effect strength.
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 설정 정보가 자동 모드(auto mode)로 설정됨을 확인하면, 조명 환경 또는 피사체의 타입 중 적어도 하나를 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정하고, 상기 결정된 설정 값을 기반으로 상기 프리뷰 이미지를 제공하는 동안 적용 가능한 ND 필터 효과의 강도(strength)를 확인하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine a setting value for at least one of an ISO sensitivity, a shutter speed, or an exposure value based on at least one of a lighting environment or a type of a subject, if it is determined that the setting information is set to an auto mode, and to determine a strength of an applicable ND filter effect while providing the preview image based on the determined setting value.
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 이미지 프레임 분석 결과에 대한 AE(auto exposure) 알고리즘을 기반으로 상기 제1 촬영 설정을 결정하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine the first shooting setting based on an AE (auto exposure) algorithm for the image frame analysis results.
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 적어도 하나의 항목에 대한 설정 값 및 상기 ND 필터 효과의 강도를 기반으로 복수 개의 제1 촬영 설정 후보를 결정하고, 상기 복수 개의 제1 촬영 설정 후보 중 상기 프리뷰 이미지의 분석 결과 및 지정된 조건을 기반으로 선택된 제1 촬영 설정 후보를 상기 제1 촬영 설정으로 결정하도록 설할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine a plurality of first shooting setting candidates based on a setting value for the at least one item and a strength of the ND filter effect, and to determine a first shooting setting candidate selected from among the plurality of first shooting setting candidates based on an analysis result of the preview image and a specified condition as the first shooting setting.
일 실시 예에서, 상기 인스트럭션들은, 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 설정 정보가 수동 모드(manual mode)로 설정됨을 확인하면, 사용자에 의해 선택된 상기 설정 정보의 각 항목 별 설정 값을 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정하고, 상기 사용자에 의해 선택된 ND 필터 효과의 강도(strength)를 기반으로 상기 적어도 하나의 항목에 대한 설정 값을 변경하고, 상기 변경된 설정 값을 기반으로 상기 제1 촬영 설정을 결정하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine a setting value for at least one item among ISO sensitivity, shutter speed, or exposure value based on a setting value for each item of the setting information selected by the user, if it is determined that the setting information is set to a manual mode, change the setting value for the at least one item based on a strength of an ND filter effect selected by the user, and determine the first shooting setting based on the changed setting value.
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 확인된 설정 정보를 기반으로 상기 단노출 이미지 획득을 위한 제2 촬영 설정을 결정하고, 상기 설정 정보에 따른 셔터 속도, 상기 제2 촬영 설정에 따른 셔터 속도, 또는 상기 카메라(310)의 최대 프레임 레이트(maximum frame rate)를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine a second shooting setting for obtaining the single exposure image based on the verified setting information, and to determine the number of times to capture the single exposure image based on a shutter speed according to the setting information, a shutter speed according to the second shooting setting, or a maximum frame rate of the camera (310).
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값이 상기 카메라(310)의 최대 프레임 레이트를 기반으로 결정된 제한 셔터 속도 이상인지 여부를 판단하고, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값이 상기 제한 셔터 속도 이상이면, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 기준 셔터 속도로 결정하고, 상기 제2 촬영 설정에 따른 셔터 속도, 상기 제한 셔터 속도 또는 상기 ND 필터 효과의 강도를 기반으로 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 변경하도록 할 수 있다. 일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 제2 촬영 설정이 변경되는 경우, 상기 단노출 이미지의 촬영 횟수를 다시 결정하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to determine whether a setting value of a shutter speed according to the second shooting settings is greater than or equal to a limit shutter speed determined based on a maximum frame rate of the camera (310), and if the setting value of the shutter speed according to the second shooting settings is greater than or equal to the limit shutter speed, determine the setting value of the shutter speed according to the second shooting settings as a reference shutter speed, and change the setting value of the shutter speed according to the second shooting settings based on the shutter speed according to the second shooting settings, the limit shutter speed, or the intensity of the ND filter effect. In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to re-determine a number of shots of the short exposure image when the second shooting settings are changed.
일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 변경된 제2 촬영 설정에 따른 셔터 속도의 설정 값과 상기 기준 셔터 속도 사이의 차이를 기반으로 상기 제2 촬영 설정에 따른 노출 값을 계산하고, 상기 결정된 제2 촬영 설정에 따른 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정하도록 할 수 있다.In one embodiment, the instructions, when executed by the processor (330), may cause the electronic device (300) to calculate an exposure value according to the second shooting settings based on a difference between a set value of a shutter speed according to the changed second shooting settings and the reference shutter speed, and to determine an exposure compensation value for the long exposure image based on the determined exposure value according to the second shooting settings.
일 실시 예에서, 전자 장치(300)는 상기 전자 장치의 움직임을 검출하는 하나 이상의 센서를 더 포함할 수 있다. 상기 인스트럭션들은, 상기 프로세서(330)에 의해 실행될 시, 상기 전자 장치(300)가, 상기 하나 이상의 센서를 이용하여 상기 복수 개의 단노출 이미지를 획득하는 동안 상기 전자 장치의 움직임이 발생하였는지 여부를 판단하고, 상기 전자 장치의 움직임이 발생한 것으로 판단되면, 상기 복수 개의 단노출 이미지의 적어도 일부를 정합하고, 상기 정합된 단노출 이미지에 대한 움직임 보정을 수행한 후 상기 장노출 이미지를 생성하도록 할 수 있다.In one embodiment, the electronic device (300) may further include one or more sensors that detect movement of the electronic device. The instructions, when executed by the processor (330), may cause the electronic device (300) to determine whether movement of the electronic device has occurred while acquiring the plurality of short exposure images using the one or more sensors, and, if it is determined that movement of the electronic device has occurred, to align at least a portion of the plurality of short exposure images, perform motion compensation on the aligned short exposure images, and then generate the long exposure image.
일 실시 예에 따른 방법은, 전자 장치(300)에 포함된 카메라(310)의 설정 정보를 확인하는 동작, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength) 중 적어도 하나를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하는 동작, 상기 전자 장치(300)의 디스플레이(320)를 통해 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하는 동작, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하는 동작, 및 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하는 동작을 포함할 수 있다.According to an embodiment of the present invention, a method may include: an operation of checking setting information of a camera (310) included in an electronic device (300); an operation of determining a first shooting setting for providing a preview image based on at least one of the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect; an operation of determining a second shooting setting for obtaining a short exposure image and a number of times to capture the short exposure image when a shooting command is confirmed while providing the preview image based on the first shooting setting through a display (320) of the electronic device (300); an operation of obtaining a plurality of short exposure images based on the second shooting setting during a specified time period; and an operation of synthesizing at least some of the obtained plurality of short exposure images to obtain a long exposure image corresponding to the specified time period.
일 실시 예에서, 상기 카메라(310)의 설정 정보는, ISO(international standard organization) 감도, 셔터 속도(shutter speed), 노출 값(exposure value) 또는 ND 필터 효과 강도 중 적어도 하나를 포함할 수 있다.In one embodiment, the setting information of the camera (310) may include at least one of ISO (international standard organization) sensitivity, shutter speed, exposure value, or ND filter effect strength.
일 실시 예에서, 상기 제1 촬영 설정을 결정하는 동작은, 상기 설정 정보가 자동 모드(auto mode)로 설정됨을 확인하면, 조명 환경 또는 피사체의 타입 중 적어도 하나를 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값과 ND 필터 효과의 강도를 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first shooting setting may include an operation of determining a setting value for at least one of an ISO sensitivity, a shutter speed, or an exposure value and the strength of an ND filter effect based on at least one of a lighting environment or a type of a subject, if it is confirmed that the setting information is set to an auto mode.
일 실시 예에서, 상기 제1 촬영 설정을 결정하는 동작은, 이미지 프레임 분석 결과에 대한 AE(auto exposure) 알고리즘을 기반으로 상기 제1 촬영 설정을 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first shooting setting may include an operation of determining the first shooting setting based on an AE (auto exposure) algorithm for an image frame analysis result.
일 실시 예에서, 상기 제1 촬영 설정을 결정하는 동작은, 상기 프리뷰 이미지의 분석 결과를 기반으로 적용 가능한 ND 필터 효과의 강도를 확인하고, 상기 확인된 ND 필터 효과의 강도를 기반으로 상기 적어도 하나의 항목의 설정 값을 업데이트하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first shooting setting may include an operation of checking the strength of an applicable ND filter effect based on an analysis result of the preview image, and updating a setting value of the at least one item based on the checked strength of the ND filter effect.
일 실시 예에서, 상기 제1 촬영 설정을 결정하는 동작은, 상기 적어도 하나의 항목에 대한 설정 값 및 적용 가능한 ND 필터 효과의 강도를 기반으로 복수 개의 제1 촬영 설정 후보를 결정하는 동작, 및 상기 복수 개의 제1 촬영 설정 후보 중 상기 프리뷰 이미지의 분석 결과 및 지정된 조건을 기반으로 선택된 제1 촬영 설정 후보를 상기 제1 촬영 설정으로 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first shooting setting may include an operation of determining a plurality of first shooting setting candidates based on a setting value for the at least one item and a strength of an applicable ND filter effect, and an operation of determining a first shooting setting candidate selected from among the plurality of first shooting setting candidates based on an analysis result of the preview image and a specified condition as the first shooting setting.
일 실시 예에서, 상기 제1 촬영 설정을 결정하는 동작은, 상기 설정 정보가 수동 모드(manual mode)로 설정됨을 확인하면, 사용자에 의해 선택된 상기 설정 정보의 각 항목 별 설정 값을 기반으로 ISO 감도, 셔터 속도 또는 노출 값 중 적어도 하나의 항목에 대한 설정 값을 결정하는 동작, 상기 사용자에 의해 선택된 ND 필터 효과의 강도(strength)를 기반으로 상기 적어도 하나의 항목에 대한 설정 값을 변경하는 동작, 및 상기 변경된 설정 값을 기반으로 상기 제1 촬영 설정을 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first shooting setting may include: an operation of determining a setting value for at least one item among ISO sensitivity, shutter speed, or exposure value based on a setting value for each item of the setting information selected by the user, if it is confirmed that the setting information is set to a manual mode; an operation of changing the setting value for the at least one item based on a strength of an ND filter effect selected by the user; and an operation of determining the first shooting setting based on the changed setting value.
일 실시 예에서, 상기 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하는 동작은, 상기 확인된 설정 정보를 기반으로 상기 단노출 이미지 획득을 위한 제2 촬영 설정을 결정하는 동작, 및 상기 촬영 설정에 따른 셔터 속도, 상기 제2 촬영 설정에 따른 셔터 속도, 또는 상기 카메라(310)의 최대 프레임 레이트(maximum frame rate)를 기반으로 상기 단노출 이미지의 촬영 횟수를 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the second shooting setting and the number of shots of the short exposure image may include an operation of determining the second shooting setting for obtaining the short exposure image based on the verified setting information, and an operation of determining the number of shots of the short exposure image based on a shutter speed according to the shooting setting, a shutter speed according to the second shooting setting, or a maximum frame rate of the camera (310).
일 실시 예에서, 상기 제2 촬영 설정을 결정하는 동작은, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값이 상기 카메라(310)의 최대 프레임 레이트를 기반으로 결정된 제한 셔터 속도 이상인지 여부를 판단하는 동작, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값이 상기 제한 셔터 속도 이상이면, 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 기준 셔터 속도로 결정하는 동작, 및 상기 제2 촬영 설정에 따른 셔터 속도, 상기 제한 셔터 속도 또는 상기 ND 필터 효과의 강도를 기반으로 상기 제2 촬영 설정에 따른 셔터 속도의 설정 값을 변경하는 동작을 포함할 수 있다. 일 실시 예에서, 상기 제2 촬영 설정을 결정하는 동작은, 상기 제2 촬영 설정이 변경된 것이 확인되면, 상기 단노출 이미지의 촬영 횟수를 다시 결정하는 동작을 더 포함할 수 있다.In one embodiment, the operation of determining the second shooting setting may include an operation of determining whether a setting value of a shutter speed according to the second shooting setting is equal to or greater than a limit shutter speed determined based on a maximum frame rate of the camera (310), an operation of determining a setting value of a shutter speed according to the second shooting setting as a reference shutter speed if the setting value of the shutter speed according to the second shooting setting is equal to or greater than the limit shutter speed, and an operation of changing the setting value of the shutter speed according to the second shooting setting based on the shutter speed according to the second shooting setting, the limit shutter speed, or the intensity of the ND filter effect. In one embodiment, the operation of determining the second shooting setting may further include an operation of re-determining a number of shots of the short exposure image if it is confirmed that the second shooting setting has been changed.
일 실시 예에서, 상기 방법은, 상기 변경된 제2 촬영 설정에 따른 셔터 속도의 설정 값과 상기 기준 셔터 속도 사이의 차이를 기반으로 상기 제2 촬영 설정에 따른 노출 값을 계산하는 동작, 및 상기 결정된 제2 촬영 설정에 따른 노출 값을 기반으로 상기 장노출 이미지에 대한 노출 보정 값을 결정하는 동작을 더 포함할 수 있다.In one embodiment, the method may further include calculating an exposure value according to the second shooting settings based on a difference between a set value of a shutter speed according to the changed second shooting settings and the reference shutter speed, and determining an exposure compensation value for the long exposure image based on the determined exposure value according to the second shooting settings.
일 실시 예에서, 상기 장노출(long exposure) 이미지를 획득하는 동작은, 하나 이상의 센서를 이용하여 상기 복수 개의 단노출 이미지를 획득하는 동안 상기 전자 장치의 움직임이 발생하였는지 여부를 판단하는 동작, 상기 전자 장치의 움직임이 발생한 것으로 판단되면, 상기 복수 개의 단노출 이미지의 적어도 일부를 정합하는 동작, 및 상기 정합된 단노출 이미지에 대한 움직임 보정을 수행한 후 상기 장노출 이미지를 생성하는 동작을 포함할 수 있다.In one embodiment, the operation of acquiring the long exposure image may include the operation of determining whether movement of the electronic device has occurred while acquiring the plurality of short exposure images using one or more sensors, the operation of aligning at least a portion of the plurality of short exposure images if it is determined that movement of the electronic device has occurred, and the operation of performing motion compensation on the aligned short exposure images and then generating the long exposure image.
일 실시 예에서, 컴퓨터에서 실행 가능한 프로그램들이 기록된 컴퓨터로 판독 가능한 기록 매체에서 상기 프로그램들은, 전자 장치에 포함된 카메라의 설정 정보를 확인하는 동작, 상기 확인된 설정 정보, 조명 환경, 피사체의 타입 또는 ND(neutral density) 필터 효과의 강도(strength)를 기반으로 프리뷰 이미지의 제공을 위한 제1 촬영 설정을 결정하는 동작, 상기 전자 장치의 디스플레이를 통해 상기 제1 촬영 설정을 기반으로 프리뷰 이미지를 제공하는 동안 촬영 명령을 확인하면, 단노출(short exposure) 이미지 획득을 위한 제2 촬영 설정 및 단노출 이미지의 촬영 횟수를 결정하는 동작, 지정된 시간 구간 동안 상기 제2 촬영 설정을 기반으로 복수 개의 단노출 이미지를 획득하는 동작, 및 상기 획득된 복수 개의 단노출 이미지 중 적어도 일부를 합성하여, 상기 지정된 시간 구간에 대응하는 장노출(long exposure) 이미지를 획득하는 동작을 수행하기 위하여 상기 컴퓨터에 의해 야기될 수 있다.In one embodiment, a computer-readable recording medium having recorded thereon programs executable on a computer may be caused by the computer to perform the following operations: checking setting information of a camera included in an electronic device; determining a first shooting setting for providing a preview image based on the checked setting information, a lighting environment, a type of a subject, or a strength of an ND (neutral density) filter effect; determining a second shooting setting for obtaining a short exposure image and a number of times to capture the short exposure image when a shooting command is confirmed while providing the preview image based on the first shooting setting through a display of the electronic device; obtaining a plurality of short exposure images based on the second shooting setting during a specified time period; and obtaining a long exposure image corresponding to the specified time period by synthesizing at least some of the obtained plurality of short exposure images.
본 개시에서 얻을 수 있는 효과는 이상에서 언급한 효과들로 제한되지 않으며, 언급하지 않은 또 다른 효과들은 본 개시가 속하는 기술 분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The effects obtainable from the present disclosure are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by a person having ordinary skill in the art to which the present disclosure belongs.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various forms. The electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be devices of various forms. The electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliance devices. Electronic devices according to embodiments of this document are 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 terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, each of the phrases "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 "at least one of A, B, or C" can include any one of the items listed together in the corresponding phrase, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used merely to distinguish one component from another, and do not limit the components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as "coupled" or "connected" to another (e.g., a second component), with or without the terms "functionally" or "communicatively," it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시 예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term "module" as used in this document may include a unit implemented in hardware, software or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions. For example, according to one embodiment, a 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)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more commands stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the called at least one command. The one or more commands may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, "non-transitory" means only that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
일 실시 예에 따르면, 본 문서에 개시된 다양한 실시 예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to the various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded between a seller and a buyer as a commodity. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read only memory (CD-ROM)), or may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play StoreTM ) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a part of the computer program product may be at least temporarily stored or temporarily generated in a machine-readable storage medium, such as a memory of a manufacturer's server, a server of an application store, or an intermediary server.
다양한 실시 예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시 예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each of the components (e.g., modules or programs) described above may include a single or multiple entities. According to various embodiments, one or more of the components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the components of the plurality of components identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. According to various embodiments, the operations performed by the modules, programs or other components may be executed sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR20240006362 | 2024-01-15 | ||
| KR10-2024-0006362 | 2024-01-15 | ||
| KR1020240026589AKR20250111663A (en) | 2024-01-15 | 2024-02-23 | Method for processing image and an electronic device thereof |
| KR10-2024-0026589 | 2024-02-23 |
| Publication Number | Publication Date |
|---|---|
| WO2025154936A1true WO2025154936A1 (en) | 2025-07-24 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/KR2024/018855PendingWO2025154936A1 (en) | 2024-01-15 | 2024-11-26 | Method for processing image, and electronic device therefor |
| Country | Link |
|---|---|
| WO (1) | WO2025154936A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090111065A (en)* | 2008-04-21 | 2009-10-26 | 엘지전자 주식회사 | Video synthesis device |
| KR101822655B1 (en)* | 2011-06-21 | 2018-01-29 | 삼성전자주식회사 | Object recognition method using camera and camera system for the same |
| KR20200128151A (en)* | 2018-03-26 | 2020-11-11 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Intelligent assistant control method and terminal device |
| KR20220108366A (en)* | 2021-01-27 | 2022-08-03 | 삼성전자주식회사 | Method of processing image and elecronic apparatus performing the same |
| JP2023008828A (en)* | 2021-07-02 | 2023-01-19 | キヤノン株式会社 | Imaging apparatus, method for controlling imaging apparatus, program, and information processing apparatus |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR20090111065A (en)* | 2008-04-21 | 2009-10-26 | 엘지전자 주식회사 | Video synthesis device |
| KR101822655B1 (en)* | 2011-06-21 | 2018-01-29 | 삼성전자주식회사 | Object recognition method using camera and camera system for the same |
| KR20200128151A (en)* | 2018-03-26 | 2020-11-11 | 후아웨이 테크놀러지 컴퍼니 리미티드 | Intelligent assistant control method and terminal device |
| KR20220108366A (en)* | 2021-01-27 | 2022-08-03 | 삼성전자주식회사 | Method of processing image and elecronic apparatus performing the same |
| JP2023008828A (en)* | 2021-07-02 | 2023-01-19 | キヤノン株式会社 | Imaging apparatus, method for controlling imaging apparatus, program, and information processing apparatus |
| Publication | Publication Date | Title |
|---|---|---|
| WO2020032473A2 (en) | Electronic device for blurring image obtained by combining plural images based on depth information and method for driving the electronic device | |
| WO2020171583A1 (en) | Electronic device for stabilizing image and method for operating same | |
| WO2020032497A1 (en) | Method and apparatus for incorporating noise pattern into image on which bokeh processing has been performed | |
| WO2022039424A1 (en) | Image stabilization method and electronic device therefor | |
| WO2022092706A1 (en) | Method for taking photograph by using plurality of cameras, and device therefor | |
| WO2021025285A1 (en) | Electronic device for adjusting exposure value of image including face | |
| WO2023033396A1 (en) | Electronic device for processing continuous shooting input, and operating method therefor | |
| WO2022203355A1 (en) | Electronic device including plurality of cameras | |
| WO2022149654A1 (en) | Electronic device for performing image stabilization, and operating method therefor | |
| WO2022220621A1 (en) | Electronic device comprising reflector and lens assembly | |
| WO2022220444A1 (en) | Scanning method during photographing with camera and electronic apparatus therefor | |
| WO2022114789A1 (en) | Electronic device and method for obtaining light quantity | |
| WO2022031050A1 (en) | Electronic device and method for generating image | |
| WO2022244970A1 (en) | Image capture method of electronic device, and electronic device therefor | |
| WO2022203169A1 (en) | Image capturing method for electronic device, and electronic device therefor | |
| WO2022240186A1 (en) | Image distortion correction method and electronic device therefor | |
| WO2025154936A1 (en) | Method for processing image, and electronic device therefor | |
| WO2022196916A1 (en) | Method, device, and storage medium for user authentication | |
| WO2022173236A1 (en) | Electronic device comprising image sensor and method of operating same | |
| WO2022092607A1 (en) | Electronic device comprising image sensor and operation method of same | |
| WO2021235747A1 (en) | Electronic device comprising camera and microphone, and operation method thereof | |
| WO2025028863A1 (en) | Method for obtaining image and electronic device therefor | |
| WO2025023606A1 (en) | Method and electronic device for automatic focus control | |
| WO2024085673A1 (en) | Electronic device for obtaining multiple exposure images and method for operating same | |
| WO2024080767A1 (en) | Electronic device for acquiring image by using camera, and operation method thereof |
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:24918963 Country of ref document:EP Kind code of ref document:A1 |