KR20230175066A - Electronic device including camera, and method of operation thereof - Google Patents
Electronic device including camera, and method of operation thereof Download PDFInfo
- Publication number
- KR20230175066A KR20230175066A KR1020220086516A KR20220086516A KR20230175066A KR 20230175066 A KR20230175066 A KR 20230175066A KR 1020220086516 A KR1020220086516 A KR 1020220086516A KR 20220086516 A KR20220086516 A KR 20220086516A KR 20230175066 A KR20230175066 A KR 20230175066A
- Authority
- KR
- South Korea
- Prior art keywords
- distance
- electronic device
- camera
- area
- sensor
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 42
- 230000033001 locomotion Effects 0.000 claims abstract description 144
- 238000001514 detection method Methods 0.000 claims description 20
- 238000013507 mapping Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 11
- 230000001133 acceleration Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 description 46
- 230000006870 function Effects 0.000 description 17
- 238000005516 engineering process Methods 0.000 description 9
- 238000013528 artificial neural network Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 6
- 238000013473 artificial intelligence Methods 0.000 description 5
- 238000004590 computer program Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 3
- 230000000638 stimulation Effects 0.000 description 3
- 238000013527 convolutional neural network Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000306 recurrent effect Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000001939 inductive effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
- H04N23/672—Focus control based on electronic image sensor signals based on the phase difference signals
-
- G—PHYSICS
- G03—PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
- G03B—APPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
- G03B13/00—Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
- G03B13/18—Focusing aids
- G03B13/20—Rangefinders coupled with focusing arrangements, e.g. adjustment of rangefinder automatically focusing camera
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/63—Control of cameras or camera modules by using electronic viewfinders
- H04N23/631—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters
- H04N23/632—Graphical user interfaces [GUI] specially adapted for controlling image capture or setting capture parameters for displaying or modifying preview images prior to image capturing, e.g. variety of image resolutions or capturing parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/67—Focus control based on electronic image sensor signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/90—Arrangement of cameras or camera modules, e.g. multiple cameras in TV studios or sports stadiums
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Studio Devices (AREA)
Abstract
본 발명의 일 실시예들에 따른 전자 장치는, 초점 거리가 서로 상이한 복수의 카메라들, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서, 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서 및 상기 복수의 카메라들, 상기 거리 센서 및 상기 움직임 센서와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 상기 거리 센서로부터 상기 오브젝트와의 거리 데이터 및 상기 움직임 센서로부터 상기 전자 장치의 이동 또는 회전에 관련한 움직임 데이터를 수신하며, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하고, 상기 거리 맵을 기반으로, 상기 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하도록 설정될 수 있다.An electronic device according to embodiments of the present invention includes a plurality of cameras with different focal lengths, a distance sensor for detecting the distance to an object located in a first area, and a movement for detecting movement or rotation of the electronic device. a sensor and at least one processor operatively connected to the plurality of cameras, the distance sensor, and the motion sensor, wherein the at least one processor receives distance data from the distance sensor to the object and data from the motion sensor. Receiving movement data related to movement or rotation of the electronic device, and based on the movement data, a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area may be set to generate and determine a camera to acquire an image among the plurality of cameras based on the distance map.
Description
본 개시의 일 실시예들은, 거리 센서 및 복수의 카메라들을 포함하는 전자 장치 및 그 동작 방법에 관한 것이다.Embodiments of the present disclosure relate to an electronic device including a distance sensor and a plurality of cameras and a method of operating the same.
전자 장치(예: 스마트폰)는 복수의 카메라들을 포함할 수 있다. 예를 들어, 전자 장치는 전자 장치의 전면에 배치되는 적어도 하나의 카메라 이외에, 전자 장치의 후면에 배치되는 복수의 카메라들을 포함할 수 있다.An electronic device (eg, a smartphone) may include a plurality of cameras. For example, the electronic device may include a plurality of cameras disposed on the rear of the electronic device in addition to at least one camera disposed on the front of the electronic device.
전자 장치는 전자 장치와 피사체(오브젝트) 사이의 거리에 기반하여, 초점 거리가 서로 상이한 복수의 카메라들(예: 전자 장치의 후면에 배치되는 복수의 카메라들) 중에서, 이미지를 획득하기 위한 카메라를 선택할 수 있다. 예를 들어, 전자 장치는 복수의 카메라들 중에서, 전자 장치와 피사체 사이의 거리가 멀수록 초점 거리가 긴 카메라를 이미지를 획득하기 위한 카메라로 선택할 수 있다.The electronic device selects a camera for acquiring an image from among a plurality of cameras with different focal lengths (e.g., a plurality of cameras disposed on the back of the electronic device) based on the distance between the electronic device and the subject (object). You can choose. For example, the electronic device may select a camera with a longer focal length among a plurality of cameras as the camera for acquiring an image as the distance between the electronic device and the subject increases.
전자 장치는 전자 장치 및 피사체 간 거리를 측정하기 위한 거리 센서(range sensor)를 포함하고, 거리 센서에서 측정한 전자 장치와 피사체 사이의 거리를 이용하여 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득하기 위한 카메라를 선택할 수 있다. 또한, 전자 장치는 거리 센서에서 측정한 전자 장치와 피사체 사이의 거리를 자동 초점 기능(AF: Auto Focus)에 활용할 수 있다.The electronic device includes a distance sensor for measuring the distance between the electronic device and the subject, and uses the distance between the electronic device and the subject measured by the distance sensor to select an image from a plurality of cameras with different focal lengths. You can select a camera to acquire. Additionally, the electronic device can utilize the distance between the electronic device and the subject measured by the distance sensor for an auto focus function (AF: Auto Focus).
다만, Single-zone 거리 센서는 상대적으로 좁은 화각(FOV: Field Of View)을 가지고, 이에 따라 카메라의 촬영 영역을 충분하게 커버하지 못하는 문제가 있다. 이를 해결하기 위하여, 상대적으로 넓은 화각을 갖는 Multi-zone 거리 센서를 적용할 수 있으나, 부피가 상대적으로 크고, 비용이 상대적으로 크게 발생되며, 동일 전류 사용시 감지 거리가 감소되는 문제가 있다.However, single-zone distance sensors have a relatively narrow field of view (FOV), which has the problem of not sufficiently covering the camera's shooting area. To solve this problem, a multi-zone distance sensor with a relatively wide viewing angle can be applied, but the volume is relatively large, the cost is relatively high, and the detection distance is reduced when using the same current.
일 실시예들에 따른 전자 장치는, 초점 거리가 서로 상이한 복수의 카메라들, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서, 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서 및 상기 복수의 카메라들, 상기 거리 센서 및 상기 움직임 센서와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예들에 따른 적어도 하나의 프로세서는, 상기 거리 센서로부터 상기 오브젝트와의 거리 데이터 및 상기 움직임 센서로부터 상기 전자 장치의 이동 또는 회전에 관련한 움직임 데이터를 수신하도록 설정될 수 있다. 적어도 하나의 프로세서는, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하도록 설정될 수 있다. 적어도 하나의 프로세서는, 상기 거리 맵을 기반으로, 상기 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하도록 설정될 수 있다.An electronic device according to one embodiment includes a plurality of cameras having different focal lengths, a distance sensor that detects the distance to an object located in a first area, a motion sensor that detects movement or rotation of the electronic device, and the It may include at least one processor operatively connected to a plurality of cameras, the distance sensor, and the motion sensor. At least one processor according to one embodiment may be configured to receive distance data to the object from the distance sensor and movement data related to movement or rotation of the electronic device from the motion sensor. At least one processor may be set to generate a distance map for a second area that includes at least a portion of the first area, based on the motion data, so that the distance data corresponds to the first area. At least one processor may be configured to determine a camera to acquire an image from among the plurality of cameras based on the distance map.
일 실시예들에 따른 전자 장치의 동작 방법은, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하는 동작을 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법은, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하는 동작을 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법은, 상기 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하는 동작을 포함할 수 있다.A method of operating an electronic device according to embodiments includes receiving distance data from a distance sensor that detects the distance to an object located in a first area and movement data from a motion sensor that detects movement or rotation of the electronic device. Can include actions. A method of operating an electronic device according to embodiments includes generating, based on the motion data, a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area. It may include actions such as: A method of operating an electronic device according to embodiments may include determining a camera to acquire an image from among a plurality of cameras having different focal lengths based on the distance map.
일 실시예에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체로서, 상기 하나 이상의 프로그램은 전자 장치의 적어도 하나의 프로세서에 의해 실행될 때, 상기 전자 장치가 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하는 프로그램을 포함할 수 있다. 일 실시예들에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체는, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하는 프로그램을 포함할 수 있다. 일 실시예들에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체는, 상기 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하는 프로그램을 포함할 수 있다.A non-transitory computer-readable storage medium storing one or more programs according to an embodiment, wherein when the one or more programs are executed by at least one processor of an electronic device, the electronic device interacts with an object located in a first area. It may include a program that receives distance data from a distance sensor that detects the distance and movement data from a motion sensor that detects movement or rotation of the electronic device. A non-transitory computer-readable storage medium storing one or more programs according to one embodiment may include at least a portion of the first area so that the distance data corresponds to the first area based on the motion data. 2 May include a program that generates a street map for an area. A non-transitory computer-readable storage medium storing one or more programs according to embodiments may include a program for determining a camera to acquire an image among a plurality of cameras with different focal lengths based on the distance map. You can.
일 실시예에 따른 카메라를 포함하는 전자 장치 및/또는 그 동작 방법에 따르면, 상대적으로 좁은 측정 범위를 갖는 Single-zone 거리 센서를 이용함으로써 원가를 절감하고, 센서의 크기 및 Hidden hole의 크기가 축소되어 디자인 자유도를 향상시킴과 동시에, 상대적으로 넓은 범위의 거리를 감지할 수 있다. 이에 따라, 복수의 카메라들 사이의 전환 및 자동 초점 기능의 정상적인 작동이 가능할 수 있다.According to an electronic device including a camera and/or a method of operating the same according to an embodiment, costs are reduced by using a single-zone distance sensor with a relatively narrow measurement range, and the size of the sensor and hidden hole are reduced. This improves design freedom and allows detection of a relatively wide range of distances. Accordingly, switching between multiple cameras and normal operation of the autofocus function may be possible.
도 1은, 일 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는, 일 실시예들에 따른, 전자 장치의 블록도이다.
도 3은, 일 실시예에 따른, 전자 장치의 후면 일부를 나타내는 도면이다.
도 4는, 일 실시예에 따른, 복수의 카메라들의 촬영 범위 및 거리 센서의 감지 범위를 도시한 것이다.
도 5는, 일 실시예에 따른, 거리별 광각 카메라의 촬영 범위 및 Single-zone 거리 센서의 감지 범위를 비교한 것이다.
도 6은, 일 실시예에 따른, 거리별 광각 카메라의 촬영 범위 및 Multi-zone 거리 센서의 감지 범위를 비교한 것이다.
도 7은, 일 실시예에 따른, 전자 장치의 이동에 의한 제1 영역의 이동을 도시한 것이다.
도 8은, 일 실시예에 따른, 전자 장치의 이동 또는 회전에 따른 제1 영역의 이동에 관한 예시이다.
도 9는, 일 실시예에 따른, 전자 장치의 이동 또는 회전에 대한 미리 설정된 기준에 관한 예시이다.
도 10은, 일 실시예에 따른, 전자 장치의 이동에 따라 제2 영역을 매핑하는 예시이다.
도 11은, 일 실시예에 따른, 전자 장치의 이동 및 회전에 따라 제2 영역을 매핑하는 예시이다.
도 12는, 일 실시예들에 따른, 이미지를 제공하기 위한 방법을 설명하는 흐름도이다.
도 13a 및 도 13b는, 일 실시예들에 따른, 이미지를 획득할 카메라의 결정 및 전환하기 위한 방법을 설명하는 흐름도이다.1 is a block diagram of an electronic device in a network environment, according to one embodiment.
Figure 2 is a block diagram of an electronic device, according to one embodiment.
Figure 3 is a diagram showing a portion of the back of an electronic device, according to one embodiment.
FIG. 4 illustrates a capturing range of a plurality of cameras and a sensing range of a distance sensor, according to an embodiment.
Figure 5 compares the shooting range of a wide-angle camera and the detection range of a single-zone distance sensor for each distance, according to an embodiment.
Figure 6 compares the shooting range of a wide-angle camera and the detection range of a multi-zone distance sensor for each distance, according to one embodiment.
FIG. 7 illustrates movement of the first area due to movement of the electronic device, according to one embodiment.
Figure 8 is an example of movement of the first area according to movement or rotation of the electronic device, according to one embodiment.
Figure 9 is an example of a preset standard for movement or rotation of an electronic device, according to an embodiment.
FIG. 10 is an example of mapping a second area according to movement of an electronic device, according to an embodiment.
FIG. 11 is an example of mapping a second area according to movement and rotation of an electronic device, according to an embodiment.
Figure 12 is a flowchart explaining a method for providing an image, according to one embodiment.
13A and 13B are flowcharts illustrating a method for determining and switching a camera to acquire an image, according to one embodiment.
도 1은, 일 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a
프로세서(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
보조 프로세서(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
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다.
무선 통신 모듈(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
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.
The
일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one embodiment, the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 일 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external
본 문서에 개시된 일 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 전자 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, electronic devices, or home appliances. 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 embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers 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 above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서의 일 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 일 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.One embodiment of the present document is one or more instructions stored in a storage medium (e.g., built-in
일실시예에 따르면, 본 문서에 개시된 일 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to the embodiments disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)) or through an application store (e.g. Play StoreTM) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
일 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 일 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 일 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to one embodiment, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to one embodiment, one or more of the above-described corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.
이하에서는 본 문서에서 설명되는 전자 장치(예: 전자 장치(101))의 일 실시예들이 설명된다. Hereinafter, embodiments of an electronic device (eg, electronic device 101) described in this document will be described.
도 2는, 일 실시예들에 따른, 전자 장치(200, 예: 도 1의 전자 장치(101))의 블록도이다.FIG. 2 is a block diagram of an electronic device 200 (eg, electronic device 101 of FIG. 1 ) according to one embodiment.
도 2를 참조하면, 전자 장치(200)는 디스플레이(250), 복수의 카메라들(230), 거리 센서(210), 움직임 센서(220) 및/또는 프로세서(240)를 포함할 수 있다. 일 실시예로 거리 센서(210) 및/또는 움직임 센서(220)는 센서 모듈(예: 도 1의 센서 모듈(176)에 포함될 수 있다.Referring to FIG. 2 , the
일 실시예에서, 디스플레이(250)는 도 1의 디스플레이 모듈(160)에 포함될 수 있다. 일 실시예에서, 디스플레이(250)는, 복수의 카메라들(230)을 통하여 획득되는 이미지(예: 동적 이미지 및/또는 정지 이미지)를 표시할 수 있다. 예를 들어, 디스플레이(250)는, 전자 장치(200)에 카메라 어플리케이션이 실행되는 경우, 복수의 카메라들(230) 중 어느 하나(예: 제1 카메라(231))를 통하여 획득된 프리뷰(preview)를 표시할 수 있다. 다른 예를 들어, 디스플레이(250)는, 복수의 카메라들(230) 중 어느 하나를 통하여 이미지가 획득되는 경우, 획득된 이미지를 표시할 수 있다.In one embodiment,
일 실시예로, 전자 장치(200)는 디스플레이(250)를 제어하기 위한 디스플레이 드라이버 IC(DDI)를 더 포함할 수 있다. 디스플레이 드라이버 IC는, 예를 들면, 영상 데이터, 또는 상기 영상 데이터를 제어하기 위한 명령에 대응하는 영상 제어 신호를 포함하는 영상 정보를 인터페이스 모듈을 통해 전자 장치(200)의 다른 구성요소로부터 수신할 수 있다. 디스플레이 드라이버 IC에 의해 수행되는 동작들 중 적어도 일부 동작은 프로세서(240)(예: 도 1의 프로세서(120))에 의해 동일하게 수행될 수 있다In one embodiment, the
도 3은, 일 실시예에 따른, 전자 장치(200)의 후면 일부를 나타내는 도면이다. FIG. 3 is a diagram illustrating a portion of the rear of the
도 3을 더 참조하면, 전자 장치(200)는, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233), 제4 카메라(234) 및/또는 거리 센서(210)를 포함할 수 있다. 전자 장치(200)가 후면에 4개의 카메라들을 포함하는 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 전자 장치(200)는 후면을 통하여 2개의 카메라들, 3개의 카메라들, 또는 5개 이상의 카메라들을 포함할 수 있다. 일 실시예에서, 전자 장치(200)는, 전면에 적어도 하나의 카메라(예: 전면 카메라)를 포함할 수 있다. 이하에서, 설명의 편의를 위하여, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)와 같이, 전자 장치(200)의 후면에 배치되는 2개 이상의 카메라들을 '복수의 카메라들'로 지칭하기로 한다.Referring further to FIG. 3, the
일 실시예로, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)는 각각 광각 카메라, 초광각 카메라, 제1 망원 카메라, 및 제2 망원 카메라로 지칭될 수 있다. 일 실시예에서, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)는 서로 다른 초점 거리들을 가질 수 있다. 예를 들어, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)는, 제2 카메라(232), 제1 카메라(231), 제3 카메라(233), 제4 카메라(234) 순서대로, 짧은 초점 거리들을 가질 수 있다. In one embodiment, the
일 실시예에서, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)는 서로 다른 화각(FOV)을 가질 수 있다. 예를 들어, 제1 카메라(231), 제2 카메라(232), 제3 카메라(233) 및 제4 카메라(234)는 약 83°, 약 120°, 약 35°, 약 10°의 화각(FOV)을 각각 가질 수 있다.In one embodiment, the
일 실시예로 거리 센서(210)는, 전자 장치(200)(예: 거리 센서(210))와 오브젝트(예: 피사체) 사이의 거리를 측정하기 위한 구성일 수 있다. 거리 센서(210)는 발광부(Tx)로부터 방출된 지정된 종류의 신호가 오브젝트에 반사된 후, 수광부(Rx)로 입사되는 이동 시간 및 이동 속도에 기반하여, 전자 장치(200)와 오브젝트 사이의 거리를 측정하는 TOF(Time Of Flight) 방식일 수 있다. 예를 들어, 거리 센서(210)가 이용하는 지정된 신호의 종류에 따라, 음파 방식(예: 초음파(ultrasonic) 센서), 적외선 방식(예: 적외선(infrared) 센서), 레이저 방식(예: 라이다(LIDAR, light detection and ranging) 센서), 전파 방식(예: 레이더(RADAR, radio detecting and ranging) 센서) 및/또는 광학 방식(예: 카메라 센서(passive sensor))으로 구현될 수 있다.In one embodiment, the
일 실시예로, 거리 센서(210)는 특정 주파수의 광원을 발광하고, 예를 들어 적외선(IR: Infrared Ray)을 발광할 수 있다. 예를 들어, 적외선의 파장은 940nm 또는 1400nm 이 이용될 수 있다.In one embodiment, the
일 실시예로, 복수의 카메라들(230)은 서로 측방으로 이격되게 배치되어, 각각의 촬영 범위 사이에 중첩되지 않는 오차범위가 존재할 수 있다. 추가로, 거리 센서(210)도 복수의 카메라들(230)과의 위치 차이로 인한 오차범위가 존재할 수 있다.In one embodiment, the plurality of
도 4는, 일 실시예에 따른, 복수의 카메라들(230)의 촬영 범위 및 거리 센서(210)의 감지 범위(R1)를 도시한 것이다.FIG. 4 illustrates the capturing range of the plurality of
도 4를 더 참조하면, 일 실시예로, 거리 센서(210)는 복수의 카메라들(230)의 측방에 배치되고, 예를 들어 거리 센서(210)는 복수의 카메라들(230)로부터 각각 측방으로 이격된 위치에 고정될 수 있다. 이에 따라, 거리 센서(210)의 감지 범위(R1)는 복수의 카메라 각각의 촬영 범위(FOV)와 적어도 일부 상이할 수 있다.Referring further to FIG. 4, in one embodiment, the
구체적으로, 일 실시예에 따른 Single-zone 거리 센서(210)의 감지 범위(R1)는 복수의 카메라 중 망원 카메라(예: 제3 카메라(233) 및 제4 카메라(234))의 촬영 범위를 대부분 포함할 수 있으나, 복수의 카메라 중 광각 카메라(예: 제1 카메라(231)) 및/또는 초광각 카메라(예: 제2 카메라(232))의 촬영 범위 중 일부만을 포함할 수 있다. 즉, 거리 센서(210)는 복수의 카메라의 촬영 범위의 일부에 위치된 오브젝트에 대해서만 거리를 감지할 수 있고, 감지 범위(R1)를 벗어난 촬영 범위의 나머지 일부의 오브젝트에 대해서는 거리를 감지할 수 없다. 이에 따라, 전자 장치(200)는 복수의 카메라의 촬영 범위에 위치한 오브젝트에 대하여 자동으로 초점을 맞추지 못하거나, 초점 거리가 적절한 카메라로의 전환이 어려울 수 있다.Specifically, the detection range (R1) of the single-
도 5는, 일 실시예에 따른, 거리별 광각 카메라의 촬영 범위 및 Single-zone 거리 센서의 감지 범위를 비교한 것이다. 도 6은, 일 실시예에 따른, 거리별 광각 카메라의 촬영 범위 및 Multi-zone 거리 센서의 감지 범위(R1)를 비교한 것이다.Figure 5 compares the shooting range of a wide-angle camera and the detection range of a single-zone distance sensor for each distance, according to an embodiment. Figure 6 compares the shooting range of a wide-angle camera and the detection range (R1) of a multi-zone distance sensor for each distance, according to an embodiment.
도 5 내지 도 6는, 전자 장치(예: 광각 카메라)로부터 각각 100[mm], 300[mm], 1000[mm] 및 2000[mm] 이격된 위치에서 광각 카메라의 촬영 범위 및 거리 센서(각각 Single-zone 및 Multi-zone)의 감지 범위(R1)를 표시한 것이다.5 to 6 show the shooting range and distance sensor of the wide-angle camera (respectively This indicates the detection range (R1) of single-zone and multi-zone).
도 6의 상대적으로 넓은 화각을 갖는 Multi-zone 거리 센서는 근접 거리에서 감지 범위(R1)와 광각 카메라의 촬영 범위 사이에 오차가 일부 발생되지만, 거리 센서의 감지 범위(R1)가 광각 카메라의 촬영 범위의 상당 범위를 커버할 수 있다. Multi-zone 거리 센서의 화각은 복수의 카메라들의 프리뷰 영역을 대부분 커버할 수 있도록 Single-zone 거리 센서의 화각보다 상대적으로 확장될 수 있다.The multi-zone distance sensor with a relatively wide angle of view in Figure 6 generates some error between the detection range (R1) and the shooting range of the wide-angle camera at close range, but the detection range (R1) of the distance sensor is greater than that of the wide-angle camera. It can cover a significant amount of the range. The field of view of a multi-zone distance sensor can be relatively expanded than that of a single-zone distance sensor to cover most of the preview area of multiple cameras.
이에 대비하여, 도 5의 상대적으로 좁은 화각을 갖는 Single-zone 거리 센서는 광각 카메라의 촬영 범위의 극히 일부만을 커버하는 것으로, 근접 거리(예: 100 [mm])에서는 광각 카메라의 촬영 범위의 우측 영역 전체 및 좌측 상단 영역을 거의 커버할 수 없다. 또한, Single-zone 거리 센서는 제공할 수 있는 거리 값이 1개이므로, 근거리 및 원거리에 오브젝트가 혼재하는 환경에서 오브젝트와의 거리를 감지할 수 없다.In contrast, the single-zone distance sensor with a relatively narrow field of view in Figure 5 covers only a small portion of the wide-angle camera's shooting range, and at a close distance (e.g., 100 [mm]), it is located on the right side of the wide-angle camera's shooting range. It can barely cover the entire area and the upper left area. Additionally, since a single-zone distance sensor can provide only one distance value, it cannot detect the distance to an object in an environment where objects are mixed at a close and far distance.
본 개시는, 전자 장치의 움직임 데이터를 기반으로, 상대적으로 좁은 측정 범위를 갖는 Single-zone 거리 센서의 거리 데이터로 상대적으로 넓은 범위의 거리 맵을 생성하는, 카메라를 포함하는 전자 장치 및 그 동작 방법에 관한 것이다.The present disclosure provides an electronic device including a camera and a method of operating the same, which generates a relatively wide-range distance map with distance data from a single-zone distance sensor with a relatively narrow measurement range, based on movement data of the electronic device. It's about.
따라서, 본 개시에서 특별한 언급이 없는 한, 일 실시예에 따른 거리 센서는, 상대적으로 좁은 화각을 갖는 Single-zone 거리 센서를 의미할 수 있다. 예를 들어, Single-zone 거리 센서의 화각은 망원 카메라의 화각 수준으로 좁을 수 있다. 본 개시의 일 실시예에 따른 전자 장치는, 상대적으로 좁은 화각을 갖는 Single-zone 거리 센서를 이용하면서도 감지 범위(R1)를 확대하기 위한 것이다.Therefore, unless otherwise specified in the present disclosure, the distance sensor according to an embodiment may refer to a single-zone distance sensor having a relatively narrow angle of view. For example, the angle of view of a single-zone distance sensor may be as narrow as that of a telephoto camera. The electronic device according to an embodiment of the present disclosure is intended to expand the detection range (R1) while using a single-zone distance sensor with a relatively narrow field of view.
일 실시예에 따른 움직임 센서(220)는, 전자 장치(200)의 이동을 감지하는 가속도 센서(221) 및/또는 전자 장치(200)의 회전을 감지하는 자이로 센서(222)를 포함할 수 있다. 예를 들어, 가속도 센서(221)와 자이로 센서(222)는 하나의 칩으로 구성될 수 있다. 가속도 센서(221)는 3축 방향으로 전자 장치(200)의 가속도, 속도 및/또는 이동을 감지할 수 있고, 자이로 센서(222)는 3축 방향을 기준으로 하는 전자 장치(200)의 각가속도, 각속도 및/또는 회전을 감지할 수 있다.The
일 실시예로, 전자 장치(200)는 프로세서(예: 도 1의 프로세서(120))를 포함할 수 있고, 전자 장치(200)의 동작을 수행하기 위한 전반적인 동작을 제어할 수 있다. 일 실시예에서, 프로세서(240)는, 전자 장치(200)의 동작을 수행하기 위하여 적어도 하나 이상의 프로세서(240)들을 포함할 수 있다. 일 실시예로 프로세서(240)는 전자 장치(200)의 전반적인 구동을 관장하는 AP(241, Application Processor) 및/또는 센서 모듈의 전반적인 구동을 관장하는 Sensor Hub(242)를 포함할 수 있다.In one embodiment, the
일 실시예로, 프로세서(240)는 복수의 카메라들(230), 거리 센서(210) 및/또는 움직임 센서(220)와 작동적으로 연결될 수 있다. 구체적으로, 프로세서(240)는 복수의 카메라들(230), 거리 센서(210) 및/또는 움직임 센서(220)과 신호 또는 데이터를 송신 또는 수신할 수 있도록 연결될 수 있다.In one embodiment, the
일 실시예로, 전자 장치(200)는 메모리(예: 도 1의 메모리(130)를 더 포함할 수 있고, 일 실시예에서 메모리는 전자 장치(200)의 동작을 수행하기 위한 정보를 저장할 수 있다. 메모리가 전자 장치(200)의 동작을 수행하기 위하여 저장하는 정보에 대하여 상세히 후술하도록 한다.In one embodiment, the
일 실시예로, 전자 장치(200)는 전면을 통하여, 전자 장치(200)의 주변 환경으로부터 수신된 광에 기반하여 전자 장치(200)의 주변의 밝기를 측정하기 위한 조도 센서를 더 포함할 수 있다.In one embodiment, the
일 실시예로, 전자 장치(200)(예: 도 1의 프로세서(120))는, 거리 센서(210)에서 제1 영역(R1)에 위치된 오브젝트와의 거리를 감지한 거리 데이터를 수신할 수 있다. 일 실시예로, 거리 데이터는 제1 영역(R1)의 내부에서 오브젝트가 차지하는 위치 정보 및/또는 전자 장치(200)로부터 오브젝트 사이의 거리가 포함된 데이터일 수 있다.In one embodiment, the electronic device 200 (e.g., the
여기서, 제1 영역(R1)은 거리 센서(210)의 화각(FOV) 및 감지 범위(R1)에 대응되는 영역일 수 있다. 일 실시예로, 제1 영역(R1)은 거리 맵이 생성되는 제2 영역 또는 복수의 카메라들(230)의 촬영 범위와 일부 상이하거나 중심이 일치하지 않고 서로 이격될 수 있다.Here, the first area (R1) may be an area corresponding to the field of view (FOV) and detection range (R1) of the
일 실시예로, 전자 장치(200)는 움직임 센서(220)로부터 전자 장치(200)의 이동 또는 회전에 관련한 움직임 데이터를 수신할 수 있다. 일 실시예로, 움직임 데이터는 전자 장치(200)가 미리 설정된 3축 방향으로 각각 회전된 각도과 관련한 정보 및/또는 전자 장치(200)가 미리 설정된 3축 방향으로 각각 이동된 거리와 관련한 정보가 포함될 수 있다.In one embodiment, the
일 실시예로, 전자 장치(200)는 수신한 움직임 데이터를 기반으로, 수신한 거리 데이터가 제1 영역(R1)에 대응하도록, 제2 영역에 대한 거리 맵을 생성할 수 있다. 여기서, 제2 영역은 제1 영역(R1)을 적어도 일부 포함하는 영역일 수 있고, 복수의 카메라들(230) 중 어느 하나(예: 프리뷰를 제공하는 카메라)의 촬영 범위에 포함될 수 있다. 즉, 전자 장치(200)는 복수의 카메라들(230)의 촬영 범위에 포함된 제2 영역에 대하여 거리 맵을 생성할 수 있다. 예를 들어, 제2 영역은 전자 장치(200)로부터 미리 설정된 거리(예: 1 [m]) 이격된 위치로 설정될 수 있고, 복수 개의 구역(zone)으로 구분될 수 있다. In one embodiment, the
일 실시예로, 전자 장치(200)는 움직임 데이터를 기반으로, 제2 영역의 내부에 위치된 제1 영역(R1)의 적어도 일부에 거리 데이터를 매핑하여 거리 맵을 생성할 수 있다. 전자 장치(200)는, 거리 센서(210)의 상대적으로 좁은 화각에 대응하는 제1 영역(R1)의 거리 데이터를 상대적으로 넓은 제2 영역에 매핑할 수 있다.In one embodiment, the
도 7은, 일 실시예에 따른, 전자 장치(예: 도 2의 전자 장치(200))의 이동에 의한 제1 영역(R1)의 이동을 도시한 것이다. FIG. 7 illustrates movement of the first region R1 due to movement of an electronic device (eg, the
도 7을 참조하면, 거리 센서(210)는, 전자 장치의 움직임에 의해 변경되는 제1 영역(R1)에 각각 대응하는 복수의 거리 데이터를 미리 설정된 주기에 기반하여 생성할 수 있다. 여기서, 미리 설정된 주기는 전자 장치의 거리 센서(210) 또는 움직임 센서(예: 도 2의 움직임 센서(220))의 동작 주기일 수 있다. 전자 장치는 미리 설정된 주기에 따른 개별 frame 마다 제1 영역(R1)에 대응하는 거리 데이터를 각각 저장함으로써, 복수 개의 frame을 생성할 수 있다.Referring to FIG. 7 , the
예시로, 전자 장치가 회전하는 상황(예시 1) 및 좌측에서 우측으로 이동하는 상황(예시 2)에서 각 frame 에서의 거리 데이터는 하기와 같다.As an example, in a situation where the electronic device is rotating (Example 1) and moving from left to right (Example 2), the distance data in each frame is as follows.
거리 센서(210)는 [표 1]에 표시된 것과 같이, 1 frame 내지 6 frame 에서는 오브젝트가 50 [cm] 이격된 것으로 감지하였으나, 7 frame 내지 9 frame 에서는 오브젝트가 20 [cm] 이격된 것으로 감지하였다. 전자 장치는 복수 개의 frame 에서의 거리 데이터를 제2 영역의 복수 개의 구역(zone)에 매핑할 수 있다. 일 실시예로, 전자 장치는 일부 시간 지연을 고려하여, 유효한 frame의 개수를 제한하도록 미리 설정된 frame 개수를 설정할 수 있다. 즉, 전자 장치는 미리 설정된 frame 개수 이하의 거리 데이터를 거리 맵에 매핑할 수 있다.As shown in [Table 1], the
일 실시예로, 전자 장치는 카메라 전환의 조건 또는 AF(자동 초점) 동작 재수행 여부를 고려하여 미리 설정된 거리 데이터의 미리 설정된 크기 이상의 변화가 발생하지 않는 경우, 미리 설정된 frame 개수를 증가시킬 수 있다. 반대로, 거리 데이터의 미리 설정된 크기 이상의 변화가 발생한 경우, 미리 설정된 frame 개수를 감소시킬 수 있다. In one embodiment, the electronic device may increase the number of preset frames if a change in the preset distance data does not occur by more than the preset size in consideration of camera switching conditions or whether to re-perform AF (autofocus) operation. . Conversely, if a change in the distance data exceeds the preset size occurs, the preset number of frames can be reduced.
일 실시예로, 전자 장치는 미리 설정된 frame 개수 이하의 frame을 이용하여, 거리 센서로부터 수신한 복수의 거리 데이터를 움직임 센서로부터 수신한 움직임 데이터에 기반하여 제2 영역에 각각 매핑함으로써 거리 맵을 생성할 수 있다. 이에 따라, 전자 장치는 제2 영역의 일부 구역은 50 [cm]으로, 제2 영역의 다른 일부 구역은 20 [cm]인 거리 맵을 생성할 수 있다.In one embodiment, the electronic device generates a distance map by mapping a plurality of distance data received from the distance sensor to a second area based on the movement data received from the motion sensor, using frames less than or equal to the preset number of frames. can do. Accordingly, the electronic device may generate a distance map in which some areas of the second area are 50 [cm] and other areas of the second area are 20 [cm].
도 8은, 일 실시예에 따른, 전자 장치(200)의 이동 또는 회전에 따른 제1 영역의 이동에 관한 예시이다. 도 9는, 일 실시예에 따른, 전자 장치(200)의 이동 또는 회전에 대한 미리 설정된 기준에 관한 예시이다.FIG. 8 is an example of movement of the first area according to movement or rotation of the
도 8 내지 도 9를 더 참조하면, 전자 장치(200)는, 전자 장치(200)의 움직임에 기반하여 제2 영역(R2)의 내부에서 이동되는 제1 영역(R1)의 적어도 일부의 위치를 확인하고, 확인된 제1 영역(R1)의 위치에 전자 장치(200)의 움직임 이전에 측정한 제1 영역(R1) 이내의 오브젝트(O)에 대응하는 거리 데이터를 매핑할 수 있다.Referring further to FIGS. 8 and 9 , the
일 실시예로 전자 장치(200)는, 미리 설정된 기준을 기반으로, 움직임 데이터에 따른 제1 영역(R1)의 이동된 위치를 확인할 수 있다. In one embodiment, the
일 실시예로, 전자 장치(200)는 미리 설정된 기준에 따라, 전자 장치(200)의 이동 또는 회전에 의한 미리 설정된 제2 영역(R2) 이내에서 제1 영역(R1)의 이동된 위치를 확인할 수 있다. 제2 영역(R2)은 복수의 구역(zone)으로 구획되며, 제1 영역(R1)은 제2 영역(R2)의 복수의 구역 중 적어도 일부에 대응되고, 전자 장치(200)의 이동 또는 회전에 의해 제1 영역(R1)에 대응되는 복수의 구역 중 일부가 변경될 수 있다.In one embodiment, the
일 실시예로, 전자 장치(200)는 미리 설정된 기준에 따라, 전자 장치(200)의 3축 방향 각각으로의 이동 또는 3축 방향을 각각 기준으로 하는 회전에 따른 제1 영역(R1)이 특정 방향으로 이동되도록 설정될 수 있다. 예시로, 전자 장치(200)가 우측방으로 이동하는 경우에 제1 영역(R1)이 우측방으로 이동되도록 설정될 수 있다. 또한, 전자 장치(200)가 좌측방으로 이동하는 경우에 제1 영역(R1)이 좌측방으로 이동되도록 설정될 수 있다. 또한, 전자 장치(200)가 상방으로 이동하는 경우에 제1 영역(R1)이 상방으로 이동되도록 설정될 수 있다. 또한, 전자 장치(200)가 하방으로 이동하는 경우에 제1 영역(R1)이 하방으로 이동되도록 설정될 수 있다. 또한, 전자 장치(200)가 세로 방향의 축을 기준으로 반시계 방향으로 회전하는 경우, 제1 영역(R1)이 좌측방으로 이동되도록 설정될 수 있다. 또한, 전자 장치(200)가 세로 방향의 축을 기준으로 시계 방향으로 회전하는 경우, 제1 영역(R1)이 우측방으로 이동되도록 설정될 수 있다. In one embodiment, the
일 실시예로, 전자 장치(200)는 미리 설정된 기준에 따라, 제1 영역(R1)에 대응되는 복수의 구역 중 일부가 특정 이동량 또는 특정 회전량에 따라 이동되도록 설정될 수 있다. 예시로, 거리 센서의 화각이 20°이고, 제2 영역(R2)이 전자 장치(200)로부터 1 [m] 이격된 위치에 설정된 경우, 미리 설정된 기준은, 제1 영역(R1)이 전자 장치(200)의 3도 틸팅(tilting)에 의해 제2 영역(R2)의 복수의 구역(zone) 중 하나만큼 이동될 수 있다. 또한, 전자 장치(200)의 34 [cm] 이동에 의해, 제1 영역(R1)이 제2 영역(R2)의 복수의 구역(zone) 중 하나만큼 이동될 수 있다.In one embodiment, the
제2 영역(R2)의 복수의 구역(zone)을 몇 개로 구분할지, 제2 영역(R2)에서 제1 영역(R1)에 대응하는 구역의 이동을 위한 전자 장치(200)의 회전 또는 이동의 정도에 관련한 미리 설정된 기준은 복수의 카메라들과 거리 센서의 성능 및 배치에 따라 변경될 수 있다. 여기서, 미리 설정된 기준은 실제 실험을 통한 실측치로 확인될 수 있다.How to divide a plurality of zones in the second region R2, and how to rotate or move the
도 10은, 일 실시예에 따른, 전자 장치(예: 도 2의 전자 장치(200))의 이동에 따라 제2 영역(R2)을 매핑하는 예시이다. 도 11은, 일 실시예에 따른, 전자 장치(예: 도 2의 전자 장치(200))의 이동 및 회전에 따라 제2 영역(R2)을 매핑하는 예시이다.FIG. 10 is an example of mapping the second area R2 according to the movement of an electronic device (eg, the
도 10 내지 도 11을 참조하면, 전자 장치는 제1 영역(R1)의 이동된 위치를 기반으로, 제2 영역(R2)에 포함된 제1 영역(R1)의 적어도 일부에 거리 데이터를 매핑할 수 있다.Referring to FIGS. 10 and 11 , the electronic device maps distance data to at least a portion of the first area (R1) included in the second area (R2) based on the moved position of the first area (R1). You can.
도 10에 도시한 것과 같이, frame 1에서 거리 센서가 1 [m]를 감지하고, frame 1과 frame 2 사이에 움직임 센서가 x축으로 17.7 [cm] 이동한 것으로 감지한 경우, 전자 장치는 제1 영역(R1)을 중심에서 좌측에 위치된 구역에 대응되는 것으로 확인하고, 해당 구역에 1 [m]의 거리 데이터를 매핑할 수 있다. 또한, frame 2에서 거리 센서가 1 [m]를 감지하고, frame 2와 frame 3 사이에 움직임 센서가 x축으로 17.7 [cm] 이동한 것으로 감지한 경우, 전자 장치는 frame 1의 제1 영역(R1)이 좌측으로 더 이동된 것으로 확인하며, frame 2의 제1 영역(R1)이 제2 영역(R2)의 중심에서 좌측에 위치된 구역에 대응되는 것으로 확인하고, 해당 구역에 각각 1 [m]의 거리 데이터를 매핑할 수 있다. 또한, frame 3에서 거리 센서가 50 [cm]를 감지하고, frame 3와 frame 4 사이에 움직임 센서가 x축으로 17.7 [cm] 이동한 것으로 감지한 경우, 전자 장치는 frame 1의 제1 영역(R1)이 제2 영역(R2)에서 이탈된 것으로 확인하며, frame 2의 제1 영역(R1)이 좌측으로 더 이동된 것으로 확인하여 해당 구역에 1 [m]의 거리 데이터를 매핑하고, frame 3의 제1 영역(R1)이 제2 영역(R2)의 중심에서 좌측에 위치된 구역에 대응되는 것으로 확인하여 해당 구역에 50 [cm]의 거리 데이터를 매핑할 수 있다.As shown in FIG. 10, when the distance sensor detects 1 [m] in
도 10에 도시한 것과 같이, frame 1에서 거리 센서가 1 [m]를 감지하고, frame 1과 frame 2 사이에 움직임 센서가 x축으로 17.7 [cm] 이동한 것으로 감지한 경우, 전자 장치는 제1 영역(R1)을 제2 영역(R2)의 중심에서 좌측에 위치된 구역에 대응되는 것으로 확인하고, 해당 구역에 1 [m]의 거리 데이터를 매핑할 수 있다. 또한, frame 2에서 거리 센서가 1 [m]를 감지하고, frame 2와 frame 3 사이에 움직임 센서가 x축으로 17.7 [cm] 이동한 것으로 감지한 경우, 전자 장치는 frame 1의 제1 영역(R1)이 좌측으로 더 이동된 것으로 확인하며, frame 2의 제1 영역(R1)이 제2 영역(R2)의 중심에서 좌측에 위치된 구역에 대응되는 것으로 확인하고, 해당 구역에 각각 1 [m]의 거리 데이터를 매핑할 수 있다. 또한, frame 3에서 거리 센서가 50[cm]를 감지하고, 움직임 센서가 x축을 기준으로 3°회전한 것으로 감지한 경우, frame 1 내지 frame 2에서 감지한 거리 데이터가 모두 중심에서 하방에 위치된 구역에 대응되는 것으로 확인하고, 해당 구역에 각각 1 [m]의 거리 데이터를 매핑할 수 있다. As shown in FIG. 10, when the distance sensor detects 1 [m] in
일 실시예에 따라, 전자 장치는 제2 영역(R2)에 매핑한 거리 맵을 기반으로, 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정할 수 있다. According to one embodiment, the electronic device may determine a camera to acquire an image from among a plurality of cameras based on a distance map mapped to the second area R2.
일 실시예로, 복수의 카메라들에 포함된 제1 카메라, 제2 카메라, 제3 카메라 및 제4 카메라는 각각 서로 다른 초점 거리들을 가진 광각 카메라, 초광각 카메라, 제1 망원 카메라, 및 제2 망원 카메라일 수 있고, 전자 장치는 제2 영역(R2)에 매핑된 거리 맵을 기반으로 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정할 수 있다.In one embodiment, the first camera, second camera, third camera, and fourth camera included in the plurality of cameras are a wide-angle camera, an ultra-wide-angle camera, a first telephoto camera, and a second telephoto camera, respectively, having different focal lengths. It may be a camera, and the electronic device may determine a camera to acquire an image from among a plurality of cameras based on a distance map mapped to the second area R2.
일 실시예로, 전자 장치는 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득할 수 있다. 여기서, 제1 카메라는 카메라 어플리케이션 실행시 자동으로 활성화되는 카메라로, 광각 카메라일 수 있다. 전자 장치는 디스플레이(예: 도 2의 디스플레이(250))를 통해 사용자에게 프리뷰를 표시할 수 있다. 프리뷰는 정지된 이미지 또는 연속 이미지일 수 있고, 거리 맵이 생성되는 제2 영역(R2)이 포함될 수 있다.In one embodiment, the electronic device may obtain a preview through a first camera among a plurality of cameras. Here, the first camera is a camera that is automatically activated when the camera application is executed and may be a wide-angle camera. The electronic device may display a preview to the user through a display (eg,
일 실시예로, 전자 장치는 제1 카메라를 통하여 프리뷰를 획득하여 디스플레이에 표시하는 상태에서, 제2 영역(R2)에 매핑한 거리 맵을 기반으로 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정할 수 있다. 예시로, 오브젝트와의 거리에 대한 하기와 같은 기준에 기반하여, 이미지를 획득할 카메라를 결정할 수 있다.In one embodiment, the electronic device acquires a preview through the first camera and displays it on the display, and determines a camera to acquire an image from among a plurality of cameras based on the distance map mapped to the second area R2. You can. As an example, a camera to acquire an image can be determined based on the following criteria for the distance to the object.
[표 2]와 같이, 전자 장치는 제2 영역(R2)에 매핑한 거리 맵의 거리 데이터를 기반으로, 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정할 수 있다. 구체적으로, 제2 영역(R2)의 복수의 구역(zone)에 각각 매핑된 거리 데이터를 기반으로, 이미지를 획득할 카메라를 결정할 수 있다.예를 들어, 전자 장치는 오브젝트와의 거리가 28 [cm] 이하인 경우, 초광각 카메라(UW, 예: 제2 카메라)를 이미지를 획득할 카메라로 결정할 수 있고, 오브젝트와의 거리가 30 [cm] 이상인 경우, 광각 카메라(Wide, 제1 카메라)를 이미지를 획득할 카메라로 결정할 수 있다. 오브젝트와의 거리가 28 [cm] 초과 30 [cm] 미만인 히스테리시스 구간에서는, 프리뷰를 제공하는 카메라를 이미지를 획득할 카메라로 유지할 수 있다. As shown in [Table 2], the electronic device may determine a camera to acquire an image from among a plurality of cameras based on distance data of the distance map mapped to the second area R2. Specifically, a camera to acquire an image may be determined based on distance data mapped to each of a plurality of zones in the second region R2. For example, the electronic device may determine the distance to the object is 28 [ cm] or less, the ultra-wide-angle camera (UW, e.g., the second camera) can be determined as the camera to acquire the image, and if the distance to the object is more than 30 [cm], the wide-angle camera (Wide, the first camera) can be used to acquire the image. You can decide which camera to acquire. In the hysteresis section where the distance to the object is more than 28 [cm] and less than 30 [cm], the camera that provides the preview can be maintained as the camera that acquires the image.
또한, 전자 장치는 오브젝트와의 거리가 40 [cm] 이하인 경우, 광각 카메라(Wide, 제1 카메라)를 이미지를 획득할 카메라로 결정하고, 오브젝트와의 거리가 50 [cm] 이상인 경우, 제1 망원 카메라(Tele2, 제3 카메라)를 이미지를 획득할 카메라로 결정할 수 있다. 오브젝트와의 거리가 40 [cm] 초과 50 [cm] 미만인 히스테리시스 구간에서는, 프리뷰를 제공하는 카메라를 이미지를 획득할 카메라로 유지할 수 있다. In addition, if the distance to the object is 40 [cm] or less, the electronic device determines the wide-angle camera (Wide, first camera) as the camera to acquire the image, and if the distance to the object is 50 [cm] or more, the first camera The telephoto camera (Tele2, third camera) can be selected as the camera to acquire the image. In the hysteresis section where the distance to the object is more than 40 [cm] and less than 50 [cm], the camera that provides the preview can be maintained as the camera that acquires the image.
또한, 전자 장치는 오브젝트와의 거리가 80 [cm] 이하인 경우, 제1 망원 카메라(Tele1, 제3 카메라)를 이미지를 획득할 카메라로 결정할 수 있고, 오브젝트와의 거리가 100 [cm] 이상인 경우, 제2 망원 카메라(Tele2, 제4 카메라)를 이미지를 획득할 카메라로 결정할 수 있다. 오브젝트와의 거리가 80 [cm] 초과 100 [cm] 미만인 히스테리시스 구간에서는, 프리뷰를 제공하는 카메라를 이미지를 획득할 카메라로 유지할 수 있다. Additionally, if the distance to the object is 80 [cm] or less, the electronic device may determine the first telephoto camera (Tele1, third camera) as the camera to acquire the image, and if the distance to the object is 100 [cm] or more. , the second telephoto camera (Tele2, fourth camera) can be determined as the camera to acquire the image. In the hysteresis section where the distance to the object is more than 80 [cm] and less than 100 [cm], the camera that provides the preview can be maintained as the camera that acquires the image.
일 실시예로, 전자 장치는, 거리 맵에 기반하여 결정한 이미지를 획득할 카메라를 기반으로, 이미지를 획득할 카메라를 전환할 수 있다. 예를 들어, 전자 장치는 카메라 어플리케이션의 실행시 또는 카메라의 전환 이후에, 제1 카메라를 통해 프리뷰를 획득할 수 있고, 프리뷰를 제공하는 상태에서 제1 카메라와 상이한 제2 카메라를 이미지를 획득할 카메라로 결정한 경우, 이미지를 획득할 카메라를 제2 카메라로 전환할 수 있다. 일 실시예로, 프리뷰를 제공하는 카메라와 이미지를 획득할 카메라로 결정한 카메라가 동일한 경우, 이미지를 획득할 카메라를 전환하지 않을 수 있다.In one embodiment, the electronic device may switch the camera to acquire the image based on the camera to acquire the image determined based on the distance map. For example, the electronic device may acquire a preview through a first camera when executing a camera application or after switching cameras, and acquire an image using a second camera different from the first camera while providing the preview. If you decide on a camera, you can switch the camera to acquire the image to the second camera. In one embodiment, if the camera providing the preview and the camera determined as the camera to acquire the image are the same, the camera to acquire the image may not be switched.
일 실시예로, 전자 장치는, 생성한 거리 맵에 매핑된 거리 데이터를 기반으로, 자동 초점(AF: Auto focus) 기능을 수행하도록 동작하거나, 또는 이미지를 획득할 카메라를 적절한 초점 거리를 갖는 카메라로 결정하고 전환하도록 동작할 수 있다.In one embodiment, the electronic device operates to perform an auto focus (AF) function based on distance data mapped to the generated distance map, or selects a camera to acquire an image using a camera with an appropriate focal length. You can decide and operate to switch.
도 12는, 일 실시예들에 따른, 이미지를 제공하기 위한 방법을 설명하는 흐름도(1200)이다.FIG. 12 is a
도 12를 참조하면, 일 실시예에 따른 전자 장치는, 동작 1210에서, 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득하도록 동작할 수 있다. 예를 들어, 제1 카메라는 확대 배율이 1.0 배에 적절한 광각 카메라일 수 있다. 전자 장치는 획득한 프리뷰를 이미지 또는 영상으로 디스플레이에 표시할 수 있다. 거리 맵이 생성되는 제2 영역은 프리뷰의 범위 이내에 포함될 수 있다.Referring to FIG. 12, in
일 실시예에 따른 전자 장치는, 동작 1230에서, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하도록 동작할 수 있다. 구체적으로, 전자 장치는 프리뷰를 표시하는 상태에서, 거리 센서로부터 제1 영역의 거리 데이터를 수신하고, 움직임 센서로부터 움직임 데이터를 수신할 수 있다. 거리 데이터 및 움직임 데이터는 동시에 수신될 수도 있고, 순차적으로 수신될 수 있으며 그 순서는 변경될 수 있다.In
일 실시예에 따른 전자 장치는, 동작 1250에서, 움직임 데이터를 기반으로, 거리 데이터가 제1 영역에 대응하도록, 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하도록 동작할 수 있다. 일 실시예로, 전자 장치는 움직임 데이터를 기반으로, 제2 영역의 내부에 위치된 제1 영역의 적어도 일부에 거리 데이터를 매핑하여 거리 맵을 생성할 수 있다. 일 실시예로, 전자 장치는 미리 설정된 주기에 기반하여 거리 센서에 의해 감지된 복수의 거리 데이터를 거리 맵에 매핑할 수 있고, 여기서 복수의 거리 데이터는 움직임 데이터에 대응하여 변경되는 제1 영역에 각각 대응하는 복수의 데이터일 수 있다.In
일 실시예에 따른 전자 장치는, 동작 1250의 적어도 일부로 동작 1251에서, 미리 설정된 기준을 기반으로, 움직임 데이터에 따른 제1 영역의 이동된 위치를 확인하도록 동작할 수 있다. 예를 들어, 전자 장치는, 움직임 데이터의 이동 또는 회전에 각각 대응하는 미리 설정된 기준에 따라, 제1 영역의 이동된 위치를 확인할 수 있다. In
일 실시예에 따른 전자 장치는, 동작 1250의 적어도 일부로 동작 1252에서, 확인한 이동된 위치를 기반으로, 제1 영역의 적어도 일부에 거리 데이터를 매핑하도록 동작할 수 있다. 구체적으로 전자 장치는, 움직임 데이터에 기반하여 확인한 이동된 제1 영역의 거리 데이터를 제2 영역에 포함된 제1 영역의 적어도 일부에 매핑함으로써 거리 맵을 생성할 수 있다.In
일 실시예에 따른 전자 장치는, 동작 1260에서, 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 거리 맵에서 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 전자 장치의 움직임을 유도하는 노티피케이션을 제공하도록 동작할 수 있다. 구체적으로 전자 장치는, 거리 센서에서 감지한 제1 영역의 오브젝트와의 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 오브젝트와의 거리 데이터에 기반하여 이미지를 획득할 카메라를 결정하거나 결정한 카메라로 전환할 수 있다. 전자 장치는 카메라를 전환하기 이전에, 거리 맵에서 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 전자 장치의 움직임을 유도하는 노티피케이션을 제공할 수 있다. 여기서 복수의 카메라 중 적어도 하나는, 트와의 거리 데이터에 기반하여 이미지를 획득할 카메라 또는 프리뷰를 제공하는 카메라일 수 있다.The electronic device according to one embodiment, in
일 실시예로, 전자 장치는 변화된 거리 데이터에 따라 전환될 카메라의 촬영 범위에 대응하는 거리 데이터가 생성된 거리 맵에 매핑되었는지 여부를 기반으로, 전자 장치의 움직임을 유도하는 노티피케이션을 제공할 수 있다. 예를 들어, 전자 장치는, 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하고, 변화가 발생된 거리 데이터에 따라 전환될 카메라가 제3 카메라인 경우, 거리 맵에 제3 카메라의 촬영 범위에 대응하는 거리 데이터가 존재하는지 판단할 수 있다. 전자 센서는, 거리 맵에 제3 카메라의 촬영 범위에 대응하는 거리 데이터가 존재하지 않음에 기반하여, 거리 센서의 감지 범위인 제1 영역이 제3 카메라의 촬영 범위에 포함되도록 전자 장치의 움직임을 유도하는 노티피케이션을 제공할 수 있다. 예시로, 전자 장치는, 전자 장치를 일측 방향으로 이동하거나, 또는 일측으로 회전하도록 유도하는 노티피케이션을 제공할 수 있다.In one embodiment, the electronic device may provide a notification that induces movement of the electronic device based on whether the distance data corresponding to the shooting range of the camera to be switched according to the changed distance data has been mapped to the generated distance map. You can. For example, when a change greater than a preset size occurs in the distance data and the camera to be switched according to the distance data in which the change occurred is a third camera, the electronic device displays a recording range corresponding to the shooting range of the third camera in the distance map. It can be determined whether distance data exists. The electronic sensor moves the electronic device so that the first area, which is the detection range of the distance sensor, is included in the shooting range of the third camera, based on the fact that there is no distance data corresponding to the shooting range of the third camera in the distance map. Inducing notifications can be provided. As an example, an electronic device may provide a notification that induces the electronic device to move in one direction or rotate to one side.
일 실시예로, 동작 1260은 필수적인 동작이 아닌 선택적인 동작으로, 전자 장치의 동작 방법에서 포함되거나 또는 제외될 수 있다.In one embodiment,
일 실시예에 따른 전자 장치는, 동작 1270에서, 제2 영역의 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정할 수 있다.In
일 실시예에 따른 전자 장치는, 동작 1280에서, 상기 결정한 이미지를 획득할 카메라가 복수의 카메라들 중 제2 카메라인 경우, 이미지를 획득할 카메라를 제1 카메라로부터 제2 카메라로 전환하도록 동작할 수 있다. 여기서, 제2 카메라는 제1 카메라와는 상이한 카메라로, 복수의 카메라들 중 제1 카메라와 상이한 모든 카메라일 수 있다. 예를 들어, 상기 결정한 이미지를 획득할 카메라가 복수의 카메라들 중 제1 카메라인 경우, 카메라의 전환 없이 제1 카메라의 실행을 유지할 수 있다.In
구체적으로, 이미지를 획득할 카메라의 결정 및 전환에 관하여는 하기의 도 13a 및 도 13b와 함께 후술한다.Specifically, determination and switching of cameras to acquire images will be described later with reference to FIGS. 13A and 13B below.
일 실시예에 따른 전자 장치는, 동작 1290에서, 제2 영역의 거리 맵을 기반으로, 자동 초점 기능을 수행할 수 있다. 전자 장치는, 이미지를 획득할 카메라로 전환한 이후 또는 실행한 카메라를 유지한 상태로, 제2 영역의 거리 맵을 기반으로 자동 초점 기능을 수행할 수 있다. 일 실시예로, 전자 장치는, 제2 영역의 거리 맵에서, 전환되거나 유지된 이미지를 획득할 카메라의 촬영 범위에 포함되는 거리 데이터를 이용하여, 자동 초점 기능을 수행할 수 있다.In
도 13a 및 도 13b는, 일 실시예들에 따른, 이미지를 획득할 카메라의 결정 및 전환하기 위한 방법을 설명하는 흐름도(1300)이다.13A and 13B are flowcharts 1300 illustrating a method for determining and switching a camera to acquire an image, according to one embodiment.
도 13a 및 도 13b를 참조하면, 일 실시예에 따른 전자 장치는, 동작 1310에서, 카메라 어플리케이션의 실행시, 제1 카메라를 실행할 수 있다. 일 실시예로, 전자 장치는 제1 카메라를 이용하여 프리뷰를 획득하고, 획득한 프리뷰를 디스플레이에 표시할 수 있다.Referring to FIGS. 13A and 13B , the electronic device according to one embodiment may execute the first camera when executing a camera application in
일 실시예에 따른 전자 장치는, 동작 1320에서, 제1 카메라를 실행한 상태에서 확대 배율이 제1 배율(예시로, 3배) 미만인지 확인할 수 있다. 또한, 일 실시예에 따른 전자 장치는, 제1 카메라를 실행한 상태에서 확대 배율이 제1 배율 미만인 경우, 거리 센서로부터 수신한 거리 데이터를 제1 거리와 비교할 수 있다.In
일 실시예로, 전자 장치는 동작 1341에서, 거리 데이터가 제1 거리 미만인지 확인할 수 있다. 여기서 제1 거리는 오브젝트와의 거리를 기반으로 제1 카메라로부터 제2 카메라로 전환되기 위한 임계값에 해당하는 거리로, 예를 들어 28 [cm]로 미리 설정될 수 있다. 전자 장치는, 거리 데이터가 제1 거리 미만인 경우, 동작 1351에서, 제2 카메라의 촬영 범위의 거리 데이터가 존재하는지 거리 맵을 기반으로 확인할 수 있다. 일 실시예로 전자 장치는, 제2 카메라의 촬영 범위의 거리 데이터가 제1 거리 미만인 경우 및/또는 제2 카메라의 촬영 범위의 거리 데이터가 존재하지 않는 경우, 동작 1372에서, 제2 카메라로 전환할 수 있다. 일 실시예로, 전자 장치는, 거리 데이터가 제1 거리 이상인 경우 및/또는 제2 카메라의 촬영 범위의 거리 데이터가 제1 거리 이상인 경우, 동작 1371에서, 제1 카메라의 실행을 유지할 수 있다. In one embodiment, the electronic device may check whether the distance data is less than the first distance in
일 실시예에 따른 전자 장치는, 동작 1320에서, 제1 카메라를 실행한 상태에서 확대 배율이 제1 배율 미만인지 확인할 수 있다. 일 실시예에 따른 전자 장치는, 제1 카메라를 실행한 상태에서 확대 배율이 제1 배율 이상인 경우, 동작 1330에서, 제1 카메라를 실행한 상태에서 확대 배율이 제1 배율보다 크게 설정된 제2 배율(예시로, 10배) 미만인지 확인할 수 있다. 일 실시예에 따른 전자 장치는, 제1 카메라를 실행한 상태에서 확대 배율이 제2 배율 미만인 경우, 거리 센서로부터 수신한 거리 데이터를 제2 거리와 비교할 수 있다. In
일 실시예로, 전자 장치는 동작 1342에서, 거리 데이터가 제2 거리 미만인지 확인할 수 있다. 여기서 제2 거리는 오브젝트와의 거리를 기반으로 제1 카메라로부터 제3 카메라로 전환되기 위한 임계값에 해당하는 거리로, 예를 들어 40 [cm]로 미리 설정될 수 있다. 전자 장치는, 거리 데이터가 제2 거리 미만인 경우, 동작 1352에서, 제1 카메라의 촬영 범위의 거리 데이터가 존재하는지 거리 맵을 기반으로 확인할 수 있다. 일 실시예로 전자 장치는, 제1 카메라의 촬영 범위의 거리 데이터가 제2 거리 미만인 경우 및/또는 제1 카메라의 촬영 범위의 거리 데이터가 존재하지 않는 경우, 동작 1374에서, 제1 카메라의 실행을 유지할 수 있다. 일 실시예로, 전자 장치는, 거리 데이터가 제2 거리 이상인 경우 및/또는 제1 카메라의 촬영 범위의 거리 데이터가 제2 거리 이상인 경우, 동작 1373에서, 제3 카메라로 전환할 수 있다. In one embodiment, the electronic device may check whether the distance data is less than the second distance in
일 실시예에 따른 전자 장치는, 제1 카메라를 실행한 상태에서 확대 배율이 제2 배율 이상인 경우, 거리 센서로부터 수신한 거리 데이터를 제3 거리와 비교할 수 있다. The electronic device according to one embodiment may compare the distance data received from the distance sensor with the third distance when the magnification is greater than or equal to the second magnification while the first camera is running.
일 실시예로, 전자 장치는 동작 1343에서, 거리 데이터가 제3 거리 미만인지 확인할 수 있다. 여기서 제3 거리는 오브젝트와의 거리를 기반으로 제1 카메라로부터 제3 카메라 또는 제4 카메라로 전환되기 위한 경계값에 해당하는 거리로, 예를 들어 80 [cm]로 미리 설정될 수 있다. 전자 장치는, 거리 데이터가 제3 거리 미만인 경우, 동작 1353에서, 제3 카메라의 촬영 범위의 거리 데이터가 존재하는지 거리 맵을 기반으로 확인할 수 있다. 일 실시예로 전자 장치는, 제3 카메라의 촬영 범위의 거리 데이터가 제3 거리 미만인 경우 및/또는 제3 카메라의 촬영 범위의 거리 데이터가 존재하지 않는 경우, 동작 1376에서, 제3 카메라로 전환할 수 있다. 일 실시예로, 전자 장치는, 거리 데이터가 제3 거리 이상인 경우 및/또는 제3 카메라의 촬영 범위의 거리 데이터가 제3 거리 이상인 경우, 동작 1375에서, 제4 카메라로 전환할 수 있다.In one embodiment, the electronic device may check whether the distance data is less than the third distance in
추가로, 도 13에는 이미지를 획득할 카메라로 전환 또는 유지한 이후에 동작이 종료되는 것으로 도시하였으나, 미리 설정된 주기에 기반하여 지속적으로 업데이트되는 거리 맵에 따라, 이미지를 획득할 카메라를 지속적으로 전환하거나 유지할 수 있다. 여기에서, 카메라의 전환을 위한 제1 거리, 제2 거리 및 제3 거리에 각각 히스테리시스 구간을 적용하여, 각각 30 [cm], 50 [cm] 및 100 [cm]의 임계값 또는 경계값을 적용할 수 있다.Additionally, in Figure 13, the operation is shown to end after switching to or maintaining the camera to acquire the image, but the camera to acquire the image is continuously switched according to the distance map that is continuously updated based on a preset cycle. You can do it or keep it. Here, hysteresis sections are applied to the first, second, and third distances for camera switching, respectively, and thresholds or boundary values of 30 [cm], 50 [cm], and 100 [cm] are applied, respectively. can do.
일 실시예들에 따른 전자 장치는, 초점 거리가 서로 상이한 복수의 카메라들, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서, 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서 및 상기 복수의 카메라들, 상기 거리 센서 및 상기 움직임 센서와 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 일 실시예들에 따른 적어도 하나의 프로세서는, 상기 거리 센서로부터 상기 오브젝트와의 거리 데이터 및 상기 움직임 센서로부터 상기 전자 장치의 이동 또는 회전에 관련한 움직임 데이터를 수신하도록 설정될 수 있다. 일 실시예들에 따른 적어도 하나의 프로세서는, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하도록 설정될 수 있다. 일 실시예들에 따른 적어도 하나의 프로세서는, 상기 거리 맵을 기반으로, 상기 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하도록 설정될 수 있다.An electronic device according to one embodiment includes a plurality of cameras having different focal lengths, a distance sensor that detects the distance to an object located in a first area, a motion sensor that detects movement or rotation of the electronic device, and the It may include at least one processor operatively connected to a plurality of cameras, the distance sensor, and the motion sensor. At least one processor according to one embodiment may be configured to receive distance data to the object from the distance sensor and movement data related to movement or rotation of the electronic device from the motion sensor. At least one processor according to one embodiment is configured to generate, based on the motion data, a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area. can be set. At least one processor according to one embodiment may be configured to determine a camera to acquire an image among the plurality of cameras based on the distance map.
일 실시예들에 따른 전자 장치에서, 상기 거리 센서는, 발광부 및 수광부를 포함하고, 상기 발광부에서 방출되어 상기 오브젝트에 의해 반사된 광을 상기 수광부에서 수신함에 기반하여, 상기 오브젝트와의 거리를 감지하는 TOF(Time Of Flight) 방식일 수 있다.In the electronic device according to one embodiment, the distance sensor includes a light emitting unit and a light receiving unit, and determines the distance to the object based on receiving light emitted from the light emitting unit and reflected by the object at the light receiving unit. It may be a TOF (Time Of Flight) method that detects.
일 실시예들에 따른 전자 장치에서, 상기 움직임 센서는, 상기 전자 장치의 이동을 감지하는 가속도 센서 또는 상기 전자 장치의 회전을 감지하는 자이로 센서를 포함할 수 있다.In the electronic device according to one embodiment, the motion sensor may include an acceleration sensor that detects movement of the electronic device or a gyro sensor that detects rotation of the electronic device.
일 실시예들에 따른 전자 장치에서, 상기 거리 센서는, 상기 복수의 카메라들의 측방에 배치되어, 감지 범위가 상기 복수의 카메라 각각의 촬영 범위와 적어도 일부 상이할 수 있다.In the electronic device according to one embodiment, the distance sensor may be disposed on a side of the plurality of cameras, and the detection range may be at least partially different from the capturing range of each of the plurality of cameras.
일 실시예들에 따른 전자 장치에서, 상기 적어도 하나의 프로세서는, 상기 움직임 데이터를 기반으로, 상기 제2 영역의 내부에 위치된 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하여 상기 거리 맵을 생성하도록 설정될 수 있다.In the electronic device according to one embodiment, the at least one processor maps the distance data to at least a portion of the first area located inside the second area based on the motion data to create the distance map. It can be set to generate .
일 실시예들에 따른 전자 장치에서, 상기 적어도 하나의 프로세서는, 미리 설정된 기준을 기반으로, 상기 움직임 데이터에 따른 상기 제1 영역의 이동된 위치를 확인하도록 설정될 수 있다. 일 실시예들에 따른 적어도 하나의 프로세서는, 상기 확인한 이동된 위치를 기반으로, 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하도록 설정될 수 있다.In the electronic device according to one embodiment, the at least one processor may be set to check the moved position of the first area according to the motion data based on a preset standard. At least one processor according to one embodiment may be configured to map the distance data to at least a portion of the first area based on the confirmed moved location.
일 실시예들에 따른 전자 장치에서, 상기 거리 센서는, 상기 전자 장치의 움직임에 의해 변경되는 상기 제1 영역에 각각 대응하는 복수의 거리 데이터를 미리 설정된 주기에 기반하여 생성하도록 설정될 수 있다. 상기 적어도 하나의 프로세서는, 상기 움직임 데이터에 기반하여, 상기 거리 센서로부터 수신한 상기 복수의 거리 데이터를 상기 제2 영역에 각각 매핑하여 상기 거리 맵을 생성하도록 설정될 수 있다.In the electronic device according to one embodiment, the distance sensor may be set to generate a plurality of distance data each corresponding to the first area that changes due to movement of the electronic device based on a preset period. The at least one processor may be set to generate the distance map by mapping the plurality of distance data received from the distance sensor to the second area, based on the motion data.
일 실시예들에 따른 전자 장치에서, 상기 적어도 하나의 프로세서는, 상기 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득하도록 설정되고, 상기 프리뷰의 범위 이내에 상기 제2 영역이 포함될 수 있다.In the electronic device according to one embodiment, the at least one processor is set to obtain a preview through a first camera among the plurality of cameras, and the second area may be included within the range of the preview.
일 실시예들에 따른 전자 장치에서, 상기 적어도 하나의 프로세서는, 상기 결정한 카메라가 상기 복수의 카메라들 중 제2 카메라인 경우, 상기 이미지를 획득할 카메라를 상기 제1 카메라로부터 상기 제2 카메라로 전환하도록 설정될 수 있다.In the electronic device according to one embodiment, when the determined camera is a second camera among the plurality of cameras, the at least one processor switches the camera to acquire the image from the first camera to the second camera. It can be set to switch.
일 실시예들에 따른 전자 장치에서, 상기 적어도 하나의 프로세서는, 상기 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 상기 거리 맵에서 상기 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 상기 전자 장치의 움직임을 유도하는 노티피케이션을 제공하도록 설정될 수 있다.In the electronic device according to one embodiment, the at least one processor, when a change of more than a preset size occurs in the distance data, displays distance data corresponding to a shooting range of at least one of the plurality of cameras in the distance map. Based on the presence or absence of , it can be set to provide a notification that induces movement of the electronic device.
일 실시예들에 따른 전자 장치의 동작 방법은, 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하는 동작을 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법은, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하는 동작을 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법은, 상기 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하는 동작을 포함할 수 있다.A method of operating an electronic device according to embodiments includes receiving distance data from a distance sensor that detects the distance to an object located in a first area and movement data from a motion sensor that detects movement or rotation of the electronic device. Can include actions. A method of operating an electronic device according to embodiments includes generating, based on the motion data, a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area. It may include actions such as: A method of operating an electronic device according to embodiments may include determining a camera to acquire an image from among a plurality of cameras having different focal lengths based on the distance map.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 거리 센서는, 발광부에서 방출되어 상기 오브젝트에 의해 반사된 광을 수광부에서 수신함에 기반한 TOF(Time Of Flight) 방식으로, 상기 오브젝트와의 거리를 감지할 수 있다.In a method of operating an electronic device according to one embodiment, the distance sensor determines the distance to the object using a TOF (Time Of Flight) method based on receiving light emitted from a light emitter and reflected by the object at a light receiving unit. can be detected.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 움직임 센서는, 상기 전자 장치의 이동을 감지하는 가속도 센서 또는 상기 전자 장치의 회전을 감지하는 자이로 센서를 통해 상기 전자 장치의 움직임을 감지할 수 있다.In a method of operating an electronic device according to embodiments, the motion sensor may detect movement of the electronic device through an acceleration sensor that detects movement of the electronic device or a gyro sensor that detects rotation of the electronic device. there is.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 거리 센서는, 상기 복수의 카메라들의 측방에 배치되어, 감지 범위가 상기 복수의 카메라 각각의 촬영 범위와 적어도 일부 상이할 수 있다.In a method of operating an electronic device according to embodiments, the distance sensor may be disposed on a side of the plurality of cameras, and a detection range may be at least partially different from a capturing range of each of the plurality of cameras.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로, 상기 움직임 데이터를 기반으로, 상기 제2 영역의 내부에 위치된 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하여 상기 거리 맵을 생성할 수 있다.In a method of operating an electronic device according to embodiments, at least as part of an operation of generating a distance map for the second area, based on the motion data, the first area located inside the second area The distance map may be generated by mapping the distance data to at least a portion of the distance map.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로, 미리 설정된 기준을 기반으로, 상기 움직임 데이터에 따른 상기 제1 영역의 이동된 위치를 확인하는 동작을 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 확인한 이동된 위치를 기반으로, 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하는 동작을 포함할 수 있다.In a method of operating an electronic device according to one embodiment, at least as part of an operation of generating a distance map for the second area, the moved position of the first area according to the motion data is determined based on a preset standard. May include confirmation actions. A method of operating an electronic device according to embodiments may include mapping the distance data to at least a portion of the first area based on the confirmed moved location.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 거리 데이터는, 미리 설정된 주기에 기반하여 상기 거리 센서에 의해 감지된, 상기 전자 장치의 움직임에 의해 변경되는 상기 제1 영역에 각각 대응하는 복수의 데이터일 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로, 상기 움직임 데이터에 기반하여, 상기 거리 센서로부터 수신한 상기 복수의 거리 데이터를 상기 제2 영역에 각각 매핑하여 상기 거리 맵을 생성할 수 있다.In a method of operating an electronic device according to embodiments, the distance data may include a plurality of data, each corresponding to the first area that is changed by movement of the electronic device and detected by the distance sensor based on a preset cycle. It may be data from . In a method of operating an electronic device according to embodiments, at least as part of an operation of generating a distance map for the second area, the plurality of distance data received from the distance sensor is transmitted to the second area based on the motion data. The distance map can be created by mapping each of the two areas.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득하는 동작을 더 포함할 수 있다. 일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 프리뷰의 범위 이내에 상기 제2 영역이 포함될 수 있다.A method of operating an electronic device according to embodiments may further include obtaining a preview through a first camera among the plurality of cameras. In a method of operating an electronic device according to embodiments, the second area may be included within the range of the preview.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 결정한 카메라가 상기 복수의 카메라들 중 제2 카메라인 경우, 상기 이미지를 획득할 카메라를 상기 제1 카메라로부터 상기 제2 카메라로 전환하는 동작을 더 포함할 수 있다.In a method of operating an electronic device according to embodiments, when the determined camera is a second camera among the plurality of cameras, an operation of switching the camera to acquire the image from the first camera to the second camera More may be included.
일 실시예들에 따른 전자 장치의 동작 방법에서, 상기 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 상기 거리 맵에서 상기 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 상기 전자 장치의 움직임을 유도하는 노티피케이션을 제공하는 동작을 더 포함할 수 있다.In a method of operating an electronic device according to embodiments, when a change of more than a preset size occurs in the distance data, whether distance data corresponding to a shooting range of at least one of the plurality of cameras exists in the distance map is determined. Based on this, the operation of providing a notification that induces movement of the electronic device may be further included.
일 실시예에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체로서, 상기 하나 이상의 프로그램은 전자 장치의 적어도 하나의 프로세서에 의해 실행될 때, 상기 전자 장치가 제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하는 프로그램을 포함할 수 있다. 일 실시예들에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체는, 상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하는 프로그램을 포함할 수 있다. 일 실시예들에 따른 하나 이상의 프로그램을 저장하는 비일시적 컴퓨터 판독 가능 저장 매체는, 상기 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하는 프로그램을 포함할 수 있다.A non-transitory computer-readable storage medium storing one or more programs according to an embodiment, wherein when the one or more programs are executed by at least one processor of an electronic device, the electronic device interacts with an object located in a first area. It may include a program that receives distance data from a distance sensor that detects the distance and movement data from a motion sensor that detects movement or rotation of the electronic device. A non-transitory computer-readable storage medium storing one or more programs according to one embodiment may include at least a portion of the first area so that the distance data corresponds to the first area based on the motion data. 2 May include a program that generates a street map for an area. A non-transitory computer-readable storage medium storing one or more programs according to embodiments may include a program for determining a camera to acquire an image among a plurality of cameras with different focal lengths based on the distance map. You can.
200 : 전자 장치
210 : 거리 센서
220 : 움직임 센서
230 : 복수의 카메라들
240 : 프로세서
250 : 디스플레이200: electronic device
210: distance sensor
220: motion sensor
230: Multiple cameras
240: processor
250: display
Claims (20)
초점 거리가 서로 상이한 복수의 카메라들;
제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서;
상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서; 및
상기 복수의 카메라들, 상기 거리 센서 및 상기 움직임 센서와 작동적으로 연결된 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로세서는:
상기 거리 센서로부터 상기 오브젝트와의 거리 데이터 및 상기 움직임 센서로부터 상기 전자 장치의 이동 또는 회전에 관련한 움직임 데이터를 수신하며,
상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하고,
상기 거리 맵을 기반으로, 상기 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하도록 설정된,
전자 장치.
In electronic devices,
A plurality of cameras with different focal lengths;
A distance sensor that detects the distance to an object located in the first area;
a motion sensor that detects movement or rotation of the electronic device; and
At least one processor operatively connected to the plurality of cameras, the distance sensor, and the motion sensor,
The at least one processor:
Receiving distance data to the object from the distance sensor and movement data related to movement or rotation of the electronic device from the motion sensor,
Based on the motion data, generate a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area,
Based on the distance map, set to determine a camera to acquire an image among the plurality of cameras,
Electronic devices.
상기 거리 센서는, 발광부 및 수광부를 포함하고, 상기 발광부에서 방출되어 상기 오브젝트에 의해 반사된 광을 상기 수광부에서 수신함에 기반하여, 상기 오브젝트와의 거리를 감지하는 TOF(Time Of Flight) 방식인,
전자 장치.
According to claim 1,
The distance sensor includes a light emitting unit and a light receiving unit, and is a time of flight (TOF) method that detects the distance to the object based on receiving light emitted from the light emitting unit and reflected by the object at the light receiving unit. person,
Electronic devices.
상기 움직임 센서는, 상기 전자 장치의 이동을 감지하는 가속도 센서 또는 상기 전자 장치의 회전을 감지하는 자이로 센서를 포함하는, 전자 장치.
According to claim 1,
The motion sensor includes an acceleration sensor that detects movement of the electronic device or a gyro sensor that detects rotation of the electronic device.
상기 거리 센서는, 상기 복수의 카메라들의 측방에 배치되어, 감지 범위가 상기 복수의 카메라 각각의 촬영 범위와 적어도 일부 상이한,
전자 장치.
According to claim 1,
The distance sensor is disposed on the side of the plurality of cameras and has a detection range that is at least partially different from a shooting range of each of the plurality of cameras.
Electronic devices.
상기 적어도 하나의 프로세서는, 상기 움직임 데이터를 기반으로, 상기 제2 영역의 내부에 위치된 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하여 상기 거리 맵을 생성하도록 설정된,
전자 장치.
According to claim 1,
The at least one processor is set to generate the distance map by mapping the distance data to at least a portion of the first area located inside the second area based on the motion data,
Electronic devices.
상기 적어도 하나의 프로세서는, 미리 설정된 기준을 기반으로, 상기 움직임 데이터에 따른 상기 제1 영역의 이동된 위치를 확인하고,
상기 확인한 이동된 위치를 기반으로, 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하도록 설정된,
전자 장치.
According to claim 5,
The at least one processor determines the moved position of the first area according to the motion data based on a preset standard,
Set to map the distance data to at least a portion of the first area based on the confirmed moved location,
Electronic devices.
상기 거리 센서는, 상기 전자 장치의 움직임에 의해 변경되는 상기 제1 영역에 각각 대응하는 복수의 거리 데이터를 미리 설정된 주기에 기반하여 생성하고,
상기 적어도 하나의 프로세서는, 상기 움직임 데이터에 기반하여, 상기 거리 센서로부터 수신한 상기 복수의 거리 데이터를 상기 제2 영역에 각각 매핑하여 상기 거리 맵을 생성하도록 설정된,
전자 장치.
According to claim 1,
The distance sensor generates a plurality of distance data, each corresponding to the first area changed by movement of the electronic device, based on a preset period,
The at least one processor is set to generate the distance map by mapping the plurality of distance data received from the distance sensor to the second area based on the motion data,
Electronic devices.
상기 적어도 하나의 프로세서는, 상기 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득하도록 설정되고,
상기 프리뷰의 범위 이내에 상기 제2 영역이 포함된,
전자 장치.
According to claim 1,
The at least one processor is configured to obtain a preview through a first camera among the plurality of cameras,
The second area is included within the range of the preview,
Electronic devices.
상기 적어도 하나의 프로세서는, 상기 결정한 카메라가 상기 복수의 카메라들 중 제2 카메라인 경우, 상기 이미지를 획득할 카메라를 상기 제1 카메라로부터 상기 제2 카메라로 전환하도록 설정된,
전자 장치.
According to claim 8,
The at least one processor is set to switch the camera for acquiring the image from the first camera to the second camera when the determined camera is a second camera among the plurality of cameras,
Electronic devices.
상기 적어도 하나의 프로세서는, 상기 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 상기 거리 맵에서 상기 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 상기 전자 장치의 움직임을 유도하는 노티피케이션을 제공하도록 설정된,
전자 장치.
According to claim 1,
The at least one processor, when a change of more than a preset size occurs in the distance data, based on the presence or absence of distance data corresponding to a shooting range of at least one of the plurality of cameras in the distance map, the electronic device Set to provide notifications that encourage movement,
Electronic devices.
제1 영역에 위치된 오브젝트와의 거리를 감지하는 거리 센서로부터 거리 데이터 및 상기 전자 장치의 이동 또는 회전을 감지하는 움직임 센서로부터 움직임 데이터를 수신하는 동작;
상기 움직임 데이터를 기반으로, 상기 거리 데이터가 상기 제1 영역에 대응하도록, 상기 제1 영역을 적어도 일부 포함하는 제2 영역에 대한 거리 맵을 생성하는 동작; 및
상기 거리 맵을 기반으로, 초점 거리가 서로 상이한 복수의 카메라들 중에서 이미지를 획득할 카메라를 결정하는 동작을 포함하는,
전자 장치의 동작 방법.
In a method of operating an electronic device,
Receiving distance data from a distance sensor that detects a distance to an object located in a first area and movement data from a motion sensor that detects movement or rotation of the electronic device;
Based on the motion data, generating a distance map for a second area that includes at least a portion of the first area so that the distance data corresponds to the first area; and
Based on the distance map, determining a camera to acquire an image among a plurality of cameras with different focal lengths,
How electronic devices work.
상기 거리 센서는, 발광부에서 방출되어 상기 오브젝트에 의해 반사된 광을 수광부에서 수신함에 기반한 TOF(Time Of Flight) 방식으로, 상기 오브젝트와의 거리를 감지하는,
전자 장치의 동작 방법.
According to claim 11,
The distance sensor detects the distance to the object using a TOF (Time Of Flight) method based on receiving light emitted from a light emitter and reflected by the object at a light receiver.
How electronic devices work.
상기 움직임 센서는, 상기 전자 장치의 이동을 감지하는 가속도 센서 또는 상기 전자 장치의 회전을 감지하는 자이로 센서를 통해 상기 전자 장치의 움직임을 감지하는,
전자 장치의 동작 방법.
According to claim 11,
The motion sensor detects movement of the electronic device through an acceleration sensor that detects movement of the electronic device or a gyro sensor that detects rotation of the electronic device.
How electronic devices work.
상기 거리 센서는, 상기 복수의 카메라들의 측방에 배치되어, 감지 범위가 상기 복수의 카메라 각각의 촬영 범위와 적어도 일부 상이한,
전자 장치의 동작 방법.
According to claim 11,
The distance sensor is disposed on the side of the plurality of cameras and has a detection range that is at least partially different from a shooting range of each of the plurality of cameras.
How electronic devices work.
상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로, 상기 움직임 데이터를 기반으로, 상기 제2 영역의 내부에 위치된 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하여 상기 거리 맵을 생성하는,
전자 장치의 동작 방법.
According to claim 11,
At least as part of the operation of generating a distance map for the second area, based on the motion data, the distance data is mapped to at least a portion of the first area located inside the second area to generate the distance map. generating,
How electronic devices work.
상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로,
미리 설정된 기준을 기반으로, 상기 움직임 데이터에 따른 상기 제1 영역의 이동된 위치를 확인하는 동작, 및
상기 확인한 이동된 위치를 기반으로, 상기 제1 영역의 적어도 일부에 상기 거리 데이터를 매핑하는 동작을 포함하는,
전자 장치의 동작 방법.
According to claim 15,
At least as part of the operation of generating a distance map for the second area,
An operation of confirming the moved position of the first area according to the motion data based on a preset standard, and
Comprising the operation of mapping the distance data to at least a portion of the first area based on the confirmed moved location,
How electronic devices work.
상기 거리 데이터는, 미리 설정된 주기에 기반하여 상기 거리 센서에 의해 감지된, 상기 전자 장치의 움직임에 의해 변경되는 상기 제1 영역에 각각 대응하는 복수의 데이터이고,
상기 제2 영역에 대한 거리 맵을 생성하는 동작의 적어도 일부로, 상기 움직임 데이터에 기반하여, 상기 거리 센서로부터 수신한 상기 복수의 거리 데이터를 상기 제2 영역에 각각 매핑하여 상기 거리 맵을 생성하는,
전자 장치의 동작 방법.
According to claim 11,
The distance data is a plurality of data each corresponding to the first area detected by the distance sensor based on a preset cycle and changed by movement of the electronic device,
At least as part of the operation of generating a distance map for the second area, generating the distance map by mapping the plurality of distance data received from the distance sensor to the second area based on the motion data, respectively.
How electronic devices work.
상기 복수의 카메라들 중 제1 카메라를 통하여 프리뷰를 획득하는 동작을 더 포함하고,
상기 프리뷰의 범위 이내에 상기 제2 영역이 포함된,
전자 장치의 동작 방법.
According to claim 11,
Further comprising obtaining a preview through a first camera among the plurality of cameras,
The second area is included within the range of the preview,
How electronic devices work.
상기 결정한 카메라가 상기 복수의 카메라들 중 제2 카메라인 경우, 상기 이미지를 획득할 카메라를 상기 제1 카메라로부터 상기 제2 카메라로 전환하는 동작을 더 포함하는,
전자 장치의 동작 방법.
According to claim 18,
When the determined camera is a second camera among the plurality of cameras, further comprising switching the camera to acquire the image from the first camera to the second camera,
How electronic devices work.
상기 거리 데이터에 미리 설정된 크기 이상의 변화가 발생하는 경우, 상기 거리 맵에서 상기 복수의 카메라 중 적어도 하나의 촬영 범위에 대응하는 거리 데이터의 존재 여부에 기반하여, 상기 전자 장치의 움직임을 유도하는 노티피케이션을 제공하는 동작을 더 포함하는,
전자 장치의 동작 방법.According to claim 11,
When a change of more than a preset size occurs in the distance data, a notification that induces movement of the electronic device based on the presence or absence of distance data corresponding to a shooting range of at least one of the plurality of cameras in the distance map Further comprising the operation of providing a service,
How electronic devices work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/KR2023/005603 WO2023249231A1 (en) | 2022-06-22 | 2023-04-25 | Electronic device comprising camera, and operating method therefor |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR20220076312 | 2022-06-22 | ||
KR1020220076312 | 2022-06-22 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20230175066A true KR20230175066A (en) | 2023-12-29 |
Family
ID=89334363
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020220086516A KR20230175066A (en) | 2022-06-22 | 2022-07-13 | Electronic device including camera, and method of operation thereof |
Country Status (2)
Country | Link |
---|---|
KR (1) | KR20230175066A (en) |
WO (1) | WO2023249231A1 (en) |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102085766B1 (en) * | 2013-05-30 | 2020-04-14 | 삼성전자 주식회사 | Method and Apparatus for controlling Auto Focus of an photographing device |
KR102371634B1 (en) * | 2015-09-10 | 2022-03-08 | 엘지이노텍 주식회사 | depth extraction method for stereo camera |
US10147216B1 (en) * | 2017-11-01 | 2018-12-04 | Essential Products, Inc. | Intelligent camera |
KR20200100498A (en) * | 2019-02-18 | 2020-08-26 | 삼성전자주식회사 | An electronic device and method of controlling auto focusing thereof |
KR20220072616A (en) * | 2020-11-25 | 2022-06-02 | 삼성전자주식회사 | Electronic devices including multiple cameras and methods of controlling the electronic devices |
-
2022
- 2022-07-13 KR KR1020220086516A patent/KR20230175066A/en unknown
-
2023
- 2023-04-25 WO PCT/KR2023/005603 patent/WO2023249231A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2023249231A1 (en) | 2023-12-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102289369B1 (en) | Electronic device and method for displaying images on a flexible display | |
KR20220053214A (en) | Electronic device and method for supporting zoom functionality | |
US20230007149A1 (en) | Electronic device including camera module and method for operating the electronic device | |
US20240111172A1 (en) | Camera module including image stabilization assembly and electronic device including the camera module | |
KR20230175066A (en) | Electronic device including camera, and method of operation thereof | |
KR20220090716A (en) | Electronic device, and method for grouping external devices by space in electronic device | |
KR20220112952A (en) | Electronic device, and method for mataining sho0ting composition in electronic device | |
KR20220026774A (en) | Electronic device for adjusting position of external device and operating method thereof | |
EP4274219A1 (en) | Electronic device comprising plurality of lenses, and method for controlling same | |
KR20240079123A (en) | An electronic device for determining view area of an image and method thereof | |
US20240163543A1 (en) | Electronic device comprising camera and method for operating electronic device | |
US20240054740A1 (en) | Augmented reality device and electronic device interacting with augmented reality device | |
US20240236491A1 (en) | Method for correcting shaking during shooting and electronic device therefor | |
US20230396885A1 (en) | Electronic device including camera module and electronic device operating method | |
US20230360245A1 (en) | Measurement method using ar, and electronic device | |
US20230236321A1 (en) | Electronic device for obtaining distance information and method for controlling the same | |
US20230022380A1 (en) | Electronic device and method for image stabilization by considering antenna performance | |
KR20230060427A (en) | Electronic device for controlling external electronic device and operating method thereof | |
KR20240014407A (en) | Electronic device and method comprising camera | |
KR20230086256A (en) | Electronic device and method of operating the same | |
KR20230114658A (en) | Electronic device with flexible display | |
KR20220064269A (en) | electronic device and method for displaying user interface | |
KR20230151857A (en) | Electronic device and method for using camera with wearing of lens accessory | |
KR20230051410A (en) | Electronic device and method for providing location-based services | |
KR20240047265A (en) | Method for controlling camera and electronic device for supporting the same |