KR102861769B1 - Image processing method and appratus - Google Patents
Image processing method and appratusInfo
- Publication number
- KR102861769B1 KR102861769B1 KR1020200030591A KR20200030591A KR102861769B1 KR 102861769 B1 KR102861769 B1 KR 102861769B1 KR 1020200030591 A KR1020200030591 A KR 1020200030591A KR 20200030591 A KR20200030591 A KR 20200030591A KR 102861769 B1 KR102861769 B1 KR 102861769B1
- Authority
- KR
- South Korea
- Prior art keywords
- frame
- electronic device
- data
- processor
- base frame
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/683—Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
-
- 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/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- 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/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/142—Edging; Contouring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/144—Movement detection
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
본 개시의 다양한 실시예에 따른 전자 장치는, 카메라 모듈, 센서 모듈, 메모리 및 상기 카메라 모듈, 상기 센서 모듈, 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 카메라 모듈 및 상기 센서 모듈로부터 획득된 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하고, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하며, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하고, 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 이미지 처리하도록 설정될 수 있다.
그 이외의 다양한 실시예들이 가능할 수 있다.An electronic device according to various embodiments of the present disclosure includes a camera module, a sensor module, a memory, and a processor operatively connected to the camera module, the sensor module, and the memory, wherein the processor is configured to convert motion-related data of the electronic device obtained from the camera module and the sensor module into blur detection data, and detect a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data, and when the detected frame is a base frame, remove the first base frame in which blur is detected, and generate a second base frame to replace the removed first base frame, thereby processing an image according to the second frame rate.
Many other embodiments may be possible.
Description
본 개시의 다양한 실시예들은 이미지 처리 방법 및 장치에 관한 것이다.Various embodiments of the present disclosure relate to image processing methods and devices.
전자 장치를 이용하여 사진 또는 동영상을 촬영하는 이용자가 증가함에 따라 전자 장치에 포함된 카메라의 성능 또한 향상되고 있다.As the number of users taking photos or videos using electronic devices increases, the performance of the cameras included in these devices is also improving.
최근에는 전자 장치에 포함된 카메라로 촬영된 결과물의 품질을 고려하여, 다양한 이미지 스태빌라이저(image stabilizer)가 전자 장치의 카메라에 적용될 수 있다.Recently, considering the quality of the results taken by cameras embedded in electronic devices, various image stabilizers can be applied to the cameras of electronic devices.
종래의 전자 장치는 카메라 사용 시 사용자의 손떨림 방지를 위해 이미지 스태빌라이저를 이용하며, 이를 통해 사진 또는 영상의 촬영 결과물의 흔들림을 최소화 할 수 있다. 전자 장치는, 이미지 스태빌라이저를 비롯한 하드웨어의 흔들림 보정 및/또는 소프트웨어를 통한 흔들림 보정을 수행할 수 있다.Conventional electronic devices utilize image stabilizers to prevent hand shake when using a camera, thereby minimizing the resulting blur in photos or videos. Electronic devices can perform image stabilization through hardware, including image stabilizers, and/or software.
사용자의 카메라 사용이 어두운 공간 혹은 광량이 충분하지 못한 곳에서 이루어지는 경우, 전자 장치의 프로세서는 카메라 모듈로 들어오는 광량 부족을 해소하기 위해 셔터 스피드(shutter speed)를 조절할 수 있다. 예를 들면, 셔터 스피드를 느리게 조절하게 되면, 사용자의 손 떨림 등으로 전자 장치의 움직임량이 증가하게 되고 이미지(예: 사진, 또는 영상) 흔들림 발생량이 많아 지게 되어 흔들림 보정 동작 또는 처리가 빈번하게 이루어질 수 있다. 전자 장치의 이미지 흔들림 보정 동작 또는 처리가 증가하는 경우 촬영의 결과물이 뭉개지거나 변형이 될 수 있다.When a user uses a camera in a dark space or in an area with insufficient light, the processor of the electronic device may adjust the shutter speed to compensate for the lack of light entering the camera module. For example, if the shutter speed is adjusted slowly, the amount of movement of the electronic device, such as due to the user's hand shaking, increases, and the amount of image shake (e.g., photo or video) increases, which may lead to frequent image stabilization operations or processing. If the image stabilization operation or processing of the electronic device increases, the resulting photograph may become blurry or distorted.
다양한 실시예들은, 전자 장치에서 이미지(예: 사진, 또는 영상)의 흔들림 보정을 처리하는 방법 및 장치를 제공할 수 있다. 또한, 다양한 실시예들은, 전자 장치에서의 이미지 처리 방법 및 장치를 제공할 수 있다.Various embodiments may provide a method and device for processing shake correction of an image (e.g., a photograph or video) in an electronic device. Furthermore, various embodiments may provide a method and device for image processing in an electronic device.
본 개시의 다양한 실시예에 따른 전자 장치는, 카메라 모듈, 센서 모듈, 메모리 및 상기 카메라 모듈, 상기 센서 모듈, 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서를 포함하고, 상기 프로세서는, 상기 카메라 모듈 및 상기 센서 모듈로부터 획득된 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하고, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하며, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하고, 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 이미지 처리하도록 설정될 수 있다.An electronic device according to various embodiments of the present disclosure includes a camera module, a sensor module, a memory, and a processor operatively connected to the camera module, the sensor module, and the memory, wherein the processor is configured to convert motion-related data of the electronic device obtained from the camera module and the sensor module into blur detection data, and detect a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data, and when the detected frame is a base frame, remove the first base frame in which blur is detected, and generate a second base frame to replace the removed first base frame, thereby processing an image according to the second frame rate.
본 개시의 다양한 실시예에 따른 전자 장치의 이미지 처리 방법은, 카메라 모듈 및 센서 모듈로부터 획득된, 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하는 동작, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하는 동작, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하는 동작, 및 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 합성하는 동작을 포함할 수 있다.An image processing method of an electronic device according to various embodiments of the present disclosure may include an operation of converting movement-related data of the electronic device obtained from a camera module and a sensor module into blur detection data, an operation of detecting a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data, an operation of removing a first base frame in which blur is detected when the detected frame is a base frame, and an operation of generating a second base frame to replace the removed first base frame and synthesizing the second base frame according to the second frame rate.
본 개시의 다양한 실시예에 따른 명령들을 저장하고 있는 저장 매체는, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 동작은, 카메라 모듈 및 센서 모듈로부터 획득된 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하는 동작, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발행한 프레임을 검출하는 동작, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하는 동작, 및 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 합성하는 동작을 포함할 수 있다.A storage medium storing commands according to various embodiments of the present disclosure may be configured to cause at least one processor to perform at least one operation when the commands are executed by at least one processor, wherein the operation may include: converting motion-related data of an electronic device obtained from a camera module and a sensor module into blur detection data; detecting a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data; removing a first base frame in which blur is detected when the detected frame is a base frame; and generating a second base frame to replace the removed first base frame and synthesizing the second base frame according to the second frame rate.
본 개시의 다양한 실시예들에 따르면, 전자 장치를 이용한 촬영 시 이루어지는 흔들림 보정으로 인해 발생할 수 있는 뭉개짐을 고려하여 뭉개진 프레임을 보완할 추가적인 프레임을 구비하기 위해 촬영의 프레임 레이트(frame rate)를 변경할 수 있다. 예를 들면, 전자 장치는, 촬영 시 프레임 레이트를 높게 설정해 촬영을 수행할 수 있다.According to various embodiments of the present disclosure, the frame rate of a photograph may be changed to provide additional frames to compensate for blurring that may occur due to image stabilization performed during photographing using an electronic device. For example, the electronic device may perform photographing at a high frame rate.
또한, 전자 장치의 촬영 시, 흔들림 보정으로 인해 이미지 저해 현상(예: 블러(blur))이 발생할 우려가 있는 프레임을 카메라 모션 및/또는 자이로 모션의 정보가 포함된 블러 검출용 데이터를 기반으로 확인하여 제거하고, 제거된 프레임과 시계열적 연속성이 있는 프레임으로 제거된 프레임을 대체함으로써 매끄러운 영상을 표시할 수 있다.In addition, when shooting with an electronic device, frames that are likely to cause image degradation (e.g., blur) due to shake correction are identified and removed based on blur detection data containing information on camera motion and/or gyro motion, and a smooth image can be displayed by replacing the removed frames with frames that are temporally continuous with the removed frames.
도 1은, 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블럭도이다.
도 2는, 다양한 실시예들에 따른, 카메라 모듈을 예시하는 블럭도이다.
도 3은 다양한 실시예들에 따른, 전자 장치에 관한 블럭도이다.
도 4는 다양한 실시예들에 따른, 이미지 처리 기능을 가지는 전자 장치의 동작 방법에 관한 흐름도이다.
도 5a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임 추출에 관한 예시도이다.
도 5b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 시 베이스 프레임의 블러 검출에 관한 예시도이다.
도 6a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임의 제2 데이터 획득에 관한 예시도이다.
도 6b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 대체되는 베이스 프레임의 제2 데이터 활용에 관한 예시도이다.
도 7a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 제1 프레임 레이트에 따른 모션 변화량에 대한 예시도이다.
도 7b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 제1 프레임 레이트에 따른 모션 변화량에 의한 피크(peak) 프레임 제거 후 모션 변화량에 대한 예시도이다.
도 8a 및 도 8b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임을 제거 및/또는 생성하여 이미지 처리하는 방법에 관한 예시도이다.FIG. 1 is a block diagram of an electronic device within a network environment according to various embodiments.
FIG. 2 is a block diagram illustrating a camera module according to various embodiments.
FIG. 3 is a block diagram of an electronic device according to various embodiments.
FIG. 4 is a flowchart illustrating an operation method of an electronic device having an image processing function according to various embodiments.
FIG. 5A is an exemplary diagram of base frame extraction when an electronic device executes a capturing operation according to various embodiments.
FIG. 5b is an exemplary diagram of blur detection of a base frame during an imaging operation of an electronic device according to various embodiments.
FIG. 6A is an exemplary diagram of second data acquisition of a base frame when an electronic device executes a capturing operation according to various embodiments.
FIG. 6b is an example diagram of the use of second data of a base frame that is replaced when an imaging operation of an electronic device is performed according to various embodiments.
FIG. 7A is an exemplary diagram of a motion change amount according to a first frame rate when an electronic device performs a shooting operation according to various embodiments.
FIG. 7b is an example diagram of a motion change amount after peak frame removal due to a motion change amount according to a first frame rate when an electronic device executes a shooting operation according to various embodiments.
FIGS. 8A and 8B are exemplary diagrams of a method for image processing by removing and/or generating a base frame when executing an imaging operation of an electronic device according to various embodiments.
도 1은, 다양한 실시예들에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블럭도이다. 도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 장치(150), 음향 출력 장치(155), 표시 장치(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 표시 장치(160) 또는 카메라 모듈(180))가 생략되거나, 하나 이상의 다른 구성 요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들은 하나의 통합된 회로로 구현될 수 있다. 예를 들면, 센서 모듈(176)(예: 지문 센서, 홍채 센서, 또는 조도 센서)은 표시 장치(160)(예: 디스플레이)에 임베디드된 채 구현될 수 있다FIG. 1 is a block diagram of an electronic device (101) within a network environment (100) according to various embodiments. Referring to FIG. 1, in the network environment (100), the electronic device (101) may communicate with the electronic device (102) via a first network (198) (e.g., a short-range wireless communication network), or may communicate with the electronic device (104) or a server (108) via a second network (199) (e.g., a long-range wireless communication network). In one embodiment, the electronic device (101) may communicate with the electronic device (104) via the server (108). According to one embodiment, the electronic device (101) may include a processor (120), a memory (130), an input device (150), an audio output device (155), a display device (160), an audio module (170), a sensor module (176), an interface (177), a haptic module (179), a camera module (180), a power management module (188), a battery (189), a communication module (190), a subscriber identification module (196), or an antenna module (197). In some embodiments, the electronic device (101) may omit at least one of these components (e.g., the display device (160) or the camera module (180)), or may have one or more other components added. In some embodiments, some of these components may be implemented as a single integrated circuit. For example, a sensor module (176) (e.g., a fingerprint sensor, an iris sensor, or an ambient light sensor) may be implemented embedded in a display device (160) (e.g., a display).
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 로드하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서), 및 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 추가적으로 또는 대체적으로, 보조 프로세서(123)은 메인 프로세서(121)보다 저전력을 사용하거나, 또는 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor (120) may control at least one other component (e.g., a hardware or software component) of the electronic device (101) connected to the processor (120) by executing, for example, software (e.g., a program (140)), and may perform various data processing or calculations. According to one embodiment, as at least a part of the data processing or calculation, the processor (120) may load a command or data received from another component (e.g., a sensor module (176) or a communication module (190)) into a volatile memory (132), process the command or data stored in the volatile memory (132), and store the resulting data in a non-volatile memory (134). According to one embodiment, the processor (120) may include a main processor (121) (e.g., a central processing unit or an application processor), and a secondary processor (123) (e.g., a graphics processing unit, an image signal processor, a sensor hub processor, or a communication processor) that may operate independently or together therewith. Additionally or alternatively, the auxiliary processor (123) may be configured to use less power than the main processor (121) or to be specialized for a given function. The auxiliary processor (123) may be implemented separately from the main processor (121) or as part of it.
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The auxiliary processor (123) may control at least a portion of functions or states associated with at least one component (e.g., a display device (160), a sensor module (176), or a communication module (190)) of the electronic device (101), for example, on behalf of the main processor (121) while the main processor (121) is in an inactive (e.g., sleep) state, or together with the main processor (121) while the main processor (121) is in an active (e.g., application execution) state. In one embodiment, the auxiliary processor (123) (e.g., an image signal processor or a communication processor) may be implemented as a part of another functionally related component (e.g., a camera module (180) or a communication module (190)).
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory (130) can store various data used by at least one component (e.g., a processor (120) or a sensor module (176)) of the electronic device (101). The data can include, for example, software (e.g., a program (140)) and input data or output data for commands related thereto. The memory (130) can include a volatile memory (132) or a non-volatile memory (134).
프로그램(140)은 메모리(130)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(142), 미들 웨어(144) 또는 어플리케이션(146)을 포함할 수 있다. The program (140) may be stored as software in the memory (130) and may include, for example, an operating system (142), middleware (144), or an application (146).
입력 장치(150)는, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 장치(150)은, 예를 들면, 마이크, 마우스, 키보드, 또는 디지털 펜(예:스타일러스 펜)을 포함할 수 있다. The input device (150) can receive commands or data to be used in a component of the electronic device (101) (e.g., a processor (120)) from an external source (e.g., a user) of the electronic device (101). The input device (150) can include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The audio output device (155) can output audio signals to the outside of the electronic device (101). The audio output device (155) may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as multimedia playback or recording playback, and the receiver may be used to receive incoming calls. In one embodiment, the receiver may be implemented separately from the speaker or as part of the speaker.
표시 장치(160)는 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 표시 장치(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일실시예에 따르면, 표시 장치(160)는 터치를 감지하도록 설정된 터치 회로(touch circuitry), 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 센서 회로(예: 압력 센서)를 포함할 수 있다. A display device (160) can visually provide information to an external party (e.g., a user) of an electronic device (101). The display device (160) may include, for example, a display, a holographic device, or a projector and a control circuit for controlling the device. In one embodiment, the display device (160) may include touch circuitry configured to detect a touch, or a sensor circuit (e.g., a pressure sensor) configured to measure the intensity of a force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102)) (예: 스피커 또는 헤드폰))를 통해 소리를 출력할 수 있다.The audio module (170) can convert sound into an electrical signal, or vice versa, convert an electrical signal into sound. According to one embodiment, the audio module (170) can acquire sound through an input device (150), or output sound through an audio output device (155), or an external electronic device (e.g., an electronic device (102)) (e.g., a speaker or headphone)) directly or wirelessly connected to the electronic device (101).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module (176) can detect the operating status (e.g., power or temperature) of the electronic device (101) or the external environmental status (e.g., user status) and generate an electrical signal or data value corresponding to the detected status. According to one embodiment, the sensor module (176) can include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
인터페이스(177)는 전자 장치(101)이 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface (177) may support one or more designated protocols that may be used to directly or wirelessly connect the electronic device (101) to an external electronic device (e.g., the electronic device (102)). In one embodiment, the interface (177) may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)은, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal (178) may include a connector through which the electronic device (101) may be physically connected to an external electronic device (e.g., electronic device (102)). According to one embodiment, the connection terminal (178) may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module (179) can convert electrical signals into mechanical stimuli (e.g., vibration or movement) or electrical stimuli that a user can perceive through tactile or kinesthetic sensations. According to one embodiment, the haptic module (179) can include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module (180) can capture still images and videos. According to one embodiment, the camera module (180) may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(388)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module (188) can manage the power supplied to the electronic device (101). According to one embodiment, the power management module (388) can be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.A battery (189) may power at least one component of the electronic device (101). In one embodiment, the battery (189) may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association) 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성 요소(예: 단일 칩)으로 통합되거나, 또는 서로 별도의 복수의 구성 요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module (190) may support the establishment of a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device (101) and an external electronic device (e.g., electronic device (102), electronic device (104), or server (108)), and the performance of communication through the established communication channel. The communication module (190) may operate independently from the processor (120) (e.g., application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one embodiment, the communication module (190) may include a wireless communication module (192) (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module (194) (e.g., a local area network (LAN) communication module, or a power line communication module). Any of these communication modules may communicate with an external electronic device via a first network (198) (e.g., a short-range communication network such as Bluetooth, WiFi direct, or infrared data association (IrDA)) or a second network (199) (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or WAN)). These various types of communication modules may be integrated into a single component (e.g., a single chip) or implemented as multiple separate components (e.g., multiple chips). The wireless communication module (192) may use subscriber information (e.g., an international mobile subscriber identity (IMSI)) stored in the subscriber identification module (196) to identify and authenticate the electronic device (101) within a communication network such as the first network (198) or the second network (199).
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module (197) can transmit or receive signals or power to or from an external device (e.g., an external electronic device). In one embodiment, the antenna module may include one antenna including a radiator formed of a conductor or a conductive pattern formed on a substrate (e.g., a PCB). In one embodiment, the antenna module (197) may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network, such as the first network (198) or the second network (199), may be selected from the plurality of antennas by, for example, the communication module (190). A signal or power may be transmitted or received between the communication module (190) and the external electronic device via the at least one selected antenna. In some embodiments, in addition to the radiator, another component (e.g., an RFIC) may be additionally formed as a part of the antenna module (197).
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))를 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the above components can be interconnected and exchange signals (e.g., commands or data) with each other via a communication method between peripheral devices (e.g., a bus, GPIO (general purpose input and output), SPI (serial peripheral interface), or MIPI (mobile industry processor interface)).
일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부 전자 장치들(102, 104, or 108) 중 하나 이상의 외부 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다.. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to one embodiment, commands or data may be transmitted or received between the electronic device (101) and an external electronic device (104) via a server (108) connected to a second network (199). Each of the electronic devices (102, 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, all or part of the operations executed in the electronic device (101) may be executed in one or more of the external electronic devices (102, 104, or 108). For example, when the electronic device (101) is to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device (101) may, instead of or in addition to executing the function or service itself, request one or more external electronic devices to perform the function or at least a part of the service. One or more external electronic devices that have received the request may execute at least a portion of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device (101). The electronic device (101) may process the result as is or additionally and provide it as at least a portion of a response to the request. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may take various forms. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the aforementioned devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나","A 또는 B 중 적어도 하나,""A, B 또는 C," "A, B 및 C 중 적어도 하나,"및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terminology used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various modifications, equivalents, or substitutes of the embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise. In this document, phrases such as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C" can each include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first," "second," or "first" or "second" may be used simply to distinguish the corresponding component from other corresponding components, and do not limit the corresponding components in any other respect (e.g., importance or order). When a component (e.g., a first component) is referred to as being “coupled” or “connected” to another component (e.g., a second component), with or without the terms “functionally” or “communicatively,” it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or through a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" as used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic block, component, or circuit. A module may be an integral component, or a minimum unit or part of such a component that performs one or more functions. For example, according to one embodiment, a module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체 는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document may be implemented as software (e.g., a program (140)) including one or more commands stored in a storage medium (e.g., an internal memory (136) or an external memory (138)) readable by a machine (e.g., an electronic device (101)). For example, a processor (e.g., a processor (120)) of the machine (e.g., an electronic device (101)) may call at least one command among the one or more commands stored from the storage medium and execute it. This enables the machine to operate to perform at least one function according to the at least one command called. The one or more commands may include code generated by a compiler or code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, ‘non-transitory’ simply means that the storage medium is a tangible device and does not contain signals (e.g., electromagnetic waves), and the term does not distinguish between cases where data is stored semi-permanently or temporarily on the storage medium.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory (CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, the method according to various embodiments disclosed in the present document may be provided as included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. 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 may be distributed online (e.g., downloaded or uploaded) via an application store (e.g., Play Store ™ ) or directly between two user devices (e.g., smartphones). In the case of online distribution, at least a portion of the computer program product may be temporarily stored or temporarily generated in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or an intermediary server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다. According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single or multiple entities. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the 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, omitted, or one or more other operations may be added.
도 2는, 다양한 실시예들에 따른, 카메라 모듈(180)을 예시하는 블럭도(200)이다. 도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일실시예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다. FIG. 2 is a block diagram (200) illustrating a camera module (180) according to various embodiments. Referring to FIG. 2, the camera module (180) may include a lens assembly (210), a flash (220), an image sensor (230), an image stabilizer (240), a memory (250) (e.g., a buffer memory), or an image signal processor (260). The lens assembly (210) may collect light emitted from a subject that is a target of image capturing. The lens assembly (210) may include one or more lenses. According to one embodiment, the camera module (180) may include a plurality of lens assemblies (210). In this case, the camera module (180) may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies (210) may have the same lens properties (e.g., angle of view, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties that are different from the lens properties of the other lens assemblies. A lens assembly (210) may include, for example, a wide-angle lens or a telephoto lens.
플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일실시예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210)를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일실시예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.The flash (220) can emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash (220) can include one or more light-emitting diodes (e.g., red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. The image sensor (230) can acquire an image corresponding to the subject by converting light emitted or reflected from the subject and transmitted through the lens assembly (210) into an electrical signal. According to one embodiment, the image sensor (230) can include one image sensor selected from among image sensors having different properties, such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same property, or a plurality of image sensors having different properties. Each image sensor included in the image sensor (230) can be implemented using, for example, a CCD (charged coupled device) sensor or a CMOS (complementary metal oxide semiconductor) sensor.
이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 움직임을 감지할 수 있다. 일실시예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 표시 장치(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일실시예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.The image stabilizer (240) can move at least one lens or image sensor (230) included in the lens assembly (210) in a specific direction or control the operating characteristics of the image sensor (230) (e.g., adjusting the read-out timing, etc.) in response to the movement of the camera module (180) or the electronic device (101) including the same. This allows compensating for at least some of the negative effects of the movement on the captured image. According to one embodiment, the image stabilizer (240) can detect the movement of the camera module (180) or the electronic device (101) by using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module (180). According to one embodiment, the image stabilizer (240) can be implemented as, for example, an optical image stabilizer. The memory (250) can temporarily store at least a portion of the image acquired through the image sensor (230) for the next image processing task. For example, when image acquisition is delayed due to the shutter, or when multiple images are acquired at high speed, the acquired original image (e.g., a Bayer-patterned image or a high-resolution image) is stored in the memory (250), and a corresponding copy image (e.g., a low-resolution image) can be previewed through the display device (160). Thereafter, when a specified condition is satisfied (e.g., a user input or a system command), at least a portion of the original image stored in the memory (250) can be acquired and processed, for example, by the image signal processor (260). According to one embodiment, the memory (250) can be configured as at least a portion of the memory (130) or as a separate memory that operates independently therefrom.
이미지 시그널 프로세서(260)는 이미지 센서(230)을 통하여 획득된 이미지 또는 메모리(250)에 저장된 이미지에 대하여 하나 이상의 이미지 처리들을 수행할 수 있다. 상기 하나 이상의 이미지 처리들은, 예를 들면, 깊이 지도(depth map) 생성, 3차원 모델링, 파노라마 생성, 특징점 추출, 이미지 합성, 또는 이미지 보상(예: 노이즈 감소, 해상도 조정, 밝기 조정, 블러링(blurring), 샤프닝(sharpening), 또는 소프트닝(softening))을 포함할 수 있다. 추가적으로 또는 대체적으로, 이미지 시그널 프로세서(260)는 카메라 모듈(180)에 포함된 구성 요소들 중 적어도 하나(예: 이미지 센서(230))에 대한 제어(예: 노출 시간 제어, 또는 리드 아웃 타이밍 제어 등)를 수행할 수 있다. 이미지 시그널 프로세서(260)에 의해 처리된 이미지는 추가 처리를 위하여 메모리(250)에 다시 저장 되거나 카메라 모듈(180)의 외부 구성 요소(예: 메모리(130), 표시 장치(160), 전자 장치(102), 전자 장치(104), 또는 서버(108))로 제공될 수 있다. 일실시예에 따르면, 이미지 시그널 프로세서(260)는 프로세서(120)의 적어도 일부로 구성되거나, 프로세서(120)와 독립적으로 운영되는 별도의 프로세서로 구성될 수 있다. 이미지 시그널 프로세서(260)가 프로세서(120)와 별도의 프로세서로 구성된 경우, 이미지 시그널 프로세서(260)에 의해 처리된 적어도 하나의 이미지는 프로세서(120)에 의하여 그대로 또는 추가의 이미지 처리를 거친 후 표시 장치(160)를 통해 표시될 수 있다.The image signal processor (260) can perform one or more image processing operations on an image acquired through the image sensor (230) or an image stored in the memory (250). The one or more image processing operations can include, for example, depth map generation, 3D modeling, panorama generation, feature point extraction, image synthesis, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor (260) can perform control (e.g., exposure time control, readout timing control, etc.) on at least one of the components included in the camera module (180) (e.g., image sensor (230)). The image processed by the image signal processor (260) may be stored back in the memory (250) for further processing or provided to an external component of the camera module (180) (e.g., the memory (130), the display device (160), the electronic device (102), the electronic device (104), or the server (108)). According to one embodiment, the image signal processor (260) may be configured as at least a part of the processor (120) or may be configured as a separate processor that operates independently of the processor (120). When the image signal processor (260) is configured as a separate processor from the processor (120), at least one image processed by the image signal processor (260) may be displayed through the display device (160) by the processor (120) as is or after undergoing additional image processing.
일실시예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.According to one embodiment, the electronic device (101) may include a plurality of camera modules (180), each having different properties or functions. In this case, for example, at least one of the plurality of camera modules (180) may be a wide-angle camera, and at least another may be a telephoto camera. Similarly, at least one of the plurality of camera modules (180) may be a front camera, and at least another may be a rear camera.
도 3은 다양한 실시예들에 따른, 전자 장치에 관한 블럭도이다.FIG. 3 is a block diagram of an electronic device according to various embodiments.
도 3을 참조하면, 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))는 프로세서(310)(예: 도 1의 프로세서(120)), 카메라 모듈(320)(예: 도 1의 카메라 모듈(180)), 메모리(330)(예: 도 1의 메모리(130)), 및 센서 모듈(340)(예: 도1의 센서 모듈(176))을 포함할 수 있으며, 도 1의 전자 장치(101)의 구조 및/또는 기능 중 적어도 일부를 포함할 수 있다.Referring to FIG. 3, an electronic device (e.g., an electronic device (101) of FIG. 1) according to various embodiments may include a processor (310) (e.g., a processor (120) of FIG. 1), a camera module (320) (e.g., a camera module (180) of FIG. 1), a memory (330) (e.g., a memory (130) of FIG. 1), and a sensor module (340) (e.g., a sensor module (176) of FIG. 1), and may include at least a part of the structure and/or function of the electronic device (101) of FIG. 1.
다양한 실시예들에 따른, 프로세서(310)는 이미지 시그널 프로세서(321)(예: 도 2의 이미지 시그널 프로세서(260))를 포함할 수 있으며, 도 1의 프로세서(120) 및/또는 도 2의 이미지 시그널 프로세서(260)의 구조 및/또는 기능 중 적어도 일부를 포함할 수 있다. 이미지 시그널 프로세서(321)는, 예를 들면, 카메라 모듈(320)(예: 도 1의 카메라 모듈(180))의 내부에 보조 프로세서 형태로 포함될 수도 있고 메인 프로세서에 포함된 형태로 제공될 수도 있다.According to various embodiments, the processor (310) may include an image signal processor (321) (e.g., the image signal processor (260) of FIG. 2), and may include at least some of the structure and/or function of the processor (120) of FIG. 1 and/or the image signal processor (260) of FIG. 2. The image signal processor (321) may be included in the form of an auxiliary processor, for example, within a camera module (320) (e.g., the camera module (180) of FIG. 1) or may be provided in the form included in the main processor.
일 실시예에 따르면, 프로세서(310)는 전자 장치의 전반적인 동작들을 제어하는 기능을 수행할 수 있다. 예를 들면, 프로세서(310)는 카메라 어플리케이션의 구동에 기반하여 영상 촬영 등 촬상 동작을 수행함에 있어서, 센서 모듈(340)(예: 도 1의 센서 모듈(176))을 통한 전자 장치의 움직임(예: 사용자의 손떨림에서 야기되는 흔들림, 촬영 방법에 의한 흔들림 등)을 감지 할 수 있다. 또한, 프로세서(310) 및/또는 이미지 시그널 프로세서(321)(예: 도 2의 이미지 시그널 프로세서(260))는 전자 장치의 움직임 감지를 보정하기 위한 제어를 할 수 있다. 또한 다양한 실시예에 따르면, 전자 장치의 프로세서(310) 및/또는 이미 시그널 프로세서(321)는 이미지 저해 현상 또는 열화 현상(예: 블러(blur) 현상, 지터(jitter) 현상)을 보정하기 위한 제어를 수행할 수 있다.According to one embodiment, the processor (310) may perform a function of controlling the overall operations of the electronic device. For example, when performing an imaging operation such as capturing an image based on the operation of a camera application, the processor (310) may detect the movement of the electronic device (e.g., shaking caused by the user's hand shaking, shaking caused by a shooting method, etc.) through the sensor module (340) (e.g., the sensor module (176) of FIG. 1). In addition, the processor (310) and/or the image signal processor (321) (e.g., the image signal processor (260) of FIG. 2) may perform control to correct the detection of the movement of the electronic device. In addition, according to various embodiments, the processor (310) and/or the image signal processor (321) of the electronic device may perform control to correct an image obstruction phenomenon or deterioration phenomenon (e.g., blur phenomenon, jitter phenomenon).
예를 들어, 이미지 저해 현상을 줄이기 위한 제어는 이미지 처리(image processing)을 수행하는 것일 수 있다. 이미지 처리는 사진 또는 영상을 처리하는 기법을 적용하는 과정을 지칭할 수 있다. 이미지 처리 기법으로는 아날로그, 광학, 또는 디지털 처리 기법 등 다양한 방식이 이용될 수 있다.For example, control to reduce image artifacts may involve performing image processing. Image processing can refer to the process of applying techniques to manipulate photographs or images. Image processing techniques can utilize a variety of methods, including analog, optical, or digital processing.
이러한 전자 장치의 움직임으로 인한 이미지 처리(예: 영상 흔들림 방지)를 위해서는 여러 가지 방식이 사용될 수 있다. 예를 들어, 광학적 흔들림 보정(optical image stabilization, OIS)은 하드웨어 엘리먼트(예: 도 2의 이미지 스태빌라이저(240))를 이용하여 물리적으로 흔들림을 보정하는 방식을 포함할 수 있고, 디지털 흔들림 보정(video digital image stabilization, VDIS 또는 DIS) 또는 전자적 흔들림 보정(electrical image stabilization, EIS)은 이미지 센서(예: 도 2의 이미지 센서(230))의 출력 값에 소프트웨어적인 처리를 수행하여 영상 흔들림을 보정하는 방식을 포함할 수 있다.There are several methods that can be used to process images (e.g., prevent image shake) due to the movement of such electronic devices. For example, optical image stabilization (OIS) may include a method of physically compensating for shake using a hardware element (e.g., an image stabilizer (240) of FIG. 2), and video digital image stabilization (VDIS or DIS) or electrical image stabilization (EIS) may include a method of compensating for image shake by performing software processing on the output value of an image sensor (e.g., an image sensor (230) of FIG. 2).
예를 들면, 광학적 흔들림 보정(OIS)의 경우, 카메라 모듈(320)에 흔들림이 감지되면, 이를 보정하기 위한 하드웨어 엘리먼트가 동작하는 것일 수 있다. 예를 들어, 전자 장치의 카메라 렌즈(예: 도 2의 렌즈 어셈블리(210))가 전자 장치(예: 카메라)의 움직임(예: 모션)을 따라가며 피사체의 초점을 유지하고 이미지 센서에 들어오는 빛의 양을 일정하게 유지할 수 있다. 이와 같이 하드웨어 엘리먼트를 통한 흔들림 보정인 OIS는 센서 모듈(340)(예: 자이로 센서, 가속도 센서, 및/또는 제스처 센서 등)를 이용하여 파악한 전자 장치 및/또는 카메라 모듈(320)의 움직임에 따라, 물리적 또는 기계적으로 렌즈(예: 도 2의 렌즈 어셈블리(210))를 이동하여 수평을 유지할 수 있다. 또한, OIS는 렌즈(예: 도 2의 렌즈 어셈블리(210))와 이미지 센서(예: 도 2의 이미지 센서(230))가 함께 움직이면서 흔들림 보정을 할 수도 있다.For example, in the case of optical image stabilization (OIS), when shake is detected in the camera module (320), a hardware element for compensating for it may operate. For example, a camera lens of an electronic device (e.g., a lens assembly (210) of FIG. 2) can follow the movement (e.g., motion) of the electronic device (e.g., a camera) to maintain the focus of the subject and keep the amount of light entering the image sensor constant. In this way, OIS, which is shake compensation through a hardware element, can physically or mechanically move the lens (e.g., the lens assembly (210) of FIG. 2) to maintain the horizontal level according to the movement of the electronic device and/or the camera module (320) detected using a sensor module (340) (e.g., a gyro sensor, an acceleration sensor, and/or a gesture sensor, etc.). In addition, OIS can compensate for shake by having a lens (e.g., a lens assembly (210) of FIG. 2) and an image sensor (e.g., an image sensor (230) of FIG. 2) move together.
예를 들면, 디지털 흔들림 보정인 VDIS(또는 DIS)는 영상의 프레임과 프레임 간의 차이(different image)를 기반으로 움직임 벡터를 추출하고, 이미지 처리를 통해 선명도를 증가시킬 수 있다. 또한, VDIS는 영상에 기반하여 움직임 벡터를 추출하여 흔들림 외에 피사체 자체의 움직임에 대해서도 흔들림으로 인식할 수 있다.For example, VDIS (or DIS), a digital image stabilization system, extracts motion vectors based on the differences between frames in a video (different images) and can enhance clarity through image processing. Furthermore, by extracting motion vectors based on the video, VDIS can recognize subject movement itself as shake, in addition to shake itself.
예를 들면, 전자적 흔들림 보정인 EIS는 자이로 센서를 이용하여 흔들림의 양을 추출하고 이후의 흔들림 보정은VDIS와 동일한 방식으로 이루어질 수 있다.For example, electronic image stabilization (EIS) uses a gyro sensor to extract the amount of shake, and subsequent shake compensation can be done in the same way as VDIS.
도 3를 참조하면, 다양한 실시예들에 따른, 카메라 모듈(320)은 도 2에 도시된 구성요소들을 포함할 수 있으며, 도 1의 카메라 모듈(180), 도 2의 카메라 모듈의 구조 및/또는 기능 중 적어도 일부를 포함할 수 있다.Referring to FIG. 3, according to various embodiments, the camera module (320) may include the components illustrated in FIG. 2 and may include at least some of the structures and/or functions of the camera module (180) of FIG. 1 and the camera module of FIG. 2.
다양한 실시예들에 따른, 이미지 시그널 프로세서(321)는 이미지 저해 현상 또는 열화 현상을 보정하기 위한 제어를 수행할 수 있다. 일 실시예에 따르면, 이미지 시그널 프로세서(321)는 고주파 모션(high frequency motion)을 보정하는데 용이한 광학적 흔들림 보정(optical image stabilization, OIS)과 저주파 모션(low frequency motion)을 보정하는데 용이한 디지털 흔들림 보정(video digital image stabilization, VDIS)를 사용할 수 있다. OIS는, 예를 들면, 전자 장치(예: 카메라) 움직임의 반대 방향으로 움직여 보정 범위 안에서 움직임이 적게 만들어주기 때문에 입력 영상의 모션을 줄여주는 효과를 제공할 수 있고, VDIS는 입력 영상과 자이로 데이터(gyro data)를 통해 얻어진 개별 모션의 조합으로 흔들림 보정을 수행하기 때문에 입력 영상의 흔들림을 그대로 이용할 수 있다. 광학적 흔들림 보정 및/또는 디지털 흔들림 보정은 입출력의 가시 영역(field of view, FOV)을 조정하여 수행될 수 있다.According to various embodiments, the image signal processor (321) may perform control to correct image blurring or degradation. According to one embodiment, the image signal processor (321) may use optical image stabilization (OIS), which is easy to correct high frequency motion, and video digital image stabilization (VDIS), which is easy to correct low frequency motion. OIS may provide an effect of reducing motion of an input image by moving in the opposite direction of the movement of an electronic device (e.g., a camera) to make the motion less within the correction range, and VDIS may perform shake correction by combining individual motions obtained through the input image and gyro data, so that the shake of the input image can be used as is. Optical shake correction and/or digital shake correction may be performed by adjusting the field of view (FOV) of the input/output.
본 개시의 영상 흔들림 방지와 관련된 VDIS는 영상의 디지털 신호처리에 의해 흔들림 양을 검출하고, 영상 특성을 식별하여 시스템을 제어하여 흔들림을 보정할 수 있다. 예를 들어, 흔들림 보정 알고리즘은 흔들림 보정 파라미터를 연속적으로 두 프레임 간 지역 화소 움직임 벡터(local motion vector, LMV)로부터 프레임 움직임 벡터(frame motion vector, FMV)를 추정하는 방식일 수 있다. 움직임 추정과 보상은 동영상 압축의 기반 기술이며, 움직임 추정은 블록 매칭 알고리즘(block matching algorithm, BMA), 기울기 매칭 알고리즘(gradient matching algorithm, GMA), 위상 상관(phase correlation) 등이 사용될 수 있다. 예를 들어, VDIS는 전자 장치의 사용자가 촬상 동작을 수행할 때 전자 장치의 흔들림의 양을 검출하고 촬영한 영상의 특성을 식별하여 최종적으로 영상의 흔들림을 보정할 수 있다.The VDIS related to image shake reduction of the present disclosure can detect the amount of shake by digital signal processing of the image, identify the characteristics of the image, and control the system to compensate for the shake. For example, the shake compensation algorithm can be a method of estimating a frame motion vector (FMV) from a local motion vector (LMV) between two frames continuously as a shake compensation parameter. Motion estimation and compensation are basic technologies of video compression, and motion estimation can use a block matching algorithm (BMA), a gradient matching algorithm (GMA), phase correlation, etc. For example, when a user of an electronic device performs a shooting operation, the VDIS can detect the amount of shake of the electronic device, identify the characteristics of the captured image, and ultimately compensate for the shake of the image.
영상 흔들림 보정을 하는 경우 이미지 지터(image jitter) 현상이 발생할 수 있다.Image jitter may occur when performing image stabilization.
블러(blur) 현상은 이미지의 포커스가 선명하지 않아 이미지 내의 객체들의 엣지(edge)가 명확하지 않고 흐려져 번지는 듯이 보이는 현상을 의미할 수 있다. 예를 들어, 블러 현상은 이미지 블러(image blur), 모션 블러(motion blur) 또는 블러(blur)로 지칭될 수 있다.Blur can refer to the phenomenon where the edges of objects within an image are blurred and appear blurred, resulting in a lack of focus. For example, blur can be referred to as image blur, motion blur, or blur.
블러가 발생하는 이유는 여러 가지가 존재할 수 있다. 예를 들어, 피사체의 움직임이 셔터 스피드(shutter speed) 보다 빠른 경우 발생할 수 있다. 다른 예로, 어두운 환경 혹은 광량이 부족한 환경(예: 실내)에서 촬상 동작이 이루어질 경우, 전자 장치(카메라)가 부족한 광량을 충당하기 위하여 셔터 스피드를 낮추는 경우 발생할 수 있다.Blur can occur for a variety of reasons. For example, it can occur when the subject's movement is faster than the shutter speed. Another example is when the camera is shooting in a dark or low-light environment (e.g., indoors), and the electronic device (camera) slows down the shutter speed to compensate for the lack of light.
이미지 지터(image jitter)는 블러(blur)가 반복되는 영상을 보정하기 위해 OIS 및/또는 VDIS와 같은 흔들림 보정 동작 또는 처리를 수행할 때 발생할 수 있는 현상이다. Image jitter is a phenomenon that can occur when performing shake correction operations or processing such as OIS and/or VDIS to correct images with repeated blur.
예를 들면, 지터는 광량이 충분하지 않은 실내 혹은 어두운 구간에서 발생될 수 있다. 지터를 개선하기 위한 방안으로는 성능이 뛰어난 이미지 센서를 사용하여 광량이 부족한 구간에서도 셔터 스피드를 높이거나, VDIS와 더불어 OIS를 사용하여 입력으로 들어오는 영상의 흔들림을 제거하거나, VDIS를 통한 보정을 약하게 설정하여 지터 자체를 적게 나타나도록 하는 것이 가능할 수 있다.For example, jitter can occur in indoor environments with insufficient lighting or in dark areas. Solutions to improve jitter include using a high-performance image sensor to increase shutter speeds even in areas with limited lighting, using optical image stabilization (OIS) in conjunction with VDIS to eliminate shaking in the incoming image, or setting VDIS compensation to a low level to minimize jitter itself.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 카메라 어플리케이션의 구동에 기반하여 촬상 동작의 수행 시, 카메라 모듈에 포함될 수 있는 이미지 센서로부터 감지한 이미지 및/또는 촬영 중인 전자 장치의 움직임을 감지하여 전자 장치의 움직임 관련 데이터를 수집하는 센서 모듈(340)로부터 상기 전자 장치의 움직임 관련 데이터를 수신할 수 있다. 또한, 이미지 시그널 프로세서(321)는, 수신한 정보(예: 이미지 및/또는 움직임 관련 데이터)를 블러 검출용 데이터로 변환하여 이를 기반으로 촬상 동작에서 블러가 발생한 프레임을 검출할수 있다. 일 실시예에 따르면, 이미지 시그널 프로세서(321)는 블러가 발생한 프레임이 베이스 프레임(base frame)인 경우 제거 후 대체할 베이스 프레임을 생성할 수 있다.According to various embodiments, the image signal processor (321) may receive movement-related data of the electronic device from a sensor module (340) that detects an image and/or movement of the electronic device during a shooting operation based on the operation of a camera application, and collects movement-related data of the electronic device by detecting an image from an image sensor that may be included in a camera module when performing a shooting operation. In addition, the image signal processor (321) may convert the received information (e.g., image and/or movement-related data) into blur detection data and, based on the blur detection data, detect a frame in which blur occurs in the shooting operation. According to one embodiment, if the frame in which blur occurs is a base frame, the image signal processor (321) may remove the frame and generate a base frame to replace it.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 카메라 모듈(320) 및/또는 센서 모듈(340)로부터 수신한 전자 장치의 움직임 관련 데이터를 기반으로 소프트웨어를 통해 흔들림 보정을 제어할 수 있다. 이미지 시그널 프로세서(321)는 전자 장치의 움직임 관련 데이터를 제1 프레임 레이트(예: 120fps)에 맞추어, 프레임 별로 카메라 모션 및/또는 자이로 모션에 관한 정보가 포함된 블러 검출용 데이터로 변환하도록 제어할 수 있다. 이하, 제1 프레임 레이트는, 예를 들어, 촬영 프레임 레이트와 혼용되어 사용될 수 있다.The image signal processor (321) according to various embodiments may control shake correction through software based on movement-related data of the electronic device received from the camera module (320) and/or the sensor module (340). The image signal processor (321) may control the movement-related data of the electronic device to be converted into blur detection data including information on camera motion and/or gyro motion for each frame in accordance with a first frame rate (e.g., 120 fps). Hereinafter, the first frame rate may be used interchangeably with, for example, a shooting frame rate.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 제1 프레임 레이트에 맞추어 촬영 동작을 수행하는 동안, 프레임 별 카메라 모션 및/또는 자이로 모션에 관한 정보가 포함된 블러 검출용 데이터를 수집하여 블러가 발생한 프레임을 검출하도록 제어할 수 있다. 이미지 시그널 프로세서(321)는 블러 검출용 데이터를 기반으로, 제1 프레임 레이트에 맞추어 촬영된 개별 프레임의 카메라 모션 및/또는 자이로 모션의 변화 폭이 미리 설정된 변화 폭을 초과하는 경우 블러가 발생한 프레임으로 검출하도록 제어할 수 있다. 예를 들어, 이미지 시그널 프로세서(321)가 기준으로 삼는 미리 설정된 카메라 모션 및/또는 자이로 모션의 변화 폭은, 블러가 반복되어 흔들림 보정 시 지터가 발생할 우려가 있을 정도의 변화 폭으로 테이블이 정해져 있을 수 있으며, 사용자의 설정에 의해 변경이 가능할 수 있다.The image signal processor (321) according to various embodiments may collect blur detection data including information about camera motion and/or gyro motion for each frame while performing a shooting operation according to a first frame rate, and control the detection of a frame in which blur occurs. The image signal processor (321) may control the detection of a frame in which blur occurs if the range of change in camera motion and/or gyro motion of an individual frame shot according to the first frame rate exceeds a preset range of change based on the blur detection data. For example, the range of change in the preset camera motion and/or gyro motion used as a reference by the image signal processor (321) may be set in a table as a range of change that may cause jitter to occur during shake correction due to repeated blur, and may be changeable by a user's setting.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 블러가 검출된 프레임이 존재하는 경우, 검출된 이미지(프레임)이 베이스 프레임에 해당하는지 확인할 수 있다. 베이스 프레임은 제2 프레임 레이트(예: 30fps)에 맞추어 표시되는 프레임들을 지칭할 수 있다. 이하, 제2 프레임 레이트는, 예를 들어, 출력 프레임 레이트와 혼용되어 사용될 수 있다. 예를 들어, 이미지 시그널 프로세서(321)는, 제1 프레임 레이트를 30fps 이상으로 설정하여 제2 프레임 레이트가 30fps로 맞추어 표시되도록 할 수 있다. 30fps로 출력되는 영상을 생성하기 위하여, 본 문서의 예시는 전자 장치의 영상 촬영 동작 시 제1 프레임 레이트가 120fps인 기본 동작을 통하여 촬영을 수행하는 것으로 설정한다. 이미지 시그널 프로세서(321)는 120fps로 촬영되는 연속된 4개의 프레임 중 첫 번째 프레임을 베이스 프레임(base frame)으로 확인할 수 있고, 각 베이스 프레임들을 추출하여 최종적으로 30fps의 제2 프레임 레이트에 따른 영상을 표시할 수 있다. 예를 들어, 이미지 시그널 프로세서(321)가 120fps의 기본 동작을 통해 얻은 프레임으로 영상을 생성하게 되면 프레임 간 노출 시간이 짧아 블러의 양이 줄어들 수는 있으나, 짧은 노출 시간으로 인해 30fps 대비 영상이 어두워지고 노이즈(noise)가 발생할 수 있다.The image signal processor (321) according to various embodiments can, if a frame in which blur is detected exists, determine whether the detected image (frame) corresponds to a base frame. The base frame may refer to frames displayed at a second frame rate (e.g., 30 fps). Hereinafter, the second frame rate may be used interchangeably with the output frame rate, for example. For example, the image signal processor (321) may set the first frame rate to 30 fps or higher so that the second frame rate is displayed at 30 fps. In order to generate an image output at 30 fps, the example of this document sets the shooting to be performed through a basic operation in which the first frame rate is 120 fps during the image shooting operation of the electronic device. The image signal processor (321) can identify the first frame among four consecutive frames shot at 120 fps as a base frame, and can extract each base frame to ultimately display an image according to a second frame rate of 30 fps. For example, if the image signal processor (321) generates an image with frames obtained through the basic operation of 120 fps, the amount of blur may be reduced due to the short exposure time between frames, but the image may become darker and noise may be generated compared to 30 fps due to the short exposure time.
전자 장치의 촬상 동작 시 프레임 레이트가 높게 되면, 셔터 스피드가 빨라지므로 블러로 인한 지터의 발생이 줄어들 수 있다. 다양한 실시예들에 따르면, 전자 장치의 영상 흔들림 보정으로 발생하게 되는 지터는 이미지 자체를 기반으로 하거나 자이로 센서를 기반으로 하여 검출이 가능할 수 있다.When an electronic device's image capture operation is performed at a higher frame rate, the shutter speed can be faster, thereby reducing jitter caused by blur. According to various embodiments, jitter caused by image stabilization in an electronic device can be detected based on the image itself or a gyro sensor.
이미지 자체를 기반으로 한 지터의 검출은, 예를 들면, 입력 영상 간의 필터링을 통해 확인하여 블러가 많이 존재하면 이미지 첨예성(sharpen)이 저하되기 때문에 영상 전체의 첨예도의 정도를 척도로 지터를 검출할 수 있다.Detection of jitter based on the image itself can be done by checking, for example, through filtering between input images, and since the image sharpness is reduced when there is a lot of blur, jitter can be detected by measuring the degree of sharpness of the entire image.
자이로 센서를 기반으로 한 지터의 검출은, 예를 들면, 자이로 모션을 통해 흔들림 보정 시 지터가 발생되는 조건과 발생 구간을 구분하여 이루어질 수 있다. 예를 들어, 움직이지 않는 조건(static)은 지터가 발생되지 않으며 수평 회전(panning) 조건은 한 방향으로 일정하게 움직이기 때문에 지터 발생으로 인해 영상 전체에 큰 영향은 없게 된다. 지터의 검출은, 예를 들면, 정지 또는 수평 회전 조건을 제외한 걷거나 뛰는 상황에서 제1 프레임 레이트에 맞춘 프레임 별 카메라 모션 및/또는 자이로 모션을 추출하면 모션의 기울기가 급격하게 변경되는 부분에서 VDIS가 이루어질 시 지터가 발생하게 되므로, 제1 프레임 레이트에 맞춘 프레임 별 블러 검출용 데이터(예: 프레임 별 카메라 모션 및/또는 자이로 모션 정보)를 기반으로 이루어질 수 있다. 본 개시의 경우 지터의 검출 지표로 활용이 될 수 있는 블러를 검출함으로써 지터를 방지할 수 있으며, 프레임 별 자이로 데이터를 기반으로 한 블러 검출 시 1개의 프레임 당 최소 3개 이상의 자이로 데이터를 추출하여 자이로 모션을 계산해 블러를 검출해낼 수 있다.Detection of jitter based on a gyro sensor can be performed by distinguishing the conditions and occurrence sections in which jitter occurs during shake correction using gyro motion, for example. For example, a static condition does not generate jitter, and a panning condition does not have a significant impact on the entire image due to jitter because it moves consistently in one direction. Detection of jitter can be performed based on data for frame-by-frame blur detection (e.g., frame-by-frame camera motion and/or gyro motion information) that is matched to the first frame rate, for example, in a walking or running situation excluding a static or horizontal rotation condition, since jitter occurs when VDIS is performed in a part where the slope of the motion changes abruptly, when extracting frame-by-frame camera motion and/or gyro motion according to the first frame rate. In the present disclosure, jitter can be prevented by detecting blur, which can be used as a jitter detection index, and when blur is detected based on frame-by-frame gyro data, at least three or more gyro data can be extracted per frame to calculate gyro motion and detect blur.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 제2 프레임 레이트에 맞추어 베이스 프레임의 블러 여부를 검출할 수 있다. 이미지 시그널 프로세서(321)는 지터 발생 가능성이 있는 블러 검출 베이스 프레임을 제거하고, 제거된 베이스 프레임을 대체할 베이스 프레임을 생성하도록 할 수 있다. 이미지 시그널 프로세서(321)가 생성하는 베이스 프레임은 제거된 베이스 프레임의 자이로 데이터를 이용하고, 시계열적 연속성을 가지는 프레임의 이미지 정보(예: 영상 정보)를 이용하여 생성되는 것일 수 있다. 예를 들어, 이미지 시그널 프로세서(321)가 대체 베이스 프레임을 생성하는 과정은 제거된 베이스 프레임의 시계열적 연속성을 가지는 프레임으로부터 평균적인 값을 연산하여 합성하여 대체하는 것일 수 있고, 시계열적 연속성을 가지는 프레임을 그대로 대체하는 것일 수도 있으며, 두 가지 방식 모두를 이용하는 것일 수 있다.An image signal processor (321) according to various embodiments may detect whether a base frame is blurred according to a second frame rate. The image signal processor (321) may remove a blur detection base frame that may cause jitter and generate a base frame to replace the removed base frame. The base frame generated by the image signal processor (321) may be generated using gyro data of the removed base frame and image information (e.g., video information) of a frame having time-series continuity. For example, the process of the image signal processor (321) generating a replacement base frame may be to replace the removed base frame by calculating and synthesizing an average value from a frame having time-series continuity, or to directly replace the frame having time-series continuity, or to use both methods.
다양한 실시예들에 따른 이미지 시그널 프로세서(321)는 전자 장치의 촬상 동작에 따른 제어를 담당할 수 있다. 예를 들어, 이미지 시그널 프로세서(321)는 전자 장치의 움직임에 따른 영상 흔들림 방지를 위한 보정(예를 들어, OIS, VDIS 등)에 이용되는 이미지 센서(예: 도 2의 이미지 센서(230)) 및/또는 이미지 스태빌라이저(예: 도 2의 이미지 스태빌라이저(240))를 제어할 수 있다.An image signal processor (321) according to various embodiments may be responsible for controlling the imaging operation of an electronic device. For example, the image signal processor (321) may control an image sensor (e.g., image sensor (230) of FIG. 2) and/or an image stabilizer (e.g., image stabilizer (240) of FIG. 2) used for compensation (e.g., OIS, VDIS, etc.) to prevent image shaking due to movement of the electronic device.
이미지 저장부(322)(예: 도 2의 메모리(250))는, 예를 들면, 전자 장치의 촬상 동작을 통해 얻게 된 이미지들을 저장할 수 있으며, 본 개시에서 예로 들고 있는 제1 프레임 레이트(예: 촬영 프레임 레이트)가 120fps로 설정된 이미지 센서(예: 도 2의 이미지 센서(230))들을 통해 획득한 프레임들을 저장할 수 있다. 이미지 저장부(322)에 저장되는 프레임들을 이용하여 이미지 시그널 프로세서(321)는, 예를 들면, 대체할 베이스 프레임을 생성할 수 있다.The image storage unit (322) (e.g., memory (250) of FIG. 2) can store, for example, images obtained through a photographing operation of an electronic device, and can store frames obtained through image sensors (e.g., image sensors (230) of FIG. 2) having a first frame rate (e.g., shooting frame rate) set to 120 fps as an example in the present disclosure. Using the frames stored in the image storage unit (322), the image signal processor (321) can generate, for example, a base frame to be replaced.
다양한 실시예들에 따른, 메모리(330)는 도 1의 메모리(130)의 구조 및/또는 기능 중 적어도 일부를 포함할 수 있다. According to various embodiments, the memory (330) may include at least some of the structure and/or function of the memory (130) of FIG. 1.
다양한 실시예들에 따른, 센서 모듈(340)은 도 1의 센서 모듈(176)의 구조 및/또는 기능 중 적어도 일부를 포함할 수 있다. 예를 들어, 센서 모듈(340)은 자이로 센서를 포함할 수 있고, 전자 장치의 움직임(예: 사용자의 손떨림에서 야기되는 흔들림, 촬영 방법에 의한 흔들림 등)을 감지하도록 제어될 수 있다. 다른 실시예에 따르면, 센서 모듈(340)은 전자 장치의 움직임을 감지한 결과로 생성된 전자 장치의 움직임 관련 데이터(예: 제2데이터)를 이미지 시그널 프로세서(321)로 송신(예: 감지 결과의 전송)하도록 제어될 수 있다.According to various embodiments, the sensor module (340) may include at least a part of the structure and/or function of the sensor module (176) of FIG. 1. For example, the sensor module (340) may include a gyro sensor and may be controlled to detect movement of the electronic device (e.g., shaking caused by a user's hand shaking, shaking caused by a photographing method, etc.). According to another embodiment, the sensor module (340) may be controlled to transmit movement-related data of the electronic device (e.g., second data) generated as a result of detecting the movement of the electronic device to the image signal processor (321) (e.g., transmission of the detection result).
도 4는 다양한 실시예들에 따른, 이미지 처리 기능을 가지는 전자 장치의 동작 방법에 관한 흐름도이다. 예를 들면, 전자 장치(예: 도 1의 전자 장치(101))에서의 영상 흔들림 방지 기능에 관한 흐름도이다. 이하 실시예들에서 각 동작들은 순차적으로 수행될 수도 있으나, 반드시 순차적으로 수행되는 것은 아니다. 예를 들어, 각 동작들의 순서가 변경될 수도 있으며 적어도 두 가지 이상의 동작들이 병렬적으로 수행될 수도 있다. 이하, 본 개시의 다양한 실시예에 따른 전자 장치의 동작은 전자 장치의 프로세서(예: 도 1의 프로세서(120), 도 3의 프로세서(310), 또는 도 3의 이미지 시그널 프로세서(321))에 의하여 수행될 수 있다.FIG. 4 is a flowchart illustrating an operation method of an electronic device having an image processing function according to various embodiments. For example, it is a flowchart illustrating an image shake prevention function in an electronic device (e.g., the electronic device (101) of FIG. 1). In the following embodiments, each operation may be performed sequentially, but is not necessarily performed sequentially. For example, the order of each operation may be changed, and at least two or more operations may be performed in parallel. Hereinafter, the operation of the electronic device according to various embodiments of the present disclosure may be performed by a processor of the electronic device (e.g., the processor (120) of FIG. 1, the processor (310) of FIG. 3, or the image signal processor (321) of FIG. 3).
도 4를 참조하면, 프로세서는 동작 401에서 제1 프레임 레이트(frame rate)에 맞추어 촬영을 수행하도록 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))을 제어할 수 있다. 예를 들어, 전자 장치의 제1 프레임 레이트는 120fps로 설정되어 있을 수 있다. 제1 프레임 레이트를 120fps로 맞추어 촬영을 수행하는 경우, 연속된 4개의 프레임 마다 첫 번째 프레임(예: 베이스 프레임)만을 나열하게 되면 영상 촬영의 결과물은 30fps로 표시될 수 있다.Referring to FIG. 4, the processor may control a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3) to perform shooting at a first frame rate in operation 401. For example, the first frame rate of the electronic device may be set to 120 fps. When shooting is performed at the first frame rate of 120 fps, if only the first frame (e.g., the base frame) of every four consecutive frames is listed, the result of the video shooting may be displayed at 30 fps.
프로세서는 동작 402에서 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))을 통해 전자 장치의 움직임 관련 데이터를 감지하도록 제어할 수 있다. 센서 모듈은, 예를 들면, 자이로 센서, 가속도 센서, 및/또는 제스처 센서 등을 포함할 수 있다. 전자 장치의 움직임 관련 데이터는, 예를 들면, 촬영 중인 이미지에 기반한 제1 데이터(예: 이미지 센서를 통해 감지된 데이터) 및/또는 전자 장치의 움직임을 기반으로 한 제2 데이터(예: 센서 모듈을 통해 감지된 데이터)를 포함할 수 있다. 이하, 제1 데이터는 이미지 엣지(edge) 데이터를 포함할 수 있고, 제2 데이터는 자이로(gyro) 데이터를 포함할 수 있다. 프로세서는, 동작 401의 제1 프레임 레이트에 맞추어 일정한 시간 간격(예: 동일한 시간 간격, 동일한 거리 간격)으로 촬영을 제어할 수 있다.The processor may control the sensor module (e.g., the sensor module (176) of FIG. 1, the sensor module (340) of FIG. 3) to detect movement-related data of the electronic device in operation 402. The sensor module may include, for example, a gyro sensor, an acceleration sensor, and/or a gesture sensor. The movement-related data of the electronic device may include, for example, first data based on an image being captured (e.g., data detected through an image sensor) and/or second data based on the movement of the electronic device (e.g., data detected through the sensor module). Hereinafter, the first data may include image edge data, and the second data may include gyro data. The processor may control shooting at regular time intervals (e.g., same time interval, same distance interval) in accordance with the first frame rate of operation 401.
도 4를 참조하면, 프로세서는 동작 403에서 제1 프레임 레이트에 맞추어 전자 장치의 움직임 관련 데이터(예: 제1 데이터, 또는 제2 데이터)를 블러(blur) 검출 데이터로 변환할 수 있다. 프로세서는 전자 장치의 움직임 관련 데이터를 제1 프레임 레이트에 맞추어 프레임 별로 카메라 모션 및/또는 자이로 모션에 관한 정보가 포함될 수 있는 블러 검출 데이터로 변환할 수 있다.Referring to FIG. 4, the processor may convert motion-related data (e.g., first data or second data) of an electronic device into blur detection data at a first frame rate in operation 403. The processor may convert motion-related data of the electronic device into blur detection data that may include information about camera motion and/or gyro motion for each frame at the first frame rate.
동작 403의 블러 검출 데이터 중 카메라 모션에 관한 정보는, 예를 들면, 제1 프레임 레이트에 맞추어 수집되는 프레임 별 카메라의 모션에 관한 지표에 해당할 수 있다. 또한, 프로세서는 카메라 모션(camera motion)을 연산할 수 있다. 예를 들어, 카메라 모션은 전자 장치의 촬상 동작의 수행에서 일어나는 전자 장치의 움직임을 의미할 수 있으며, 카메라의 궤적 혹은 이동 경로 등으로 표현이 될 수도 있다.Among the blur detection data of operation 403, information regarding camera motion may correspond to, for example, an indicator of camera motion for each frame collected according to the first frame rate. Furthermore, the processor may calculate camera motion. For example, camera motion may refer to the movement of an electronic device that occurs during the electronic device's imaging operation, and may be expressed as a camera trajectory or movement path.
동작 403의 블러 검출 데이터 중 자이로 모션에 관한 정보는, 예를 들면, 프레임 모션을 수집하는 것일 수 있다. 프레임 모션은 이미지 모션(image motion)과 자이로 모션(gyro motion)을 포함하는 개념일 수 있으며, 프레임 모션은 흔들림 보정을 위한 VDIS에서 활용되는 것으로 30fps 또는 60fps 등을 기본 동작으로 할 수 있다. 전자 장치의 카메라 모듈에 포함될 수 있는 이미지 스태빌라이저(예: 도 2의 이미지 스태빌라이저(240))는 VDIS를 수행할 수 있으며, 이미지 스태빌라이저를 제어하는 것은 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서, 도 3의 이미지 시그널 프로세서(321))일 수 있다. 프레임 모션은 제2 프레임 레이트에 맞추어 나열되는 베이스 프레임(base frame)들의 표시 영상에서 베이스 프레임 간의 모션으로 이해될 수 있다. 이는 이미지 모션과 자이로 모션을 통한 벡터의 활용으로 획득될 수 있다.Information about gyro motion among the blur detection data of operation 403 may be, for example, collecting frame motion. Frame motion may be a concept including image motion and gyro motion, and frame motion may be utilized in VDIS for shake correction, and may have 30 fps or 60 fps as a basic operation. An image stabilizer (e.g., image stabilizer (240) of FIG. 2) that may be included in a camera module of an electronic device may perform VDIS, and a processor (e.g., processor (120) of FIG. 1, image signal processor of FIG. 2, image signal processor (321) of FIG. 3) may control the image stabilizer. Frame motion may be understood as motion between base frames in a display image of base frames that are arranged according to a second frame rate. This may be acquired by utilizing a vector through image motion and gyro motion.
도 4를 참조하면, 프로세서는 동작 404에서 블러 검출 데이터를 기반으로 제2 프레임 레이트에 맞추어 프레임 별 블러를 검출할 수 있다. 예를 들어, 제2 프레임 레이트를 30fps로 하여 영상을 표시하기 위하여 120fps의 촬영 프레임 레이트에 맞추어 촬영 시 4개의 프레임을 한 묶음의 단위로 할 수 있다. 베이스 프레임은 한 묶음 단위의 첫 번째 프레임을 지칭할 수 있으며, 이는 묶음 단위의 시작점을 어떻게 설정하는지에 따라 달라질 수 있고 커스터마이징(customizing)에 의해 변경이 용이할 수 있다.Referring to FIG. 4, the processor may detect blur for each frame based on blur detection data at operation 404 according to a second frame rate. For example, in order to display an image at a second frame rate of 30 fps, four frames may be grouped together when shooting at a shooting frame rate of 120 fps. The base frame may refer to the first frame of a grouped unit, which may vary depending on how the starting point of the grouped unit is set, and may be easily changed through customization.
도 4를 참조하면, 프로세서는 동작 405에서 베이스 프레임에 블러가 존재하는지 검출할 수 있다. 베이스 프레임에 블러가 존재하는지 검출하는 이유는, 베이스 프레임에 블러가 발생하였다면 흔들림 보정으로 인하여 영상에 지터가 발생할 확률이 높기 때문일 수 있다.Referring to FIG. 4, the processor can detect whether a blur exists in the base frame at operation 405. The reason for detecting whether a blur exists in the base frame may be that if a blur occurs in the base frame, there is a high probability that jitter will occur in the image due to shake correction.
도 4를 참조하면, 프로세서는 동작 405에서 베이스 프레임에 블러가 존재하는 것으로 확인된 경우, 동작 406에서 블러의 존재하는 베이스 프레임을 제거할 수 있다. 베이스 프레임에 블러가 존재하게 되면 영상에 지터가 발생할 확률이 높은바, 프로세서는 동작 406를 통하여 블러가 존재하는 베이스 프레임을 제거할 수 있다.Referring to FIG. 4, if the processor determines that blur exists in the base frame in operation 405, the processor can remove the base frame in which blur exists in operation 406. If blur exists in the base frame, there is a high probability that jitter will occur in the image, and therefore, the processor can remove the base frame in which blur exists through operation 406.
도 4를 참조하면, 프로세서는 동작 405에서 베이스 프레임에 블러가 존재하지 않는 것으로 확인된 경우, 추가적인 동작을 수행하지 않고, 종료할 수 있다.Referring to FIG. 4, if the processor determines that no blur exists in the base frame at operation 405, the processor may terminate without performing any additional operations.
도 4를 참조하면, 프로세서는 동작 407에서, 동작 406을 통해 제거된 베이스 프레임을 대체할 베이스 프레임을 생성할 수 있다. 예를 들어, 프로세서는 제거된 베이스 프레임을 대신하여 영상에 표시될 새로운 베이스 프레임을 생성 및 대체할 수 있다. 일 실시예에 따르면, 프로세서는 제거된 베이스 프레임과 시계열적 연속성을 갖는 프레임을 기반으로 대체할 베이스 프레임을 생성할 수 있으며, 제거된 베이스 프레임의 자이로 데이터는 생성된 베이스 프레임에 그대로 이용할 수 있다. 또한, 대체할 베이스 프레임의 영상 정보(예: 이미지 정보)는 시계열적 연속성을 가지는 프레임들의 평균적인 값을 합성하여 획득될 수 있고, 시계열적 연속성을 가지는 프레임을 그대로 이용하여 대체될 수도 있으며, 두 가지 방식 모두를 이용할 수도 있다.Referring to FIG. 4, the processor may generate a base frame to replace the base frame removed through operation 406 in operation 407. For example, the processor may generate and replace a new base frame to be displayed in an image in place of the removed base frame. According to one embodiment, the processor may generate the base frame to be replaced based on a frame that has temporal continuity with the removed base frame, and the gyro data of the removed base frame may be used as is in the generated base frame. In addition, the image information (e.g., image information) of the base frame to be replaced may be obtained by synthesizing an average value of frames that have temporal continuity, may be replaced by directly using the frame that has temporal continuity, or both methods may be used.
도 4에 도시되지는 않았으나, 프로세서는 흔들림 보정을 통해 어두워진 프레임에 대해서는 디지털 게인 보상(digital gain interpolation)을 할 수 있다. 프로세서는 롤링 셔터 보상(rolling shutter compensation, RSC) 값을 연산할 수 있다. 프로세서는 제2 프레임 레이트(예: 30fps)에 맞추어 표시되는 영상이 RSC를 통하여 베이스 프레임의 싱크(sync)가 맞는지 자이로 데이터를 이용하여 확인할 수 있다. 프로세서가 활용하게 되는 자이로 데이터는, 제거된 베이스 프레임이 존재하더라도 제거된 베이스 프레임의 자이로 데이터를 그대로 활용하게 될 수 있다.Although not shown in FIG. 4, the processor can perform digital gain interpolation for frames darkened by shake compensation. The processor can calculate a rolling shutter compensation (RSC) value. The processor can use gyro data to check whether an image displayed at a second frame rate (e.g., 30 fps) is in sync with the base frame through RSC. The gyro data utilized by the processor can utilize the gyro data of the removed base frame as is, even if the removed base frame exists.
도 5a 및 도 5b는 전자 장치의 촬상 동작 수행에 따른 영상의 표시를 위한 베이스 프레임의 추출 방법에 대한 예시도이다. 다양한 실시예들에 따른 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))을 이용하여 촬영을 수행하도록 제어할 수 있다. 다양한 실시예에 따르면, 전자 장치의 영상 촬영 수행에 있어서, 프로세서는 제1 프레임 레이트(예: 120fps)에 맞추어 개별 프레임 마다 블러의 존재 여부를 검출할 수 있다.FIGS. 5A and 5B are exemplary diagrams for a method of extracting a base frame for displaying an image according to a capturing operation performed by an electronic device. According to various embodiments, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) of an electronic device (e.g., the electronic device (101) of FIG. 1) may control capturing using a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3). According to various embodiments, when the electronic device performs capturing of an image, the processor may detect the presence or absence of blur for each individual frame according to a first frame rate (e.g., 120 fps).
예를 들면, 프로세서는 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))을 통해 자이로 모션(gyro motion)을 획득할 수 있다. 프로세서는 자이로 모션을 이용하여 카메라의 궤적을 프레임 별로 얻을 수 있다. 일 실시예에 따르면, 프로세서는 프레임 넘버(예: 시간의 흐름에 따른 순서로 매긴 번호)에 따른 카메라 궤적의 급변 구간(예: 모션의 기울기가 크게 변경되는 구간)이 존재 시, 해당 프레임에서 블러가 존재한다고 판단할 수 있다. 예를 들면, 전술한 카메라 궤적의 급변 구간은 도 3의 설명에 기재된 바와 같이 블러 검출 데이터에 포함될 수 있는 카메라 모션 및/또는 자이로 모션의 변화 폭에 해당할 수 있다. 또한, 프로세서는 제1 프레임 레이트에 맞추어 프레임 별로 블러의 존재 유무를 판단하여 지터가 발생할 염려가 있는 블러 프레임을 검출할 수 있고, 제2 프레임 레이트(예: 30fps)에 따른 베이스 프레임에 블러가 있는지 판단할 수 있다.For example, the processor can obtain gyro motion through a sensor module (e.g., sensor module (176) of FIG. 1, sensor module (340) of FIG. 3). The processor can obtain a camera trajectory for each frame using the gyro motion. According to one embodiment, the processor can determine that blur exists in a frame when there is a section of rapid change (e.g., a section where the slope of the motion changes significantly) in the camera trajectory according to the frame number (e.g., a number sequentially numbered according to the passage of time). For example, the section of rapid change in the camera trajectory described above may correspond to a range of change in camera motion and/or gyro motion that may be included in the blur detection data as described in the description of FIG. 3. In addition, the processor can determine the presence or absence of blur for each frame according to a first frame rate to detect a blur frame in which jitter may occur, and can determine whether there is blur in a base frame according to a second frame rate (e.g., 30 fps).
도 5a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임 추출에 관한 예시도이다.FIG. 5A is an example diagram of base frame extraction when an electronic device executes a capturing operation according to various embodiments.
도 5a를 참조하면, 다양한 실시예들에 따른 전자 장치는 카메라 어플리케이션의 실행에 기반하여 영상의 촬영 시(예: 촬상 동작 시) 제1 프레임 레이트에 맞추어 촬영을 수행할 수 있다. 예를 들어, 전자 장치를 통해 출력하고자 하는 영상의 프레임 레이트를 30fps에 맞추기 위하여 120fps의 프레임 레이트로 실제 촬영을 하고, 전자 장치의 프로세서를 통한 이미지 합성 및/또는 생성을 통해 30fps로 영상이 출력이 되도록 조정이 가능할 수 있다.Referring to FIG. 5A, an electronic device according to various embodiments may perform capturing at a first frame rate when capturing an image (e.g., during a capturing operation) based on the execution of a camera application. For example, in order to set the frame rate of an image to be output through the electronic device to 30 fps, the actual capturing may be performed at a frame rate of 120 fps, and the image may be output at 30 fps through image synthesis and/or generation via the processor of the electronic device.
도 5a를 참조하면, 다양한 실시예에 따른 전자 장치의 촬상 동작은 120fps의 제2 프레임 레이트에 맞추어 실시 중일 수 있다. 도 5a에 도시된 프레임들(510 내지 580)은 각각 1개의 프레임을 나타낼 수 있다. 전자 장치를 통한 영상 촬영으로 출력되는 영상이 30fps로 반영이 되려면, 120fps로 촬영 중인 영상을 4개의 프레임 씩 1개의 묶음으로 하여 각 묶음 별 베이스 프레임 (base)(예: 1번 프레임(510), 5번 프레임(550))을 추출하여 나열하는 방식을 이용할 수 있다. 베이스 프레임은 각 묶음의 첫 번째 프레임을 의미할 수 있다.Referring to FIG. 5A, the imaging operation of an electronic device according to various embodiments may be performed at a second frame rate of 120 fps. Each of the frames (510 to 580) illustrated in FIG. 5A may represent one frame. In order for an image output through an electronic device to be reflected at 30 fps, a method may be used in which the image being captured at 120 fps is divided into one group of four frames each, and a base frame (e.g., frame 1 (510), frame 5 (550)) for each group is extracted and listed. The base frame may mean the first frame of each group.
도 5a를 참조하면, 영상 촬영을 진행함에 있어서, 30fps의 영상을 출력하기 위한 시작점(예: 첫 번째 베이스 프레임)은 전자 장치의 기본 설정에 의해 정해지거나 커스터마이징을 통해 변경이 가능할 수 있다. 예를 들어, 도 5a의 1번 프레임(510)을 촬영하여 추출을 시작하는 순간이 시작점으로 설정될 수 있다. 또 다른 실시예로, 5번 프레임(550)을 시작점으로 하게 될 수 있으며, 제1 프레임 레이트(예: 120fps)를 통한 촬영으로 제2 프레임 레이트(예: 30fps)의 영상을 얻기 위해서는 1개의 묶음 당 4개의 프레임이 요구될 수 있다.Referring to FIG. 5A, when capturing a video, a starting point (e.g., the first base frame) for outputting a 30fps video may be determined by the default settings of the electronic device or may be changed through customization. For example, the moment at which extraction begins by capturing frame 1 (510) of FIG. 5A may be set as the starting point. In another embodiment, frame 5 (550) may be used as the starting point, and in order to obtain a video at a second frame rate (e.g., 30fps) by capturing at a first frame rate (e.g., 120fps), 4 frames may be required per bundle.
도 5a에 도시된 프레임들(510 내지 580)은 가로 축을 시간(time)으로 하여 시간 순서대로 나열된 것이며, 프레임들 간의 시간 간격은 일정하게 조정될 수 있다. 또한, 프레임 별로 획득되는 제2 데이터(예: 자이로 데이터)(gyro data)(511 내지 583)(예: 510 내지 580 프레임에서의 3개의 세로 줄로 도시)는 임의의 시간 간격을 기준으로 하여 획득될 수 있다. 일 실시예에 따르면, 도시된 프레임들(510 내지 580) 간의 시간 간격 및/또는 제2 데이터의 시간 간격은, 도시된 실시예에 한정되는 것은 아니며, 다양한 실시예에 따라 시간 간격이 변경될 수 있다. 예를 들면, 자이로 데이터가 추출되는 시간 간격이 동일 또는 유사하지 않고, 서로 상이할 수 있다.The frames (510 to 580) illustrated in FIG. 5A are arranged in chronological order with time on the horizontal axis, and the time intervals between the frames can be adjusted to a constant value. In addition, the second data (e.g., gyro data) (511 to 583) acquired for each frame (e.g., illustrated by three vertical lines in frames 510 to 580) can be acquired based on an arbitrary time interval. According to one embodiment, the time intervals between the illustrated frames (510 to 580) and/or the time intervals of the second data are not limited to the illustrated embodiment, and the time intervals may be changed according to various embodiments. For example, the time intervals at which the gyro data is extracted may not be the same or similar, but may be different from each other.
도 5a를 참조하면, 전자 장치의 촬상 동작 시 획득되는 프레임 별 제2 데이터가 셀로의 줄로 3개씩 도시되었으나, 이는 예시에 불과할 뿐 개수에 한정은 없으며 3개 이상이 포함될 수도 있다.Referring to FIG. 5a, the second data for each frame acquired during the imaging operation of the electronic device is illustrated in three rows of cells, but this is only an example and there is no limitation on the number, and more than three may be included.
도 5a를 참조하면, 프로세서는 1번 프레임(510)부터 2번 프레임(520)까지의 이미지 모션(image motion)은 MV12로 도시될 수 있고, MV12에 대응하는 자이로 모션(gyro motion)은 MVg12로 도시될 수 있다. 프레임들(510 내지 580) 간의 이미지 모션 및/또는 자이로 모션은 MV12, 및/또는 MVg12와 동일 또는 유사하므로, 이하 중복되는 설명은 생략하도록 한다. 프로세서가 자이로 모션(gyro motion)을 찾는데 중요한 영향을 미치는 것은 베이스 프레임일 수 있다. 그러나 베이스 프레임 이외의 프레임들을 통해 카메라의 이동 방향을 미리 알 수 있다. 도 5a의 1번 프레임부터 5번 프레임까지의 이미지 모션(image motion)에(MV15(motion vector)) 대응하는 자이로 모션은 MVg15(gyro motion vector) 이지만, MVg56, MVg67, 및 MVg78을 통해 카메라의 이동 방향을 알 수 있다. 이와 같이 카메라 궤적을 이용하여 모션 스무딩(motion smoothing)을 하게 될 때 미래 시점의 움직임 정보를 추가적으로 예측할 수 있기 때문에 모션에 대한 대응을 하기 쉬울 수 있다. 예를 들어, 이전의 모션으로부터 MVg15 까지는 panning 동작 이었다고 가정 시 MVg56, MVg67, 및 MVg78을 통해 앞으로도 panning 으로 동작할지, 속도는 어떻게 될지 미리 분석을 할 수 있다. 따라서 연속적인 급격한 움직임에 대해 프로세서가 대응을 유연하게 할 수 있다.Referring to FIG. 5A, the image motion from the first frame (510) to the second frame (520) may be represented as MV12, and the gyro motion corresponding to MV12 may be represented as MVg12. Since the image motion and/or gyro motion between the frames (510 to 580) are the same as or similar to MV12 and/or MVg12, their description will be omitted below. The base frame may have a significant influence on the processor finding the gyro motion. However, the movement direction of the camera can be known in advance through frames other than the base frame. The gyro motion corresponding to the image motion (MV15 (motion vector)) from the first frame to the fifth frame of FIG. 5A is MVg15 (gyro motion vector), but the movement direction of the camera can be known through MVg56, MVg67, and MVg78. In this way, when motion smoothing is performed using camera trajectories, it is possible to additionally predict future motion information, making it easier to respond to motion. For example, assuming that the previous motion up to MVg15 was a panning motion, it is possible to analyze in advance whether panning will continue in the future and at what speed through MVg56, MVg67, and MVg78. Therefore, the processor can flexibly respond to continuous rapid movements.
도 5b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 시 베이스 프레임의 블러 검출에 관한 예시도이다.FIG. 5b is an exemplary diagram of blur detection of a base frame during an imaging operation of an electronic device according to various embodiments.
다양한 실시예에 따른 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 전자 장치(예: 도 1의 전자 장치(101))의 촬상 동작 시, 베이스 프레임(base)을 추출하여 제2 프레임 레이트에 맞추어 영상을 출력하도록 제어할 수 있다.A processor according to various embodiments (e.g., a processor (120) of FIG. 1, an image signal processor (260) of FIG. 2, an image signal processor (321) of FIG. 3) can control an electronic device (e.g., an electronic device (101) of FIG. 1) to extract a base frame (base) during a capturing operation and output an image at a second frame rate.
도 5a 및 도 5b를 참조하면, 프로세서는 전자 장치의 촬상 동작 시 흔들림 보정의 동작을 제어할 수 있다. 프로세서는 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))의 이미지 스태빌라이저(예: 도 2의 이미지 스태빌라이저(240))를 제어하여 흔들림 방지를 위한 보정 동작을 수행하도록 할 수 있다. 예를 들어, 흔들림 보정은 광학적 영상 흔들림 방지(optical image stabilizer, OIS), 및/또는 전자적 영상 흔들림 방지(video digital image stabilizer, VDIS)의 방식일 수 있다.Referring to FIGS. 5A and 5B , a processor may control the operation of shake correction during an imaging operation of an electronic device. The processor may control an image stabilizer (e.g., an image stabilizer (240) of FIG. 2) of a camera module (e.g., a camera module (180) of FIG. 1 , a camera module (320) of FIG. 3 ) to perform a compensation operation for preventing shake. For example, the shake correction may be in the form of an optical image stabilizer (OIS) and/or a video digital image stabilizer (VDIS).
도 5a 및 도 5b를 참조하면, 도 5a에서 베이스 프레임은 1번 프레임(510)과 5번 프레임(550)이 될 수 있다. 예를 들어, 프로세서는 흔들림 방지를 위해 자동 조리개 조절(automatic exposure, AE) 등을 이용하여 이미지 스태빌라이저를 통해 흔들림 방지를 위한 보정을 제어할 수 있다. 프로세서의 흔들림 보정의 결과, 베이스 프레임 중 하나인 5번 프레임(550)(예: 제1 베이스 프레임)에는 이미지 열화인 블러(blur)가 발생될 수 있다.Referring to FIGS. 5A and 5B, in FIG. 5A, the base frames may be frame 1 (510) and frame 5 (550). For example, the processor may control compensation for shake prevention through an image stabilizer using automatic exposure (AE) or the like to prevent shake. As a result of the shake correction of the processor, blur, which is an image deterioration, may occur in frame 5 (550), which is one of the base frames (e.g., the first base frame).
베이스 프레임에 블러가 발생되면, 제2 프레임 레이트(예: 30fps)에 맞추어 베이스 프레임들(510, 550)을 합성하여 영상을 표시하게 될 때 지터(jitter)가 발생될 수 있다. 프로세서는 지터가 발생할 확률이 높은 블러 프레임을 검출할 수 있다.When blurring occurs in the base frame, jitter may occur when displaying an image by synthesizing the base frames (510, 550) according to a second frame rate (e.g., 30 fps). The processor can detect a blur frame with a high probability of jitter occurring.
다양한 실시예에 따른 프로세서는 블러가 발생된 베이스 프레임(예: 제1 베이스 프레임)을 제거할 수 있다. 도 5b를 참조하면, 5번 프레임(550)은 베이스 프레임이지만, 블러가 생겨 흔들림 보정 시(예: OIS, VDIS 등) 지터 발생 확률이 높은 바, 프로세서는 5번 프레임(550)이 베이스 프레임으로서 부적합하므로 제거하는 동작을 수행하도록 제어할 수 있다. 일 실시예에 따르면, 프로세서는 제거된 5번 프레임(550)을 대체할 베이스 프레임(예: 제2 베이스 프레임)을 생성하도록 제어할 수 있다. 이 때, 프로세서는 기존의 5번 프레임(550)에서 추출한 시간 별 자이로 데이터 및 5번 프레임(550)과 시간적 연속성을 갖는 프레임(예: 4번 프레임(540), 6번 프레임(560))의 이미지를 활용하여 새로운 베이스 프레임(예: 제2 베이스 프레임)을 생성할 수 있다. 새로이 생성되는 베이스 프레임은 4번 프레임(540) 또는 6번 프레임(560)의 이미지(예: 제1 데이터)를 그대로 활용하는 것(예: 프레임의 이미지 교체)일 수 있고, 4번 프레임(540) 및 6번 프레임(560)의 평균적인 값으로 합성한 이미지(미도시)를 활용하는 것일 수도 있으며, 이에 한정되는 것은 아니다.A processor according to various embodiments may remove a base frame (e.g., a first base frame) in which blurring occurs. Referring to FIG. 5B, frame 5 (550) is a base frame, but since blurring occurs and jitter is likely to occur during shake correction (e.g., OIS, VDIS, etc.), the processor may control an operation to remove frame 5 (550) because it is unsuitable as a base frame. According to one embodiment, the processor may control a base frame (e.g., a second base frame) to replace the removed frame 5 (550). At this time, the processor may use time-dependent gyro data extracted from the existing frame 5 (550) and images of frames (e.g., frame 4 (540), frame 6 (560)) having temporal continuity with frame 5 (550) to generate a new base frame (e.g., the second base frame). The newly generated base frame may be one that directly utilizes the image (e.g., first data) of the 4th frame (540) or the 6th frame (560) (e.g., image replacement of the frame), or may utilize an image (not shown) synthesized with the average values of the 4th frame (540) and the 6th frame (560), but is not limited thereto.
다양한 실시예에 따르면, 새로운 베이스 프레임(예: 제2 베이스 프레임)으로의 대체 과정은, 제거된 베이스 프레임(550) (예: 제1 베이스 프레임)의 주변 프레임(예: 4번 프레임(540), 6번 프레임(560))의 영상 정보(예: 이미지 정보)를 활용하는 것이고, 생성된 베이스 프레임 (예: 제2 베이스 프레임)에 적용되는 자이로 데이터는 제거된 베이스 프레임(550) (예: 제1 베이스 프레임)의 제2 데이터를 이용하는 것일 수 있다.According to various embodiments, the process of replacing with a new base frame (e.g., a second base frame) may utilize image information (e.g., image information) of surrounding frames (e.g., frame 4 (540), frame 6 (560)) of the removed base frame (550) (e.g., the first base frame), and gyro data applied to the generated base frame (e.g., the second base frame) may utilize second data of the removed base frame (550) (e.g., the first base frame).
다양한 실시예들에 따른 블러 검출 과정은, 이미지 센서(예: 도 2의 이미지 센서(230))를 포함할 수 있는 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320)) 및/또는 자이로 센서를 포함할 수 있는 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))을 통해 감지한 영상 정보로부터 제1 데이터(예: 이미지 센서를 통해 감지한 촬영 이미지를 기반으로 할 수 있다.) 및/또는 제2 데이터(예: 센서 모듈을 통해 감지한 전자 장치의 움직임을 기반으로 할 수 있다.)를 감지하여 수집하는 과정을 포함할 수 있다.A blur detection process according to various embodiments may include a process of detecting and collecting first data (e.g., based on a captured image detected through an image sensor) and/or second data (e.g., based on a movement of an electronic device detected through a sensor module) from image information detected through a camera module (e.g., camera module (180) of FIG. 1, camera module (320) of FIG. 3) that may include an image sensor (e.g., image sensor (230) of FIG. 2) and/or a sensor module (e.g., sensor module (176) of FIG. 1, sensor module (340) of FIG. 3) that may include a gyro sensor.
다양한 실시예들에 따른 움직임 관련 데이터 획득 과정은, 프로세서가 전자 장치의 카메라 촬영(예: 촬상 동작)에 의한 이미지들의 제1 데이터 및/또는 제2 데이터의 전자적 데이터를 획득하는 과정을 포함할 수 있다. 상기 제1 데이터 및/또는 제2 데이터는 개별 프레임에서 일정 간격으로 추출되는 타임 스탬프(time stamp)로 볼 수 있으며, 이는 프로세서에서 활용이 될 수 있다. 예를 들면, 제2 데이터는 각속도와 타임 스탬프의 정보를 포함할 수 있으며, 타임 스탬프를 획득하는 것은 프로세서(예: 메인 프로세서(121))를 이용한 것일 수 있다.A process for acquiring motion-related data according to various embodiments may include a process in which a processor acquires electronic data of first data and/or second data of images captured by a camera (e.g., a capturing operation) of an electronic device. The first data and/or second data may be viewed as time stamps extracted at regular intervals from individual frames, which may be utilized by the processor. For example, the second data may include information on angular velocity and time stamps, and acquiring the time stamps may be accomplished using a processor (e.g., the main processor (121)).
도 6a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임의 제2 데이터(예: 자이로 데이터) 획득에 관한 예시도이다.FIG. 6A is an example diagram of obtaining second data (e.g., gyro data) of a base frame when an electronic device executes a capturing operation according to various embodiments.
도 5a 내지 도 6a를 참조하면, 도 5a 및 도 5b의 개별 프레임들(510 내지 580) 별 세로 줄(511 내지 583)은 개별 프레임들의 제2 데이터일 수 있다. 또한, 도 6a의 1번 프레임(510) 및 5번 프레임(550)의 가로 줄은 개별 프레임들의 제2 데이터일 수 있으며, 도 5a 내지 도 5b에 도시된 프레임 별 세로 줄에 대응될 수 있다.Referring to FIGS. 5A and 6A, the vertical lines (511 to 583) of individual frames (510 to 580) of FIGS. 5A and 5B may be second data of the individual frames. In addition, the horizontal lines of the first frame (510) and the fifth frame (550) of FIG. 6A may be second data of the individual frames and may correspond to the vertical lines of each frame illustrated in FIGS. 5A and 5B.
도 5a 내지 도 6a를 참조하면, 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 전자 장치의 움직임 관련 데이터(예: 제1 데이터, 제2 데이터)를 감지하도록 제어할 수 있다. 예를 들어, 프로세서는 이미지 센서(예: 도 2의 이미지 센서(230))를 통해 감지한 영상 정보(예: 이미지 정보)로부터 확인한 제1 데이터(예: 이미지 엣지 데이터), 및/또는 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))을 통해 감지한 전자 장치의 움직임 정보로부터 확인한 제2 데이터(예: 자이로 데이터)를 획득할 수 있다.Referring to FIGS. 5A to 6A, a processor (e.g., a processor (120) of FIG. 1, an image signal processor (260) of FIG. 2, an image signal processor (321) of FIG. 3) may be controlled to detect movement-related data (e.g., first data, second data) of an electronic device. For example, the processor may obtain first data (e.g., image edge data) confirmed from image information (e.g., image information) detected through an image sensor (e.g., an image sensor (230) of FIG. 2), and/or second data (e.g., gyro data) confirmed from movement information of the electronic device detected through a sensor module (e.g., a sensor module (176) of FIG. 1, a sensor module (340) of FIG. 3).
도 5a 내지 도 6a을 참조하면, 프로세서는 개별 프레임 마다 임의의 시간 간격으로 제2 데이터(511 내지 513, 551 내지 553)를 수집할 수 있다. 예를 들어, 프로세서는 센서 모듈을 통해 1번 프레임(510)의 제2 데이터(511 내지 513)를 3회에 걸쳐 감지하도록 제어할 수 있다. 이 경우 감지된제2 데이터 1_1(gyro data 1_1)(511), 제2 데이터 1_2(gyro data 1_2)(512), 및 제2 데이터 1_3(gyro data 1_3)(513)는 임의의 시간 간격(예: 거리 간격)에 따라 감지될 수 있다. 프로세서가 제2 데이터를 획득하는 임의의 시간 간격은 개별 프레임을 촬영하는 시간에 대응하여 달라질 수 있으며, 제1 프레임 레이트(예: 120fps)에 따라 변경 가능할 수 있다. 또한, 동일한 시간 간격은 각속도를 이용하여 거리를 연산되어, 개별 프레임 마다 동일한 간격의 개념이 적용될 수 있다.Referring to FIGS. 5A to 6A, the processor can collect second data (511 to 513, 551 to 553) at arbitrary time intervals for each individual frame. For example, the processor can control the sensor module to detect the second data (511 to 513) of the first frame (510) three times. In this case, the detected second data 1_1 (gyro data 1_1) (511), second data 1_2 (gyro data 1_2) (512), and second data 1_3 (gyro data 1_3) (513) can be detected at arbitrary time intervals (e.g., distance intervals). The arbitrary time intervals at which the processor acquires the second data can vary depending on the time at which the individual frames are captured, and can be changed depending on the first frame rate (e.g., 120 fps). Additionally, the same time interval can be used to compute distance using angular velocity, so the concept of the same interval can be applied to each individual frame.
도 5a 내지 도 6a를 참조하면, 다양한 실시예들에 따른 프로세서는 임의의 시간 간격에 따라 감지된 5번 프레임(550)의 제2 데이터(551 내지 553)를 획득할 수 있다. 예를 들어, 프로세서가 베이스 프레임인 5번 프레임(550)에서 획득한 제2 데이터(551 내지 553)는 제2 데이터 5_1(gyro data 5_1)(551), 제2 데이터 5_2(gyro data 5_2)(552), 및 제2 데이터 5_3(gyro data 5_3)(553)으로 도시되어 있으나, 이는 예시에 불과하고 3개 이상의 제2 데이터를 수집할 수도 있다.Referring to FIGS. 5A to 6A, a processor according to various embodiments may acquire second data (551 to 553) of a fifth frame (550) detected at an arbitrary time interval. For example, the second data (551 to 553) acquired by the processor from the fifth frame (550), which is a base frame, are illustrated as second data 5_1 (gyro data 5_1) (551), second data 5_2 (gyro data 5_2) (552), and second data 5_3 (gyro data 5_3) (553), but this is merely an example, and three or more sets of second data may be collected.
일 실시예에 따르면, 베이스 프레임인 5번 프레임(550)에 블러가 발생하여 제거를 하게 되는 경우, 프로세서는 제거될 베이스 프레임(예: 5번 프레임(550))(예: 제1 베이스 프레임)의 제2 데이터(예: 551 내지 553)를 활용할 수 있다. 도 5b를 참조하면, 프로세서는 베이스 프레임인 5번 프레임(550)의 블러 발생으로 5번 프레임(550)의 제거 시, 기존의 5번 프레임(550)의 제2 데이터(551 내지 553)를 대체할 베이스 프레임(예: 제2 베이스 프레임)에 적용할 수 있다. 프로세서가 제2 데이터를 활용하는 것은, 해당 시간에 획득한 데이터를 기반으로 하여 영상의 표시에 있어서 연속성을 부여하고 매끄러운 움직임을 표현하기 위한 것일 수 있다.According to one embodiment, when blur occurs in the base frame 5 (550) and is removed, the processor may utilize the second data (e.g., 551 to 553) of the base frame (e.g., 550) to be removed (e.g., the first base frame). Referring to FIG. 5b, when blur occurs in the base frame 5 (550) and the frame 5 (550) is removed, the processor may apply the second data (551 to 553) of the existing frame 5 (550) to a base frame (e.g., the second base frame) to be replaced. The processor may utilize the second data to provide continuity in displaying the image and express smooth movement based on the data acquired at the corresponding time.
도 6b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 대체되는 베이스 프레임의 제2 데이터(예: 자이로 데이터) 활용에 관한 예시도이다.FIG. 6b is an example diagram of the use of second data (e.g., gyro data) of a base frame that is replaced when an imaging operation of an electronic device is performed according to various embodiments.
도 5a 내지 도 6b를 참조하면, 도 5a 및 도 5b의 개별 프레임들(510 내지 580) 별 세로 줄은 개별 프레임들의 제2 데이터일 수 있다. 또한, 도 6a 및 도 6b의 1번 프레임(510) 및 대체 프레임(new)(610)(예: 제2 베이스 프레임)의 가로 줄은 개별 프레임들의 제2 데이터일 수 있으며, 도 5a 내지 도 5b에 도시된 프레임 별 세로 줄에 대응될 수 있다.Referring to FIGS. 5A to 6B, the vertical lines of individual frames (510 to 580) of FIGS. 5A and 5B may be second data of the individual frames. In addition, the horizontal lines of the first frame (510) and the replacement frame (new) (610) (e.g., the second base frame) of FIGS. 6A and 6B may be second data of the individual frames and may correspond to the vertical lines of each frame illustrated in FIGS. 5A and 5B.
도 5a 내지 도 6b를 참조하면, 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 제거된 베이스 프레임(550)(예: 제1 베이스 프레임)을 대체할 새로운 베이스 프레임(new)(610)(예: 제2 베이스 프레임)을 생성하도록 제어할 수 있다. 새로운 베이스 프레임(610)은 한 가지 이상의 방식으로 생성될 수 있다. 일 실시예에 따르면, 프로세서는 제거된 베이스 프레임(550)의 시간적 연속성을 갖는 주변 프레임(예: 4번 프레임(540), 6번 프레임(560))의 이미지 정보를 새로운 베이스 프레임(610)의 이미지 정보로 활용할 수 있다. 또한, 프로세서가 활용하게 되는 상기 주변 프레임들은 블러가 발생되지 않은 프레임일 수 있으며, 제거된 프레임(550)보다 상대적으로 블러가 덜 발생된 프레임일 수 있다.Referring to FIGS. 5A to 6B, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, and the image signal processor (321) of FIG. 3) may be controlled to generate a new base frame (new) (610) (e.g., a second base frame) to replace the removed base frame (550) (e.g., a first base frame). The new base frame (610) may be generated in one or more ways. According to one embodiment, the processor may utilize image information of surrounding frames (e.g., the 4th frame (540), the 6th frame (560)) having temporal continuity with the removed base frame (550) as image information of the new base frame (610). In addition, the surrounding frames utilized by the processor may be frames in which no blur occurs, and may be frames in which relatively less blur occurs than the removed frame (550).
다른 실시예에 따르면, 프로세서는 제거된 베이스 프레임(550)(예: 제1 베이스 프레임)의 시간적 연속성을 갖는 주변의 프레임들(예: 4번 프레임(540), 6번 프레임(560))의 이미지 정보의 평균적인 값을 연산하여 합성하도록 제어할 수 있다. 또한, 프로세서가 활용하게 되는 상기 주변 프레임들은 블러가 발생되지 않은 프레임일 수 있으며, 제거된 프레임(550)(예: 제1 베이스 프레임)보다 상대적으로 블러가 덜 발생된 프레임일 수 있다.According to another embodiment, the processor may be controlled to calculate and synthesize an average value of image information of surrounding frames (e.g., frame 4 (540), frame 6 (560)) having temporal continuity with the removed base frame (550) (e.g., first base frame). In addition, the surrounding frames utilized by the processor may be frames in which no blur occurs, and may be frames in which relatively less blur occurs than the removed frame (550) (e.g., first base frame).
다른 실시예에 따르면, 프로세서는 새로운 베이스 프레임(610)(예: 제2 베이스 프레임)을 상기 두 가지 방식을 함께 활용하여 생성할 수도 있다.In another embodiment, the processor may also generate a new base frame (610) (e.g., a second base frame) by utilizing both of the above methods together.
도 5a 내지 도 6b를 참조하면, 프로세서는 제거된 베이스 프레임(550)(예: 제1 베이스 프레임)으로부터 획득한 제2 데이터(551 내지 553)를 새로운 베이스 프레임(610)(예: 제2 베이스 프레임)에 적용할 수 있다. 예를 들어, 프로세서는 생성된 베이스 프레임(610)의 움직임 관련 데이터 중 제2 데이터를 제거된 프레임(550)으로부터 획득하여, 제2 프레임 레이트로 출력되는 영상의 움직임을 매끄럽게 표시하도록 제어할 수 있다. 다양한 실시예에 따르면, 프로세서는 제거된 프레임(550)을 대체할 새로운 프레임(610)의 제1 데이터를 합성 및/또는 변경(예: 제거된 프레임의 주변 프레임 중 하나로 대체)하고, 제2 데이터는 제거된 프레임(550)으로부터 획득하여 적용하도록 제어할 수 있다.Referring to FIGS. 5A to 6B , the processor may apply second data (551 to 553) obtained from a removed base frame (550) (e.g., a first base frame) to a new base frame (610) (e.g., a second base frame). For example, the processor may obtain second data among the motion-related data of the generated base frame (610) from the removed frame (550) and control the smooth display of motion of an image output at the second frame rate. According to various embodiments, the processor may control the synthesis and/or modification (e.g., replacement with one of the surrounding frames of the removed frame) of the first data of a new frame (610) to replace the removed frame (550), and the acquisition and application of the second data from the removed frame (550).
도 7a는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 제1 프레임 레이트에 따른 모션 변화량에 대한 예시도이다.FIG. 7A is an exemplary diagram of a motion change amount according to a first frame rate when an electronic device performs a shooting operation according to various embodiments.
도 7a를 참조하면, 다양한 실시예들에 따른 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 카메라 모듈 (예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))에 포함될 수 있는 이미지 센서 (예: 도 2의 이미지 센서(230))를 통해 감지한 영상 정보로부터 수집한 제1 데이터를 확인하여 픽셀(pixel)의 피크(peak)인 프레임(예: 702 프레임)을 검출할 수 있다. 도 7a의 도시는 개별 프레임 번호(frame number)(가로축)에 따른 픽셀 수(pixel)(세로축)를 나타낼 수 있다. 프로세서는 블러(blur)가 발생하여 픽셀이 증가하는 피크를 찾아내고, 지터의 가능성이 있는 프레임을 검출하는 데 활용할 수 있다.Referring to FIG. 7A, a processor according to various embodiments (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) may detect a frame (e.g., frame 702) which is a peak of pixels by checking first data collected from image information sensed by an image sensor (e.g., the image sensor (230) of FIG. 2) that may be included in a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3). The diagram of FIG. 7A may represent the number of pixels (vertical axis) according to an individual frame number (horizontal axis). The processor may find a peak where a blur occurs and an increase in pixels and may utilize it to detect a frame with a possibility of jitter.
도 7a에 도시된 프레임은 701, 702, 703 프레임으로, 프로세서는 프레임 별 모션(motion) 변화량의 연산 시 임의의 시간 간격으로 제어할 수 있다. 예를 들어, 프로세서는 701, 702 프레임 간 및 702, 703 프레임 간의 모션 변화량 연산을 임의의 시간 간격에 의해 제어할 수 있다. 임의의 시간 간격은 동일 또는 유사할 수 있으며, 사용자에 의해 변경 가능할 수 있다.The frames illustrated in Fig. 7a are frames 701, 702, and 703, and the processor can control the calculation of the motion change amount for each frame at any time interval. For example, the processor can control the calculation of the motion change amount between frames 701 and 702 and between frames 702 and 703 at any time interval. The time intervals can be the same or similar, and can be changed by the user.
도 7a를 참조하면, 프로세서는 701, 702 프레임 간의 모션 변화량을 연산하여 704의 값을 획득할 수 있다. 또한, 프로세서는 702, 703 프레임 간의 모션 변화량을 705의 값으로 획득할 수 있다. 다양한 실시예에 따르면, 프로세서는 연산된 모션 변화량을 기반으로 전자 장치의 움직임에 따른 이미지 처리를 수행할 수 있다.Referring to FIG. 7A, the processor may obtain a value of 704 by calculating the amount of motion change between frames 701 and 702. Additionally, the processor may obtain a value of 705 by calculating the amount of motion change between frames 702 and 703. According to various embodiments, the processor may perform image processing according to the movement of the electronic device based on the calculated amount of motion change.
도 7b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 제1 프레임 레이트에 따른 모션 변화량에 의한 피크(peak) 프레임 제거 후 모션 변화량에 대한 예시도이다.FIG. 7b is an example diagram of a motion change amount after peak frame removal due to a motion change amount according to a first frame rate when an electronic device executes a shooting operation according to various embodiments.
도 7b를 참조하면, 픽셀의 피크 프레임인 702 프레임을 제거하고 연산된 모션 변화량이 도시된다. 도 7a를 참조할 때, 임의의 시간 간격으로 촬영이 된 프레임에서, 프로세서는 중간에 위치한 702 프레임을 제거하게 되고, 기존(예: 도 7a의 모션 변화량(704, 705)) 보다 2배의 시간 간격에 따른 모션 변화량(706)을 연산할 수 있다. 이는 도 7a의 701, 702 및 703 프레임에 대한 모션 변화량(704, 705)이 아닌, 701 프레임에서 703 프레임으로 변하는 모션 변화량(706)을 연산하게 된 것으로, 도 7a의 모션 변화량(704, 705)보다 큰 값(706)으로 연산될 수 있다. 즉, 프로세서가 픽셀의 피크 프레임으로서 이미지 블러가 많은 프레임(예: 도 7b의 702 프레임)을 제거하게 되면 모션 변화량의 값은 증가하지만, VDIS를 통해 프레임 간 흔들림을 보정하기 때문에 문제가 발생하지 않을 수 있다. 일 실시예에 따르면, 프로세서의 702 프레임 제거로 인하여 프레임 드랍(frame drop)이 발생할 수 있기 때문에, 프로세서는 제거된 프레임(예: 702 프레임)과 시계열적 연속성이 있는 영상(예: 701 프레임, 703 프레임)을 통해 보간(interpolation) 영상을 만들어 대체하여 흔들림 보정을 제어하도록 설정될 수 있다.Referring to Fig. 7b, the calculated motion change amount is shown by removing frame 702, which is the peak frame of the pixel. Referring to Fig. 7a, in frames captured at arbitrary time intervals, the processor removes frame 702 located in the middle, and can calculate the motion change amount (706) according to a time interval twice that of the existing one (e.g., the motion change amount (704, 705) of Fig. 7a). This means that the motion change amount (706) that changes from frame 701 to frame 703 is calculated, rather than the motion change amounts (704, 705) for frames 701, 702, and 703 of Fig. 7a, and can be calculated as a value (706) greater than the motion change amounts (704, 705) of Fig. 7a. That is, if the processor removes a frame with a lot of image blur (e.g., frame 702 in FIG. 7b) as a peak frame of pixels, the value of the motion change amount may increase, but a problem may not occur because the shake between frames is compensated for through VDIS. In one embodiment, since the removal of frame 702 by the processor may cause a frame drop, the processor may be configured to control shake compensation by creating an interpolation image using an image that has temporal continuity with the removed frame (e.g., frame 702) and replace it with an image (e.g., frame 701, frame 703).
도 8a 및 도 8b는 다양한 실시예들에 따른, 전자 장치의 촬상 동작 실행 시 베이스 프레임을 제거 및/또는 생성하여 이미지 처리하는 방법에 관한 예시도이다. 예를 들면, 전자 장치에서, 베이스 프레임 제거 및/또는 생성으로 영상 흔들림을 방지하는 방법에 관한 예시도이다.FIGS. 8A and 8B illustrate exemplary methods for image processing by removing and/or generating a base frame when an electronic device executes a capturing operation, according to various embodiments. For example, the drawings illustrate exemplary methods for preventing image shake by removing and/or generating a base frame in an electronic device.
도 5a 내지 도 8b를 참조하면, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서는 제1 프레임 레이트(예: 120fps)에 맞추어 촬상 동작이 이루어지도록 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))을 제어할 수 있다. 도 8a를 참조하면, 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 복수의 프레임들(811 내지 814, 821 내지 824, 831 내지 834) 중 임의의 프레임을 베이스 프레임으로 추출할 수 있다. 일 실시예에 따르면, 프로세서는 베이스 프레임(예: 811, 821, 831)에 블러(blur)가 있는 경우 해당 베이스 프레임(예: 821 프레임)을 제거할 수 있다.Referring to FIGS. 5A to 8B, a processor of an electronic device (e.g., the electronic device (101) of FIG. 1) may control a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3) to perform an imaging operation at a first frame rate (e.g., 120 fps). Referring to FIG. 8A, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) may extract any frame among a plurality of frames (811 to 814, 821 to 824, 831 to 834) as a base frame. According to one embodiment, if there is a blur in the base frame (e.g., 811, 821, 831), the processor may remove the base frame (e.g., frame 821).
도 8a를 참조하면, 제1 프레임 레이트에 따라 촬영되는 프레임들은 시간 순서에 대응하여 제n 프레임으로 지칭될 수 있다. 예를 들어, 제1 프레임 레이트에 따른 구간 별(810, 820, 830)(예: 묶음 별) 베이스 프레임들은 1번 프레임(811), 5번 프레임(821), 및 9번 프레임(831)일 수 있다.Referring to FIG. 8A, frames captured at the first frame rate may be referred to as the nth frame in accordance with the time sequence. For example, base frames for each section (810, 820, 830) (e.g., each group) at the first frame rate may be the 1st frame (811), the 5th frame (821), and the 9th frame (831).
도 8a 및 도 8b를 참조하면, 프로세서는 베이스 프레임들(811, 821, 831) 중 두 번째 베이스 프레임이 되어야 할 5번 프레임(821)의 블러를 검출하여 제거 할 수 있다. 일 실시예에 따르면, 프로세서는 제거된 5번 프레임(821)(예: 제1 베이스 프레임)을 대체할 베이스 프레임(801)(예: 제2 베이스 프레임)을 생성하도록 설정될 수 있다. 프로세서는 1번 프레임(811), 새로운 베이스 프레임(801), 및 9번 프레임(831)을 기반으로 하여 30fps의 제2 프레임 레이트에 맞추어 영상 결과물을 표시하도록 설정될 수 있다.Referring to FIGS. 8A and 8B , the processor may detect and remove blur of frame 5 (821), which should be the second base frame among base frames (811, 821, 831). In one embodiment, the processor may be configured to generate a base frame (801) (e.g., a second base frame) to replace the removed frame 5 (821) (e.g., a first base frame). The processor may be configured to display a video result at a second frame rate of 30 fps based on frame 1 (811), the new base frame (801), and frame 9 (831).
도 5a 내지 도 8b를 참조하면, 프로세서는 도 7b의 모션 변화량에 의한 피크(peak) 프레임 제거 후 흔들림 보정을 수행할 수 있다. 예를 들면, 프로세서는 복수의 프레임들(811 내지 814, 821 내지 824, 831 내지 834) 중 블러가 있는 프레임(821)을 제거할 수 있다. 또한, 프로세서는 블러가 없는 프레임들(예: 6번 프레임(822)의 제1 데이터 및 5번 프레임(821)의 제2 데이터 활용)을 이용하여 보간 영상을 생성할 수 있고, 흔들림 보정을 수행할 수 있다. 예를 들면, 프로세서는 베이스 프레임들(811, 821, 831)을 기준으로, 블러가 있는 베이스 프레임(821)을 제거하고 대체 베이스 프레임(801)을 생성하여, 블러가 없는 베이스 프레임들(811, 801, 831)을 표시하여 제2 프레임 레이트에 따른 영상을 생성할 수 있다.Referring to FIGS. 5A to 8B, the processor may perform shake correction after removing peak frames due to the amount of motion change in FIG. 7B. For example, the processor may remove a frame (821) with blur among a plurality of frames (811 to 814, 821 to 824, 831 to 834). In addition, the processor may generate an interpolated image using frames without blur (e.g., utilizing the first data of the 6th frame (822) and the second data of the 5th frame (821)) and perform shake correction. For example, the processor may remove the blurred base frame (821) based on the base frames (811, 821, 831) and generate a replacement base frame (801), and display the blur-free base frames (811, 801, 831) to generate an image according to the second frame rate.
다른 실시예에 따르면, 프로세서는 5번 프레임(821)을 기준으로 블러가 없는 경우, 5번 프레임(821) 내지 8번 프레임(824)을 합성(예: 도 8a의 5번 내지 8번 프레임(821 내지 824)의 움직임 관련 데이터들의 평균 값)하여 베이스 프레임을 생성할 수 있다. 예를 들면, 프로세서는 새로운 베이스 프레임을 생성하면서, 전자 장치의 움직임 관련 데이터(예: 제1 데이터, 제2 데이터) 중 제2 데이터도 합성할 수 있다. 또한, 프로세서는 상기 새로운 베이스 프레임들을 기반으로 하여 30fps의 제2 프레임 레이트에 맞추어 영상 결과물을 표시하도록 제어할 수 있다.According to another embodiment, the processor may generate a base frame by synthesizing frames 5 (821) to 8 (824) (e.g., an average value of motion-related data of frames 5 to 8 (821 to 824) of FIG. 8A) when there is no blur based on frame 5 (821). For example, the processor may also synthesize second data among the motion-related data of the electronic device (e.g., first data, second data) while generating a new base frame. In addition, the processor may control the display of the video result at a second frame rate of 30 fps based on the new base frames.
다양한 실시예에 따르면, 프로세서는 새로운 베이스 프레임(예: 도 8b의 801) 생성 및/또는 블러가 없는 프레임들의 합성(예: 도 8a의 1번 내지 4번 프레임(811 내지 814)의 움직임 관련 데이터들의 평균 값)을 이용하여 새로운 베이스 프레임을 생성해 영상 결과물을 표시하도록 제어할 수 있다. 예를 들면, 프로세서는 도 8a에서, 1번 묶음(810)(예: 1번 구간)에서는 1번 프레임을 베이스 프레임으로 설정하고, 2번 묶음(820)(예: 2번 구간)에서는 블러가 있는 베이스 프레임(821)을 제거하면서 대체 베이스 프레임(801)을 생성(예: 6번 프레임(822)의 제1 데이터 및 5번 프레임(821)의 제2 데이터 활용)하고, 3번 묶음(830)(예: 3번 구간)에서는 9번 프레임(831) 내지 12번 프레임(834)을 합성(9번 내지 12번 프레임(831 내지 834)의 움직임 관련 데이터들의 평균 값)하여 새로운 베이스 프레임(미도시)를 생성할 수 있고, 상기 베이스 프레임들을 기반으로 제2 프레임 레이트에 따른 영상을 생성할 수 있다. 즉, 프로세서는 상기 1번 묶음(810)의 1번 프레임(811), 2번 묶음(820)의 대체 베이스 프레임(801), 및 3번 묶음(830)의 새로운 베이스 프레임(미도시)을 기반으로 제2 프레임 레이트에 따른 영상 결과물을 표시하도록 제어할 수 있다.According to various embodiments, the processor may be controlled to generate a new base frame (e.g., 801 of FIG. 8b) and/or to display the video result by generating a new base frame using a synthesis of frames without blur (e.g., an average value of motion-related data of frames 1 to 4 (811 to 814) of FIG. 8a). For example, in FIG. 8A, the processor may set frame 1 as the base frame in the first bundle (810) (e.g., section 1), generate a replacement base frame (801) by removing the blurred base frame (821) in the second bundle (820) (e.g., section 2) (e.g., utilizing the first data of frame 6 (822) and the second data of frame 5 (821)), and generate a new base frame (not shown) by synthesizing frames 9 (831) to 12 (834) in the third bundle (830) (e.g., section 3) (average value of motion-related data of frames 9 to 12 (831 to 834)), and generate an image according to the second frame rate based on the base frames. That is, the processor can be controlled to display an image result according to the second frame rate based on the first frame (811) of the first bundle (810), the replacement base frame (801) of the second bundle (820), and the new base frame (not shown) of the third bundle (830).
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))는 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320)), 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340)), 메모리(예: 도 1의 메모리(130)), 및 상기 카메라 모듈, 상기 센서 모듈, 및 상기 메모리와 작동적으로(operatively) 연결되는 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))를 포함하고, 상기 프로세서는, 상기 카메라 모듈 및 상기 센서 모듈로부터 획득된 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하고, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하며, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하고, 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 이미지 처리하도록 설정될 수 있다.According to various embodiments of the present disclosure, an electronic device (e.g., an electronic device (101) of FIG. 1) includes a camera module (e.g., a camera module (180) of FIG. 1, a camera module (320) of FIG. 3), a sensor module (e.g., a sensor module (176) of FIG. 1, a sensor module (340) of FIG. 3), a memory (e.g., a memory (130) of FIG. 1), and a processor (e.g., a processor (120) of FIG. 1, an image signal processor (260) of FIG. 2, an image signal processor (321) of FIG. 3) operatively connected to the camera module, the sensor module, and the memory, wherein the processor converts motion-related data of the electronic device acquired from the camera module and the sensor module into blur detection data, and detects a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data, and when the detected frame is a base frame, the first frame in which blur is detected The base frame may be removed, a second base frame may be generated to replace the removed first base frame, and the image may be processed at a second frame rate.
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))의 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))은 자이로 센서를 포함할 수 있다. 본 개시의 다양한 실시예에 따른, 전자 장치의 카메라 모듈은 이미지 센서를 포함하고, 상기 전자 장치의 움직임 관련 데이터는 상기 카메라 모듈의 이미지 센서로부터 획득된 제1 데이터, 또는 센서 모듈로부터 획득된 제2 데이터 중 적어도 하나를 포함할 수 있다.According to various embodiments of the present disclosure, a sensor module (e.g., sensor module (176) of FIG. 1, sensor module (340) of FIG. 3) of an electronic device (e.g., electronic device (101) of FIG. 1) may include a gyro sensor. According to various embodiments of the present disclosure, a camera module of the electronic device may include an image sensor, and movement-related data of the electronic device may include at least one of first data acquired from the image sensor of the camera module or second data acquired from the sensor module.
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 움직임 관련 데이터를 제1 프레임 레이트에 따른 프레임 별로 카메라 모션 또는 자이로 모션에 관한 데이터가 포함된 블러 검출용 데이터로 변환하도록 설정될 수 있다. 본 개시의 다양한 실시예에 따른, 전자 장치의 프로세서는 상기 블러 검출용 데이터를 기반으로, 상기 제1 프레임 레이트에 따라 개별 프레임의 카메라 모션 또는 자이로 모션의 변화 폭이 미리 지정된 변화 폭을 초과하는 경우 블러가 발생한 프레임으로 검출하도록 설정될 수 있다.According to various embodiments of the present disclosure, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) of an electronic device (e.g., the electronic device (101) of FIG. 1) may be configured to convert motion-related data into blur detection data including data on camera motion or gyro motion for each frame according to a first frame rate. According to various embodiments of the present disclosure, the processor of the electronic device may be configured to detect a frame in which blur occurs when a range of change in camera motion or gyro motion of an individual frame according to the first frame rate exceeds a predetermined range of change based on the blur detection data.
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 대체할 제2 베이스 프레임 생성 시, 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임의 이미지 엣지(edge) 데이터가 포함된 제1 데이터를 이용하도록 설정될 수 있다. 본 개시의 다양한 실시예에 따른, 전자 장치의 프로세서는 상기 대체할 제2 베이스 프레임 생성 시, 상기 제거된 제1 베이스 프레임의 자이로 데이터가 포함된 제2 데이터를 이용하도록 설정될 수 있다.According to various embodiments of the present disclosure, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) of an electronic device (e.g., the electronic device (101) of FIG. 1) may be configured to use first data including image edge data of a frame having time-series continuity with a removed first base frame when generating a second base frame to be replaced. According to various embodiments of the present disclosure, the processor of the electronic device may be configured to use second data including gyro data of the removed first base frame when generating the second base frame to be replaced.
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))의 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))는 이미지 처리 시, 제1 프레임 레이트에 따라 촬영되어 제거되지 않은 베이스 프레임들과 제2 베이스 프레임을 합성하여, 제2 프레임 레이트에 따라 이미지 처리하도록 설정될 수 있다. 본 개시의 다양한 실시예에 따른, 전자 장치의 프로세서는 대체할 제2 베이스 프레임 생성시, 상기 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임들의 움직임 관련 데이터의 평균적인 값을 이용하도록 설정될 수 있다.According to various embodiments of the present disclosure, a processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3) of an electronic device (e.g., the electronic device (101) of FIG. 1) may be configured to, when processing an image, synthesize base frames that are captured and not removed according to a first frame rate with a second base frame, and process the image according to the second frame rate. According to various embodiments of the present disclosure, the processor of the electronic device may be configured to use an average value of motion-related data of frames that have time-series continuity with the removed first base frame when generating a second base frame to be replaced.
본 개시의 다양한 실시예에 따른, 전자 장치(예: 도 1의 전자 장치(101))의 이미지 처리 방법은 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320)) 및 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))로부터 획득된, 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하는 동작, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하는 동작, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하는 동작, 및 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 합성하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, an image processing method of an electronic device (e.g., an electronic device (101) of FIG. 1) may include an operation of converting movement-related data of the electronic device, obtained from a camera module (e.g., a camera module (180) of FIG. 1, a camera module (320) of FIG. 3) and a sensor module (e.g., a sensor module (176) of FIG. 1, a sensor module (340) of FIG. 3), into blur detection data, an operation of detecting a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data, an operation of removing a first base frame in which blur is detected when the detected frame is a base frame, and an operation of generating a second base frame to replace the removed first base frame and synthesizing the second base frame according to the second frame rate.
본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 변환하는 동작은 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320))의 이미지 센서로부터 움직임 관련 데이터 중 제1 데이터를 획득하는 동작 또는 센서 모듈로부터 상기 움직임 관련 데이터 중 제2 데이터를 획득하는 동작 중 적어도 하나를 포함할 수 있다. 본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 변환하는 동작은 상기 움직임 관련 데이터를 제1 프레임 레이트에 따른 프레임 별로 카메라 모션 또는 자이로 모션에 관한 데이터가 포함되도록 변환하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the converting operation of the image processing method may include at least one of an operation of acquiring first data among motion-related data from an image sensor of a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3) or an operation of acquiring second data among the motion-related data from a sensor module. According to various embodiments of the present disclosure, the converting operation of the image processing method may include an operation of converting the motion-related data so that data regarding camera motion or gyro motion is included for each frame according to the first frame rate.
본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 검출하는 동작은 블러 검출용 데이터를 기반으로, 제1 프레임 레이트에 따라 개별 프레임의 카메라 모션 또는 자이로 모션의 변화 폭이 미리 지정된 변화 폭을 초과하는 경우, 블러가 발생한 프레임으로 검출하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the detecting operation of the image processing method may include an operation of detecting a frame in which blur occurs when a change in camera motion or gyro motion of an individual frame exceeds a predetermined change range according to a first frame rate, based on data for blur detection.
본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 합성하는 동작은 대체할 제2 베이스 프레임 생성 시, 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임의 이미지 엣지(edge) 데이터가 포함된 제1 데이터를 이용하는 동작을 포함할 수 있다. 본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 합성하는 동작은 상기 대체할 제2 베이스 프레임 생성 시, 상기 제거된 제1 베이스 프레임의 자이로 데이터가 포함된 제2 데이터를 이용하는 동작을 포함할 수 있다. 본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 합성하는 동작은 제1 프레임 레이트에 따라 촬영되어 제거되지 않은 베이스 프레임들과 상기 제2 베이스 프레임을 합성하는 동작, 및 상기 합성된 베이스 프레임들을 제2 프레임 레이트에 따라 이미지 처리하는 동작을 포함할 수 있다. 본 개시의 다양한 실시예에 따른, 이미지 처리 방법의 합성하는 동작은 상기 대체할 제2 베이스 프레임 생성시, 상기 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임들의 움직임 관련 데이터의 평균적인 값을 이용하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the synthesizing operation of the image processing method may include an operation of using first data including image edge data of a frame having time-series continuity with the removed first base frame when generating a second base frame to be replaced. According to various embodiments of the present disclosure, the synthesizing operation of the image processing method may include an operation of using second data including gyro data of the removed first base frame when generating the second base frame to be replaced. According to various embodiments of the present disclosure, the synthesizing operation of the image processing method may include an operation of synthesizing base frames that have been captured at a first frame rate and not removed with the second base frame, and an operation of image processing the synthesized base frames at the second frame rate. According to various embodiments of the present disclosure, the synthesizing operation of the image processing method may include an operation of using an average value of motion-related data of frames having time-series continuity with the removed first base frame when generating the second base frame to be replaced.
본 개시의 다양한 실시예에 따른, 명령들을 저장하고 있는 저장 매체의 상기 명령들은 적어도 하나의 프로세서(예: 도 1의 프로세서(120), 도 2의 이미지 시그널 프로세서(260), 도 3의 이미지 시그널 프로세서(321))에 의하여 실행될 때에 상기 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 동작은, 카메라 모듈(예: 도 1의 카메라 모듈(180), 도 3의 카메라 모듈(320)) 및 센서 모듈(예: 도 1의 센서 모듈(176), 도 3의 센서 모듈(340))로부터 획득된 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하는 동작, 상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발행한 프레임을 검출하는 동작, 상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하는 동작, 및 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하여, 제2 프레임 레이트에 따라 합성하는 동작을 포함할 수 있다. 본 개시의 다양한 실시예에 따른 저장 매체에 있어서, 상기 움직임 관련 데이터는 제1 데이터 또는 제2 데이터를 포함하고, 상기 제1 데이터는 이미지 엣지(edge) 데이터를 포함하며, 상기 제2 데이터는 자이로 데이터를 포함할 수 있다. 본 개시의 다양한 실시예에 따른 저장 매체에 있어서, 상기 합성하는 동작은 상기 대체할 제2 베이스 프레임 생성 시, 상기 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임의 제1 데이터를 이용하고, 상기 제1 베이스 프레임의 제2 데이터를 이용하는 동작을 포함할 수 있다.According to various embodiments of the present disclosure, the commands of a storage medium storing the commands are set to cause the processor to perform at least one operation when executed by at least one processor (e.g., the processor (120) of FIG. 1, the image signal processor (260) of FIG. 2, the image signal processor (321) of FIG. 3), wherein the operation comprises: an operation of converting motion-related data of an electronic device obtained from a camera module (e.g., the camera module (180) of FIG. 1, the camera module (320) of FIG. 3) and a sensor module (e.g., the sensor module (176) of FIG. 1, the sensor module (340) of FIG. 3) into blur detection data; an operation of detecting a frame in which blur occurs in an imaging operation according to a first frame rate based on the converted blur detection data; an operation of removing the first base frame in which blur is detected when the detected frame is a base frame; and an operation of generating a second base frame to replace the removed first base frame, thereby generating the second frame It may include an operation of synthesizing according to a rate. In a storage medium according to various embodiments of the present disclosure, the motion-related data may include first data or second data, the first data may include image edge data, and the second data may include gyro data. In a storage medium according to various embodiments of the present disclosure, the operation of synthesizing may include an operation of using first data of a frame having time-series continuity with the removed first base frame and using second data of the first base frame when generating the second base frame to be replaced.
Claims (20)
카메라 모듈;
센서 모듈;
인스트럭션들을 저장하는 메모리; 및
상기 카메라 모듈, 상기 센서 모듈, 및 상기 메모리와 작동적으로(operatively) 연결되는 적어도 하나의 프로세서; 를 포함하고,
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 카메라 모듈 및 상기 센서 모듈로부터 획득된 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하고,
상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하며,
상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하고,
상기 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임들 중 적어도 하나의 프레임을 기초로 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하고, 제2 프레임 레이트에 따라 이미지 처리하도록 설정된 전자 장치.In electronic devices,
camera module;
sensor module;
Memory that stores instructions; and
At least one processor operatively connected to the camera module, the sensor module, and the memory;
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
Converting the movement-related data of the electronic device obtained from the camera module and the sensor module into blur detection data,
Based on the above-mentioned converted blur detection data, a frame in which blur occurs is detected in an imaging operation according to a first frame rate,
If the above detected frame is a base frame, the first base frame in which blur is detected is removed,
An electronic device configured to generate a second base frame to replace the removed first base frame based on at least one frame among frames having time-series continuity with the first base frame, and to process images according to a second frame rate.
상기 카메라 모듈은
이미지 센서를 포함하고,
상기 전자 장치의 움직임 관련 데이터는
상기 카메라 모듈의 이미지 센서로부터 획득된 제1 데이터, 또는 상기 센서 모듈로부터 획득된 제2 데이터 중 적어도 하나를 포함하는 전자 장치.In the first paragraph,
The above camera module
Includes an image sensor,
The movement-related data of the above electronic device
An electronic device comprising at least one of first data acquired from an image sensor of the camera module or second data acquired from the sensor module.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 움직임 관련 데이터를 상기 제1 프레임 레이트에 따른 프레임 별로 카메라 모션 또는 자이로 모션에 관한 데이터가 포함된 상기 블러 검출용 데이터로 변환하도록 설정된 전자 장치.In the first paragraph,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
An electronic device configured to convert the motion-related data into blur detection data including data regarding camera motion or gyro motion for each frame according to the first frame rate.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 블러 검출용 데이터를 기반으로, 상기 제1 프레임 레이트에 따라 개별 프레임의 카메라 모션 또는 자이로 모션의 변화 폭이 미리 지정된 변화 폭을 초과하는 경우 블러가 발생한 프레임으로 검출하도록 설정된 전자 장치.In paragraph 4,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
An electronic device configured to detect a frame in which blur occurs when the range of change in camera motion or gyro motion of an individual frame exceeds a predetermined range of change based on the data for detecting blur according to the first frame rate.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 대체할 제2 베이스 프레임 생성 시, 상기 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임의 이미지 엣지(edge) 데이터가 포함된 제1 데이터를 이용하도록 설정된 전자 장치.In the third paragraph,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
An electronic device configured to use first data including image edge data of a frame having time-series continuity with the removed first base frame when generating the second base frame to be replaced.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 대체할 제2 베이스 프레임 생성 시, 상기 제거된 제1 베이스 프레임의 자이로 데이터가 포함된 제2 데이터를 이용하도록 설정된 전자 장치.In the third paragraph,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
An electronic device configured to use second data including gyro data of the removed first base frame when generating the second base frame to be replaced.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 이미지 처리 시,
상기 제1 프레임 레이트에 따라 촬영되어 제거되지 않은 베이스 프레임들과 상기 제2 베이스 프레임을 합성하여, 제2 프레임 레이트에 따라 이미지 처리하도록 설정된 전자 장치.In the third paragraph,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
When processing the above image,
An electronic device configured to synthesize base frames that have been photographed and not removed according to the first frame rate and the second base frame, and to process the image according to the second frame rate.
상기 인스트럭션들은, 상기 적어도 하나의 프로세서에 의해 개별적 또는 집합적으로 실행될 때, 상기 전자 장치로 하여금:
상기 대체할 제2 베이스 프레임 생성시, 상기 제거된 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임들의 움직임 관련 데이터의 평균적인 값을 이용하도록 설정된 전자 장치.In the third paragraph,
The above instructions, when individually or collectively executed by the at least one processor, cause the electronic device to:
An electronic device configured to use the average value of motion-related data of frames having time-series continuity with the removed first base frame when generating the second base frame to be replaced.
카메라 모듈 및 센서 모듈로부터 획득된, 상기 전자 장치의 움직임 관련 데이터를 블러(blur) 검출용 데이터로 변환하는 동작;
상기 변환된 블러 검출용 데이터를 기반으로, 제1 프레임 레이트(frame rate)에 따른 촬상 동작에서 블러가 발생한 프레임을 검출하는 동작;
상기 검출된 프레임이 베이스 프레임(base frame)인 경우, 블러가 검출된 제1 베이스 프레임을 제거하는 동작; 및
상기 제1 베이스 프레임과 시계열적 연속성을 갖는 프레임들 중 적어도 하나의 프레임을 기초로 상기 제거된 제1 베이스 프레임을 대체할 제2 베이스 프레임을 생성하고, 제2 프레임 레이트에 따라 합성하는 동작; 을 포함하는 방법.In a method for image processing of an electronic device,
An operation of converting movement-related data of the electronic device obtained from a camera module and a sensor module into data for blur detection;
An operation of detecting a frame in which blur occurs in a shooting operation according to a first frame rate based on the above-mentioned converted blur detection data;
If the detected frame is a base frame, an operation of removing the first base frame in which blur is detected; and
A method comprising: generating a second base frame to replace the removed first base frame based on at least one frame among frames having time-series continuity with the first base frame, and synthesizing the second base frame according to a second frame rate;
상기 변환하는 동작은
상기 카메라 모듈의 이미지 센서로부터 상기 움직임 관련 데이터 중 제1 데이터를 획득하는 동작 또는 상기 센서 모듈로부터 상기 움직임 관련 데이터 중 제2 데이터를 획득하는 동작 중 적어도 하나를 포함하는 방법.In Article 10,
The above conversion operation is
A method comprising at least one of an operation of acquiring first data among the movement-related data from the image sensor of the camera module or an operation of acquiring second data among the movement-related data from the sensor module.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020200030591A KR102861769B1 (en) | 2020-03-12 | 2020-03-12 | Image processing method and appratus |
| PCT/KR2021/001914 WO2021182759A1 (en) | 2020-03-12 | 2021-02-15 | Image processing method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| KR1020200030591A KR102861769B1 (en) | 2020-03-12 | 2020-03-12 | Image processing method and appratus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| KR20210115185A KR20210115185A (en) | 2021-09-27 |
| KR102861769B1 true KR102861769B1 (en) | 2025-09-18 |
Family
ID=77670765
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| KR1020200030591A Active KR102861769B1 (en) | 2020-03-12 | 2020-03-12 | Image processing method and appratus |
Country Status (2)
| Country | Link |
|---|---|
| KR (1) | KR102861769B1 (en) |
| WO (1) | WO2021182759A1 (en) |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116055876A (en) * | 2021-10-27 | 2023-05-02 | 北京字跳网络技术有限公司 | A video processing method, device, electronic equipment and storage medium |
| WO2024167173A1 (en) * | 2023-02-07 | 2024-08-15 | Samsung Electronics Co., Ltd. | Full frame media stabilization in electronic devices |
| KR102839631B1 (en) * | 2024-10-14 | 2025-07-31 | 주식회사 원우이엔지 | Method and system for detecting security event based on CCTV video anlaysis |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5062968B2 (en) * | 2004-08-11 | 2012-10-31 | ソニー株式会社 | Image processing apparatus and method, recording medium, and program |
| US9066014B2 (en) * | 2013-10-11 | 2015-06-23 | Facebook, Inc. | Applying video stabilization to a multimedia clip |
| KR20150101779A (en) * | 2014-02-27 | 2015-09-04 | 엘지디스플레이 주식회사 | Image Display Device And Motion Blur Relieving Method Thereof |
| KR102608782B1 (en) * | 2016-12-30 | 2023-12-04 | 삼성전자주식회사 | Device and Method for Compensating Motion Effect of an Electronic Device in an Image |
| KR102622123B1 (en) * | 2018-02-22 | 2024-01-09 | 삼성전자주식회사 | Electronic device for photograping moving picture by adjusting threshold associated with movement of object in region of interest according to movement of electronic device and method for operating thereof |
-
2020
- 2020-03-12 KR KR1020200030591A patent/KR102861769B1/en active Active
-
2021
- 2021-02-15 WO PCT/KR2021/001914 patent/WO2021182759A1/en not_active Ceased
Also Published As
| Publication number | Publication date |
|---|---|
| WO2021182759A1 (en) | 2021-09-16 |
| KR20210115185A (en) | 2021-09-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR102855326B1 (en) | An electronic device for stabilizing image and operating method thereof | |
| CN110290289B (en) | Image noise reduction method, device, electronic device and storage medium | |
| KR102525000B1 (en) | Electronic device for blurring an image obtained by combining a plurality of images based on depth information and method of driving the electronic device | |
| CN109672819B (en) | Image processing method, apparatus, electronic device, and computer-readable storage medium | |
| CN110248106B (en) | Image noise reduction method, device, electronic device and storage medium | |
| KR102661185B1 (en) | Electronic device and method for obtaining images | |
| CN104205804B (en) | Image processing device, photographing device and image processing method | |
| CN110191291B (en) | Image processing method and device based on multi-frame images | |
| KR20190032061A (en) | Electronic device performing image correction and operation method of thereof | |
| KR102677285B1 (en) | Apparatus and method for generating slow motion video | |
| KR102386385B1 (en) | Electronic device and method for compressing image thereof | |
| KR102861769B1 (en) | Image processing method and appratus | |
| KR102330264B1 (en) | Electronic device for playing movie based on movment information and operating mehtod thereof | |
| KR102698647B1 (en) | Apparatus and method for generating a moving image data including multiple sections image of the electronic device | |
| KR102383134B1 (en) | Electronic device for processing image based on priority and method for operating thefeof | |
| CN115004685B (en) | Electronic device and method for displaying an image at the electronic device | |
| KR20170011555A (en) | Digital photographing apparatus and the method for the same | |
| EP4395357A1 (en) | Electronic device including camera, and moving image generating method for photographing moving object | |
| CN108989713A (en) | Image processing method, electronic device and non-transitory computer readable recording medium | |
| CN114390186B (en) | Video shooting method and electronic device | |
| CN110913143B (en) | Image processing method, device, storage medium and electronic device | |
| US12301992B2 (en) | Image blur degree determining method and related device thereof | |
| KR102301940B1 (en) | Method and apparatus for image fusion | |
| KR102750820B1 (en) | Electronic device and method for image quality improvement using muti-camera | |
| JP2009290588A (en) | Motion vector detecting device and its method, and image pickup device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PA0109 | Patent application |
St.27 status event code: A-0-1-A10-A12-nap-PA0109 |
|
| PG1501 | Laying open of application |
St.27 status event code: A-1-1-Q10-Q12-nap-PG1501 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| E13-X000 | Pre-grant limitation requested |
St.27 status event code: A-2-3-E10-E13-lim-X000 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| PA0201 | Request for examination |
St.27 status event code: A-1-2-D10-D11-exm-PA0201 |
|
| P22-X000 | Classification modified |
St.27 status event code: A-2-2-P10-P22-nap-X000 |
|
| E902 | Notification of reason for refusal | ||
| PE0902 | Notice of grounds for rejection |
St.27 status event code: A-1-2-D10-D21-exm-PE0902 |
|
| P11-X000 | Amendment of application requested |
St.27 status event code: A-2-2-P10-P11-nap-X000 |
|
| P13-X000 | Application amended |
St.27 status event code: A-2-2-P10-P13-nap-X000 |
|
| E701 | Decision to grant or registration of patent right | ||
| PE0701 | Decision of registration |
St.27 status event code: A-1-2-D10-D22-exm-PE0701 |
|
| PR0701 | Registration of establishment |
St.27 status event code: A-2-4-F10-F11-exm-PR0701 |
|
| PR1002 | Payment of registration fee |
St.27 status event code: A-2-2-U10-U11-oth-PR1002 |
|
| PG1601 | Publication of registration |
St.27 status event code: A-4-4-Q10-Q13-nap-PG1601 |