WO2024014761A1 - Method for correcting camera shake and electronic device supporting same - Google Patents

Method for correcting camera shake and electronic device supporting same Download PDF

Info

Publication number
WO2024014761A1
WO2024014761A1 PCT/KR2023/009301 KR2023009301W WO2024014761A1 WO 2024014761 A1 WO2024014761 A1 WO 2024014761A1 KR 2023009301 W KR2023009301 W KR 2023009301W WO 2024014761 A1 WO2024014761 A1 WO 2024014761A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
ratio
zoom magnification
camera
camera module
Prior art date
Application number
PCT/KR2023/009301
Other languages
French (fr)
Korean (ko)
Inventor
김순용
전창현
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020220103621A external-priority patent/KR20240010372A/en
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Publication of WO2024014761A1 publication Critical patent/WO2024014761A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/45Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/69Control of means for changing angle of the field of view, e.g. optical zoom objectives or electronic zooming

Definitions

  • the present disclosure relates to a method for correcting camera shake and an electronic device that supports the same.
  • Imaging stabilization includes optical image stabilization (OIS), digital image stabilization (DIS), and electrical image stabilization (EIS).
  • OIS optical image stabilization
  • DIS digital image stabilization
  • EIS electrical image stabilization
  • Optical image stabilization may be a technology that corrects an image by moving a lens or image sensor based on the movement of an electronic device (e.g., a camera module) obtained from a sensor (e.g., a gyro sensor).
  • Digital image stabilization may be a technology that extracts a vector related to the movement of an electronic device based on a difference image between frames of an image and corrects the image based on the extracted vector.
  • Electronic image stabilization may be a technology that corrects images based on the movement of an electronic device obtained from a sensor (eg, a gyro sensor).
  • Digital image stabilization or electronic image stabilization includes a first area having a size corresponding to (e.g., the same as) the size of the image to be output through the display module and an additional second area (“margin area”) surrounding the first area.
  • An image containing an image e.g., an input image of a motion to correct camera shake
  • the electronic device maintains a fixed ratio between the second areas (or the ratio between the first area and the second area) (hereinafter also referred to as “margin ratio”) for the image used to correct camera shake. Using the image, camera shake can be corrected.
  • the amount of movement of the electronic device is greater than a certain size and/or the zoom factor of the camera module is greater than a specified zoom factor.
  • the size of the second area may be smaller than the size required to perform camera shake correction.
  • One embodiment of the present disclosure is to correct camera shake using an image with a margin ratio that is determined based on the size of the movement of the electronic device and/or the zoom magnification of the camera module and increases as the zoom magnification of the camera module increases. , relates to a method for correcting camera shake and an electronic device that supports the same.
  • An electronic device may include a camera module and at least one processor operatively connected to the camera module.
  • the at least one processor may check the zoom magnification of the camera module.
  • the at least one processor may check the magnitude of movement of the electronic device.
  • the at least one processor based on the zoom factor and the magnitude of the movement, to a first image acquired to correct camera shake, a second image obtained by correcting camera shake within the first image
  • the first ratio of the second area excluding the first area having a size corresponding to the size of may be determined.
  • the at least one processor may acquire the first image based on the zoom magnification and the first ratio.
  • the at least one processor may be configured to acquire the second image by correcting the camera shake based on the first image.
  • a method for correcting camera shake in an electronic device may include checking the zoom magnification of a camera module of the electronic device.
  • the method may include checking the magnitude of movement of the electronic device.
  • the method corresponds to the size of the second image obtained by correcting the camera shake within the first image to the first image acquired to correct camera shake, based on the zoom factor and the magnitude of the movement. and determining a first ratio of the second area excluding the first area having a size of .
  • the method may include acquiring the first image based on the zoom magnification and the first ratio.
  • the method may include acquiring the second image by correcting the camera shake based on the first image.
  • a non-transitory computer-readable medium having computer-executable instructions recorded thereon, wherein the computer-executable instructions, when executed, cause an electronic device including at least one processor to control the zoom of a camera module of the electronic device. You can check the magnification.
  • the computer-executable instructions may cause an electronic device including at least one processor to determine the magnitude of movement of the electronic device.
  • the computer-executable instructions when executed, cause an electronic device including at least one processor to: The first ratio of the second area excluding the first area having a size corresponding to the size of the second image obtained by correcting the camera shake within the image can be determined.
  • the computer-executable instructions may cause an electronic device including at least one processor to acquire the first image based on the zoom magnification and the first ratio.
  • the computer-executable instructions may cause an electronic device including at least one processor to acquire the second image by correcting the camera shake based on the first image.
  • a method for correcting camera shake and an electronic device supporting the same include a margin that is determined based on the size of the movement of the electronic device and/or the zoom magnification of the camera module and increases as the zoom magnification of the camera module increases. By using ratios, enhanced camera shake compensation can be performed.
  • FIG. 1 is a block diagram of an electronic device in a network environment, according to one embodiment.
  • FIG. 2 is a block diagram illustrating a camera module, according to one embodiment.
  • Figure 3 is a block diagram of an electronic device, according to one embodiment.
  • Figure 4 is a flowchart explaining a method for correcting camera shake, according to one embodiment.
  • Figure 5 is an exemplary diagram for explaining a first ratio according to an embodiment.
  • Figure 6 is a flow chart illustrating a method for determining a first ratio, according to one embodiment.
  • FIG. 7 is an example diagram illustrating a method of determining a first ratio when the magnitude of movement of an electronic device is less than a threshold, according to an embodiment.
  • FIG. 8 is an example diagram illustrating a method of determining a first ratio when the magnitude of movement of an electronic device exceeds a threshold, according to an embodiment.
  • FIG. 9 is a flowchart illustrating a method for determining a first ratio, according to one embodiment.
  • FIG. 10 is an exemplary diagram illustrating a method of determining a first ratio according to an embodiment.
  • FIG. 11 is an exemplary diagram illustrating a method of determining a first ratio according to an embodiment.
  • FIG. 12 is a flowchart illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
  • FIG. 13 is an example diagram illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
  • Figure 14 is an example of a graph showing the first ratio determined by increasing the zoom magnification of the camera module when the first ratio is determined using the first ratio corresponding to 3 times the camera module, according to one embodiment. It's a degree.
  • Figure 15 is an example of a graph showing the first ratio determined by increasing the zoom magnification of the camera module when the first ratio is determined using the first ratio corresponding to twice the camera module, according to one embodiment. It's a degree.
  • FIG. 16 is an example diagram illustrating a change in the first image-based zoom ratio according to a change in the zoom ratio of the camera module, according to an embodiment.
  • FIG. 1 is a block diagram of an electronic device 101 in a network environment 100, according to one embodiment.
  • the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • a first network 198 e.g., a short-range wireless communication network
  • a second network 199 e.g., a long-distance wireless communication network.
  • the electronic device 101 may communicate with the electronic device 104 through the server 108.
  • the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197.
  • at least one of these components eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101.
  • some of these components e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
  • the processor 120 for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or operations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • software e.g., program 140
  • the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132.
  • the commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134.
  • the processor 120 may include a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 (e.g., a graphics processing unit, a neural network processing unit) that can operate independently or together with the main processor 121. It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor).
  • a main processor 121 e.g., a central processing unit or an application processor
  • auxiliary processor 123 e.g., a graphics processing unit, a neural network processing unit
  • the main processor 121 may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
  • the auxiliary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can.
  • the auxiliary processor 123 may be implemented separately from the main processor 121 or as part of it.
  • the auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled.
  • co-processor 123 e.g., image signal processor or communication processor
  • may be implemented as part of another functionally related component e.g., camera module 180 or communication module 190. there is.
  • the auxiliary processor 123 may include a hardware structure specialized for processing artificial intelligence models.
  • Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108).
  • Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited.
  • An artificial intelligence model may include multiple artificial neural network layers.
  • Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above.
  • artificial intelligence models may additionally or alternatively include software structures.
  • the memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto.
  • Memory 130 may include volatile memory 132 or non-volatile memory 134.
  • the program 140 may be stored as software in the memory 130 and may include, for example, an operating system 142, middleware 144, or application 146.
  • the input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user).
  • the input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
  • the sound output module 155 may output sound signals to the outside of the electronic device 101.
  • the sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback.
  • the receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
  • the display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user).
  • the display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device.
  • the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
  • the audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
  • the electronic device 102 e.g., speaker or headphone
  • the sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do.
  • the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light sensor.
  • the interface 177 may support one or more designated protocols that can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102).
  • the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
  • HDMI high definition multimedia interface
  • USB universal serial bus
  • SD card interface Secure Digital Card interface
  • audio interface audio interface
  • connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102).
  • the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
  • the haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses.
  • the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
  • the camera module 180 can capture still images and moving images.
  • the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
  • the power management module 188 can manage power supplied to the electronic device 101.
  • the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
  • PMIC power management integrated circuit
  • the battery 189 may supply power to at least one component of the electronic device 101.
  • the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
  • Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication.
  • processor 120 e.g., an application processor
  • the communication module 190 may be 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., : LAN (local area network) communication module, or power line communication module) may be included.
  • 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
  • GNSS global navigation satellite system
  • wired communication module 194 e.g., : LAN (local area network) communication module, or power line communication module
  • the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN).
  • a telecommunication network such as a cellular network, a 5G network, a next-generation communication network
  • the wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199.
  • subscriber information e.g., International Mobile Subscriber Identifier (IMSI)
  • IMSI International Mobile Subscriber Identifier
  • the wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology).
  • NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported.
  • the wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates.
  • the wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna.
  • the wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199).
  • the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC.
  • Peak data rate e.g., 20 Gbps or more
  • loss coverage e.g., 164 dB or less
  • U-plane latency e.g., 164 dB or less
  • the antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device).
  • the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB).
  • the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna.
  • other components eg, radio frequency integrated circuit (RFIC) may be additionally formed as part of the antenna module 197.
  • RFIC radio frequency integrated circuit
  • the antenna module 197 may form a mmWave antenna module.
  • a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
  • a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side)
  • peripheral devices e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
  • signal e.g. commands or data
  • commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199.
  • Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101.
  • all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108.
  • the electronic device 101 may perform the function or service instead of executing the function or service on its own.
  • one or more external electronic devices may be requested to perform at least part of the function or service.
  • One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101.
  • the electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request.
  • cloud computing distributed computing, mobile edge computing (MEC), or client-server computing technology can be used.
  • the electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing.
  • the external electronic device 104 may include an Internet of Things (IoT) device.
  • Server 108 may be an intelligent server using machine learning and/or neural networks.
  • the external electronic device 104 or server 108 may be included in the second network 199.
  • the electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
  • An electronic device may be of various types.
  • Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances.
  • Electronic devices according to embodiments of this document are not limited to the above-described devices.
  • first, second, or first or second may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited.
  • One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.”
  • any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
  • module used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used
  • a module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions.
  • the module may be implemented in the form of an application-specific integrated circuit (ASIC).
  • ASIC application-specific integrated circuit
  • One embodiment of the present document is one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these.
  • a processor e.g., processor 120
  • the one or more instructions may include code generated by a compiler or code that can be executed by an interpreter.
  • a storage medium that can be read by a device may be provided in the form of a non-transitory storage medium.
  • 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
  • a method according to an embodiment disclosed in this document may be provided and included in a computer program product.
  • Computer program products are commodities and can be traded between sellers and buyers.
  • the computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online.
  • a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
  • each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components.
  • one or more of the above-described corresponding components or operations may be omitted, or one or more other components or operations may be added.
  • multiple components eg, modules or programs
  • the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. .
  • 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 , or one or more other operations may be added.
  • Figure 2 is a block diagram 200 illustrating a camera module 180, according to one embodiment.
  • the camera module 180 includes a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (e.g., buffer memory), or an image signal processor. It may include (260).
  • the lens assembly 210 may collect light emitted from a subject that is the target of image capture.
  • Lens assembly 210 may include one or more lenses.
  • 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 have the same lens properties (e.g., angle of view, focal length, autofocus, f number, or optical zoom), or at least one lens assembly is different from another lens assembly. It may have one or more lens properties that are different from the lens properties of .
  • the lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
  • the flash 220 may emit light used to enhance light emitted or reflected from a subject.
  • the flash 220 may include one or more light emitting diodes (eg, red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp.
  • the image sensor 230 may 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.
  • the image sensor 230 is one image sensor selected from among image sensors with different properties, such as an RGB sensor, a BW (black and white) sensor, an IR sensor, or a UV sensor, and the same It may include a plurality of image sensors having different properties, or a plurality of image sensors having different properties.
  • Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
  • CCD charged coupled device
  • CMOS complementary metal oxide semiconductor
  • the image stabilizer 240 moves at least one lens or image sensor 230 included in the lens assembly 210 in a specific direction in response to the movement of the camera module 180 or the electronic device 101 including the same.
  • the operating characteristics of the image sensor 230 can be controlled (e.g., adjusting read-out timing, etc.). This allows to compensate for at least some of the negative effects of said movement on the image being captured.
  • the image stabilizer 240 uses a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. 180) or such movement of the electronic device 101 may be detected.
  • the image stabilizer 240 may be implemented as, for example, an optical image stabilizer.
  • the memory 250 may at least 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., Bayer-patterned image or high-resolution image) is stored in the memory 250. , the corresponding copy image (e.g., low resolution image) may be previewed through the display module 160.
  • the memory 250 may be configured as at least part of the memory 130 or as a separate memory that operates independently.
  • the image signal processor 260 may perform one or more image processes on an image acquired through the image sensor 230 or an image stored in the memory 250.
  • the one or more image processes may include, for example, depth map creation, three-dimensional modeling, panorama creation, feature point extraction, image compositing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring). may include blurring, sharpening, or softening.
  • the image signal processor 260 may include at least one of the components included in the camera module 180 (e.g., an image sensor). (230)) may perform control (e.g., exposure time control, read-out timing control, etc.).
  • the image processed by the image signal processor 260 is stored back in the memory 250 for further processing.
  • 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.
  • the image signal processor 260 may be configured as the processor 120.
  • at least one image processed by the image signal processor 260 may be displayed through the display module 160 as is or after additional image processing by the processor 120.
  • the electronic device 101 may include a plurality of camera modules 180, each having different properties or functions.
  • at least one of the plurality of camera modules 180 may be a wide-angle camera, and at least another one may be a telephoto camera.
  • at least one of the plurality of camera modules 180 may be a front camera, and at least another one may be a rear camera.
  • Figure 3 is a block diagram of an electronic device 301, according to one embodiment.
  • the electronic device 301 may include a camera module 310, a sensor 320, a display module 330, a memory 340, and a processor 350. .
  • the camera module 310 may be included in the camera module 180 of FIGS. 1 and 2.
  • the camera module 310 may include a plurality of cameras.
  • the camera module 310 may include a first camera (hereinafter referred to as “first camera”) with a fixed angle of view and/or a lens (e.g., lens assembly 210) according to the zoom magnification of the camera module.
  • first camera a first camera
  • second camera a second camera having a view angle that can be changed by moving (e.g., a second camera supporting optical zoom).
  • the camera module 310 may include at least one first camera and/or at least one second camera.
  • sensor 320 may be included in sensor module 176 of FIG. 1 .
  • the senor 320 may include a sensor for acquiring the magnitude of movement (e.g., hand tremor) of the electronic device 301 (e.g., camera module 310).
  • the sensor 320 may include a gyro sensor (eg, gyroscope) and/or an acceleration sensor to obtain the magnitude of movement of the electronic device 301.
  • display module 330 may be included in display module 160 of FIG. 1 .
  • the display module 330 may display an image acquired by the camera module 310.
  • the display module 330 may display dynamic images (eg, preview images, moving images) and/or still images acquired by the camera module 310.
  • memory 340 may be included in memory 130 of FIG. 1 .
  • the memory 340 may store information for performing an operation to correct camera shake. Information stored by the memory 340 will be described later.
  • processor 350 may be included in processor 120 of FIG. 1 .
  • the processor 350 may control overall operations to correct camera shake.
  • processor 350 may include one or more processors for correcting camera shake. Operations performed by the processor 350 to correct camera shake will be described later with reference to FIGS. 4 to 16.
  • the electronic device 301 is illustrated as including a camera module 310, a sensor 320, a display module 330, a memory 340, and/or a processor 350, but is not limited thereto. .
  • the electronic device 301 may further include at least one configuration shown in FIG. 1 .
  • the electronic device 301 may not include the sensor 320.
  • the electronic device 101 may include a camera module 310 and at least one processor 350 operatively connected to the camera module 310.
  • the at least one processor 350 may check the zoom magnification of the camera module 310.
  • the at least one processor 350 may check the magnitude of movement of the electronic device 101.
  • the at least one processor 350 based on the zoom magnification and the magnitude of the movement, for a first image acquired to correct camera shake, obtained by correcting camera shake within the first image
  • the first ratio of the second area excluding the first area having a size corresponding to the size of the second image may be determined.
  • the at least one processor 350 may acquire the first image based on the zoom magnification and the first ratio.
  • the at least one processor 350 may acquire the second image by correcting the camera shake based on the first image.
  • the at least one processor 350 may determine a fixed rate as the first rate when the magnitude of the movement is less than a threshold. When the magnitude of the movement exceeds the threshold, the at least one processor 350 may determine the first ratio so that the first ratio increases by increasing the zoom magnification of the camera module.
  • the at least one processor 350 is configured to: If the magnitude of the movement exceeds the threshold: If the zoom magnification of the camera module 310 is less than or equal to a specified zoom magnification, the fixed ratio is adjusted to the Determine a first ratio, and if the zoom magnification of the camera module 310 exceeds the specified zoom magnification, the first ratio increases by increasing the zoom magnification of the camera module 310, It may be configured to determine a first ratio.
  • the at least one processor 350 when the zoom factor of the camera module 310 exceeds the specified zoom factor, sets the zoom factor of the camera module 310 equal to the specified zoom factor.
  • the first ratio may be determined using a field of view area corresponding to the second area determined.
  • the threshold includes a first threshold and a second threshold that is greater than the first threshold
  • the specified zoom factor includes a specified first zoom factor and a specified second zoom factor
  • the at least one processor If the magnitude of the movement is less than or equal to the first threshold, determines the fixed rate as the first rate, and if the magnitude of the motion exceeds the first threshold and is less than or equal to the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the designated first zoom magnification, the fixed ratio is determined as the first ratio, and the zoom magnification of the camera module 310 is the designated first zoom magnification.
  • the first ratio is determined using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified first zoom magnification, and the motion of When the size exceeds the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, the fixed ratio is determined as the first ratio, and the camera module 310 ), if the zoom magnification exceeds the specified second zoom magnification, using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified second zoom magnification, It may be configured to determine the first ratio.
  • the camera module 310 includes a first camera having a fixed angle of view and a second camera supporting optical zoom, and the at least one processor 350 operates on the camera module 310 It may be configured to select a camera for acquiring the first image from among the first camera and the second camera based on a first image-based zoom factor that corresponds to the zoom factor and is based on the first image. .
  • the at least one processor 350 determines whether the first image-based zoom factor is less than the specified first image-based zoom factor, and determines whether the first image-based zoom factor is less than the specified first image-based zoom factor.
  • the first camera is selected among the first camera and the second camera as a camera for acquiring the first image
  • the first image-based zoom magnification is selected for the specified first image.
  • the second camera may be selected among the first camera and the second camera as a camera for acquiring the first image.
  • the at least one processor 350 acquires an image through the first camera when the first camera is selected as a camera for acquiring the first image, and the camera module 310 ) may be configured to acquire the first image by cropping the acquired image based on the zoom magnification and the first ratio.
  • the at least one processor 350 when the second camera is selected as the camera for acquiring the first image, based on the zoom magnification and the first ratio of the camera module 310 After adjusting the settings of the second camera, the first image may be acquired through the second camera.
  • the at least one processor 350 may be configured to acquire the second image by correcting the camera shake using optical image stabilization or electronic image stabilization based on the first image. You can.
  • FIG. 4 is a flowchart 400 illustrating a method for correcting camera shake, according to one embodiment.
  • the processor 350 may check the zoom factor of the camera module.
  • the processor 350 may set the zoom factor of the camera module based on user input. For example, while the camera application is running, the processor 350 displays a screen containing an object for setting (e.g., adjusting) the zoom ratio of the camera module through the display module 330. You can.
  • the processor 350 maintains the zoom magnification of the camera module at the default zoom magnification (e.g., 1x), or increases the zoom magnification of the camera module (e.g., 1x) based on the user input for the object. : You can change the zoom factor of the camera module to 2x (2x)) or decrease it (e.g. change the zoom factor of the camera module to 0.5x (0.5x)).
  • the processor 350 may check the zoom magnification of the camera module set based on user input.
  • the zoom factor of the camera module may be a zoom factor based on an image displayed through the display module 330 (or an image resulting from camera shake correction).
  • the zoom magnification of the camera module may correspond to the angle of view area corresponding to the image displayed through the display module 330 (or the scene represented by the image displayed through the display module 330).
  • the angle of view area corresponding to the image displayed through the display module 330 is the area of view corresponding to the image displayed through the display module 330 when the zoom factor of the camera module is set to 1x. It may be 1/4 of the field of view area represented by the image.
  • the processor 350 may check the zoom factor of the camera module while acquiring an image through the camera module 310 (eg, while displaying a preview image). In one embodiment, the processor 350 may check the zoom factor of the camera module in response to the camera application being executed.
  • the processor 350 may check the magnitude of the movement of the electronic device 301.
  • the processor 350 determines the magnitude of movement of the electronic device 301 (e.g., camera module 310) based on information obtained through the sensor 320 (e.g., gyro sensor). You can. In one embodiment, the processor 350 may check the direction and/or size of movement of the electronic device 301 based on information acquired through the sensor 320.
  • the processor 350 may check the magnitude of movement of the electronic device 301 based on a plurality of images continuously acquired through the camera module 310. For example, the processor 350 may acquire Image 1 and Image 2, which is acquired continuously after Image 1 (eg, following Image 1), through the camera module 310. The processor 350 may check the magnitude of the movement of the electronic device 301 based on the difference between the pixel values of image 1 and the pixel values of image 2. In one embodiment, the processor 350 may check the direction and/or size of movement of the electronic device 301 based on a plurality of images continuously acquired through the camera module 310.
  • the processor 350 operates the electronic device 301 based on information acquired through the sensor 320 (e.g., a gyro sensor) and a plurality of images continuously acquired through the camera module 310. ) can be confirmed.
  • the sensor 320 e.g., a gyro sensor
  • the operation of checking the zoom magnification of the camera module in operation 401 is illustrated as being performed prior to the operation of checking the size of the movement of the electronic device 301 in operation 403, but the operation is not limited thereto.
  • the operation of checking the zoom magnification of the camera module in operation 401 is performed after the operation of checking the size of the movement of the electronic device 301 in operation 403 is performed, or the operation of checking the size of the movement of the electronic device 301 in operation 403 is performed. It can be performed simultaneously (e.g., in parallel) with the operation to check the size of the movement.
  • the processor 350 determines a first image for the first image acquired to correct for camera shake, based on the zoom factor of the camera module and the magnitude of the movement of the electronic device 301.
  • the first ratio of the second area excluding the first area having a size corresponding to the size of the second image obtained by correcting camera shake within the image may be determined.
  • the first image acquired to correct camera shake may be an image acquired before performing camera shake correction.
  • the first image may be an input image for camera shake correction (eg, camera shake correction using digital image stabilization or electronic image stabilization).
  • the first image is, when the image is acquired through a first camera having a fixed angle of view (e.g., an angle of view that is maintained even if the zoom ratio of the camera module changes), the acquired image before performing camera shake correction. It may be an image that is cropped based on the zoom factor of the camera module.
  • the first image when an image is acquired through a second camera that supports optical zoom, the first image may be an image acquired through the second camera.
  • the first image includes a first region (hereinafter referred to as “first region”) with a size corresponding to the size of the second image obtained by correcting camera shake, and a first region within the first image. It may include a second area (hereinafter referred to as “second area” or “margin area”) excluding the first area.
  • the second image obtained by correcting camera shake may be an image resulting from camera shake correction.
  • the second image may be an image output after performing camera shake correction using the first image.
  • the first ratio (hereinafter referred to as “first ratio” or “margin ratio”) may be a ratio of the second area to the first image.
  • FIG. 5 is an exemplary diagram 500 for explaining a first ratio according to an embodiment.
  • the first image 510 may include a first area 521 and a second area 522.
  • the first area 521 may be an area that has the same size as the second image, based on the center 511 of the first image.
  • the center of the first area 521 is the same as the center 511 of the first image
  • the size (e.g. area) of the first area 521 is the size (e.g. area) of the second image.
  • the first area 421 is the display module when the electronic device 301 does not move (e.g., when the value of the magnitude of movement of the electronic device 301 is substantially '0') It may be the same as the image to be output through (330).
  • the second area 522 may be an area surrounding the first area 521 based on the center 511 of the first image (the center of the first area 521).
  • the length of the outermost line of the second area 522 may be longer than the length of the outermost line of the first area 521.
  • the ratio between the horizontal and vertical lengths of the outermost line of the second area 522 may be the same as the ratio between the horizontal and vertical lengths of the outermost line of the first area 521.
  • the first ratio of the second area to the first image will be referred to as the ratio of the length of the sum of the widths of the second area to the length of one side of the first image.
  • the first ratio is the upper width (d2) and the lower width (d2) of the second area 522 with respect to the vertical length (d1+2*d2) of the first image 510. It can be referred to as the ratio of the summed length (2*d2). For example, if the first ratio is 20%, the ratio of the summed length (2*d2) to the vertical length (d1) of the first image 510 may be 1/5 (20%). .
  • the first ratio is used as the ratio of the second area to the first image to correct camera shake, but the present invention is not limited thereto.
  • the first ratio can be replaced by the ratio of the second area 522 to the first area 521 or the ratio of the first area 521 to the first image 510. Ratios may be used.
  • the processor 350 may determine the first ratio based on the zoom magnification of the camera module and the magnitude of the movement of the electronic device 301.
  • the processor 350 may determine the first ratio based on the zoom magnification of the camera module and the magnitude of the movement of the electronic device 301.
  • FIG. 6 is a flow diagram 600 illustrating a method for determining a first ratio, according to one embodiment.
  • FIG. 7 is an example diagram 700 illustrating a method of determining a first ratio when the magnitude of movement of the electronic device 301 is below a threshold, according to an embodiment.
  • FIG. 8 is an example diagram 800 illustrating a method of determining a first ratio when the magnitude of movement of the electronic device 301 exceeds a threshold, according to an embodiment.
  • the processor 350 may check whether the magnitude of the movement of the electronic device 301 is less than or equal to a threshold. For example, the processor 350 determines that the size of the movement of the electronic device 301 is the threshold by comparing the size of the movement of the electronic device 301 confirmed through operation 403 with the threshold (e.g., the size of the specified movement). You can check whether it is below or not.
  • the processor 350 determines a fixed rate (e.g., a specified rate) as the first rate. You can.
  • a fixed rate e.g., a specified rate
  • the processor 350 when the processor 350 determines that the amount of movement of the electronic device 301 is below the threshold, the processor 350 maintains a fixed ratio ( Example: 20%) can be determined as the first ratio.
  • image 1 710 is the first Indicates a field of view area (e.g., a scene to be represented by the first image) corresponding to an image (e.g., the first image 510 of FIG. 5), and the area 713 represents the first area (e.g., the first area of FIG. 5 (e.g., the first area of FIG. 5). 521)), and area 715 may represent an angle of view area corresponding to a second area (e.g., second area 522 in FIG. 5).
  • a field of view area e.g., a scene to be represented by the first image
  • the area 713 represents the first area (e.g., the first area of FIG. 5 (e.g., the first area of FIG. 5). 521))
  • area 715 may represent an angle of view area corresponding to a second area (e.g., second area 522 in FIG. 5).
  • the first ratio at reference numeral 701 is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 715 with respect to the vertical length (d11+2*d12) of image 1 (710). It may be the ratio (2*d12/(d11+2*d12)).
  • image 2 720 is the first Indicates an angle of view area corresponding to an image (e.g., a scene to be represented by the first image), area 723 indicates an angle of view area corresponding to the first area, and area 725 indicates an angle of view area corresponding to the second area.
  • the first ratio at reference numeral 702 is a length (2*d22) that is the sum of the upper width (d22) and the lower width (d22) of the area 725 with respect to the vertical length (d21+2*d22) of image 2 720. It may be the ratio (2*d22/(d21+2*d22)).
  • image 3 730 is the first image.
  • image 3 730 is the first image.
  • area 733 may represent a field of view area corresponding to the first area
  • area 735 may represent a field of view area corresponding to the second area.
  • the first ratio is a length (2*d32) that is the sum of the upper width (d32) and lower width (d32) of the area 735 with respect to the vertical length (d31+2*d32) of image 3 730. It may be the ratio (2*d32/(d31+2*d32)).
  • the processor 350 may determine a fixed ratio as the first ratio even if the zoom factor of the camera module increases (or decreases). there is. For example, when it is confirmed that the magnitude of the movement of the electronic device 301 is below the threshold, the first ratio of reference numeral 701 (2*d12/(d11+2*d12)), the first ratio of reference numeral 702 ( 2*d22/(d21+2*d22)), and the first ratio (2*d32/(d31+2*d32)) of reference numeral 703 may all be the same.
  • the processor 350 adjusts the zoom of the camera module based on the zoom factor of the camera module.
  • the first magnification may be determined such that the first ratio increases by increasing the magnification.
  • the processor 350 if the zoom magnification of the camera module (e.g., the current zoom magnification of the camera module 310) is less than or equal to the specified zoom magnification (hereinafter referred to as “specified zoom magnification”) (or the camera module A fixed ratio (in the first zoom magnification range of 310) may be determined as the first ratio. If the zoom magnification of the camera module exceeds the designated zoom magnification, the processor 350 may determine the first magnification using the angle of view area corresponding to the second area determined at the designated zoom magnification.
  • image 1 810 is Indicates the field of view area (e.g., the scene to be represented by the first image) corresponding to the first image (e.g., the first image 510 in FIG. 5), and the area 813 represents the first area (e.g., the first image 510 in FIG. 5).
  • Area 521 may indicate an angle of view area corresponding to the area 521
  • area 815 may indicate an angle of view area corresponding to a second area (e.g., second area 522 of FIG. 5).
  • the first ratio at reference numeral 801 is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 815 with respect to the vertical length (d11+2*d12) of image 1 (810). It may be the ratio (2*d12/(d11+2*d12)).
  • image 2 820 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image)
  • area 823 represents a field of view area corresponding to the first area
  • area ( 825) may indicate a field of view area corresponding to the second area.
  • the first ratio at reference numeral 802 is a length (2*d22) that is the sum of the upper width (d22) and the lower width (d22) of the area 825 with respect to the vertical length (d21+2*d22) of image 2 820. It may be the ratio (2*d22/(d21+2*d22)).
  • the processor 350 converts the first ratio of reference numeral 803 (2*d22/(d21+2*d22)) into the same ratio as the first ratio of 801 (2*d12/(d11+2*d12) ) can be determined.
  • image 3 830 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image)
  • area 833 represents a field of view area corresponding to the first area
  • area ( 835) may indicate a field of view area corresponding to the second area.
  • the processor 350 generates a length (2) that is the sum of the widths of the view angle area (e.g., the width of the view angle area corresponding to the second area of reference numeral 802) corresponding to the second area of the specified zoom magnification (e.g., 3x). *d22)) can be used to determine the first magnification at a zoom magnification of 5x (5x) of the camera module. For example, as shown in reference numeral 803, when the zoom magnification of the camera module is 5x, the processor 350 sets the width of the angle of view area corresponding to the second area to 3x as the designated zoom magnification. It can be determined to be the same as the width d22 of the field of view area corresponding to the second area in (3x).
  • the processor 350 generates an area 835 for the vertical length (d41+2*d22) of image 3 (830) when the zoom magnification of the camera module is 5x (5x).
  • the ratio (2*d22/(d41+2*d22)) of the length (2*d22) obtained by adding the upper width (d22) and lower width (d22) of can be determined as the first ratio.
  • the method by which the processor 350 determines the first magnification, based on the zoom magnification of the camera module, so that the first ratio increases by increasing the zoom magnification of the camera module is not limited to the above-described example.
  • the processor 350 may determine the first ratio such that the first ratio increases linearly as the zoom magnification of the camera module increases. For example, if the zoom factor of the camera module is below the specified zoom factor, a fixed ratio is determined as the first ratio, and if the zoom factor of the camera module exceeds the specified zoom factor, the zoom factor is adjusted linearly as the camera module's zoom factor increases.
  • the first ratio can be determined so that the first ratio increases.
  • the threshold compared to the magnitude of the movement of the electronic device 301 is illustrated as one, but is not limited thereto.
  • the threshold compared to the magnitude of movement of the electronic device 301 may be two or more.
  • a method for determining the first ratio will be described when there are two or more thresholds compared to the magnitude of movement of the electronic device 301.
  • FIG. 9 is a flow diagram 900 illustrating a method for determining a first ratio, according to one embodiment.
  • FIG. 10 is an example diagram 1000 illustrating a method of determining a first ratio according to an embodiment.
  • the processor 350 determines whether the magnitude of the movement of the electronic device 301 is less than or equal to a first threshold (hereinafter referred to as “first threshold”). You can check whether or not. For example, the processor 350 determines whether the amount of movement of the electronic device 301 is less than or equal to the first threshold by comparing the amount of movement of the electronic device 301 confirmed through operation 403 with the first threshold. You can check it.
  • first threshold a first threshold
  • the processor 350 determines a fixed rate (e.g., a specified rate) as the first rate. can be decided.
  • the magnitude of movement of the electronic device 301 below the first threshold is determined when the electronic device 301 is mounted and fixed on another device (e.g., a tripod) or when a part of the electronic device 301 is folded. In a fixed state of operation (also referred to as “flex mode”), it may be the amount of movement that is measured.
  • operation 903 is at least partially the same or similar to operation 603, detailed description will be omitted.
  • the magnitude of the movement of the electronic device 301 exceeds the first threshold
  • the magnitude of the movement of the electronic device 301 exceeds the first threshold and the second threshold (hereinafter, “second threshold”) You can check whether or not it is below (referred to as ").
  • the second threshold may be a value greater than the first threshold.
  • the magnitude of the movement of the electronic device 301 exceeding the first threshold and falling below the second threshold means that the user of the electronic device 301 carrying the electronic device 301 moves at a slow pace or moves the electronic device 301. It may be the size of movement measured while holding the device 301 in hand.
  • the magnitude of the movement of the electronic device 301 exceeding the second threshold is measured when the user of the electronic device 301 carrying the electronic device 301 moves at a faster pace. 301) may be the size of the movement.
  • the processor 350 determines the specified motion of the camera module 310.
  • the first ratio may be determined using the first ratio corresponding to the first zoom magnification.
  • the processor 350 adjusts the specified second zoom factor of the camera module 310.
  • the first ratio can be determined using the first ratio corresponding to .
  • the processor 350 determines that the magnitude of movement of the electronic device 301 exceeds the first threshold and is below the second threshold, selects a zoom factor corresponding to the specified first zoom factor of the camera module 310. Using the first ratio, the first ratio can be determined. In one embodiment, the processor 350 configures the zoom factor of the camera module (e.g., the current zoom factor of the camera module 310) to be set to a specified first zoom factor (hereinafter referred to as “the designated first zoom factor”) (e.g., : If it is 3 times (3x) or less, the fixed ratio can be determined as the first ratio. For example, as described through reference numerals 801 and 803 in FIG.
  • the processor 350 when the current zoom magnification of the camera module 310 is 3 times (3x) or less, the first zoom magnification of reference numeral 801 The same ratio as the ratio can be determined as the first ratio.
  • the processor 350 when the zoom factor of the camera module exceeds the specified first zoom factor (e.g., 3x (3x)), determines the zoom factor of the camera module that is equal to the specified first zoom factor.
  • the first magnification can be determined using the field of view area corresponding to the second area. For example, as described through reference numerals 802 and 803 in FIG. 8, when the zoom magnification of the camera module exceeds 3 times (3x), the width of the field of view area corresponding to the second area is changed to the designated first area.
  • the processor 350 uses the width (d22) of the field of view area corresponding to the second area calculated at the zoom magnification of the camera module 3x (3x), which is the same as the specified first zoom magnification, of the camera module 310.
  • a first ratio at the current zoom magnification may be determined.
  • the processor 350 when it is determined that the magnitude of the movement of the electronic device 301 exceeds the second threshold, sets the designated second zoom magnification (hereinafter, “the designated second zoom factor) of the camera module 310.
  • the first ratio may be determined using the first ratio corresponding to the “zoom magnification”).
  • the specified second zoom factor may be a smaller zoom factor than the designated first zoom factor.
  • the first designated zoom magnification is 3x (3x)
  • the second designated zoom magnification may be 2x (2x).
  • the processor 350 sets the fixed ratio when the zoom factor of the camera module (e.g., the current zoom factor of the camera module 310) is less than or equal to the specified second zoom factor (e.g., 2x). It can be determined by the first ratio.
  • the processor 350 uses the view angle area corresponding to the second area calculated at the zoom magnification of the camera module that is the same as the specified second zoom magnification to create the first zoom magnification. The magnification can be determined.
  • image 1 (1010) represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image)
  • area 1013 represents a field of view area corresponding to the first area
  • area 1015 represents a field of view corresponding to the second area.
  • the angle of view area can be indicated.
  • the first ratio is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 1015 with respect to the vertical length (d11+2*d12) of image 1 (1010). It may be the ratio (2*d12/(d11+2*d12)).
  • image 2 (1020) represents the angle of view area corresponding to the first image (e.g., the scene to be represented by the first image), and area 1023 represents the angle of view area corresponding to the first area, Area 1025 may represent a field of view area corresponding to the second area.
  • the first ratio at reference numeral 1002 is a length (2*d52) that is the sum of the upper width (d52) and the lower width (d52) of the area 825 with respect to the vertical length (d21+2*d22) of image 2 (1020). It may be the ratio (2*d52/(d51+2*d52)).
  • the processor 350 converts the first ratio (2*d52/(d51+2*d52)) of reference numeral 1003 into the same ratio (2*d12/(d11+2*d12)) as the first ratio of 801. ) can be determined.
  • image 3 (1030) represents the angle of view area corresponding to the first image (e.g., the scene that the first image will represent), and area 1033 represents the angle of view area corresponding to the first area. and area 1035 may represent a field of view area corresponding to the second area.
  • the processor 350 sums the widths of the angle of view area corresponding to the second area (e.g., the angle of view area corresponding to the second area of reference numeral 1002) calculated at the specified second zoom magnification (e.g., 2x). Using one length (2*d52)), the first magnification at 5x (5x) can be determined as the zoom magnification of the camera module. For example, as shown in reference numeral 1003, when the zoom magnification of the camera module is 5x, the processor 350 sets the width of the angle of view area corresponding to the second area to a designated second zoom magnification of 2.
  • the processor 350 can be determined to be equal to the width (d52) of the field of view area corresponding to the second area calculated at the zoom magnification of the camera module equal to the times (2x).
  • the processor 350 generates an area 1035 for the vertical length (d61+2*d52) of image 3 (1030) when the zoom magnification of the camera module is 5x (5x).
  • the ratio (2*d52/(d61+2*d52)) of the length (2*d52) obtained by adding the upper width (d52) and lower width (d52) of can be determined as the first ratio.
  • the processor 350 when the magnitude of the movement of the electronic device 301 is larger (e.g., the magnitude of the movement of the electronic device 301 is greater than the second threshold) exceeds the first threshold), compared to the case where the magnitude of the movement of the electronic device 301 is smaller (e.g., the magnitude of the motion of the electronic device 301 exceeds the first threshold and is less than or equal to the second threshold), the specified smaller
  • the first ratio may be determined using the first ratio corresponding to the zoom magnification. For example, if the magnitude of movement of the electronic device 301 exceeds the first threshold and is below the second threshold, the processor 350 determines the first ratio using 3x as the designated first zoom magnification.
  • the first ratio may be determined using a designated second zoom magnification of 2x (2x), which is smaller than the designated first zoom magnification.
  • the processor 350 can determine the first ratio so that the larger the magnitude of movement of the electronic device 301, the larger the first ratio.
  • the processor 350 may store the first ratio corresponding to the zoom magnification of the camera module (and the magnitude of movement of the electronic device 301) in the memory 340 in the form of a table.
  • the processor 350 may match the first ratio with the zoom magnification of the camera module and the size of the movement of the electronic device 301 and store the first ratio in the memory 340 in the form of a table.
  • the processor 350 uses the table stored in the memory 340 to calculate the zoom magnification of the camera module and the movement size of the electronic device 301.
  • the first ratio corresponding to the size of the movement can be confirmed.
  • the processor 350 may determine the confirmed first ratio as the first ratio.
  • the processor 350 may calculate the first ratio using a mathematical equation.
  • a mathematical equation for the processor 350 to calculate the first ratio will be described.
  • FIG. 11 is an exemplary diagram 1100 illustrating a method of determining a first ratio according to an embodiment.
  • the processor 350 when the magnitude of the movement of the electronic device 301 is greater than a threshold and the zoom factor of the camera module is less than or equal to the specified zoom factor, changes the first ratio to a fixed ratio (e.g., m(%) )).
  • a fixed ratio e.g., m(%)
  • image 1 1110 when the zoom magnification of the camera module is 1x (1x) and the magnitude of the movement of the electronic device 301 is confirmed to exceed the threshold, image 1 1110 is the first 1 represents the angle of view area corresponding to the image (e.g., the scene to be represented by the first image), area 1113 represents the angle of view area corresponding to the first area, and area 1115 represents the angle of view area corresponding to the second area.
  • the first ratio is the ratio (m/100) of the length (m*a/100) of the sum of the upper and lower widths of the area 1015 to the vertical length (a) of image 1 (1010). You can.
  • the zoom magnification of the camera module is b times (bx) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is b times (bx).
  • image 2 1120 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image)
  • area 1123 represents a field of view area corresponding to the first area
  • area ( 1125) may indicate a field of view area corresponding to the second area.
  • the first ratio is a length (m*a/(100 *b)) may be the ratio (m/100).
  • the zoom magnification of the camera module is c times (cx) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is b times ( bx)
  • image 3 (1130) represents the angle of view area corresponding to the first image (e.g., the scene to be represented by the first image)
  • area 1133 represents the angle of view area corresponding to the first area
  • area ( 1135) may indicate a field of view area corresponding to the second area.
  • the processor 350 selects a field of view area corresponding to the second area where the specified zoom magnification is b times (bx) (e.g., a length (2*n1) obtained by adding up the widths of the view angle area corresponding to the second area of reference numeral 1102. ), the zoom magnification of the camera module can be determined as the first magnification at c times (cx).
  • the processor 350 may determine the first magnification when the zoom magnification of the camera module is c times (cx) using [Equation 1] below.
  • m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification.
  • b may represent a designated zoom factor, and c may represent the zoom factor of the current camera module of the camera module 310.
  • the processor 350 may acquire a first image based on the zoom factor and the first ratio of the camera module.
  • the processor 350 may select a camera to acquire an image from among a plurality of cameras based on the first image-based zoom factor corresponding to the zoom factor of the camera module.
  • the zoom magnification of the camera module may be a zoom magnification based on the image displayed through the display module 330 (or the resulting image of camera shake correction). For example, if the zoom magnification of the camera module is 5x (5x), the resulting image after camera shake correction obtained (e.g., the zoom magnification of the camera module is 5x (5x) and the magnitude of the movement of the electronic device 301 is The length of one side of the angle of view area indicated by the angle of view area corresponding to the first area (if below the threshold) is the result of the image after camera shake correction obtained at a zoom magnification of 1x (1x) of the camera module (e.g., the zoom magnification of the camera module) If this is 1x and the magnitude of the movement of the electronic device 301 is less than a threshold, the angle of view area corresponding to the first area may be 1/5 of the length of one side of the angle of view indicated by the angle of view area.
  • m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification.
  • a represents the angle of view area corresponding to the first image when the zoom magnification of the camera module is 1x (1x)
  • b represents the specified zoom magnification
  • c represents the angle of view of the camera module 310.
  • the current zoom factor can be displayed.
  • the first image-based zoom factor may be a zoom factor based on the first image as an input image for camera shake correction. For example, if the zoom factor based on the first image is 5x (5x), the length of one side of the field of view area represented by the obtained first image is 1x (1x). ) may be 1/5 of the length of one side of the field of view area represented by the first image acquired in ). For example, comparing reference numerals 1101 and 1103 in FIG.
  • m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification.
  • a represents the angle of view area corresponding to the first image when the zoom magnification of the camera module is 1x (1x)
  • b represents the specified zoom magnification
  • c represents the angle of view of the camera module 310.
  • the current zoom factor can be displayed.
  • the processor 350 uses [Equation 4] below, based on [Equation 2] and [Equation 3], to calculate a first image-based zoom factor (e.g., [Equation 4] g) can be calculated from .
  • the processor 350 may select a camera to acquire an image from among the first camera and the second camera included in the plurality of cameras, based on the first image-based zoom factor.
  • the processor 350 may acquire the first image through the selected camera.
  • FIGS. 12 and 13 a method of acquiring a first image through a camera selected based on the first image-based zoom factor will be described.
  • FIG. 12 is a flowchart 1200 illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
  • FIG. 13 is an example diagram 1300 illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
  • the processor 350 may determine whether the current first image-based zoom factor is less than a specified first image-based zoom factor.
  • the electronic device 301 may include a first camera having a fixed angle of view and a second camera supporting optical zoom.
  • the second camera may be a camera that supports optical zoom by moving the lens in a specified first image-based zoom magnification range. For example, the second camera optically zooms at a first zoom factor based on the specified first image (e.g., 3x (3x)) but less than a second zoom factor (e.g., 10x (10x)) based on the specified first image. It may be a camera that performs.
  • the specified first image-based zoom factor may be the minimum zoom factor in the designated first image-based zoom factor range.
  • the specified first image-based zoom factor may be such that the second camera has a first image-based first zoom factor (e.g., 3x) or greater than the first image-based second zoom factor (e.g., 10x (10x)). )), it may be a first zoom magnification (e.g., 3x) based on the first image.
  • the processor 350 selects a first camera among the plurality of cameras to acquire the first image. You can choose a camera for your needs.
  • processor 350 may acquire a first image through a first camera.
  • the processor 350 may acquire an image (eg, an image corresponding to the entire field of view area of the first camera) through the first camera.
  • the processor 350 may acquire a first image based on the zoom magnification and first ratio of the camera module within the acquired image.
  • the processor 350 may acquire the first image by cropping the image acquired through the first camera based on the zoom magnification and first ratio of the camera module.
  • a method of acquiring a first image by cropping an image acquired through a camera eg, a first camera or a second camera
  • a digital zoom method a method of acquiring a first image by cropping an image acquired through a camera
  • the processor 350 selects a second camera from among the plurality of cameras to acquire the first image. You can choose a camera for your needs.
  • the processor 350 may acquire the first image through the second camera.
  • the processor 350 configures the settings of the second camera (e.g., the position of the lens included in the second camera (e.g., the position to which the lens is to be moved)) of the second camera, based on the zoom magnification and the first ratio of the camera module. ) can be adjusted.
  • the processor 350 may determine the position of the lens included in the second camera (eg, the position to which the lens is to be moved) based on the zoom magnification and the first ratio of the camera module.
  • the processor 350 may move the second camera to the determined position and then acquire the first image through the second camera.
  • the processor 350 may acquire the first image using the optical zoom of the second camera when the first image-based zoom magnification falls within the first image-based zoom magnification range of the second camera.
  • the method of acquiring the first image using the optical zoom of the second camera will be referred to as the “optical zoom method.”
  • the processor 350 acquires an image at the maximum first image-based zoom factor of the second camera when the first image-based zoom factor is greater than or equal to the maximum zoom factor of the first image-based zoom factor range of the second camera, and The first image can be obtained through a cropping operation within the image.
  • the processor 350 acquires the image at the maximum first image-based zoom factor of the second camera if the first image-based zoom factor is greater than or equal to the maximum zoom factor of the first image-based zoom factor range of the second camera. After that, the first image can be obtained by applying a digital zoom method to the acquired image.
  • the first image-based zoom magnification range of the second camera may be 3 times (3x) or more and less than 10 times (10x).
  • the processor 350 may acquire the first image using the optical zoom of the second camera. For example, when the first image-based zoom magnification is 5x (5x), the processor 350 adjusts the zoom magnification and the first ratio of the camera module corresponding to the first image-based zoom magnification of 5x (5x). Based on this, the position of the lens included in the second camera (eg, the position to which the lens is to be moved) may be determined. The processor 350 may move the second camera to the determined position and then acquire the first image through the second camera.
  • the processor 350 acquires an image at the position of the lens corresponding to the first image-based zoom magnification of 10 times (10x), and performs the first image-based zoom
  • the first image can be obtained by cropping the obtained image based on the first ratio and the zoom magnification of the camera module whose magnification is 11x (11x).
  • Figure 13 includes a first camera having a fixed angle of view and a second camera performing optical zoom in a first image-based zoom magnification range of 3x (3x) to 10x (10x).
  • this may be an example to explain a method of acquiring the first image based on the size of the movement of the electronic device 301.
  • reference numeral 1301 in FIG. 13 may indicate a method of acquiring the first image as the zoom magnification of the camera module increases when the magnitude of the movement of the electronic device 301 is less than or equal to the first threshold.
  • the processor 350 performs the first 1
  • the first image can be acquired through a camera.
  • the processor 350 configures the first 1-2 section 1312 in which the zoom magnification range of the camera module is greater than 3x (3x) and less than or equal to 10x (10x) (e.g., the first image-based zoom magnification range is 3x (3x). ) and 10 times (10x) or less), the first image can be acquired using optical zoom through the second camera.
  • the processor 350 performs a 1-3 section 1313 in which the zoom magnification range of the camera module exceeds 10 times (10x) (e.g., a section in which the first image-based zoom magnification range exceeds 10 times (10x))
  • the first image can be acquired using a digital zoom method through the second camera.
  • reference numeral 1302 in FIG. 13 indicates that the magnitude of the movement of the electronic device 301 exceeds the first threshold and is below the second threshold and corresponds to three times (3x) the size of the camera module 310.
  • determining the first ratio using a ratio e.g., determining the first ratio through operation 907 of FIG. 9
  • it may indicate a method of acquiring the first image according to an increase in the zoom magnification of the camera module. there is. For example, when the zoom magnification of the camera module increases as shown by the arrow 1320, the processor 350 performs the first 1 The first image can be acquired through a camera.
  • the processor 350 operates in a 2-2 section 1322 in which the zoom magnification range of the camera module exceeds 3 times (3x) (e.g., a section in which the first image-based zoom magnification range exceeds 3 times (3x))
  • the first image may be acquired using an optical zoom method through the second camera.
  • reference numeral 1303 in FIG. 13 indicates that the magnitude of the movement of the electronic device 301 exceeds the second threshold and uses a first ratio corresponding to twice (2x) that of the camera module 310. 1
  • a method of acquiring the first image may be indicated according to an increase in the zoom factor of the camera module. For example, when the zoom magnification of the camera module increases as shown by the arrow 1330, the processor 350 selects the 3-1 section 1331 (e.g. : In the section where the first image-based zoom magnification range is 3x (3x) or less), the first image can be acquired through the first camera.
  • the processor 350 operates in a 3-2 section 1332 in which the zoom magnification range of the camera module exceeds 3.4x (3.4x) (e.g., a section in which the first image-based zoom magnification range exceeds 3x (3x)) ), the first image can be acquired using an optical zoom method through the second camera.
  • 3.4x a section in which the zoom magnification range of the camera module exceeds 3.4x
  • 3x 3x
  • the processor 350 may acquire a second image by correcting camera shake based on the first image.
  • processor 350 based on the first image.
  • a second image can be acquired by correcting camera shake using optical image stabilization or electronic image stabilization.
  • the processor 350 may acquire the second image by correcting camera shake for the first image based on the size and direction of movement of the electronic device 301. For example, the processor 350 may calculate a vector that has a direction opposite to the direction of movement of the electronic device 301 and corresponds to the magnitude of the movement of the electronic device 301. The processor 350 may obtain, as a second image, an area located in a position moved by the calculated vector within the first image and having the same size as the first area.
  • the processor 350 acquires a second image with camera shake corrected and then performs an operation to improve image quality (e.g., resolution) on the second image using a video super resolution method. You can.
  • image quality e.g., resolution
  • the processor 350 may display the second image through the display module 310 .
  • the second image may include a preview image.
  • the present invention is not limited thereto, and the second image may include a still image obtained based on user input while displaying the preview image.
  • the processor 350 obtains a first image by cropping an image acquired through a camera (e.g., a first camera or a second camera), and uses the acquired first image.
  • a digital zoom method that compensates for camera shake is exemplified, but it is not limited to this.
  • the processor 350 may control a camera (eg, a first camera or a second camera) to acquire an image with a fixed angle of view and correct camera shake using the acquired image.
  • the processor 350 may use a digital zoom method to obtain a second image by cropping an image in which camera shake has been corrected based on the zoom magnification and first ratio of the camera module.
  • Figure 14 shows the first ratio determined by increasing the zoom magnification of the camera module when determining the first ratio using the first ratio corresponding to 3 times that of the camera module 310, according to one embodiment.
  • This is an example graph (1400).
  • Figure 15 shows the first ratio determined by increasing the zoom magnification of the camera module when determining the first ratio using the first ratio corresponding to twice that of the camera module 310, according to one embodiment.
  • This is an example graph (1500).
  • FIG. 14 shows a case where the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 3 times (e.g., using the example of FIG. 8) (when determining the first ratio), the first ratio may be indicated as the zoom magnification of the camera module increases.
  • the X-axis may represent the zoom magnification of the camera module
  • the Y-axis may represent the first ratio.
  • the processor 350 like line 1411, fixes the zoom ratio in a section where the zoom magnification range of the camera module is 3x (3x) or less (e.g., the 2-1 section 1321 of FIG. 13).
  • the ratio e.g.
  • the processor 350 zooms the camera module in a section where the zoom magnification range of the camera module exceeds 3x (e.g., the 2-2 section 1322 of FIG. 13).
  • the first ratio can be determined using the first ratio corresponding to 3 times the magnification. In this case, the first ratio may be increased by increasing the zoom factor of the camera module, as shown in line 1421.
  • FIG. 14 shows a case where the first ratio is determined using the first ratio corresponding to twice the camera module 310 (e.g., when the first ratio is determined using the example of FIG. 10 ), may represent the first ratio according to an increase in the zoom magnification of the camera module.
  • the X-axis may represent the zoom magnification of the camera module
  • the Y-axis may represent the first ratio.
  • the processor 350 like line 1511, performs a fixed operation in a section where the zoom magnification range of the camera module is 2x (2x) or less (e.g., the 3-1 section 1331 of FIG. 13).
  • the ratio e.g. 20%
  • the ratio can be determined as the first ratio.
  • the processor 350 zooms the camera module in a section where the zoom magnification range of the camera module exceeds 2x (e.g., the 3-2 section 1332 of FIG. 13).
  • the first ratio can be determined using the first ratio corresponding to 2 times the magnification. In this case, the first ratio may be increased by increasing the zoom factor of the camera module, as shown in line 1521.
  • the processor 350 moves the first motion corresponding to 3 times that of the camera module 310, as shown in FIG. 14.
  • the first ratio can be determined using the ratio of 1.
  • the processor 350 sets the first ratio using the first ratio corresponding to twice that of the camera module 310, as shown in FIG. 15. You can decide.
  • the processor 350 determines the first ratio so that when the magnitude of movement of the electronic device 301 is larger, the first ratio has a larger ratio.
  • the ratio can be determined.
  • the processor 350 may determine the first ratio so that the first ratio increases at a lower zoom magnification of the camera module when the magnitude of the movement of the electronic device 301 is larger.
  • the processor 350 determines a fixed ratio (e.g., 20%) in the first section as the first ratio, and the camera module in the second section
  • the first ratio may be determined such that the first ratio increases as the zoom magnification increases.
  • the processor 350 may determine the first ratio so that the first ratio increases in all sections of the camera module 310 by increasing the zoom magnification of the camera module.
  • the processor 350 increases the speed at which the first ratio increases (e.g., the slope of the first ratio) by increasing the zoom magnification of the camera module in the second section.
  • the first ratio can be determined such that is reduced.
  • the present invention is not limited thereto, and the processor 350 may determine the first ratio such that the speed at which the first ratio increases due to an increase in the zoom magnification of the camera module in the second section is maintained at a constant value or increased.
  • FIG. 16 is an example diagram 1600 illustrating a change in the first image-based zoom factor according to a change in the zoom factor of the camera module, according to an embodiment.
  • Figure 16 determines the first ratio using a first ratio corresponding to the zoom magnification of the camera module 3x (3x), which corresponds to a change in the zoom magnification of the camera module.
  • the first ratio is determined using the first image-based zoom magnification of the second camera (the first image-based first zoom magnification in FIG. 16) and the first ratio corresponding to the zoom magnification 3x (3x) of the camera module.
  • it may be a table illustrating the first image-based zoom magnification of the second camera (the first image-based second zoom magnification in FIG. 16).
  • the first image-based first zoom magnification and the second image-based second zoom magnification corresponding to the zoom magnification of the camera module are calculated using the above-described [Equation 3] and [Equation 4] It can be.
  • the first image-based first zoom magnification and the first image-based second zoom magnification are a second camera that supports optical zoom at a first image-based zoom magnification of 3 times or more and 10 times or less.
  • the first image-based zoom factors may be related to:
  • the first ratio e.g., m in Equation 3
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 3x (3x) of the camera module, the first zoom magnification based on the first image is 3x (3x). In a section less than 3x), the first image can be acquired through the first camera. In one embodiment, when the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 3x (3x), the second camera has a first zoom ratio of less than 3x (3x) based on the first image. It can be deactivated in a section.
  • the first zoom ratio 1.0x (1621) based on the first image corresponding to the zoom ratio 1x (1x) 1611 of the camera module and the zoom ratio 2x (2x) 1612 of the camera module, respectively. ) and the first zoom ratio 1.0x (1622) based on the first image may indicate that the second camera is in a deactivated state.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 3x (3x) (e.g., 3x (1613))
  • the processor 350 determines the first ratio based on the first image.
  • the first zoom magnification is 3x (3.0x) (1623) or more
  • the first image can be acquired through the second camera.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 3x (3x) of the camera module, the first zoom magnification based on the first image is 3x (3x).
  • the first image is acquired through the second camera using an optical zoom method. can do.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 3x (3x)
  • the first zoom magnification based on the first image is 10x ( In a section exceeding 10.0x) (1625)
  • the first image can be acquired through the second camera using a digital zoom method.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 2x (2x) of the camera module, the second zoom magnification based on the first image is 2x (2x). In a section less than 2x), the first image can be acquired through the first camera. In one embodiment, when the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 2x (2x), the second camera has a second zoom ratio of less than 2x (2x) based on the first image. It can be deactivated in a section.
  • the second zoom factor is 1.0 based on the first image, respectively corresponding to the zoom factor 1x (1611) of the camera module, the zoom factor 2x (1612) of the camera module, and the zoom factor 3x (1613) of the camera module.
  • x (1631), a second zoom ratio of 1.0x (1632) based on the first image, and a second zoom ratio of 1.0x (1633) based on the first image may indicate that the second camera is in a deactivated state.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 2x (2x) (e.g., 2x (1612))
  • the processor 350 determines the first ratio based on the first image.
  • the second zoom magnification is 3x (3.0x) (1634) or more (e.g., a section where the zoom magnification of the camera module is about 3.4x (1614) or more)
  • the first image can be acquired through the second camera.
  • the second zoom magnification based on the first image is 3x ( In the range of 3.0x) (1634) or more and 10x (10.0x) or less corresponding to the zoom magnification of the camera module of about 30x
  • the first image can be acquired through the second camera using an optical zoom method.
  • the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 2x (2x) of the camera module
  • the second zoom magnification based on the first image is 10x. In the exceeding section, the first image can be acquired through the second camera using a digital zoom method.
  • a method for correcting camera shake in the electronic device 101 may include checking the zoom magnification of the camera module 310 of the electronic device 101.
  • the method may include checking the magnitude of movement of the electronic device 101.
  • the method corresponds to the size of the second image obtained by correcting the camera shake within the first image to the first image acquired to correct camera shake, based on the zoom factor and the magnitude of the movement. and determining a first ratio of the second area excluding the first area having a size of .
  • the method may include acquiring the first image based on the zoom magnification and the first ratio.
  • the method may include acquiring the second image by correcting the camera shake based on the first image.
  • the operation of determining the first rate includes: determining a fixed rate as the first rate if the magnitude of the movement is less than or equal to the threshold; and if the magnitude of the movement exceeds the threshold, the operation of determining the first rate. It may include determining the first ratio so that the first ratio increases by increasing the zoom magnification of the camera module 310.
  • the operation of determining the first ratio includes, if the zoom magnification of the camera module 310 is less than or equal to a specified zoom magnification, determining the fixed ratio as the first ratio and the camera module ( If the zoom magnification of 310) exceeds the specified zoom magnification, the first ratio may be increased by increasing the zoom magnification of the camera module 310. It may include an operation of determining the first ratio. .
  • the operation of determining the first ratio includes, if the zoom factor of the camera module 310 exceeds the specified zoom factor, the zoom factor of the camera module 310 equal to the specified zoom factor.
  • the method may include determining the first ratio using a field of view area corresponding to the second area determined.
  • the threshold includes a first threshold and a second threshold greater than the first threshold
  • the specified zoom factor includes a specified first zoom factor and a specified second zoom factor
  • the first ratio is The determining operation includes determining the fixed ratio as the first ratio when the magnitude of the movement is less than or equal to the first threshold, and when the magnitude of the motion exceeds the first threshold and is less than or equal to the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the designated first zoom magnification, an operation of determining the fixed ratio as the first ratio and the zoom magnification of the camera module 310 is the designated first zoom.
  • magnification is exceeded, determining the first ratio using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310 that is equal to the specified first zoom magnification, and When the magnitude of the movement exceeds the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, determining the fixed ratio as the first ratio and the camera module If the zoom magnification of 310 exceeds the specified second zoom magnification, using the field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified second zoom magnification. Thus, an operation of determining the first ratio may be included.
  • the camera module 310 includes a first camera having a fixed angle of view and a second camera supporting optical zoom, and the operation of acquiring the first image is performed using the camera module 310.
  • the operation of selecting a camera for acquiring the first image includes checking whether the first image-based zoom factor is less than a specified first image-based zoom factor, the first image-based zoom factor When it is confirmed that this is less than the specified first image-based zoom magnification, selecting the first camera among the first camera and the second camera as a camera for acquiring the first image, and the first image-based zoom When the magnification is less than or equal to the designated first image-based zoom magnification, the method may include selecting the second camera among the first camera and the second camera as a camera for acquiring the first image.
  • the operation of acquiring the first image includes, when the first camera is selected as a camera for acquiring the first image, acquiring an image through the first camera and the camera module 310 ) may include obtaining the first image by cropping the acquired image based on the zoom magnification and the first ratio.
  • the operation of acquiring the first image is based on the zoom magnification and the first ratio of the camera module 310 when the second camera is selected as the camera for acquiring the first image. This may include an operation of adjusting the settings of the second camera and then acquiring the first image through the second camera.
  • the operation of acquiring the second image includes acquiring the second image by correcting the camera shake using optical image stabilization or electronic image stabilization based on the first image. It can be included.
  • the computer-readable recording media includes storage media such as magnetic storage media (eg, ROM, floppy disk, hard disk, etc.) and optical read media (eg, CD-ROM, DVD, etc.).

Abstract

An electronic device according to an embodiment may comprise a camera module and at least one processor operatively connected to the camera module. The at least one processor may identify the zoom magnification of the camera module. The at least one processor may identify the magnitude of movements of the electronic device. The at least one processor may determine a first ratio of a second region other than a first region having a size corresponding to the size of a second image acquired by correcting a camera shake inside a first image, with regard to the first image acquired to correct the camera shake, on the basis of the zoom magnification and the movement magnitude. The at least one processor may acquire the first image on the basis of the zoom magnification and the first ratio. The at least one processor may be configured to acquire the second image by correcting the camera shake on the basis of the first image.

Description

카메라 흔들림을 보정하기 위한 방법 및 이를 지원하는 전자 장치Method for compensating camera shake and electronic device supporting the same
본 개시는 카메라 흔들림을 보정하기 위한 방법 및 이를 지원하는 전자 장치에 관한 것이다.The present disclosure relates to a method for correcting camera shake and an electronic device that supports the same.
카메라 흔들림 보정("손떨림 보정"으로도 지칭됨)을 위한 기술은, 광학식 이미지 안정화(optical image stabilization; OIS), 디지털 이미지 안정화(digital image stabilization; DIS), 및 전자식 이미지 안정화(electrical image stabilization; EIS)를 포함할 수 있다. 광학식 이미지 안정화는, 센서(예: 자이로(gyro) 센서)로부터 획득된 전자 장치(예: 카메라 모듈)의 움직임에 기반하여, 렌즈 또는 이미지 센서를 이동시킴으로써, 이미지를 보정하는 기술일 수 있다. 디지털 이미지 안정화는, 영상의 프레임들 간 차영상(difference image)에 기반하여 전자 장치의 움직임과 관련된 벡터(vector)를 추출하고, 추출된 벡터에 기반하여 이미지를 보정하는 기술일 수 있다. 전자식 이미지 안정화는, 센서(예: 자이로 센서)로부터 획득된 전자 장치의 움직임에 기반하여, 이미지를 보정하는 기술일 수 있다.Technologies for camera shake compensation (also referred to as “image stabilization”) include optical image stabilization (OIS), digital image stabilization (DIS), and electrical image stabilization (EIS). ) may include. Optical image stabilization may be a technology that corrects an image by moving a lens or image sensor based on the movement of an electronic device (e.g., a camera module) obtained from a sensor (e.g., a gyro sensor). Digital image stabilization may be a technology that extracts a vector related to the movement of an electronic device based on a difference image between frames of an image and corrects the image based on the extracted vector. Electronic image stabilization may be a technology that corrects images based on the movement of an electronic device obtained from a sensor (eg, a gyro sensor).
디지털 이미지 안정화 또는 전자식 이미지 안정화는, 디스플레이 모듈을 통하여 출력될 이미지의 크기에 대응하는(예: 동일한) 크기를 가지는 제 1 영역 및 상기 제 1 영역을 둘러싼 추가적인 제 2 영역("마진(margin) 영역"으로도 지칭됨)을 포함하는 이미지(예: 카메라 흔들림을 보정하기 위한 동작의 입력 이미지)를, 카메라 흔들림을 보정하기 위하여 이용할 수 있다.Digital image stabilization or electronic image stabilization includes a first area having a size corresponding to (e.g., the same as) the size of the image to be output through the display module and an additional second area (“margin area”) surrounding the first area. An image containing an image (e.g., an input image of a motion to correct camera shake) can be used to correct camera shake.
전자 장치는, 카메라 흔들림을 보정하기 위하여 이용되는 이미지에 대한 상기 제 2 영역 간 비율(또는 상기 제 1 영역 및 상기 제 2 영역 간 비율)(이하, "마진 비율"로도 지칭함)이 고정된 비율을 갖는 상기 이미지를 이용하여, 카메라 흔들림을 보정할 수 있다.The electronic device maintains a fixed ratio between the second areas (or the ratio between the first area and the second area) (hereinafter also referred to as “margin ratio”) for the image used to correct camera shake. Using the image, camera shake can be corrected.
전자 장치가 마진 비율이 고정된 비율을 갖는 이미지를 이용하여 카메라 흔들림 보정을 수행하는 경우에 있어서, 전자 장치의 움직임의 크기가 일정 크기 이상인 경우 및/또는 카메라 모듈의 줌 배율이 지정된 줌 배율 이상인 경우, 제 2 영역의 크기는 카메라 흔들림 보정을 수행하기 위하여 필요한 크기 보다 작을 수 있다.When an electronic device performs camera shake correction using an image with a fixed margin ratio, the amount of movement of the electronic device is greater than a certain size and/or the zoom factor of the camera module is greater than a specified zoom factor. , the size of the second area may be smaller than the size required to perform camera shake correction.
본 개시의 일 실시예는, 전자 장치의 움직임의 크기 및/또는 카메라 모듈의 줌 배율에 기반하여 결정되고 카메라 모듈의 줌 배율 증가에 따라 증가하는 마진 비율을 가진 이미지를 이용하여 카메라 흔들림을 보정하는, 카메라 흔들림을 보정하기 위한 방법 및 이를 지원하는 전자 장치에 관한 것이다.One embodiment of the present disclosure is to correct camera shake using an image with a margin ratio that is determined based on the size of the movement of the electronic device and/or the zoom magnification of the camera module and increases as the zoom magnification of the camera module increases. , relates to a method for correcting camera shake and an electronic device that supports the same.
본 개시가 이루고자 하는 기술적 과제들은 이상에서 언급한 기술적 과제로 제한되지 않으며, 언급되지 않은 또 다른 기술적 과제들은 아래의 기재로부터 본 문서와 관련된 기술분야에서 통상의 지식을 가진 자에게 명확하게 이해될 수 있을 것이다.The technical problems to be achieved by the present disclosure are not limited to the technical problems mentioned above, and other technical problems not mentioned can be clearly understood by those skilled in the art related to this document from the description below. There will be.
일 실시예에 따른 전자 장치는, 카메라 모듈 및 상기 카메라 모듈과 작동적으로 연결된 적어도 하나의 프로세서를 포함할 수 있다. 상기 적어도 하나의 프로세서는 상기 카메라 모듈의 줌 배율을 확인할 수 있다. 상기 적어도 하나의 프로세서는, 상기 전자 장치의 움직임의 크기를 확인할 수 있다. 상기 적어도 하나의 프로세서는, 상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정할 수 있다. 상기 적어도 하나의 프로세서는, 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득할 수 있다. 상기 적어도 하나의 프로세서는, 상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하도록 구성될 수 있다.An electronic device according to an embodiment may include a camera module and at least one processor operatively connected to the camera module. The at least one processor may check the zoom magnification of the camera module. The at least one processor may check the magnitude of movement of the electronic device. The at least one processor, based on the zoom factor and the magnitude of the movement, to a first image acquired to correct camera shake, a second image obtained by correcting camera shake within the first image The first ratio of the second area excluding the first area having a size corresponding to the size of may be determined. The at least one processor may acquire the first image based on the zoom magnification and the first ratio. The at least one processor may be configured to acquire the second image by correcting the camera shake based on the first image.
일 실시예에서, 전자 장치에서 카메라 흔들림을 보정하기 위한 방법은, 상기 전자 장치의 카메라 모듈의 줌 배율을 확인하는 동작을 포함할 수 있다. 상기 방법은 상기 전자 장치의 움직임의 크기를 확인하는 동작을 포함할 수 있다. 상기 방법은 상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정하는 동작을 포함할 수 있다. 상기 방법은 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득하는 동작을 포함할 수 있다. 상기 방법은 상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하는 동작을 포함할 수 있다.In one embodiment, a method for correcting camera shake in an electronic device may include checking the zoom magnification of a camera module of the electronic device. The method may include checking the magnitude of movement of the electronic device. The method corresponds to the size of the second image obtained by correcting the camera shake within the first image to the first image acquired to correct camera shake, based on the zoom factor and the magnitude of the movement. and determining a first ratio of the second area excluding the first area having a size of . The method may include acquiring the first image based on the zoom magnification and the first ratio. The method may include acquiring the second image by correcting the camera shake based on the first image.
일 실시예에서, 컴퓨터 실행 가능 명령어들을 기록한 비-일시적인 컴퓨터 판독 가능 매체에 있어서, 상기 컴퓨터 실행 가능 명령어들은, 실행 시, 적어도 하나의 프로세서를 포함하는 전자 장치가, 상기 전자 장치의 카메라 모듈의 줌 배율을 확인하도록 할 수 있다. 상기 컴퓨터 실행 가능 명령어들은, 실행 시, 적어도 하나의 프로세서를 포함하는 전자 장치가 상기 전자 장치의 움직임의 크기를 확인하도록 할 수 있다. 상기 컴퓨터 실행 가능 명령어들은, 실행 시, 적어도 하나의 프로세서를 포함하는 전자 장치가 상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정하도록 할 수 있다. 상기 컴퓨터 실행 가능 명령어들은, 실행 시, 적어도 하나의 프로세서를 포함하는 전자 장치가 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득하도록 할 수 있다. 상기 컴퓨터 실행 가능 명령어들은, 실행 시, 적어도 하나의 프로세서를 포함하는 전자 장치가 상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하도록 할 수 있다.In one embodiment, a non-transitory computer-readable medium having computer-executable instructions recorded thereon, wherein the computer-executable instructions, when executed, cause an electronic device including at least one processor to control the zoom of a camera module of the electronic device. You can check the magnification. When executed, the computer-executable instructions may cause an electronic device including at least one processor to determine the magnitude of movement of the electronic device. The computer-executable instructions, when executed, cause an electronic device including at least one processor to: The first ratio of the second area excluding the first area having a size corresponding to the size of the second image obtained by correcting the camera shake within the image can be determined. When executed, the computer-executable instructions may cause an electronic device including at least one processor to acquire the first image based on the zoom magnification and the first ratio. When executed, the computer-executable instructions may cause an electronic device including at least one processor to acquire the second image by correcting the camera shake based on the first image.
일 실시예에 따른 카메라 흔들림을 보정하기 위한 방법 및 이를 지원하는 전자 장치는, 전자 장치의 움직임의 크기 및/또는 카메라 모듈의 줌 배율에 기반하여 결정되고 카메라 모듈의 줌 배율 증가에 따라 증가하는 마진 비율을 이용함으로써, 강화된 카메라 흔들림 보정을 수행할 수 있다.A method for correcting camera shake and an electronic device supporting the same according to an embodiment include a margin that is determined based on the size of the movement of the electronic device and/or the zoom magnification of the camera module and increases as the zoom magnification of the camera module increases. By using ratios, enhanced camera shake compensation can be performed.
도 1은, 일 실시예에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.1 is a block diagram of an electronic device in a network environment, according to one embodiment.
도 2는, 일 실시예에 따른, 카메라 모듈을 예시하는 블록도이다.2 is a block diagram illustrating a camera module, according to one embodiment.
도 3은, 일 실시예에 따른, 전자 장치의 블록도이다.Figure 3 is a block diagram of an electronic device, according to one embodiment.
도 4는, 일 실시예에 따른, 카메라 흔들림을 보정하기 위한 방법을 설명하는 흐름도이다.Figure 4 is a flowchart explaining a method for correcting camera shake, according to one embodiment.
도 5는, 일 실시예에 따른, 제 1 비율을 설명하기 위한 예시도이다.Figure 5 is an exemplary diagram for explaining a first ratio according to an embodiment.
도 6은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 흐름도이다.Figure 6 is a flow chart illustrating a method for determining a first ratio, according to one embodiment.
도 7은, 일 실시예에 따른, 전자 장치의 움직임의 크기가 임계 이하인 경우 제 1 비율을 결정하는 방법을 설명하는 예시도이다.FIG. 7 is an example diagram illustrating a method of determining a first ratio when the magnitude of movement of an electronic device is less than a threshold, according to an embodiment.
도 8은, 일 실시예에 따른, 전자 장치의 움직임의 크기가 임계를 초과하는 경우 제 1 비율을 결정하는 방법을 설명하는 예시도이다.FIG. 8 is an example diagram illustrating a method of determining a first ratio when the magnitude of movement of an electronic device exceeds a threshold, according to an embodiment.
도 9는, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 흐름도이다.9 is a flowchart illustrating a method for determining a first ratio, according to one embodiment.
도 10은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 예시도이다.FIG. 10 is an exemplary diagram illustrating a method of determining a first ratio according to an embodiment.
도 11은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 예시도이다.FIG. 11 is an exemplary diagram illustrating a method of determining a first ratio according to an embodiment.
도 12는, 일 실시예에 따른, 제 1 이미지 기반 줌 배율에 기반하여 선택된 카메라를 통하여 제 1 이미지를 획득하는 방법을 설명하는 흐름도이다.FIG. 12 is a flowchart illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
도 13은, 일 실시예에 따른, 제 1 이미지 기반 줌 배율에 기반하여 선택된 카메라를 통하여 제 1 이미지를 획득하는 방법을 설명하는 예시도이다.FIG. 13 is an example diagram illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
도 14는, 일 실시예에 따른, 카메라 모듈의 3배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 카메라 모듈의 줌 배율 증가에 의해 결정되는 제 1 비율을 나타내는 그래프의 예시도이다.Figure 14 is an example of a graph showing the first ratio determined by increasing the zoom magnification of the camera module when the first ratio is determined using the first ratio corresponding to 3 times the camera module, according to one embodiment. It's a degree.
도 15는, 일 실시예에 따른, 카메라 모듈의 2배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 카메라 모듈의 줌 배율 증가에 의해 결정되는 제 1 비율을 나타내는 그래프의 예시도이다.Figure 15 is an example of a graph showing the first ratio determined by increasing the zoom magnification of the camera module when the first ratio is determined using the first ratio corresponding to twice the camera module, according to one embodiment. It's a degree.
도 16은, 일 실시예에 따른, 카메라 모듈의 줌 배율 변경에 따른, 제 1 이미지 기반 줌 배율의 변경을 설명하는 예시도이다.FIG. 16 is an example diagram illustrating a change in the first image-based zoom ratio according to a change in the zoom ratio of the camera module, according to an embodiment.
도 1은, 일 실시예에 따른, 네트워크 환경(100) 내의 전자 장치(101)의 블록도이다.1 is a block diagram of an electronic device 101 in a network environment 100, according to one embodiment.
도 1을 참조하면, 네트워크 환경(100)에서 전자 장치(101)는 제 1 네트워크(198)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(102)와 통신하거나, 또는 제 2 네트워크(199)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(104) 또는 서버(108) 중 적어도 하나와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 서버(108)를 통하여 전자 장치(104)와 통신할 수 있다. 일 실시예에 따르면, 전자 장치(101)는 프로세서(120), 메모리(130), 입력 모듈(150), 음향 출력 모듈(155), 디스플레이 모듈(160), 오디오 모듈(170), 센서 모듈(176), 인터페이스(177), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.
프로세서(120)는, 예를 들면, 소프트웨어(예: 프로그램(140))를 실행하여 프로세서(120)에 연결된 전자 장치(101)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 실시예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(120)는 다른 구성요소(예: 센서 모듈(176) 또는 통신 모듈(190))로부터 수신된 명령 또는 데이터를 휘발성 메모리(132)에 저장하고, 휘발성 메모리(132)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(134)에 저장할 수 있다. 일 실시예에 따르면, 프로세서(120)는 메인 프로세서(121)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(123)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(101)가 메인 프로세서(121) 및 보조 프로세서(123)를 포함하는 경우, 보조 프로세서(123)는 메인 프로세서(121)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(123)는 메인 프로세서(121)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 120, for example, executes software (e.g., program 140) to operate at least one other component (e.g., hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and various data processing or operations can be performed. According to one embodiment, as at least part of data processing or computation, the processor 120 stores commands or data received from another component (e.g., sensor module 176 or communication module 190) in volatile memory 132. The commands or data stored in the volatile memory 132 can be processed, and the resulting data can be stored in the non-volatile memory 134. According to one embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit or an application processor) or an auxiliary processor 123 (e.g., a graphics processing unit, a neural network processing unit) that can operate independently or together with the main processor 121. It may include a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor). For example, if the electronic device 101 includes a main processor 121 and a auxiliary processor 123, the auxiliary processor 123 may be set to use lower power than the main processor 121 or be specialized for a designated function. You can. 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))의 일부로서 구현될 수 있다. 일 실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing device) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서 모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다.The memory 130 may store various data used by at least one component (eg, the processor 120 or the sensor module 176) of the electronic device 101. Data may include, for example, input data or output data for software (e.g., program 140) and instructions related thereto. Memory 130 may include volatile memory 132 or 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 application 146.
입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).
음향 출력 모듈(155)은 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 모듈(155)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 155 may output sound signals to the outside of the electronic device 101. The sound output module 155 may include, for example, a speaker or a receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one embodiment, the receiver may be implemented separately from the speaker or as part of it.
디스플레이 모듈(160)은 전자 장치(101)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(160)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 실시예에 따르면, 디스플레이 모듈(160)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다.The display module 160 can visually provide information to the outside of the electronic device 101 (eg, a user). The display module 160 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one embodiment, the display module 160 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 실시예에 따르면, 오디오 모듈(170)은, 입력 모듈(150)을 통해 소리를 획득하거나, 음향 출력 모듈(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one embodiment, the audio module 170 acquires sound through the input module 150, the sound output module 155, or an external electronic device (e.g., directly or wirelessly connected to the electronic device 101). Sound may be output through the electronic device 102 (e.g., speaker or headphone).
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다.The sensor module 176 detects the operating state (e.g., power or temperature) of the electronic device 101 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one embodiment, the sensor module 176 includes, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, It may include a temperature sensor, humidity sensor, or light 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 can be used to connect the electronic device 101 directly or wirelessly with an external electronic device (eg, the electronic device 102). According to one embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 178 may include a connector through which the electronic device 101 can be physically connected to an external electronic device (eg, the electronic device 102). According to one embodiment, the connection terminal 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.
카메라 모듈(180)은 정지 영상 및 동영상을 촬영할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 180 can capture still images and moving images. According to one embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일 실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 189 may supply power to at least one component of the electronic device 101. According to 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(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 또는 인증할 수 있다. Communication module 190 is configured to provide a direct (e.g., wired) communication channel or wireless communication channel between electronic device 101 and an external electronic device (e.g., electronic device 102, electronic device 104, or server 108). It can support establishment and communication through established communication channels. Communication module 190 operates independently of processor 120 (e.g., an 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 be 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., : LAN (local area network) communication module, or power line communication module) may be included. Among these communication modules, the corresponding communication module is a first network 198 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 199 (e.g., legacy It may communicate with an external electronic device 104 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 192 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 196 within a communication network such as the first network 198 or the second network 199. The electronic device 101 can be confirmed or authenticated.
무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.
일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일 실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one embodiment, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.
일 실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed 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 needs 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 perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.
본 문서에 개시된 일 실시예에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.An electronic device according to an embodiment disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.
본 문서의 일 실시예 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.An embodiment of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or substitutes for the embodiment. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.
본 문서의 일 실시예에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일 실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다.The term “module” used in one embodiment of this document may include a unit implemented in hardware, software, or firmware, and may be interchangeable with terms such as logic, logic block, component, or circuit, for example. can be used A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).
본 문서의 일 실시예는 기기(machine)(예: 전자 장치(101)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(136) 또는 외장 메모리(138))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(140))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(101))의 프로세서(예: 프로세서(120))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.One embodiment of the present document is one or more instructions stored in a storage medium (e.g., built-in memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). It may be implemented as software (e.g., program 140) including these. For example, a processor (e.g., processor 120) of a device (e.g., electronic device 101) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves), and this term refers to cases where data is semi-permanently stored in the storage medium. There is no distinction between temporary storage cases.
일 실시예에 따르면, 본 문서에 개시된 일 실시예에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어TM)를 통해 또는 두 개의 사용자 장치들(예: 스마트 폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to one embodiment, a method according to an embodiment disclosed in this document may be provided and included in a computer program product. Computer program products are commodities and can be traded between sellers and buyers. The computer program product may be distributed in the form of a machine-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store TM ) or on two user devices (e.g. It can be distributed (e.g. downloaded or uploaded) directly between smart phones) or online. In the case of online distribution, at least a portion of the computer program product may be at least temporarily stored or temporarily created in a machine-readable storage medium, such as the memory of a manufacturer's server, an application store's server, or a relay server.
일 실시예에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 일 실시예에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 일 실시예에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to one embodiment, each component (e.g., module or program) of the above-described components may include a single or multiple entities, and some of the multiple entities may be separately placed in other components. . According to one embodiment, one or more of the above-described corresponding components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar manner as those performed by the corresponding component of the plurality of components prior to the integration. . According to one embodiment, 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 , or one or more other operations may be added.
도 2는, 일 실시예에 따른, 카메라 모듈(180)을 예시하는 블럭도(200)이다.Figure 2 is a block diagram 200 illustrating a camera module 180, according to one embodiment.
도 2를 참조하면, 카메라 모듈(180)은 렌즈 어셈블리(210), 플래쉬(220), 이미지 센서(230), 이미지 스태빌라이저(240), 메모리(250)(예: 버퍼 메모리), 또는 이미지 시그널 프로세서(260)를 포함할 수 있다. 렌즈 어셈블리(210)는 이미지 촬영의 대상인 피사체로부터 방출되는 빛을 수집할 수 있다. 렌즈 어셈블리(210)는 하나 또는 그 이상의 렌즈들을 포함할 수 있다. 일 실시예에 따르면, 카메라 모듈(180)은 복수의 렌즈 어셈블리(210)들을 포함할 수 있다. 이런 경우, 카메라 모듈(180)은, 예를 들면, 듀얼 카메라, 360도 카메라, 또는 구형 카메라(spherical camera)를 형성할 수 있다. 복수의 렌즈 어셈블리(210)들 중 일부는 동일한 렌즈 속성(예: 화각, 초점 거리, 자동 초점, f 넘버(f number), 또는 광학 줌)을 갖거나, 또는 적어도 하나의 렌즈 어셈블리는 다른 렌즈 어셈블리의 렌즈 속성들과 다른 하나 이상의 렌즈 속성들을 가질 수 있다. 렌즈 어셈블리(210)는, 예를 들면, 광각 렌즈 또는 망원 렌즈를 포함할 수 있다.Referring to FIG. 2, the camera module 180 includes a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (e.g., buffer memory), or an image signal processor. It may include (260). The lens assembly 210 may collect light emitted from a subject that is the target of image capture. 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 have the same lens properties (e.g., angle of view, focal length, autofocus, f number, or optical zoom), or at least one lens assembly is different from another lens assembly. It may have one or more lens properties that are different from the lens properties of . The lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
플래쉬(220)는 피사체로부터 방출 또는 반사되는 빛을 강화하기 위하여 사용되는 빛을 방출할 수 있다. 일 실시예에 따르면, 플래쉬(220)는 하나 이상의 발광 다이오드들(예: RGB(red-green-blue) LED, white LED, infrared LED, 또는 ultraviolet LED), 또는 xenon lamp를 포함할 수 있다. 이미지 센서(230)는 피사체로부터 방출 또는 반사되어 렌즈 어셈블리(210) 를 통해 전달된 빛을 전기적인 신호로 변환함으로써, 상기 피사체에 대응하는 이미지를 획득할 수 있다. 일 실시예에 따르면, 이미지 센서(230)는, 예를 들면, RGB 센서, BW(black and white) 센서, IR 센서, 또는 UV 센서와 같이 속성이 다른 이미지 센서들 중 선택된 하나의 이미지 센서, 동일한 속성을 갖는 복수의 이미지 센서들, 또는 다른 속성을 갖는 복수의 이미지 센서들을 포함할 수 있다. 이미지 센서(230)에 포함된 각각의 이미지 센서는, 예를 들면, CCD(charged coupled device) 센서 또는 CMOS(complementary metal oxide semiconductor) 센서를 이용하여 구현될 수 있다.The flash 220 may emit light used to enhance light emitted or reflected from a subject. According to one embodiment, the flash 220 may include one or more light emitting diodes (eg, red-green-blue (RGB) LED, white LED, infrared LED, or ultraviolet LED), or a xenon lamp. The image sensor 230 may 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 is one image sensor selected from among image sensors with different properties, such as an RGB sensor, a BW (black and white) sensor, an IR sensor, or a UV sensor, and the same It may include a plurality of image sensors having different properties, or a plurality of image sensors having different properties. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
이미지 스태빌라이저(240)는 카메라 모듈(180) 또는 이를 포함하는 전자 장치(101)의 움직임에 반응하여, 렌즈 어셈블리(210)에 포함된 적어도 하나의 렌즈 또는 이미지 센서(230)를 특정한 방향으로 움직이거나 이미지 센서(230)의 동작 특성을 제어(예: 리드 아웃(read-out) 타이밍을 조정 등)할 수 있다. 이는 촬영되는 이미지에 대한 상기 움직임에 의한 부정적인 영향의 적어도 일부를 보상하게 해 준다.The image stabilizer 240 moves at least one lens or image sensor 230 included in the lens assembly 210 in a specific direction in response to the movement of the camera module 180 or the electronic device 101 including the same. The operating characteristics of the image sensor 230 can be controlled (e.g., adjusting read-out timing, etc.). This allows to compensate for at least some of the negative effects of said movement on the image being captured.
일 실시예에 따르면, 이미지 스태빌라이저(240)는, 이미지 스태빌라이저(240)은 카메라 모듈(180)의 내부 또는 외부에 배치된 자이로 센서(미도시) 또는 가속도 센서(미도시)를 이용하여 카메라 모듈(180) 또는 전자 장치(101)의 그런 움직임을 감지할 수 있다. 일 실시예에 따르면, 이미지 스태빌라이저(240)는, 예를 들면, 광학식 이미지 스태빌라이저로 구현될 수 있다. 메모리(250)는 이미지 센서(230)을 통하여 획득된 이미지의 적어도 일부를 다음 이미지 처리 작업을 위하여 적어도 일시 저장할 수 있다. 예를 들어, 셔터에 따른 이미지 획득이 지연되거나, 또는 복수의 이미지들이 고속으로 획득되는 경우, 획득된 원본 이미지(예: Bayer-patterned 이미지 또는 높은 해상도의 이미지)는 메모리(250)에 저장이 되고, 그에 대응하는 사본 이미지(예: 낮은 해상도의 이미지)는 디스플레이 모듈(160)을 통하여 프리뷰될 수 있다. 이후, 지정된 조건이 만족되면(예: 사용자 입력 또는 시스템 명령) 메모리(250)에 저장되었던 원본 이미지의 적어도 일부가, 예를 들면, 이미지 시그널 프로세서(260)에 의해 획득되어 처리될 수 있다. 일 실시예에 따르면, 메모리(250)는 메모리(130)의 적어도 일부로, 또는 이와는 독립적으로 운영되는 별도의 메모리로 구성될 수 있다.According to one embodiment, the image stabilizer 240 uses a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. 180) or such movement of the electronic device 101 may be detected. According to one embodiment, the image stabilizer 240 may be implemented as, for example, an optical image stabilizer. The memory 250 may at least 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., Bayer-patterned image or high-resolution image) is stored in the memory 250. , the corresponding copy image (e.g., low resolution image) may be previewed through the display module 160. Thereafter, when a specified condition is satisfied (eg, user input or system command), at least a portion of the original image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to one embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that operates independently.
이미지 시그널 프로세서(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 may perform one or more image processes on an image acquired through the image sensor 230 or an image stored in the memory 250. The one or more image processes may include, for example, depth map creation, three-dimensional modeling, panorama creation, feature point extraction, image compositing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring). may include blurring, sharpening, or softening. Additionally or alternatively, the image signal processor 260 may include at least one of the components included in the camera module 180 (e.g., an image sensor). (230)) may perform control (e.g., exposure time control, read-out timing control, etc.). The image processed by the image signal processor 260 is stored back in the memory 250 for further processing. or may be provided as an external component of the camera module 180 (e.g., memory 130, display module 160, electronic device 102, electronic device 104, or server 108). According to an example, 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. The image signal processor 260 may be configured as the processor 120. When configured as a separate processor, at least one image processed by the image signal processor 260 may be displayed through the display module 160 as is or after additional image processing by the processor 120.
일 실시예에 따르면, 전자 장치(101)는 각각 다른 속성 또는 기능을 가진 복수의 카메라 모듈(180)들을 포함할 수 있다. 이런 경우, 예를 들면, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 광각 카메라이고, 적어도 다른 하나는 망원 카메라일 수 있다. 유사하게, 상기 복수의 카메라 모듈(180)들 중 적어도 하나는 전면 카메라이고, 적어도 다른 하나는 후면 카메라일 수 있다.According to one embodiment, the electronic device 101 may include a plurality of camera modules 180, each having different properties or functions. In this case, for example, at least one of the plurality of camera modules 180 may be a wide-angle camera, and at least another one 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 one may be a rear camera.
도 3은, 일 실시예에 따른, 전자 장치(301)의 블록도이다.Figure 3 is a block diagram of an electronic device 301, according to one embodiment.
도 3을 참조하면, 일 실시예에서, 전자 장치(301)는, 카메라 모듈(310), 센서(320), 디스플레이 모듈(330), 메모리(340), 및 프로세서(350)를 포함할 수 있다.Referring to FIG. 3 , in one embodiment, the electronic device 301 may include a camera module 310, a sensor 320, a display module 330, a memory 340, and a processor 350. .
일 실시예에서, 카메라 모듈(310)은 도 1 및 도 2의 카메라 모듈(180)에 포함될 수 있다.In one embodiment, the camera module 310 may be included in the camera module 180 of FIGS. 1 and 2.
일 실시예에서, 카메라 모듈(310)은 복수의 카메라들을 포함할 수 있다. 예를 들어, 카메라 모듈(310)은, 고정된 화각을 가진 제 1 카메라(이하, "제 1 카메라"로 지칭함) 및/또는 카메라 모듈의 줌 배율에 따라 렌즈(예: 렌즈 어셈블리(210))를 이동시킴으로써 변경 가능한 화각을 가지는 제 2 카메라(이하, "제 2 카메라"로 지칭함)(예: 광학 줌(optical zoom)을 지원하는 제 2 카메라)를 포함할 수 있다.In one embodiment, the camera module 310 may include a plurality of cameras. For example, the camera module 310 may include a first camera (hereinafter referred to as “first camera”) with a fixed angle of view and/or a lens (e.g., lens assembly 210) according to the zoom magnification of the camera module. It may include a second camera (hereinafter referred to as “second camera”) having a view angle that can be changed by moving (e.g., a second camera supporting optical zoom).
일 실시예에서, 카메라 모듈(310)은, 적어도 하나의 제 1 카메라 및/또는 적어도 하나의 제 2 카메라를 포함할 수 있다.In one embodiment, the camera module 310 may include at least one first camera and/or at least one second camera.
일 실시예에서, 센서(320)는 도 1의 센서 모듈(176)에 포함될 수 있다.In one embodiment, sensor 320 may be included in sensor module 176 of FIG. 1 .
일 실시예에서, 센서(320)는, 전자 장치(301)는 전자 장치(301)(예: 카메라 모듈(310))의 움직임(예: 손떨림)의 크기를 획득하기 위한 센서를 포함할 수 있다. 예를 들어, 센서(320)는, 전자 장치(301)의 움직임의 크기를 획득하기 위한, 자이로(gyro) 센서(예: 자이로스코프(gyroscope)) 및/또는 가속도 센서를 포함할 수 있다.In one embodiment, the sensor 320 may include a sensor for acquiring the magnitude of movement (e.g., hand tremor) of the electronic device 301 (e.g., camera module 310). . For example, the sensor 320 may include a gyro sensor (eg, gyroscope) and/or an acceleration sensor to obtain the magnitude of movement of the electronic device 301.
일 실시예에서, 디스플레이 모듈(330)은 도 1의 디스플레이 모듈(160)에 포함될 수 있다.In one embodiment, display module 330 may be included in display module 160 of FIG. 1 .
일 실시예에서, 디스플레이 모듈(330)은, 카메라 모듈(310)에 의해 획득된 이미지를 표시할 수 있다. 예를 들어, 디스플레이 모듈(330)은, 카메라 모듈(310)에 의해 획득된 동적 이미지(예: 프리뷰(preview) 이미지, 동영상 이미지) 및/또는 정지 이미지를 표시할 수 있다.In one embodiment, the display module 330 may display an image acquired by the camera module 310. For example, the display module 330 may display dynamic images (eg, preview images, moving images) and/or still images acquired by the camera module 310.
일 실시예에서, 메모리(340)는 도 1의 메모리(130)에 포함될 수 있다.In one embodiment, memory 340 may be included in memory 130 of FIG. 1 .
일 실시예에서, 메모리(340)는 카메라 흔들림을 보정하기 위한 동작을 수행하기 위한 정보를 저장할 수 있다. 메모리(340)가 저장하는 정보에 대해서는 후술하도록 한다.In one embodiment, the memory 340 may store information for performing an operation to correct camera shake. Information stored by the memory 340 will be described later.
일 실시예에서, 프로세서(350)는 도 1의 프로세서(120)에 포함될 수 있다.In one embodiment, processor 350 may be included in processor 120 of FIG. 1 .
일 실시예에서, 프로세서(350)는, 카메라 흔들림을 보정하기 위한 전반적인 동작을 제어할 수 있다. 일 실시예에서, 프로세서(350)는 카메라 흔들림을 보정하기 위한 하나 이상의 프로세서들을 포함할 수 있다. 프로세서(350)가 카메라 흔들림을 보정하기 위하여 수행하는 동작에 대하여 도 4 내지 도 16을 참조하여 후술하도록 한다.In one embodiment, the processor 350 may control overall operations to correct camera shake. In one embodiment, processor 350 may include one or more processors for correcting camera shake. Operations performed by the processor 350 to correct camera shake will be described later with reference to FIGS. 4 to 16.
도 3에서 전자 장치(301)가 카메라 모듈(310), 센서(320), 디스플레이 모듈(330), 메모리(340), 및/또는 프로세서(350)를 포함하는 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 전자 장치(301)는, 도 1에 도시된 적어도 하나의 구성을 더 포함할 수 있다. 예를 들어, 전자 장치(301)는 센서(320)를 포함하지 않을 수 있다. In FIG. 3, the electronic device 301 is illustrated as including a camera module 310, a sensor 320, a display module 330, a memory 340, and/or a processor 350, but is not limited thereto. . For example, the electronic device 301 may further include at least one configuration shown in FIG. 1 . For example, the electronic device 301 may not include the sensor 320.
일 실시예에 따른 전자 장치(101)는, 카메라 모듈(310) 및 상기 카메라 모듈(310)과 작동적으로 연결된 적어도 하나의 프로세서(350)를 포함할 수 있다. 상기 적어도 하나의 프로세서(350)는 상기 카메라 모듈(310)의 줌 배율을 확인할 수 있다. 상기 적어도 하나의 프로세서(350)는, 상기 전자 장치(101)의 움직임의 크기를 확인할 수 있다. 상기 적어도 하나의 프로세서(350)는, 상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정할 수 있다. 상기 적어도 하나의 프로세서(350)는, 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득할 수 있다. 상기 적어도 하나의 프로세서(350)는, 상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득할 수 있다.The electronic device 101 according to one embodiment may include a camera module 310 and at least one processor 350 operatively connected to the camera module 310. The at least one processor 350 may check the zoom magnification of the camera module 310. The at least one processor 350 may check the magnitude of movement of the electronic device 101. The at least one processor 350, based on the zoom magnification and the magnitude of the movement, for a first image acquired to correct camera shake, obtained by correcting camera shake within the first image The first ratio of the second area excluding the first area having a size corresponding to the size of the second image may be determined. The at least one processor 350 may acquire the first image based on the zoom magnification and the first ratio. The at least one processor 350 may acquire the second image by correcting the camera shake based on the first image.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는 상기 움직임의 크기가 임계 이하인 경우, 고정된 비율을 상기 제 1 비율로 결정할 수 있다. 상기 적어도 하나의 프로세서(350)는 상기 움직임의 크기가 상기 임계를 초과하는 경우, 상기 카메라 모듈의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정할 수 있다.In one embodiment, the at least one processor 350 may determine a fixed rate as the first rate when the magnitude of the movement is less than a threshold. When the magnitude of the movement exceeds the threshold, the at least one processor 350 may determine the first ratio so that the first ratio increases by increasing the zoom magnification of the camera module.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 움직임의 크기가 상기 임계를 초과하는 경우: 상기 카메라 모듈(310)의 상기 줌 배율이 지정된 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하도록 구성될 수 있다.In one embodiment, the at least one processor 350 is configured to: If the magnitude of the movement exceeds the threshold: If the zoom magnification of the camera module 310 is less than or equal to a specified zoom magnification, the fixed ratio is adjusted to the Determine a first ratio, and if the zoom magnification of the camera module 310 exceeds the specified zoom magnification, the first ratio increases by increasing the zoom magnification of the camera module 310, It may be configured to determine a first ratio.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 지정됨 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하도록 구성될 수 있다.In one embodiment, the at least one processor 350, when the zoom factor of the camera module 310 exceeds the specified zoom factor, sets the zoom factor of the camera module 310 equal to the specified zoom factor. The first ratio may be determined using a field of view area corresponding to the second area determined.
일 실시예에서, 상기 임계는 제 1 임계 및 상기 제 1 임계 보다 큰 제 2 임계를 포함하고, 상기 지정된 줌 배율은 지정된 제 1 줌 배율 및 지정된 제 2 줌 배율을 포함하고, 상기 적어도 하나의 프로세서(350)는, 상기 움직임의 크기가 상기 제 1 임계 이하인 경우, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 상기 움직임의 크기가 상기 제 1 임계를 초과하고 상기 제 2 임계 이하인 경우: 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율을 초과하면, 상기 지정됨 제 1 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하고, 및 상기 움직임의 크기가 상기 제 2 임계를 초과하는 경우: 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율을 초과하면, 상기 지정됨 제 2 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하도록 구성될 수 있다.In one embodiment, the threshold includes a first threshold and a second threshold that is greater than the first threshold, the specified zoom factor includes a specified first zoom factor and a specified second zoom factor, and the at least one processor (350) If the magnitude of the movement is less than or equal to the first threshold, determines the fixed rate as the first rate, and if the magnitude of the motion exceeds the first threshold and is less than or equal to the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the designated first zoom magnification, the fixed ratio is determined as the first ratio, and the zoom magnification of the camera module 310 is the designated first zoom magnification. If exceeds, the first ratio is determined using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified first zoom magnification, and the motion of When the size exceeds the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, the fixed ratio is determined as the first ratio, and the camera module 310 ), if the zoom magnification exceeds the specified second zoom magnification, using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified second zoom magnification, It may be configured to determine the first ratio.
일 실시예에서, 상기 카메라 모듈(310)은, 고정된 화각을 가지는 제 1 카메라 및 광학 줌을 지원하는 제 2 카메라를 포함하고, 상기 적어도 하나의 프로세서(350)는, 상기 카메라 모듈(310)의 상기 줌 배율에 대응하고 상기 제 1 이미지를 기반으로 하는 제 1 이미지 기반 줌 배율에 기반하여 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 이미지를 획득하기 위한 카메라를 선택하도록 구성될 수 있다.In one embodiment, the camera module 310 includes a first camera having a fixed angle of view and a second camera supporting optical zoom, and the at least one processor 350 operates on the camera module 310 It may be configured to select a camera for acquiring the first image from among the first camera and the second camera based on a first image-based zoom factor that corresponds to the zoom factor and is based on the first image. .
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 미만인지 여부를 확인하고, 상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만임을 확인한 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하고, 및 상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만 이상인 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 2 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하도록 구성될 수 있다.In one embodiment, the at least one processor 350 determines whether the first image-based zoom factor is less than the specified first image-based zoom factor, and determines whether the first image-based zoom factor is less than the specified first image-based zoom factor. When it is confirmed that it is less than the base zoom magnification, the first camera is selected among the first camera and the second camera as a camera for acquiring the first image, and the first image-based zoom magnification is selected for the specified first image. If the zoom magnification is less than or equal to the base zoom magnification, the second camera may be selected among the first camera and the second camera as a camera for acquiring the first image.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 제 1 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 제 1 카메라를 통하여 이미지를 획득하고, 및 상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 획득된 이미지를 크롭(crop)함으로써, 상기 제 1 이미지를 획득하도록 구성될 수 있다.In one embodiment, the at least one processor 350 acquires an image through the first camera when the first camera is selected as a camera for acquiring the first image, and the camera module 310 ) may be configured to acquire the first image by cropping the acquired image based on the zoom magnification and the first ratio.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 제 2 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 2 카메라의 설정을 조정한 후, 상기 제 2 카메라를 통하여 상기 제 1 이미지를 획득하도록 구성될 수 있다.In one embodiment, the at least one processor 350, when the second camera is selected as the camera for acquiring the first image, based on the zoom magnification and the first ratio of the camera module 310 After adjusting the settings of the second camera, the first image may be acquired through the second camera.
일 실시예에서, 상기 적어도 하나의 프로세서(350)는, 상기 제 1 이미지에 기반하여, 광학식 이미지 안정화 또는 전자식 이미지 안정화를 이용하여, 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하도록 구성될 수 있다.In one embodiment, the at least one processor 350 may be configured to acquire the second image by correcting the camera shake using optical image stabilization or electronic image stabilization based on the first image. You can.
도 4는, 일 실시예에 따른, 카메라 흔들림을 보정하기 위한 방법을 설명하는 흐름도(400)이다.FIG. 4 is a flowchart 400 illustrating a method for correcting camera shake, according to one embodiment.
도 4를 참조하면, 동작 401에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율을 확인할 수 있다.Referring to FIG. 4 , in operation 401, in one embodiment, the processor 350 may check the zoom factor of the camera module.
일 실시예에서, 프로세서(350)는, 사용자 입력에 기반하여, 카메라 모듈의 줌 배율을 설정할 수 있다. 예를 들어, 프로세서(350)는, 카메라 어플리케이션이 실행되는 동안, 디스플레이 모듈(330)을 통하여, 카메라 모듈의 줌 배율을 설정(예: 조정)하기 위한 오브젝트(object)를 포함하는 화면을 표시할 수 있다. 프로세서(350)는, 상기 오브젝트에 대한 사용자 입력에 기반하여, 카메라 모듈의 줌 배율을 디폴트(default) 줌 배율(예: 1배(1x))로 유지하거나, 카메라 모듈의 줌 배율을 증가(예: 카메라 모듈의 줌 배율을 2배(2x)로 변경) 또는 감소(예: 카메라 모듈의 줌 배율을 0.5배(0.5x)로 변경)시킬 수 있다.In one embodiment, the processor 350 may set the zoom factor of the camera module based on user input. For example, while the camera application is running, the processor 350 displays a screen containing an object for setting (e.g., adjusting) the zoom ratio of the camera module through the display module 330. You can. The processor 350 maintains the zoom magnification of the camera module at the default zoom magnification (e.g., 1x), or increases the zoom magnification of the camera module (e.g., 1x) based on the user input for the object. : You can change the zoom factor of the camera module to 2x (2x)) or decrease it (e.g. change the zoom factor of the camera module to 0.5x (0.5x)).
일 실시예에서, 프로세서(350)는, 사용자 입력에 기반하여 설정된 카메라 모듈의 줌 배율을 확인할 수 있다.In one embodiment, the processor 350 may check the zoom magnification of the camera module set based on user input.
일 실시예에서, 카메라 모듈의 줌 배율은, 디스플레이 모듈(330)을 통하여 표시되는 이미지(또는 카메라 흔들림 보정의 결과 이미지)를 기준으로 하는 줌 배율일 수 있다. 예를 들어, 카메라 모듈의 줌 배율은, 디스플레이 모듈(330)을 통하여 표시되는 이미지에 대응하는 화각 영역(또는 디스플레이 모듈(330)을 통하여 표시되는 이미지가 나타내는 장면(scene))에 대응할 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 2배로 설정된 경우 디스플레이 모듈(330)을 통하여 표시되는 이미지에 대응하는 화각 영역은, 카메라 모듈의 줌 배율이 1배로 설정된 경우 디스플레이 모듈(330)을 통하여 표시되는 이미지가 나타내는 화각 영역의 1/4일 수 있다.In one embodiment, the zoom factor of the camera module may be a zoom factor based on an image displayed through the display module 330 (or an image resulting from camera shake correction). For example, the zoom magnification of the camera module may correspond to the angle of view area corresponding to the image displayed through the display module 330 (or the scene represented by the image displayed through the display module 330). For example, when the zoom factor of the camera module is set to 2x, the angle of view area corresponding to the image displayed through the display module 330 is the area of view corresponding to the image displayed through the display module 330 when the zoom factor of the camera module is set to 1x. It may be 1/4 of the field of view area represented by the image.
일 실시예에서, 프로세서(350)는, 카메라 모듈(310)을 통하여 이미지를 획득하는 동안(예: 프리뷰(preview) 이미지를 표시하는 동안), 카메라 모듈의 줌 배율을 확인할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 어플리케이션이 실행됨에 응답하여, 카메라 모듈의 줌 배율을 확인할 수 있다.In one embodiment, the processor 350 may check the zoom factor of the camera module while acquiring an image through the camera module 310 (eg, while displaying a preview image). In one embodiment, the processor 350 may check the zoom factor of the camera module in response to the camera application being executed.
동작 403에서, 일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기를 확인할 수 있다.In operation 403, in one embodiment, the processor 350 may check the magnitude of the movement of the electronic device 301.
일 실시예에서, 프로세서(350)는, 센서(320)(예: 자이로 센서)를 통하여 획득된 정보에 기반하여, 전자 장치(301)(예: 카메라 모듈(310))의 움직임의 크기를 확인할 수 있다. 일 실시예에서, 프로세서(350)는, 센서(320)를 통하여 획득된 정보에 기반하여, 전자 장치(301)의 움직임의 방향 및/또는 움직임의 크기를 확인할 수 있다.In one embodiment, the processor 350 determines the magnitude of movement of the electronic device 301 (e.g., camera module 310) based on information obtained through the sensor 320 (e.g., gyro sensor). You can. In one embodiment, the processor 350 may check the direction and/or size of movement of the electronic device 301 based on information acquired through the sensor 320.
일 실시예에서, 프로세서(350)는, 카메라 모듈(310)을 통하여 연속적으로 획득되는 복수의 이미지들에 기반하여, 전자 장치(301)의 움직임의 크기를 확인할 수 있다. 예를 들어, 프로세서(350)는, 카메라 모듈(310)을 통하여, 이미지 1과 이미지 1 획득 후 연속적으로 획득된(예: 이미지 1 다음의) 이미지 2를 획득할 수 있다. 프로세서(350)는, 이미지 1의 픽셀 값들 및 이미지 2의 픽셀 값들 간 차이에 기반하여, 전자 장치(301)의 움직임의 크기를 확인할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈(310)을 통하여 연속적으로 획득되는 복수의 이미지들에 기반하여, 전자 장치(301)의 움직임의 방향 및/또는 움직임의 크기를 확인할 수 있다.In one embodiment, the processor 350 may check the magnitude of movement of the electronic device 301 based on a plurality of images continuously acquired through the camera module 310. For example, the processor 350 may acquire Image 1 and Image 2, which is acquired continuously after Image 1 (eg, following Image 1), through the camera module 310. The processor 350 may check the magnitude of the movement of the electronic device 301 based on the difference between the pixel values of image 1 and the pixel values of image 2. In one embodiment, the processor 350 may check the direction and/or size of movement of the electronic device 301 based on a plurality of images continuously acquired through the camera module 310.
일 실시예에서, 프로세서(350)는, 센서(320)(예: 자이로 센서)를 통하여 획득된 정보 및 카메라 모듈(310)을 통하여 연속적으로 획득되는 복수의 이미지들에 기반하여, 전자 장치(301)의 움직임의 크기(및 전자 장치(301)의 움직임의 방향)를 확인할 수 있다.In one embodiment, the processor 350 operates the electronic device 301 based on information acquired through the sensor 320 (e.g., a gyro sensor) and a plurality of images continuously acquired through the camera module 310. ) can be confirmed.
도 3에서는, 동작 401의 카메라 모듈의 줌 배율을 확인하는 동작이 동작 403의 전자 장치(301)의 움직임의 크기를 확인하는 동작에 선행하여 수행되는 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 동작 401의 카메라 모듈의 줌 배율을 확인하는 동작은, 동작 403의 전자 장치(301)의 움직임의 크기를 확인하는 동작이 수행된 후 수행되거나, 동작 403의 전자 장치(301)의 움직임의 크기를 확인하는 동작과 동시에(예: 병렬적으로) 수행될 수 있다.In FIG. 3 , the operation of checking the zoom magnification of the camera module in operation 401 is illustrated as being performed prior to the operation of checking the size of the movement of the electronic device 301 in operation 403, but the operation is not limited thereto. For example, the operation of checking the zoom magnification of the camera module in operation 401 is performed after the operation of checking the size of the movement of the electronic device 301 in operation 403 is performed, or the operation of checking the size of the movement of the electronic device 301 in operation 403 is performed. It can be performed simultaneously (e.g., in parallel) with the operation to check the size of the movement.
동작 405에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 제 1 이미지 내에서 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정할 수 있다.At operation 405, in one embodiment, the processor 350 determines a first image for the first image acquired to correct for camera shake, based on the zoom factor of the camera module and the magnitude of the movement of the electronic device 301. The first ratio of the second area excluding the first area having a size corresponding to the size of the second image obtained by correcting camera shake within the image may be determined.
일 실시예에서, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지(이하, "제 1 이미지"로 지칭함)는, 카메라 흔들림 보정을 수행하기 전 획득되는 이미지일 수 있다. 예를 들어, 제 1 이미지는, 카메라 흔들림 보정(예: 디지털 이미지 안정화 또는 전자식 이미지 안정화를 이용한 카메라 흔들림 보정)의 입력 이미지일 수 있다.In one embodiment, the first image acquired to correct camera shake (hereinafter referred to as “first image”) may be an image acquired before performing camera shake correction. For example, the first image may be an input image for camera shake correction (eg, camera shake correction using digital image stabilization or electronic image stabilization).
일 실시예에서, 제 1 이미지는, 고정된 화각(예: 카메라 모듈의 줌 배율이 변경되더라도 유지되는 화각)을 가지는 제 1 카메라를 통하여 이미지가 획득되는 경우, 카메라 흔들림 보정 수행 전 상기 획득된 이미지 내에서 카메라 모듈의 줌 배율에 기반하여 크롭(crop)되는 이미지일 수 있다.In one embodiment, the first image is, when the image is acquired through a first camera having a fixed angle of view (e.g., an angle of view that is maintained even if the zoom ratio of the camera module changes), the acquired image before performing camera shake correction. It may be an image that is cropped based on the zoom factor of the camera module.
일 실시예에서, 제 1 이미지는, 광학 줌을 지원하는 제 2 카메라를 통하여 이미지가 획득되는 경우, 상기 제 2 카메라를 통하여 획득되는 이미지일 수 있다.In one embodiment, when an image is acquired through a second camera that supports optical zoom, the first image may be an image acquired through the second camera.
일 실시예에서, 제 1 이미지는, 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역(이하, "제 1 영역"으로 지칭함) 및 상기 제 1 이미지 내에서 제 1 영역을 제외한 제 2 영역(이하, "제 2 영역" 또는 "마진(margin) 영역"으로 지칭함)을 포함할 수 있다.In one embodiment, the first image includes a first region (hereinafter referred to as “first region”) with a size corresponding to the size of the second image obtained by correcting camera shake, and a first region within the first image. It may include a second area (hereinafter referred to as “second area” or “margin area”) excluding the first area.
일 실시예에서, 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지(이하, "제 2 이미지"로 지칭함)는, 카메라 흔들림 보정의 결과 이미지일 수 있다. 예를 들어, 제 2 이미지는, 제 1 이미지를 이용하여 카메라 흔들림 보정을 수행한 후 출력되는 이미지일 수 있다.In one embodiment, the second image obtained by correcting camera shake (hereinafter referred to as “second image”) may be an image resulting from camera shake correction. For example, the second image may be an image output after performing camera shake correction using the first image.
일 실시예에서, 제 1 비율(이하, "제 1 비율" 또는 "마진 비율"로 지칭함)은, 제 1 이미지에 대한 제 2 영역의 비율일 수 있다.In one embodiment, the first ratio (hereinafter referred to as “first ratio” or “margin ratio”) may be a ratio of the second area to the first image.
이하, 도 5를 참조하여, 제 1 비율에 대하여 상세히 설명하도록 한다.Hereinafter, with reference to FIG. 5, the first ratio will be described in detail.
도 5는, 일 실시예에 따른, 제 1 비율을 설명하기 위한 예시도(500)이다.FIG. 5 is an exemplary diagram 500 for explaining a first ratio according to an embodiment.
도 5를 참조하면, 일 실시예에서, 제 1 이미지(510)는, 제 1 영역(521) 및 제 2 영역(522)를 포함할 수 있다. Referring to FIG. 5 , in one embodiment, the first image 510 may include a first area 521 and a second area 522.
일 실시예에서, 제 1 영역(521)은, 제 1 이미지의 중심(511)을 기준으로, 제 2 이미지의 크기와 동일한 크기를 가지는 영역일 수 있다. 예를 들어, 제 1 영역(521)의 중심은 제 1 이미지의 중심(511)과 동일하고, 제 1 영역(521)의 크기(예: 면적)은 제 2 이미지의 크기(예: 면적)과 동일할 수 있다. 예를 들어, 제 1 영역(421)은, 전자 장치(301)가 움직이지 않는 경우(예: 전자 장치(301)의 움직임의 크기의 값이 실질적으로 '0'에 해당하는 경우), 디스플레이 모듈(330)을 통하여 출력될 이미지와 동일할 수 있다.In one embodiment, the first area 521 may be an area that has the same size as the second image, based on the center 511 of the first image. For example, the center of the first area 521 is the same as the center 511 of the first image, and the size (e.g. area) of the first area 521 is the size (e.g. area) of the second image. may be the same. For example, the first area 421 is the display module when the electronic device 301 does not move (e.g., when the value of the magnitude of movement of the electronic device 301 is substantially '0') It may be the same as the image to be output through (330).
일 실시예에서, 제 2 영역(522)은, 제 1 이미지의 중심(511)(제 1 영역(521)의 중심)을 기준으로 제 1 영역(521)을 둘러싸는 영역일 수 있다. 제 2 영역(522)의 최외곽선의 길이는 제 1 영역(521)의 최외곽선의 길이 보다 길 수 있다. 제 2 영역(522)의 최외곽선의 가로 길이 및 세로 길이 간 비율은, 제 1 영역(521)의 최외곽선의 가로 길이 및 세로 길이 간 비율과 동일할 수 있다.In one embodiment, the second area 522 may be an area surrounding the first area 521 based on the center 511 of the first image (the center of the first area 521). The length of the outermost line of the second area 522 may be longer than the length of the outermost line of the first area 521. The ratio between the horizontal and vertical lengths of the outermost line of the second area 522 may be the same as the ratio between the horizontal and vertical lengths of the outermost line of the first area 521.
이하에서, 제 1 이미지에 대한 제 2 영역의 제 1 비율을, 제 1 이미지의 한 변의 길이에 대한 제 2 영역의 폭들을 합산한 길이의 비율로 지칭하기로 한다. 예를 들어, 도 5에서, 제 1 비율은, 제 1 이미지(510)의 세로 길이(d1+2*d2)에 대한 제 2 영역(522)의 상측 폭(d2) 및 하측 폭(d2)을 합산한 길이(2*d2)의 비율로 지칭될 수 있다. 예를 들어, 제 1 비율이 20%인 경우, 제 1 이미지(510)의 세로 길이(d1)에 대한 상기 합산한 길이(2*d2)의 비율은, 1/5(20%)일 수 있다.Hereinafter, the first ratio of the second area to the first image will be referred to as the ratio of the length of the sum of the widths of the second area to the length of one side of the first image. For example, in Figure 5, the first ratio is the upper width (d2) and the lower width (d2) of the second area 522 with respect to the vertical length (d1+2*d2) of the first image 510. It can be referred to as the ratio of the summed length (2*d2). For example, if the first ratio is 20%, the ratio of the summed length (2*d2) to the vertical length (d1) of the first image 510 may be 1/5 (20%). .
일 실시예에서, 카메라 흔들림을 보정하기 위하여, 제 1 이미지에 대한 제 2 영역의 비율로서 제 1 비율을 이용하는 것으로 설명하지만, 이에 제한되지 않는다. 예를 들어, 카메라 흔들림을 보정하기 위하여, 제 1 비율을 대체하여, 제 1 영역(521)에 대한 제 2 영역(522)의 비율 또는 제 1 이미지(510)에 대한 제 1 영역(521)의 비율이 이용될 수 있다.In one embodiment, it is described that the first ratio is used as the ratio of the second area to the first image to correct camera shake, but the present invention is not limited thereto. For example, to correct for camera shake, the first ratio can be replaced by the ratio of the second area 522 to the first area 521 or the ratio of the first area 521 to the first image 510. Ratios may be used.
다시 도 4를 참조하면, 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기에 기반하여, 제 1 비율을 결정할 수 있다. 이하 도 6 내지 도 11을 참조하여, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기에 기반하여, 제 1 비율을 결정하는 방법에 대하여 설명하도록 한다.Referring again to FIG. 4 , in one embodiment, the processor 350 may determine the first ratio based on the zoom magnification of the camera module and the magnitude of the movement of the electronic device 301. Hereinafter, with reference to FIGS. 6 to 11, a method of determining the first ratio will be described based on the zoom magnification of the camera module and the magnitude of movement of the electronic device 301.
도 6은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 흐름도(600)이다.6 is a flow diagram 600 illustrating a method for determining a first ratio, according to one embodiment.
도 7은, 일 실시예에 따른, 전자 장치(301)의 움직임의 크기가 임계 이하인 경우 제 1 비율을 결정하는 방법을 설명하는 예시도(700)이다.FIG. 7 is an example diagram 700 illustrating a method of determining a first ratio when the magnitude of movement of the electronic device 301 is below a threshold, according to an embodiment.
도 8은, 일 실시예에 따른, 전자 장치(301)의 움직임의 크기가 임계를 초과하는 경우 제 1 비율을 결정하는 방법을 설명하는 예시도(800)이다.FIG. 8 is an example diagram 800 illustrating a method of determining a first ratio when the magnitude of movement of the electronic device 301 exceeds a threshold, according to an embodiment.
도 6 내지 도 8을 참조하면, 동작 601에서, 일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 임계 이하인지 여부를 확인할 수 있다. 예를 들어, 프로세서(350)는, 동작 403을 통하여 확인된 전자 장치(301)의 움직임의 크기와 임계(예: 지정된 움직임의 크기)를 비교함으로써, 전자 장치(301)의 움직임의 크기가 임계 이하인지 여부를 확인할 수 있다.Referring to FIGS. 6 to 8 , in operation 601, in one embodiment, the processor 350 may check whether the magnitude of the movement of the electronic device 301 is less than or equal to a threshold. For example, the processor 350 determines that the size of the movement of the electronic device 301 is the threshold by comparing the size of the movement of the electronic device 301 confirmed through operation 403 with the threshold (e.g., the size of the specified movement). You can check whether it is below or not.
동작 601에서 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 동작 603에서, 일 실시예에서, 프로세서(350)는, 고정된 비율(예: 지정된 비율)을 제 1 비율로 결정할 수 있다.If it is determined in operation 601 that the magnitude of the movement of the electronic device 301 is below the threshold, in operation 603, in one embodiment, the processor 350 determines a fixed rate (e.g., a specified rate) as the first rate. You can.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 사용자 입력에 기반하여 설정되는 카메라 모듈의 줌 배율이 증가 또는 감소되더라도, 고정된 비율(예: 20%)를 제 1 비율로 결정할 수 있다.In one embodiment, when the processor 350 determines that the amount of movement of the electronic device 301 is below the threshold, the processor 350 maintains a fixed ratio ( Example: 20%) can be determined as the first ratio.
일 실시예에서, 도 7의 참조 부호 701에서, 카메라 모듈의 줌 배율이 1배(1x)이고 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 이미지 1(710)은 제 1 이미지(예: 도 5의 제 1 이미지(510))에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(713)은 제 1 영역(예: 도 5의 제 1 영역(521))에 대응하는 화각 영역을 나타내고, 영역(715)은 제 2 영역(예: 도 5의 제 2 영역(522))에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 701에서 제 1 비율은 이미지 1(710)의 세로 길이(d11+2*d12)에 대한 영역(715)의 상측 폭(d12) 및 하측 폭(d12)을 합산한 길이(2*d12)의 비율(2*d12/( d11+2*d12))일 수 있다.In one embodiment, at reference numeral 701 in FIG. 7, when it is confirmed that the zoom magnification of the camera module is 1x (1x) and the magnitude of the movement of the electronic device 301 is below the threshold, image 1 710 is the first Indicates a field of view area (e.g., a scene to be represented by the first image) corresponding to an image (e.g., the first image 510 of FIG. 5), and the area 713 represents the first area (e.g., the first area of FIG. 5 (e.g., the first area of FIG. 5). 521)), and area 715 may represent an angle of view area corresponding to a second area (e.g., second area 522 in FIG. 5). The first ratio at reference numeral 701 is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 715 with respect to the vertical length (d11+2*d12) of image 1 (710). It may be the ratio (2*d12/(d11+2*d12)).
일 실시예에서, 도 7의 참조 부호 702에서, 카메라 모듈의 줌 배율이 3배(3x)이고 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 이미지 2(720)는 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(723)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(725)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 702에서 제 1 비율은 이미지 2(720)의 세로 길이(d21+2*d22)에 대한 영역(725)의 상측 폭(d22) 및 하측 폭(d22)을 합산한 길이(2*d22)의 비율(2*d22/( d21+2*d22))일 수 있다.In one embodiment, at reference numeral 702 in FIG. 7, when it is confirmed that the zoom magnification of the camera module is 3x (3x) and the magnitude of the movement of the electronic device 301 is below the threshold, image 2 720 is the first Indicates an angle of view area corresponding to an image (e.g., a scene to be represented by the first image), area 723 indicates an angle of view area corresponding to the first area, and area 725 indicates an angle of view area corresponding to the second area. You can. The first ratio at reference numeral 702 is a length (2*d22) that is the sum of the upper width (d22) and the lower width (d22) of the area 725 with respect to the vertical length (d21+2*d22) of image 2 720. It may be the ratio (2*d22/(d21+2*d22)).
일 실시예에서, 도 7의 참조 부호 703에서, 카메라 모듈의 줌 배율이 5배(5x)이고 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우 이미지 3(730)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(733)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(735)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 703에서 제 1 비율은 이미지 3(730)의 세로 길이(d31+2*d32)에 대한 영역(735)의 상측 폭(d32) 및 하측 폭(d32)을 합산한 길이(2*d32)의 비율(2*d32/( d31+2*d32))일 수 있다.In one embodiment, at reference numeral 703 in FIG. 7, when it is confirmed that the zoom magnification of the camera module is 5x and the magnitude of the movement of the electronic device 301 is below the threshold, image 3 730 is the first image. may represent a field of view area corresponding to (e.g., a scene to be represented by the first image), area 733 may represent a field of view area corresponding to the first area, and area 735 may represent a field of view area corresponding to the second area. there is. At reference numeral 703, the first ratio is a length (2*d32) that is the sum of the upper width (d32) and lower width (d32) of the area 735 with respect to the vertical length (d31+2*d32) of image 3 730. It may be the ratio (2*d32/(d31+2*d32)).
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 카메라 모듈의 줌 배율이 증가(또는 감소)하더라도, 고정된 비율를 제 1 비율로 결정할 수 있다. 예를 들어, 전자 장치(301)의 움직임의 크기가 임계 이하인 것으로 확인된 경우, 참조 부호 701의 제 1 비율(2*d12/( d11+2*d12)), 참조 부호 702의 제 1 비율(2*d22/( d21+2*d22)), 및 참조 부호 703의 제 1 비율(2*d32/( d31+2*d32))은 모두 동일할 수 있다.In one embodiment, when the processor 350 determines that the magnitude of movement of the electronic device 301 is below a threshold, the processor 350 may determine a fixed ratio as the first ratio even if the zoom factor of the camera module increases (or decreases). there is. For example, when it is confirmed that the magnitude of the movement of the electronic device 301 is below the threshold, the first ratio of reference numeral 701 (2*d12/(d11+2*d12)), the first ratio of reference numeral 702 ( 2*d22/(d21+2*d22)), and the first ratio (2*d32/(d31+2*d32)) of reference numeral 703 may all be the same.
동작 601에서 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인된 경우, 동작 605에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율에 기반하여, 카메라 모듈의 줌 배율의 증가에 의해 제 1 비율이 증가하도록, 제 1 배율을 결정할 수 있다.If it is determined in operation 601 that the magnitude of the movement of the electronic device 301 exceeds the threshold, in operation 605, in one embodiment, the processor 350 adjusts the zoom of the camera module based on the zoom factor of the camera module. The first magnification may be determined such that the first ratio increases by increasing the magnification.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율(예: 카메라 모듈(310)의 현재 줌 배율)이 지정된 줌 배율(이하, "지정된 줌 배율"로 지칭함) 이하인 경우(또는 카메라 모듈(310)의 제 1 줌 배율 범위에서) 고정된 비율을 제 1 비율로 결정할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율이 지정된 줌 배율을 초과하는 경우, 지정된 줌 배율에서 결정된 제 2 영역에 대응하는 화각 영역을 이용하여 제 1 배율을 결정할 수 있다.In one embodiment, the processor 350, if the zoom magnification of the camera module (e.g., the current zoom magnification of the camera module 310) is less than or equal to the specified zoom magnification (hereinafter referred to as “specified zoom magnification”) (or the camera module A fixed ratio (in the first zoom magnification range of 310) may be determined as the first ratio. If the zoom magnification of the camera module exceeds the designated zoom magnification, the processor 350 may determine the first magnification using the angle of view area corresponding to the second area determined at the designated zoom magnification.
일 실시예에서, 도 8의 참조 부호 801에서, 카메라 모듈의 줌 배율이 1배(1x)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인된 경우, 이미지 1(810)은 제 1 이미지(예: 도 5의 제 1 이미지(510))에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(813)은 제 1 영역(예: 도 5의 제 1 영역(521))에 대응하는 화각 영역을 나타내고, 영역(815)은 제 2 영역(예: 도 5의 제 2 영역(522))에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 801에서 제 1 비율은 이미지 1(810)의 세로 길이(d11+2*d12)에 대한 영역(815)의 상측 폭(d12) 및 하측 폭(d12)을 합산한 길이(2*d12)의 비율(2*d12/(d11+2*d12))일 수 있다.In one embodiment, at reference numeral 801 in FIG. 8, when the zoom magnification of the camera module is 1x (1x) and the magnitude of the movement of the electronic device 301 is confirmed to exceed the threshold, image 1 810 is Indicates the field of view area (e.g., the scene to be represented by the first image) corresponding to the first image (e.g., the first image 510 in FIG. 5), and the area 813 represents the first area (e.g., the first image 510 in FIG. 5). Area 521 may indicate an angle of view area corresponding to the area 521, and area 815 may indicate an angle of view area corresponding to a second area (e.g., second area 522 of FIG. 5). The first ratio at reference numeral 801 is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 815 with respect to the vertical length (d11+2*d12) of image 1 (810). It may be the ratio (2*d12/(d11+2*d12)).
일 실시예에서, 도 8의 참조 부호 802에서, 카메라 모듈의 줌 배율이 3배(3x)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인되고, 지정된 줌 배율이 3배(3x)인 경우, 이미지 2(820)는 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(823)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(825)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 802에서 제 1 비율은 이미지 2(820)의 세로 길이(d21+2*d22)에 대한 영역(825)의 상측 폭(d22) 및 하측 폭(d22)을 합산한 길이(2*d22)의 비율(2*d22/(d21+2*d22))일 수 있다. 프로세서(350)는, 참조 부호 803의 제 1 비율(2*d22/(d21+2*d22))을, 참조 부호 801의 제 1 비율과 동일한 비율(2*d12/(d11+2*d12))로 결정할 수 있다.In one embodiment, at reference numeral 802 in FIG. 8, it is confirmed that the zoom magnification of the camera module is 3x (3x) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is 3x (3x). In the case of 3x), image 2 820 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image), area 823 represents a field of view area corresponding to the first area, and area ( 825) may indicate a field of view area corresponding to the second area. The first ratio at reference numeral 802 is a length (2*d22) that is the sum of the upper width (d22) and the lower width (d22) of the area 825 with respect to the vertical length (d21+2*d22) of image 2 820. It may be the ratio (2*d22/(d21+2*d22)). The processor 350 converts the first ratio of reference numeral 803 (2*d22/(d21+2*d22)) into the same ratio as the first ratio of 801 (2*d12/(d11+2*d12) ) can be determined.
일 실시예에서, 도 8의 참조 부호 803에서, 카메라 모듈의 줌 배율이 5배(5x)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인되고, 지정된 줌 배율이 3배(3x)인 경우, 이미지 3(830)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(833)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(835)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 프로세서(350)는, 지정된 줌 배율(예: 3배(3x))의 제 2 영역에 대응하는 화각 영역(예: 참조 부호 802의 제 2 영역에 대응하는 화각 영역의 폭들을 합산한 길이(2*d22))을 이용하여, 카메라 모듈의 줌 배율 5배(5x)에서의 제 1 배율을 결정할 수 있다. 예를 들어, 프로세서(350)는, 참조 부호 803에 도시된 바와 같이, 카메라 모듈의 줌 배율이 5배(5x)인 경우 제 2 영역에 대응하는 화각 영역의 폭을, 지정된 줌 배율로서 3배(3x)에서의 제 2 영역에 대응하는 화각 영역의 폭(d22)과 동일하게 결정할 수 있다. 프로세서(350)는, 참조 부호 803에 도시된 바와 같이, 카메라 모듈의 줌 배율이 5배(5x)인 경우, 이미지 3(830)의 세로 길이(d41+2*d22)에 대한 영역(835)의 상측 폭(d22) 및 하측 폭(d22)을 합산한 길이(2*d22)의 비율(2*d22/(d41+2*d22))을 제 1 비율로 결정할 수 있다.In one embodiment, at reference numeral 803 in FIG. 8, it is confirmed that the zoom magnification of the camera module is 5x (5x) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is 3x ( In the case of 3x), image 3 830 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image), area 833 represents a field of view area corresponding to the first area, and area ( 835) may indicate a field of view area corresponding to the second area. The processor 350 generates a length (2) that is the sum of the widths of the view angle area (e.g., the width of the view angle area corresponding to the second area of reference numeral 802) corresponding to the second area of the specified zoom magnification (e.g., 3x). *d22)) can be used to determine the first magnification at a zoom magnification of 5x (5x) of the camera module. For example, as shown in reference numeral 803, when the zoom magnification of the camera module is 5x, the processor 350 sets the width of the angle of view area corresponding to the second area to 3x as the designated zoom magnification. It can be determined to be the same as the width d22 of the field of view area corresponding to the second area in (3x). As shown by reference numeral 803, the processor 350 generates an area 835 for the vertical length (d41+2*d22) of image 3 (830) when the zoom magnification of the camera module is 5x (5x). The ratio (2*d22/(d41+2*d22)) of the length (2*d22) obtained by adding the upper width (d22) and lower width (d22) of can be determined as the first ratio.
다만, 프로세서(350)가, 카메라 모듈의 줌 배율에 기반하여, 카메라 모듈의 줌 배율의 증가에 의해 제 1 비율이 증가하도록, 제 1 배율을 결정하는 방법은 전술한 예시에 제한되지 않는다. 예를 들어, 프로세서(350)는, 카메라 모듈의 줌 배율이 증가함에 따라 선형적으로 제 1 비율이 증가하도록, 제 1 비율을 결정할 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우 고정된 비율을 제 1 비율로 결정하고, 카메라 모듈의 줌 배율이 지정된 줌 배율을 초과하는 경우 카메라 모듈의 줌 배율이 증가함에 따라 선형적으로 제 1 비율이 증가하도록, 제 1 비율을 결정할 수 있다.However, the method by which the processor 350 determines the first magnification, based on the zoom magnification of the camera module, so that the first ratio increases by increasing the zoom magnification of the camera module, is not limited to the above-described example. For example, the processor 350 may determine the first ratio such that the first ratio increases linearly as the zoom magnification of the camera module increases. For example, if the zoom factor of the camera module is below the specified zoom factor, a fixed ratio is determined as the first ratio, and if the zoom factor of the camera module exceeds the specified zoom factor, the zoom factor is adjusted linearly as the camera module's zoom factor increases. The first ratio can be determined so that the first ratio increases.
전술한 도 6 내지 도 8에서는, 전자 장치(301)의 움직임의 크기와 비교되는 임계가 하나인 것으로 예시하고 있지만, 이에 제한되지 않는다. 예를 들어, 전자 장치(301)의 움직임의 크기와 비교되는 임계는 2개 이상일 수 있다. 이하, 도 9 및 도 10을 참조하여, 전자 장치(301)의 움직임의 크기와 비교되는 임계가 2개 이상인 경우, 제 1 비율을 결정하는 방법에 대하여 설명하도록 한다.In FIGS. 6 to 8 described above, the threshold compared to the magnitude of the movement of the electronic device 301 is illustrated as one, but is not limited thereto. For example, the threshold compared to the magnitude of movement of the electronic device 301 may be two or more. Hereinafter, with reference to FIGS. 9 and 10 , a method for determining the first ratio will be described when there are two or more thresholds compared to the magnitude of movement of the electronic device 301.
도 9는, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 흐름도(900)이다.9 is a flow diagram 900 illustrating a method for determining a first ratio, according to one embodiment.
도 10은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 예시도(1000)이다.FIG. 10 is an example diagram 1000 illustrating a method of determining a first ratio according to an embodiment.
도 9 및 도 10을 참조하면, 동작 901에서, 일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 1 임계(이하, "제 1 임계"로 지칭함) 이하인지 여부를 확인할 수 있다. 예를 들어, 프로세서(350)는, 동작 403을 통하여 확인된 전자 장치(301)의 움직임의 크기와 제 1 임계를 비교함으로써, 전자 장치(301)의 움직임의 크기가 제 1 임계 이하인지 여부를 확인할 수 있다.9 and 10, in operation 901, in one embodiment, the processor 350 determines whether the magnitude of the movement of the electronic device 301 is less than or equal to a first threshold (hereinafter referred to as “first threshold”). You can check whether or not. For example, the processor 350 determines whether the amount of movement of the electronic device 301 is less than or equal to the first threshold by comparing the amount of movement of the electronic device 301 confirmed through operation 403 with the first threshold. You can check it.
동작 901에서 전자 장치(301)의 움직임의 크기가 제 1 임계 이하인 것으로 확인된 경우, 동작 903에서, 일 실시예에서, 프로세서(350)는, 고정된 비율(예: 지정된 비율)을 제 1 비율로 결정할 수 있다.If it is determined in operation 901 that the magnitude of the movement of the electronic device 301 is less than or equal to the first threshold, in operation 903, in one embodiment, the processor 350 determines a fixed rate (e.g., a specified rate) as the first rate. can be decided.
일 실시예에서, 제 1 임계 이하의 전자 장치(301)의 움직임의 크기는, 전자 장치(301)가 다른 장치(예: 삼각대)에 거치되어 고정된 상태 또는 전자 장치(301)의 일부가 접힌 상태로 고정된 상태로 동작하는 상태("플렉스(flex) 모드"로도 지칭됨)에서, 측정되는 움직임의 크기일 수 있다.In one embodiment, the magnitude of movement of the electronic device 301 below the first threshold is determined when the electronic device 301 is mounted and fixed on another device (e.g., a tripod) or when a part of the electronic device 301 is folded. In a fixed state of operation (also referred to as “flex mode”), it may be the amount of movement that is measured.
동작 903은, 동작 603과 적어도 일부가 동일 또는 유사하므로, 상세한 설명은 생략하기로 한다.Since operation 903 is at least partially the same or similar to operation 603, detailed description will be omitted.
동작 901에서 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하는 것으로 확인된 경우, 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계(이하, "제 2 임계"로 지칭함) 이하인지 여부를 확인할 수 있다.If it is confirmed in operation 901 that the magnitude of the movement of the electronic device 301 exceeds the first threshold, the magnitude of the movement of the electronic device 301 exceeds the first threshold and the second threshold (hereinafter, “second threshold”) You can check whether or not it is below (referred to as ").
일 실시예에서, 제 2 임계는 제 1 임계 보다 큰 값일 수 있다. 예를 들어, 제 1 임계를 초과하고 제 2 임계 이하에 해당하는 전자 장치(301)의 움직임의 크기는, 전자 장치(301)를 소지한 전자 장치(301)의 사용자가 느린 걸음으로 이동하거나 전자 장치(301)를 손에 들고 있는 상태에서 측정되는 움직임의 크기일 수 있다. 예를 들어, 제 2 임계를 초과하는 전자 장치(301)의 움직임의 크기는, 전자 장치(301)를 소지한 전자 장치(301)의 사용자가 보다 빠른 걸음으로 이동하는 상태에서 측정되는 전자 장치(301)의 움직임의 크기일 수 있다.In one embodiment, the second threshold may be a value greater than the first threshold. For example, the magnitude of the movement of the electronic device 301 exceeding the first threshold and falling below the second threshold means that the user of the electronic device 301 carrying the electronic device 301 moves at a slow pace or moves the electronic device 301. It may be the size of movement measured while holding the device 301 in hand. For example, the magnitude of the movement of the electronic device 301 exceeding the second threshold is measured when the user of the electronic device 301 carrying the electronic device 301 moves at a faster pace. 301) may be the size of the movement.
동작 905에서 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하인 것으로 확인된 경우, 동작 907에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈(310)의 지정된 제 1 줌 배율에 대응하는 제 1 비율을 이용하여, 제 1 비율을 결정할 수 있다.If it is determined in operation 905 that the magnitude of the movement of the electronic device 301 exceeds the first threshold and is below the second threshold, in operation 907, in one embodiment, the processor 350 determines the specified motion of the camera module 310. The first ratio may be determined using the first ratio corresponding to the first zoom magnification.
동작 905에서 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 것으로 확인된 경우, 동작 909에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈(310)의 지정된 제 2 줌 배율에 대응하는 제 1 비율을 이용하여, 제 1 비율을 결정할 수 있다.If it is determined in operation 905 that the magnitude of the movement of the electronic device 301 exceeds the second threshold, in operation 909, in one embodiment, the processor 350 adjusts the specified second zoom factor of the camera module 310. The first ratio can be determined using the first ratio corresponding to .
동작 907 및 동작 909에 대하여, 도 8, 도 10, 및 도 11을 참조하여 설명하도록 한다. Operations 907 and 909 will be described with reference to FIGS. 8, 10, and 11.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하인 것으로 확인된 경우, 카메라 모듈(310)의 지정된 제 1 줌 배율에 대응하는 제 1 비율을 이용하여, 제 1 비율을 결정할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율(예: 카메라 모듈(310)의 현재 줌 배율)이 지정된 제 1 줌 배율(이하, "지정된 제 1 줌 배율"로 지칭함)(예: 3배(3x)) 이하인 경우 고정된 비율을 제 1 비율로 결정할 수 있다. 예를 들어, 프로세서(350)는, 도 8의 참조 부호 801 및 참조 부호 803을 통하여 설명한 바와 같이, 카메라 모듈(310)의 현재 줌 배율이 3배(3x) 이하인 경우, 참조 부호 801의 제 1 비율과 동일한 비율을 제 1 비율로서 결정할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율이 지정된 제 1 줌 배율(예: 3배(3x))을 초과하는 경우, 지정된 제 1 줌 배율과 동일한 카메라 모듈의 줌 배율에서 결정된 제 2 영역에 대응하는 화각 영역을 이용하여 제 1 배율을 결정할 수 있다. 예를 들어, 도 8의 참조 부호 802 및 참조 부호 803을 통하여 설명한 바와 같이, 카메라 모듈의 줌 배율이 3배(3x)를 초과하는 경우 제 2 영역에 대응하는 화각 영역의 폭을, 지정된 제 1 줌 배율 3배(3x)와 동일한 카메라 모듈의 줌 배율에서 산출된 제 2 영역에 대응하는 화각 영역의 폭(d22)과 동일하게 결정할 수 있다. 프로세서(350)는, 상기 지정된 제 1 줌 배율과 동일한 카메라 모듈의 줌 배율 3배(3x)에서 산출된 제 2 영역에 대응하는 화각 영역의 폭(d22)을 이용하여, 카메라 모듈(310)의 현재 줌 배율에서의 제 1 비율을 결정할 수 있다.In one embodiment, when the processor 350 determines that the magnitude of movement of the electronic device 301 exceeds the first threshold and is below the second threshold, the processor 350 selects a zoom factor corresponding to the specified first zoom factor of the camera module 310. Using the first ratio, the first ratio can be determined. In one embodiment, the processor 350 configures the zoom factor of the camera module (e.g., the current zoom factor of the camera module 310) to be set to a specified first zoom factor (hereinafter referred to as “the designated first zoom factor”) (e.g., : If it is 3 times (3x) or less, the fixed ratio can be determined as the first ratio. For example, as described through reference numerals 801 and 803 in FIG. 8, the processor 350, when the current zoom magnification of the camera module 310 is 3 times (3x) or less, the first zoom magnification of reference numeral 801 The same ratio as the ratio can be determined as the first ratio. In one embodiment, the processor 350, when the zoom factor of the camera module exceeds the specified first zoom factor (e.g., 3x (3x)), determines the zoom factor of the camera module that is equal to the specified first zoom factor. The first magnification can be determined using the field of view area corresponding to the second area. For example, as described through reference numerals 802 and 803 in FIG. 8, when the zoom magnification of the camera module exceeds 3 times (3x), the width of the field of view area corresponding to the second area is changed to the designated first area. It can be determined to be equal to the width (d22) of the field of view area corresponding to the second area calculated at the zoom magnification of the camera module equal to the zoom magnification of 3x (3x). The processor 350 uses the width (d22) of the field of view area corresponding to the second area calculated at the zoom magnification of the camera module 3x (3x), which is the same as the specified first zoom magnification, of the camera module 310. A first ratio at the current zoom magnification may be determined.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 것으로 확인된 경우, 카메라 모듈(310)의 지정된 제 2 줌 배율(이하, "지정된 제 2 줌 배율"로 지칭함)에 대응하는 제 1 비율을 이용하여, 제 1 비율을 결정할 수 있다. In one embodiment, the processor 350, when it is determined that the magnitude of the movement of the electronic device 301 exceeds the second threshold, sets the designated second zoom magnification (hereinafter, “the designated second zoom factor) of the camera module 310. The first ratio may be determined using the first ratio corresponding to the “zoom magnification”).
일 실시예에서, 지정된 제 2 줌 배율은 지정된 제 1 줌 배율 보다 작은 줌 배율일 수 있다. 예를 들어, 지정된 제 1 줌 배율이 3배(3x)인 경우, 지정된 제 2 줌 배율은 2배(2x)일 수 있다.In one embodiment, the specified second zoom factor may be a smaller zoom factor than the designated first zoom factor. For example, if the first designated zoom magnification is 3x (3x), the second designated zoom magnification may be 2x (2x).
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율(예: 카메라 모듈(310)의 현재 줌 배율)이 지정된 제 2 줌 배율(예: 2배(2x)) 이하인 경우 고정된 비율을 제 1 비율로 결정할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율이 지정된 제 2 줌 배율을 초과하는 경우, 지정된 제 2 줌 배율과 동일한 카메라 모듈의 줌 배율에서 산출된 제 2 영역에 대응하는 화각 영역을 이용하여 제 1 배율을 결정할 수 있다.In one embodiment, the processor 350 sets the fixed ratio when the zoom factor of the camera module (e.g., the current zoom factor of the camera module 310) is less than or equal to the specified second zoom factor (e.g., 2x). It can be determined by the first ratio. When the zoom magnification of the camera module exceeds the specified second zoom magnification, the processor 350 uses the view angle area corresponding to the second area calculated at the zoom magnification of the camera module that is the same as the specified second zoom magnification to create the first zoom magnification. The magnification can be determined.
일 실시예에서, 도 10의 참조 부호 1001에서, 카메라 모듈의 줌 배율이 1배(1x)이고 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 것으로 확인된 경우, 이미지 1(1010)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1013)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1015)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 1001에서 제 1 비율은 이미지 1(1010)의 세로 길이(d11+2*d12)에 대한 영역(1015)의 상측 폭(d12) 및 하측 폭(d12)을 합산한 길이(2*d12)의 비율(2*d12/(d11+2*d12))일 수 있다.In one embodiment, at reference numeral 1001 in FIG. 10, when the zoom magnification of the camera module is 1x (1x) and the magnitude of the movement of the electronic device 301 is confirmed to exceed the second threshold, image 1 (1010) ) represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image), area 1013 represents a field of view area corresponding to the first area, and area 1015 represents a field of view corresponding to the second area. The angle of view area can be indicated. At reference numeral 1001, the first ratio is a length (2*d12) that is the sum of the upper width (d12) and the lower width (d12) of the area 1015 with respect to the vertical length (d11+2*d12) of image 1 (1010). It may be the ratio (2*d12/(d11+2*d12)).
일 실시예에서, 도 10의 참조 부호 1002에서, 카메라 모듈의 줌 배율이 2배(2x)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인되고, 지정된 제 2 줌 배율이 2배(2x)인 경우, 이미지 2(1020)는 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1023)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1025)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 1002에서 제 1 비율은 이미지 2(1020)의 세로 길이(d21+2*d22)에 대한 영역(825)의 상측 폭(d52) 및 하측 폭(d52)을 합산한 길이(2*d52)의 비율(2*d52/(d51+2*d52))일 수 있다. 프로세서(350)는, 참조 부호 1003의 제 1 비율(2*d52/(d51+2*d52))을, 참조 부호 801의 제 1 비율과 동일한 비율(2*d12/(d11+2*d12))로 결정할 수 있다.In one embodiment, at reference numeral 1002 in FIG. 10, it is confirmed that the zoom magnification of the camera module is 2x (2x) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified second zoom magnification is 2 In the case of 2x, image 2 (1020) represents the angle of view area corresponding to the first image (e.g., the scene to be represented by the first image), and area 1023 represents the angle of view area corresponding to the first area, Area 1025 may represent a field of view area corresponding to the second area. The first ratio at reference numeral 1002 is a length (2*d52) that is the sum of the upper width (d52) and the lower width (d52) of the area 825 with respect to the vertical length (d21+2*d22) of image 2 (1020). It may be the ratio (2*d52/(d51+2*d52)). The processor 350 converts the first ratio (2*d52/(d51+2*d52)) of reference numeral 1003 into the same ratio (2*d12/(d11+2*d12)) as the first ratio of 801. ) can be determined.
일 실시예에서, 도 10의 참조 부호 1003에서, 카메라 모듈의 줌 배율이 5배(5x)이고 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 것으로 확인되고, 지정된 제 2 줌 배율이 2배(2x)인 경우, 이미지 3(1030)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1033)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1035)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 프로세서(350)는, 지정된 제 2 줌 배율(예: 2배(2x))에서 산출된 제 2 영역에 대응하는 화각 영역(예: 참조 부호 1002의 제 2 영역에 대응하는 화각 영역의 폭들을 합산한 길이(2*d52))을 이용하여, 카메라 모듈의 줌 배율로서 5배(5x)에서의 제 1 배율을 결정할 수 있다. 예를 들어, 프로세서(350)는, 참조 부호 1003에 도시된 바와 같이, 카메라 모듈의 줌 배율이 5배(5x)인 경우 제 2 영역에 대응하는 화각 영역의 폭을, 지정된 제 2 줌 배율 2배(2x)와 동일한 카메라 모듈의 줌 배율에서 산출된 제 2 영역에 대응하는 화각 영역의 폭(d52)과 동일하게 결정할 수 있다. 프로세서(350)는, 참조 부호 1003에 도시된 바와 같이, 카메라 모듈의 줌 배율이 5배(5x)인 경우, 이미지 3(1030)의 세로 길이(d61+2*d52)에 대한 영역(1035)의 상측 폭(d52) 및 하측 폭(d52)을 합산한 길이(2*d52)의 비율(2*d52/(d61+2*d52))을 제 1 비율로 결정할 수 있다.In one embodiment, at reference numeral 1003 in FIG. 10, it is confirmed that the zoom magnification of the camera module is 5x (5x) and the magnitude of the movement of the electronic device 301 exceeds the second threshold, and the specified second zoom magnification When this is doubled (2x), image 3 (1030) represents the angle of view area corresponding to the first image (e.g., the scene that the first image will represent), and area 1033 represents the angle of view area corresponding to the first area. and area 1035 may represent a field of view area corresponding to the second area. The processor 350 sums the widths of the angle of view area corresponding to the second area (e.g., the angle of view area corresponding to the second area of reference numeral 1002) calculated at the specified second zoom magnification (e.g., 2x). Using one length (2*d52)), the first magnification at 5x (5x) can be determined as the zoom magnification of the camera module. For example, as shown in reference numeral 1003, when the zoom magnification of the camera module is 5x, the processor 350 sets the width of the angle of view area corresponding to the second area to a designated second zoom magnification of 2. It can be determined to be equal to the width (d52) of the field of view area corresponding to the second area calculated at the zoom magnification of the camera module equal to the times (2x). As shown by reference numeral 1003, the processor 350 generates an area 1035 for the vertical length (d61+2*d52) of image 3 (1030) when the zoom magnification of the camera module is 5x (5x). The ratio (2*d52/(d61+2*d52)) of the length (2*d52) obtained by adding the upper width (d52) and lower width (d52) of can be determined as the first ratio.
일 실시예에서, 도 8 내지 10을 통하여 설명한 바와 같이, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 보다 큰 경우(예: 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 경우), 전자 장치(301)의 움직임의 크기가 보다 작은 경우(예: 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하인 경우)에 비하여, 보다 작은 지정된 줌 배율에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정할 수 있다. 예를 들어, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하인 경우 지정된 제 1 줌 배율로서 3배(3x)를 이용하여 제 1 비율을 결정하고, 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 경우 지정된 제 1 줌 배율 보다 작은 지정된 제 2 줌 배율 2배(2x)를 이용하여 제 1 비율을 결정할 수 있다. 이를 통하여, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 클수록, 제 1 비율이 크도록, 제 1 비율을 결정할 수 있다.In one embodiment, as described with reference to FIGS. 8 to 10, the processor 350, when the magnitude of the movement of the electronic device 301 is larger (e.g., the magnitude of the movement of the electronic device 301 is greater than the second threshold) exceeds the first threshold), compared to the case where the magnitude of the movement of the electronic device 301 is smaller (e.g., the magnitude of the motion of the electronic device 301 exceeds the first threshold and is less than or equal to the second threshold), the specified smaller The first ratio may be determined using the first ratio corresponding to the zoom magnification. For example, if the magnitude of movement of the electronic device 301 exceeds the first threshold and is below the second threshold, the processor 350 determines the first ratio using 3x as the designated first zoom magnification. And, if the magnitude of the movement of the electronic device 301 exceeds the second threshold, the first ratio may be determined using a designated second zoom magnification of 2x (2x), which is smaller than the designated first zoom magnification. Through this, the processor 350 can determine the first ratio so that the larger the magnitude of movement of the electronic device 301, the larger the first ratio.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율(및 전자 장치(301)의 움직임의 크기)에 대응하는 제 1 비율을 테이블(table) 형태로 메모리(340)에 저장할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기와, 제 1 비율을 매칭하여, 테이블 형태로 메모리(340)에 저장할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기가 확인된 경우, 메모리(340)에 저장된 테이블을 이용하여, 확인된 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기에 대응하는 제 1 비율을 확인할 수 있다. 프로세서(350)는, 확인된 제 1 비율을, 제 1 비율로 결정할 수 있다.In one embodiment, the processor 350 may store the first ratio corresponding to the zoom magnification of the camera module (and the magnitude of movement of the electronic device 301) in the memory 340 in the form of a table. The processor 350 may match the first ratio with the zoom magnification of the camera module and the size of the movement of the electronic device 301 and store the first ratio in the memory 340 in the form of a table. When the zoom magnification of the camera module and the size of the movement of the electronic device 301 are confirmed, the processor 350 uses the table stored in the memory 340 to calculate the zoom magnification of the camera module and the movement size of the electronic device 301. The first ratio corresponding to the size of the movement can be confirmed. The processor 350 may determine the confirmed first ratio as the first ratio.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 및 전자 장치(301)의 움직임의 크기가 확인된 경우, 수학식을 이용하여 제 1 비율을 산출할 수 있다. 이하, 도 11을 참조하여, 프로세서(350)가 제 1 비율을 산출하기 위한 수학식에 대하여 설명하기로 한다.In one embodiment, when the zoom magnification of the camera module and the magnitude of movement of the electronic device 301 are confirmed, the processor 350 may calculate the first ratio using a mathematical equation. Hereinafter, with reference to FIG. 11, a mathematical equation for the processor 350 to calculate the first ratio will be described.
도 11은, 일 실시예에 따른, 제 1 비율을 결정하는 방법을 설명하는 예시도(1100)이다.FIG. 11 is an exemplary diagram 1100 illustrating a method of determining a first ratio according to an embodiment.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 임계 이상이고, 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우, 제 1 비율을 고정된 비율(예: m(%))로 결정할 수 있다. 예를 들어, 도 11의 참조 부호 1101에서, 카메라 모듈의 줌 배율이 1배(1x)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인된 경우, 이미지 1(1110)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1113)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1115)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 1101에서 제 1 비율은 이미지 1(1010)의 세로 길이(a)에 대한 영역(1015)의 상측 폭 및 하측 폭을 합산한 길이(m*a/100)의 비율(m/100)일 수 있다.In one embodiment, the processor 350, when the magnitude of the movement of the electronic device 301 is greater than a threshold and the zoom factor of the camera module is less than or equal to the specified zoom factor, changes the first ratio to a fixed ratio (e.g., m(%) )). For example, at reference numeral 1101 in FIG. 11, when the zoom magnification of the camera module is 1x (1x) and the magnitude of the movement of the electronic device 301 is confirmed to exceed the threshold, image 1 1110 is the first 1 represents the angle of view area corresponding to the image (e.g., the scene to be represented by the first image), area 1113 represents the angle of view area corresponding to the first area, and area 1115 represents the angle of view area corresponding to the second area. It can be expressed. At reference numeral 1101, the first ratio is the ratio (m/100) of the length (m*a/100) of the sum of the upper and lower widths of the area 1015 to the vertical length (a) of image 1 (1010). You can.
일 실시예에서, 도 11의 참조 부호 1102에서, 카메라 모듈의 줌 배율이 b배(bx)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인되고, 지정된 줌 배율이 b배(bx)인 경우, 이미지 2(1120)는 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1123)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1125)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 참조 부호 1102에서 제 1 비율은 이미지 2(1120)의 세로 길이(a/b)에 대한 영역(1125)의 상측 폭(n1) 및 하측 폭(n1)을 합산한 길이(m*a/(100*b))의 비율(m/100)일 수 있다.In one embodiment, at reference numeral 1102 in FIG. 11, it is confirmed that the zoom magnification of the camera module is b times (bx) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is b times (bx). bx), image 2 1120 represents a field of view area corresponding to the first image (e.g., a scene to be represented by the first image), area 1123 represents a field of view area corresponding to the first area, and area ( 1125) may indicate a field of view area corresponding to the second area. At reference numeral 1102, the first ratio is a length (m*a/(100 *b)) may be the ratio (m/100).
일 실시예에서, 도 11의 참조 부호 1103에서, 카메라 모듈의 줌 배율이 c배(cx)이고 전자 장치(301)의 움직임의 크기가 임계를 초과하는 것으로 확인되고, 지정된 줌 배율이 b배(bx)인 경우, 이미지 3(1130)은 제 1 이미지에 대응하는 화각 영역(예: 제 1 이미지가 나타낼 장면)을 나타내고, 영역(1133)은 제 1 영역에 대응하는 화각 영역을 나타내고, 영역(1135)은 제 2 영역에 대응하는 화각 영역을 나타낼 수 있다. 프로세서(350)는, 지정된 줌 배율이 b배(bx)의 제 2 영역에 대응하는 화각 영역(예: 참조 부호 1102의 제 2 영역에 대응하는 화각 영역의 폭들을 합산한 길이(2*n1))을 이용하여, 카메라 모듈의 줌 배율이 c배(cx)에서의 제 1 배율을 결정할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율이 c배(cx)에서의 제 1 배율을 아래 [수학식 1]을 이용하여 결정할 수 있다.In one embodiment, at reference numeral 1103 in FIG. 11, it is confirmed that the zoom magnification of the camera module is c times (cx) and the magnitude of the movement of the electronic device 301 exceeds the threshold, and the specified zoom magnification is b times ( bx), image 3 (1130) represents the angle of view area corresponding to the first image (e.g., the scene to be represented by the first image), area 1133 represents the angle of view area corresponding to the first area, and area ( 1135) may indicate a field of view area corresponding to the second area. The processor 350 selects a field of view area corresponding to the second area where the specified zoom magnification is b times (bx) (e.g., a length (2*n1) obtained by adding up the widths of the view angle area corresponding to the second area of reference numeral 1102. ), the zoom magnification of the camera module can be determined as the first magnification at c times (cx). The processor 350 may determine the first magnification when the zoom magnification of the camera module is c times (cx) using [Equation 1] below.
[수학식 1][Equation 1]
제 1 비율 = (m*c)/(m*c - m*b + 100*b)First ratio = (m*c)/(m*c - m*b + 100*b)
일 실시예에서, [수학식 1]에서, m은 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우 결정되는 제 1 비율을 나타낼 수 있다. [수학식 1]에서, b는 지정된 줌 배율을 나타내고, c는 카메라 모듈(310)의 현재 카메라 모듈의 줌 배율을 나타낼 수 있다.In one embodiment, in [Equation 1], m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification. In [Equation 1], b may represent a designated zoom factor, and c may represent the zoom factor of the current camera module of the camera module 310.
도 4를 다시 참조하면, 동작 407에서, 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여, 제 1 이미지를 획득할 수 있다.Referring back to FIG. 4 , in operation 407, in one embodiment, the processor 350 may acquire a first image based on the zoom factor and the first ratio of the camera module.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율에 대응하는 제 1 이미지 기반 줌 배율에 기반하여, 복수의 카메라들 중에서, 이미지를 획득할 카메라를 선택할 수 있다.In one embodiment, the processor 350 may select a camera to acquire an image from among a plurality of cameras based on the first image-based zoom factor corresponding to the zoom factor of the camera module.
일 실시예에서, 전술한 바와 같이, 카메라 모듈의 줌 배율은, 디스플레이 모듈(330)을 통하여 표시되는 이미지(또는 카메라 흔들림 보정의 결과 이미지)를 기준으로 하는 줌 배율일 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 5배(5x)인 경우 획득되는 카메라 흔들림 보정 후 결과 이미지(예: 카메라 모듈의 줌 배율이 5배(5x)이고 전자 장치(301)의 움직임의 크기가 임계 이하인 경우 제 1 영역에 대응하는 화각 영역)가 나타내는 화각 영역의 한 변의 길이는, 카메라 모듈의 줌 배율이 1배(1x)에서 획득되는 카메라 흔들림 보정 후 결과 이미지(예: 카메라 모듈의 줌 배율이 1배(1x)이고 전자 장치(301)의 움직임의 크기가 임계 이하인 경우 제 1 영역에 대응하는 화각 영역)가 나타내는 화각 영역의 한 변의 길이의 1/5일 수 있다. 예를 들어, 도 11의 참조 부호 1101 및 참조 부호 1103을 비교하면, 카메라 모듈의 줌 배율이 1배(1x)인 경우 제 1 영역(1113)에 대응하는 화각 영역의 한 변이 (100-m)*a/(100)이고, 카메라 모듈의 줌 배율이 c배(cx)인 경우 제 1 영역(1133)에 대응하는 화각 영역의 한 변은 아래 [수학식 2]의 e와 같을 수 있다.In one embodiment, as described above, the zoom magnification of the camera module may be a zoom magnification based on the image displayed through the display module 330 (or the resulting image of camera shake correction). For example, if the zoom magnification of the camera module is 5x (5x), the resulting image after camera shake correction obtained (e.g., the zoom magnification of the camera module is 5x (5x) and the magnitude of the movement of the electronic device 301 is The length of one side of the angle of view area indicated by the angle of view area corresponding to the first area (if below the threshold) is the result of the image after camera shake correction obtained at a zoom magnification of 1x (1x) of the camera module (e.g., the zoom magnification of the camera module) If this is 1x and the magnitude of the movement of the electronic device 301 is less than a threshold, the angle of view area corresponding to the first area may be 1/5 of the length of one side of the angle of view indicated by the angle of view area. For example, comparing reference numerals 1101 and 1103 in FIG. 11 , when the zoom magnification of the camera module is 1x (1x), one side of the field of view area corresponding to the first area 1113 (100-m) If *a/(100) and the zoom magnification of the camera module is c times (cx), one side of the angle of view area corresponding to the first area 1133 may be equal to e in [Equation 2] below.
[수학식 2][Equation 2]
e = (100-m)*a/(100*c)일 수 있다.e = (100-m)*a/(100*c).
일 실시예에서, [수학식 2]에서, m은 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우 결정되는 제 1 비율을 나타낼 수 있다. [수학식 2]에서, a는 카메라 모듈의 줌 배율이 1배(1x)인 경우 제 1 이미지에 대응하는 화각 영역을 나태나고, b는 지정된 줌 배율을 나타내고, c는 카메라 모듈(310)의 현재 줌 배율을 나타낼 수 있다.In one embodiment, in [Equation 2], m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification. In [Equation 2], a represents the angle of view area corresponding to the first image when the zoom magnification of the camera module is 1x (1x), b represents the specified zoom magnification, and c represents the angle of view of the camera module 310. The current zoom factor can be displayed.
일 실시예에서, 제 1 이미지 기반 줌 배율은, 카메라 흔들림 보정의 입력 이미지로서 제 1 이미지를 기반으로 하는 줌 배율일 수 있다. 예를 들어, 제 1 이미지를 기반으로 하는 줌 배율이 5배(5x)인 경우 획득되는 제 1 이미지가 나타내는 화각 영역의 한 변의 길이는, 제 1 이미지를 기반으로 하는 줌 배율이 1배(1x)에서 획득되는 제 1 이미지가 나타내는 화각 영역의 한 변의 길이의 1/5일 수 있다. 예를 들어, 도 11의 참조 부호 1101 및 참조 부호 1103을 비교하면, 제 1 이미지 기반 줌 배율이 1배(1x)인 경우 제 1 영역(1113)에 대응하는 화각 영역의 한 변이 a이고, 카메라 모듈의 줌 배율이 c배(cx)인 경우 제 1 영역(1133)에 대응하는 화각 영역의 한 변은 아래 [수학식 2]의 f와 같을 수 있다.In one embodiment, the first image-based zoom factor may be a zoom factor based on the first image as an input image for camera shake correction. For example, if the zoom factor based on the first image is 5x (5x), the length of one side of the field of view area represented by the obtained first image is 1x (1x). ) may be 1/5 of the length of one side of the field of view area represented by the first image acquired in ). For example, comparing reference numerals 1101 and 1103 in FIG. 11, when the first image-based zoom factor is 1x (1x), one side of the angle of view area corresponding to the first area 1113 is a, and the camera When the zoom magnification of the module is c times (cx), one side of the field of view area corresponding to the first area 1133 may be equal to f in [Equation 2] below.
[수학식 3][Equation 3]
f = (100-m)*a/(100*c) + 2*a/b*(m/100) f = (100-m)*a/(100*c) + 2*a/b*(m/100)
일 실시예에서, [수학식 3]에서, m은 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우 결정되는 제 1 비율을 나타낼 수 있다. [수학식 3]에서, a는 카메라 모듈의 줌 배율이 1배(1x)인 경우 제 1 이미지에 대응하는 화각 영역을 나태나고, b는 지정된 줌 배율을 나타내고, c는 카메라 모듈(310)의 현재 줌 배율을 나타낼 수 있다.In one embodiment, in [Equation 3], m may represent the first ratio determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification. In [Equation 3], a represents the angle of view area corresponding to the first image when the zoom magnification of the camera module is 1x (1x), b represents the specified zoom magnification, and c represents the angle of view of the camera module 310. The current zoom factor can be displayed.
일 실시예에서, 프로세서(350)는, [수학식 2] 및 [수학식 3]에 기반하여, 아래 [수학식 4]를 이용하여, 제 1 이미지 기반 줌 배율(예: [수학식 4]에서 g)을 산출할 수 있다.In one embodiment, the processor 350 uses [Equation 4] below, based on [Equation 2] and [Equation 3], to calculate a first image-based zoom factor (e.g., [Equation 4] g) can be calculated from .
[수학식 4][Equation 4]
g = e/fg = e/f
일 실시예에서, 프로세서(350)는, 제 1 이미지 기반 줌 배율에 기반하여, 복수의 카메라들에 포함된 제 1 카메라 및 제 2 카메라 중에서, 이미지를 획득할 카메라를 선택할 수 있다. 프로세서(350)는, 선택된 카메라를 통하여, 제 1 이미지를 획득할 수 있다. 이하, 도 12 및 도 13을 참조하여, 제 1 이미지 기반 줌 배율에 기반하여 선택된 카메라를 통하여, 제 1 이미지를 획득하는 방법에 대하여 설명하도록 한다.In one embodiment, the processor 350 may select a camera to acquire an image from among the first camera and the second camera included in the plurality of cameras, based on the first image-based zoom factor. The processor 350 may acquire the first image through the selected camera. Hereinafter, with reference to FIGS. 12 and 13, a method of acquiring a first image through a camera selected based on the first image-based zoom factor will be described.
도 12는, 일 실시예에 따른, 제 1 이미지 기반 줌 배율에 기반하여 선택된 카메라를 통하여 제 1 이미지를 획득하는 방법을 설명하는 흐름도(1200)이다.FIG. 12 is a flowchart 1200 illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
도 13은, 일 실시예에 따른, 제 1 이미지 기반 줌 배율에 기반하여 선택된 카메라를 통하여 제 1 이미지를 획득하는 방법을 설명하는 예시도(1300)이다.FIG. 13 is an example diagram 1300 illustrating a method of acquiring a first image through a camera selected based on a first image-based zoom factor, according to an embodiment.
도 12 및 도 13을 참조하면, 동작 1201에서, 일 실시예에서, 프로세서(350)는, 현재 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 미만인지 여부를 확인할 수 있다.Referring to FIGS. 12 and 13 , in operation 1201, in one embodiment, the processor 350 may determine whether the current first image-based zoom factor is less than a specified first image-based zoom factor.
일 실시예에서, 전자 장치(301)는 고정된 화각을 가지는 제 1 카메라 및 광학 줌을 지원하는 제 2 카메라를 포함할 수 있다.In one embodiment, the electronic device 301 may include a first camera having a fixed angle of view and a second camera supporting optical zoom.
일 실시예에서, 제 2 카메라는, 지정된 제 1 이미지 기반 줌 배율 범위에서, 렌즈를 이동시킴으로써 광학 줌을 지원하는 카메라일 수 있다. 예를 들어, 제 2 카메라는, 지정된 제 1 이미지 기반 제 1 줌 배율(예: 3배(3x)) 이상 지정된 제 1 이미지 기반 제 2 줌 배율(예: 10배(10x)) 미만에서 광학 줌을 수행하는 카메라일 수 있다.In one embodiment, the second camera may be a camera that supports optical zoom by moving the lens in a specified first image-based zoom magnification range. For example, the second camera optically zooms at a first zoom factor based on the specified first image (e.g., 3x (3x)) but less than a second zoom factor (e.g., 10x (10x)) based on the specified first image. It may be a camera that performs.
일 실시예에서, 지정된 제 1 이미지 기반 줌 배율은, 지정된 제 1 이미지 기반 줌 배율 범위의 최소 줌 배율일 수 있다. 예를 들어, 지정된 제 1 이미지 기반 줌 배율은, 제 2 카메라가 제 1 이미지 기반 제 1 줌 배율(예: 3배(3x)) 이상 제 1 이미지 기반 제 2 줌 배율(예: 10배(10x)) 미만에서 광학 줌을 수행하는 경우, 상기 제 1 이미지 기반 제 1 줌 배율(예: 3배(3x))일 수 있다.In one embodiment, the specified first image-based zoom factor may be the minimum zoom factor in the designated first image-based zoom factor range. For example, the specified first image-based zoom factor may be such that the second camera has a first image-based first zoom factor (e.g., 3x) or greater than the first image-based second zoom factor (e.g., 10x (10x)). )), it may be a first zoom magnification (e.g., 3x) based on the first image.
동작 1201에서 현재 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 미만인 것으로 확인된 경우, 동작 1203에서, 프로세서(350)는, 복수의 카메라들 중에서, 제 1 카메라를 제 1 이미지를 획득하기 위한 카메라로 선택할 수 있다.If it is determined in operation 1201 that the current first image-based zoom factor is less than the specified first image-based zoom factor, in operation 1203, the processor 350 selects a first camera among the plurality of cameras to acquire the first image. You can choose a camera for your needs.
동작 1205에서, 일 실시예에서, 프로세서(350)는, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다.At operation 1205, in one embodiment, processor 350 may acquire a first image through a first camera.
일 실시예에서, 프로세서(350)는, 제 1 카메라를 통하여 이미지(예: 제 1 카메라의 화각 영역 전체에 대응하는 이미지)를 획득할 수 있다. 프로세서(350)는, 상기 획득된 이미지 내에서, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여 제 1 이미지를 획득할 수 있다. 예를 들어, 프로세서(350)는, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여 제 1 카메라를 통하여 획득된 이미지를 크롭(crop)함으로써, 제 1 이미지를 획득할 수 있다. 이하에서, 카메라(예: 제 1 카메라 또는 제 2 카메라)를 통하여 획득된 이미지를 크롭함으로써 제 1 이미지를 획득하는 방식을 "디지털 줌 방식"으로 지칭하기로 한다.In one embodiment, the processor 350 may acquire an image (eg, an image corresponding to the entire field of view area of the first camera) through the first camera. The processor 350 may acquire a first image based on the zoom magnification and first ratio of the camera module within the acquired image. For example, the processor 350 may acquire the first image by cropping the image acquired through the first camera based on the zoom magnification and first ratio of the camera module. Hereinafter, a method of acquiring a first image by cropping an image acquired through a camera (eg, a first camera or a second camera) will be referred to as a “digital zoom method.”
동작 1201에서 현재 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 이상인 것으로 확인된 경우, 동작 1207에서, 프로세서(350)는, 복수의 카메라들 중에서, 제 2 카메라를 제 1 이미지를 획득하기 위한 카메라로 선택할 수 있다.If it is determined in operation 1201 that the current first image-based zoom factor is greater than or equal to the specified first image-based zoom factor, in operation 1207, the processor 350 selects a second camera from among the plurality of cameras to acquire the first image. You can choose a camera for your needs.
동작 1209에서, 일 실시예에서, 프로세서(350)는, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다.At operation 1209, in one embodiment, the processor 350 may acquire the first image through the second camera.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여, 제 2 카메라의 설정(예: 제 2 카메라에 포함된 렌즈의 위치(예: 렌즈가 이동될 위치))을 조정할 수 있다. 예를 들어, 프로세서(350)는, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여, 제 2 카메라에 포함된 렌즈의 위치(예: 렌즈가 이동될 위치)를 결정할 수 있다. 프로세서(350)는, 제 2 카메라를 상기 결정된 위치로 이동시킨 후, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다.In one embodiment, the processor 350 configures the settings of the second camera (e.g., the position of the lens included in the second camera (e.g., the position to which the lens is to be moved)) of the second camera, based on the zoom magnification and the first ratio of the camera module. ) can be adjusted. For example, the processor 350 may determine the position of the lens included in the second camera (eg, the position to which the lens is to be moved) based on the zoom magnification and the first ratio of the camera module. The processor 350 may move the second camera to the determined position and then acquire the first image through the second camera.
일 실시예에서, 프로세서(350)는, 제 1 이미지 기반 줌 배율이 제 2 카메라의 제 1 이미지 기반 줌 배율 범위에 속하는 경우, 제 2 카메라의 광학 줌을 이용하여 제 1 이미지를 획득할 수 있다. 이하에서, 제 2 카메라의 광학 줌을 이용하여 제 1 이미지를 획득하는 방식을 "광학 줌 방식"으로 지칭하기로 한다. 프로세서(350)는, 제 1 이미지 기반 줌 배율이 제 2 카메라의 제 1 이미지 기반 줌 배율 범위의 최대 줌 배율 이상인 경우, 제 2 카메라의 최대 제 1 이미지 기반 줌 배율에서 이미지를 획득하고, 획득된 이미지 내에서 크롭 동작을 통하여 제 1 이미지를 획득할 수 있다. 예를 들어, 프로세서(350)는, 제 1 이미지 기반 줌 배율이 제 2 카메라의 제 1 이미지 기반 줌 배율 범위의 최대 줌 배율 이상인 경우, 제 2 카메라의 최대 제 1 이미지 기반 줌 배율에서 이미지를 획득한 후, 획득된 이미지에 대하여 디지털 줌 방식을 적용함으로써, 제 1 이미지를 획득할 수 있다. In one embodiment, the processor 350 may acquire the first image using the optical zoom of the second camera when the first image-based zoom magnification falls within the first image-based zoom magnification range of the second camera. . Hereinafter, the method of acquiring the first image using the optical zoom of the second camera will be referred to as the “optical zoom method.” The processor 350 acquires an image at the maximum first image-based zoom factor of the second camera when the first image-based zoom factor is greater than or equal to the maximum zoom factor of the first image-based zoom factor range of the second camera, and The first image can be obtained through a cropping operation within the image. For example, the processor 350 acquires the image at the maximum first image-based zoom factor of the second camera if the first image-based zoom factor is greater than or equal to the maximum zoom factor of the first image-based zoom factor range of the second camera. After that, the first image can be obtained by applying a digital zoom method to the acquired image.
일 실시예에서, 제 2 카메라의 제 1 이미지 기반 줌 배율 범위는 3배(3x) 이상 10배(10x) 미만일 수 있다. 프로세서(350)는, 제 1 이미지 기반 줌 배율이 5배(5x)인 경우, 제 2 카메라의 광학 줌을 이용하여 제 1 이미지를 획득할 수 있다. 예를 들어, 프로세서(350)는, 제 1 이미지 기반 줌 배율이 5배(5x)인 경우, 제 1 이미지 기반 줌 배율이 5배(5x)에 대응하는 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여, 제 2 카메라에 포함된 렌즈의 위치(예: 렌즈가 이동될 위치)를 결정할 수 있다. 프로세서(350)는, 제 2 카메라를 상기 결정된 위치로 이동시킨 후, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다. 프로세서(350)는, 제 1 이미지 기반 줌 배율이 11배(11x)인 경우, 제 1 이미지 기반 줌 배율이 10배(10x)에 대응하는 렌즈의 위치에서 이미지를 획득하고, 제 1 이미지 기반 줌 배율이 11배(11x)에 대응하는 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여 상기 획득된 이미지를 크롭함으로써, 제 1 이미지를 획득할 수 있다.In one embodiment, the first image-based zoom magnification range of the second camera may be 3 times (3x) or more and less than 10 times (10x). When the first image-based zoom magnification is 5x, the processor 350 may acquire the first image using the optical zoom of the second camera. For example, when the first image-based zoom magnification is 5x (5x), the processor 350 adjusts the zoom magnification and the first ratio of the camera module corresponding to the first image-based zoom magnification of 5x (5x). Based on this, the position of the lens included in the second camera (eg, the position to which the lens is to be moved) may be determined. The processor 350 may move the second camera to the determined position and then acquire the first image through the second camera. When the first image-based zoom magnification is 11 times (11x), the processor 350 acquires an image at the position of the lens corresponding to the first image-based zoom magnification of 10 times (10x), and performs the first image-based zoom The first image can be obtained by cropping the obtained image based on the first ratio and the zoom magnification of the camera module whose magnification is 11x (11x).
일 실시예에서, 도 13은, 고정된 화각을 가지는 제 1 카메라와, 3배(3x) 이상 10배(10x) 미만인 제 1 이미지 기반 줌 배율 범위에서 광학 줌을 수행하는 제 2 카메라를 포함하는 전자 장치(301)에서, 카메라 모듈의 줌 배율 증가 시, 전자 장치(301)의 움직임의 크기에 기반하여, 제 1 이미지를 획득하는 방법을 설명하기 위한 예시도일 수 있다.In one embodiment, Figure 13 includes a first camera having a fixed angle of view and a second camera performing optical zoom in a first image-based zoom magnification range of 3x (3x) to 10x (10x). In the electronic device 301, when the zoom magnification of the camera module is increased, this may be an example to explain a method of acquiring the first image based on the size of the movement of the electronic device 301.
일 실시예에서, 도 13의 참조 부호 1301은, 전자 장치(301)의 움직임의 크기가 제 1 임계 이하인 경우, 카메라 모듈의 줌 배율의 증가에 따라, 제 1 이미지를 획득하는 방법을 나타낼 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 화살표(1310)과 같이 증가하는 경우, 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3배(3x) 이하인 제 1-1 구간(1311)에서, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3배(3x)를 초과하고 10배(10x) 이하인 제 1-2 구간(1312)(예: 제 1 이미지 기반 줌 배율 범위가 3배(3x)를 초과하고 10배(10x) 이하인 구간)에서, 제 2 카메라를 통하여 광학 줌을 이용하여 제 1 이미지를 획득할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 10배(10x)를 초과하는 제 1-3 구간(1313)(예: 제 1 이미지 기반 줌 배율 범위가 10배(10x)를 초과하는 구간)에서, 제 2 카메라를 통하여 디지털 줌 방식을 이용하여 제 1 이미지를 획득할 수 있다.In one embodiment, reference numeral 1301 in FIG. 13 may indicate a method of acquiring the first image as the zoom magnification of the camera module increases when the magnitude of the movement of the electronic device 301 is less than or equal to the first threshold. . For example, when the zoom magnification of the camera module increases as shown by the arrow 1310, the processor 350 performs the first 1 The first image can be acquired through a camera. The processor 350 configures the first 1-2 section 1312 in which the zoom magnification range of the camera module is greater than 3x (3x) and less than or equal to 10x (10x) (e.g., the first image-based zoom magnification range is 3x (3x). ) and 10 times (10x) or less), the first image can be acquired using optical zoom through the second camera. The processor 350 performs a 1-3 section 1313 in which the zoom magnification range of the camera module exceeds 10 times (10x) (e.g., a section in which the first image-based zoom magnification range exceeds 10 times (10x)) In, the first image can be acquired using a digital zoom method through the second camera.
일 실시예에서, 도 13의 참조 부호 1302는, 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하이고 카메라 모듈(310)의 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우(예: 도 9의 동작 907를 통하여 제 1 비율을 결정하는 경우), 카메라 모듈의 줌 배율의 증가에 따라, 제 1 이미지를 획득하는 방법을 나타낼 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 화살표(1320)과 같이 증가하는 경우, 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3배(3x) 이하인 제 2-1 구간(1321)에서, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3배(3x)를 초과하는 제 2-2 구간(1322)(예: 제 1 이미지 기반 줌 배율 범위가 3배(3x)를 초과하는 구간)에서, 제 2 카메라를 통하여 광학 줌 방식을 이용하여 제 1 이미지를 획득할 수 있다. In one embodiment, reference numeral 1302 in FIG. 13 indicates that the magnitude of the movement of the electronic device 301 exceeds the first threshold and is below the second threshold and corresponds to three times (3x) the size of the camera module 310. When determining the first ratio using a ratio (e.g., determining the first ratio through operation 907 of FIG. 9), it may indicate a method of acquiring the first image according to an increase in the zoom magnification of the camera module. there is. For example, when the zoom magnification of the camera module increases as shown by the arrow 1320, the processor 350 performs the first 1 The first image can be acquired through a camera. The processor 350 operates in a 2-2 section 1322 in which the zoom magnification range of the camera module exceeds 3 times (3x) (e.g., a section in which the first image-based zoom magnification range exceeds 3 times (3x)) In , the first image may be acquired using an optical zoom method through the second camera.
일 실시예에서, 도 13의 참조 부호 1303는, 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하고 카메라 모듈(310)의 2배(2x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우(예: 도 9의 동작 909를 통하여 제 1 비율을 결정하는 경우), 카메라 모듈의 줌 배율의 증가에 따라, 제 1 이미지를 획득하는 방법을 나타낼 수 있다. 예를 들어, 카메라 모듈의 줌 배율이 화살표(1330)과 같이 증가하는 경우, 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3.4배(3.4x) 이하인 제 3-1 구간(1331)(예: 제 1 이미지 기반 줌 배율 범위가 3배(3x) 이하인 구간)에서, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 범위가 3.4배(3.4x)를 초과하는 제 3-2 구간(1332)(예: 제 1 이미지 기반 줌 배율 범위가 3배(3x)를 초과하는 구간)에서, 제 2 카메라를 통하여 광학 줌 방식을 이용하여 제 1 이미지를 획득할 수 있다.In one embodiment, reference numeral 1303 in FIG. 13 indicates that the magnitude of the movement of the electronic device 301 exceeds the second threshold and uses a first ratio corresponding to twice (2x) that of the camera module 310. 1 When determining the ratio (e.g., determining the first ratio through operation 909 of FIG. 9), a method of acquiring the first image may be indicated according to an increase in the zoom factor of the camera module. For example, when the zoom magnification of the camera module increases as shown by the arrow 1330, the processor 350 selects the 3-1 section 1331 (e.g. : In the section where the first image-based zoom magnification range is 3x (3x) or less), the first image can be acquired through the first camera. The processor 350 operates in a 3-2 section 1332 in which the zoom magnification range of the camera module exceeds 3.4x (3.4x) (e.g., a section in which the first image-based zoom magnification range exceeds 3x (3x)) ), the first image can be acquired using an optical zoom method through the second camera.
도 4를 다시 참조하면, 동작 409에서, 일 실시예에서, 프로세서(350)는, 제 1 이미지에 기반하여 카메라 흔들림을 보정함으로써 제 2 이미지를 획득할 수 있다.Referring back to FIG. 4 , in operation 409, in one embodiment, the processor 350 may acquire a second image by correcting camera shake based on the first image.
일 실시예에서, 프로세서(350)는, 제 1 이미지에 기반하여. 광학식 이미지 안정화 또는 전자식 이미지 안정화를 이용하여, 카메라 흔들림을 보정함으로써 제 2 이미지를 획득할 수 있다.In one embodiment, processor 350, based on the first image. A second image can be acquired by correcting camera shake using optical image stabilization or electronic image stabilization.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기 및 방향에 기반하여, 제 1 이미지에 대하여 카메라 흔들림을 보정함으로써, 제 2 이미지를 획득할 수 있다. 예를 들어, 프로세서(350)는, 전자 장치(301)의 움직임의 방향과 반대 방향을 가지며 전자 장치(301)의 움직임의 크기에 대응하는 벡터를 산출할 수 있다. 프로세서(350)는, 제 1 이미지 내에서 상기 산출된 벡터만큼 이동한 위치에 위치하고 제 1 영역의 크기와 동일한 크기를 가지는 영역을 제 2 이미지로서 획득할 수 있다.In one embodiment, the processor 350 may acquire the second image by correcting camera shake for the first image based on the size and direction of movement of the electronic device 301. For example, the processor 350 may calculate a vector that has a direction opposite to the direction of movement of the electronic device 301 and corresponds to the magnitude of the movement of the electronic device 301. The processor 350 may obtain, as a second image, an area located in a position moved by the calculated vector within the first image and having the same size as the first area.
일 실시예에서, 프로세서(350)는, 카메라 흔들림이 보정된 제 2 이미지를 획득한 후, 제 2 이미지에 대하여 video super resolution 방식을 이용하여 화질(예: 해상도)을 향상시키기 위한 동작을 수행할 수 있다.In one embodiment, the processor 350 acquires a second image with camera shake corrected and then performs an operation to improve image quality (e.g., resolution) on the second image using a video super resolution method. You can.
도 4 내지 도 13에 도시하지는 않았지만, 일 실시예에서, 프로세서(350)는, 제 2 이미지를 디스플레이 모듈(310)를 통하여 표시할 수 있다. 일 실시예에서, 제 2 이미지는 프리뷰 이미지를 포함할 수 있다. 다만, 이에 제한되지 않으며, 제 2 이미지는 프리뷰 이미지를 표시하는 동안 사용자 입력에 기반하여 획득되는 정지 이미지를 포함할 수 있다.Although not shown in FIGS. 4 to 13 , in one embodiment, the processor 350 may display the second image through the display module 310 . In one embodiment, the second image may include a preview image. However, the present invention is not limited thereto, and the second image may include a still image obtained based on user input while displaying the preview image.
일 실시예에서, 전술한 예시들에서는, 프로세서(350)가 카메라(예: 제 1 카메라 또는 제 2 카메라)를 통하여 획득된 이미지를 크롭함으로써 제 1 이미지를 획득하고, 획득된 제 1 이미지를 이용하여 카메라 흔들림을 보정하는 디지털 줌 방식을 예시하고 있지만 이에 제한되지 않는다. 예를 들어, 프로세서(350)는, 고정된 화각으로 이미지를 획득하도록 카메라(예: 제 1 카메라 또는 제 2 카메라)를 제어하고, 획득된 이미지를 이용하여 카메라 흔들림을 보정할 수 있다. 프로세서(350)는, 카메라 모듈의 줌 배율 및 제 1 비율에 기반하여, 카메라 흔들림이 보정된 이미지를 크롭함으로써 제 2 이미지를 획득하는 디지털 줌 방식을 이용할 수 있다.In one embodiment, in the examples described above, the processor 350 obtains a first image by cropping an image acquired through a camera (e.g., a first camera or a second camera), and uses the acquired first image. Thus, a digital zoom method that compensates for camera shake is exemplified, but it is not limited to this. For example, the processor 350 may control a camera (eg, a first camera or a second camera) to acquire an image with a fixed angle of view and correct camera shake using the acquired image. The processor 350 may use a digital zoom method to obtain a second image by cropping an image in which camera shake has been corrected based on the zoom magnification and first ratio of the camera module.
도 14는, 일 실시예에 따른, 카메라 모듈(310)의 3배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 카메라 모듈의 줌 배율 증가에 의해 결정되는 제 1 비율을 나타내는 그래프의 예시도(1400)이다.Figure 14 shows the first ratio determined by increasing the zoom magnification of the camera module when determining the first ratio using the first ratio corresponding to 3 times that of the camera module 310, according to one embodiment. This is an example graph (1400).
도 15는, 일 실시예에 따른, 카메라 모듈(310)의 2배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 카메라 모듈의 줌 배율 증가에 의해 결정되는 제 1 비율을 나타내는 그래프의 예시도(1500)이다.Figure 15 shows the first ratio determined by increasing the zoom magnification of the camera module when determining the first ratio using the first ratio corresponding to twice that of the camera module 310, according to one embodiment. This is an example graph (1500).
도 14 및 도 15를 참조하면, 일 실시예에서, 도 14는, 카메라 모듈의 줌 배율 3배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우(예: 도 8의 예시를 이용하여 제 1 비율을 결정하는 경우), 카메라 모듈의 줌 배율 증가에 따른 제 1 비율을 나타낼 수 있다. 예를 들어, 도 14에서, X축은 카메라 모듈의 줌 배율을 나타내고, Y축은 제 1 비율을 나타낼 수 있다. 일 실시예에서, 프로세서(350)는, 라인(1411)과 같이, 카메라 모듈의 줌 배율 범위가 3배(3x) 이하인 구간(예: 도 13의 제 2-1 구간(1321))에서, 고정된 비율(예: 20%)을 제 1 비율로 결정할 수 있다. 프로세서(350)는, 라인(1421)과 같이, 카메라 모듈의 줌 배율 범위가 3배(3x)를 초과하는 구간(예: 도 13의 제 2-2 구간(1322))에서, 카메라 모듈의 줌 배율 3배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정할 수 있다. 이러한 경우, 라인(1421)과 같이, 카메라 모듈의 줌 배율의 증가에 의해, 제 1 비율이 증가될 수 있다.Referring to FIGS. 14 and 15, in one embodiment, FIG. 14 shows a case where the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 3 times (e.g., using the example of FIG. 8) (when determining the first ratio), the first ratio may be indicated as the zoom magnification of the camera module increases. For example, in Figure 14, the X-axis may represent the zoom magnification of the camera module, and the Y-axis may represent the first ratio. In one embodiment, the processor 350, like line 1411, fixes the zoom ratio in a section where the zoom magnification range of the camera module is 3x (3x) or less (e.g., the 2-1 section 1321 of FIG. 13). The ratio (e.g. 20%) can be determined as the first ratio. The processor 350, as shown in line 1421, zooms the camera module in a section where the zoom magnification range of the camera module exceeds 3x (e.g., the 2-2 section 1322 of FIG. 13). The first ratio can be determined using the first ratio corresponding to 3 times the magnification. In this case, the first ratio may be increased by increasing the zoom factor of the camera module, as shown in line 1421.
일 실시예에서, 도 14는, 카메라 모듈(310)의 2배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우(예: 도 10의 예시를 이용하여 제 1 비율을 결정하는 경우), 카메라 모듈의 줌 배율 증가에 따른 제 1 비율을 나타낼 수 있다. 예를 들어, 도 15에서, X축은 카메라 모듈의 줌 배율을 나타내고, Y축은 제 1 비율을 나타낼 수 있다. 일 실시예에서, 프로세서(350)는, 라인(1511)과 같이, 카메라 모듈의 줌 배율 범위가 2배(2x) 이하인 구간(예: 도 13의 제 3-1 구간(1331))에서, 고정된 비율(예: 20%)을 제 1 비율로 결정할 수 있다. 프로세서(350)는, 라인(1521)과 같이, 카메라 모듈의 줌 배율 범위가 2배(2x)를 초과하는 구간(예: 도 13의 제 3-2 구간(1332))에서, 카메라 모듈의 줌 배율 2배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정할 수 있다. 이러한 경우, 라인(1521)과 같이, 카메라 모듈의 줌 배율의 증가에 의해, 제 1 비율이 증가될 수 있다.In one embodiment, FIG. 14 shows a case where the first ratio is determined using the first ratio corresponding to twice the camera module 310 (e.g., when the first ratio is determined using the example of FIG. 10 ), may represent the first ratio according to an increase in the zoom magnification of the camera module. For example, in Figure 15, the X-axis may represent the zoom magnification of the camera module, and the Y-axis may represent the first ratio. In one embodiment, the processor 350, like line 1511, performs a fixed operation in a section where the zoom magnification range of the camera module is 2x (2x) or less (e.g., the 3-1 section 1331 of FIG. 13). The ratio (e.g. 20%) can be determined as the first ratio. The processor 350, as shown in line 1521, zooms the camera module in a section where the zoom magnification range of the camera module exceeds 2x (e.g., the 3-2 section 1332 of FIG. 13). The first ratio can be determined using the first ratio corresponding to 2 times the magnification. In this case, the first ratio may be increased by increasing the zoom factor of the camera module, as shown in line 1521.
일 실시예에서, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 1 임계를 초과하고 제 2 임계 이하인 경우, 도 14와 같이, 카메라 모듈(310)의 3배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정할 수 있다. 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 제 2 임계를 초과하는 경우, 도 15와 같이, 카메라 모듈(310)의 2배에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정할 수 있다.In one embodiment, when the magnitude of the movement of the electronic device 301 exceeds the first threshold and is below the second threshold, the processor 350 moves the first motion corresponding to 3 times that of the camera module 310, as shown in FIG. 14. The first ratio can be determined using the ratio of 1. When the magnitude of movement of the electronic device 301 exceeds the second threshold, the processor 350 sets the first ratio using the first ratio corresponding to twice that of the camera module 310, as shown in FIG. 15. You can decide.
일 실시예에서, 도 14의 그래프 및 도 15의 그래프를 비교하면, 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 보다 큰 경우 제 1 비율이 보다 큰 비율을 가지도록, 제 1 비율을 결정할 수 있다. 프로세서(350)는, 전자 장치(301)의 움직임의 크기가 보다 큰 경우 보다 낮은 카메라 모듈의 줌 배율에서 제 1 비율이 증가하도록, 제 1 비율을 결정할 수 있다.In one embodiment, comparing the graph of FIG. 14 and the graph of FIG. 15, the processor 350 determines the first ratio so that when the magnitude of movement of the electronic device 301 is larger, the first ratio has a larger ratio. The ratio can be determined. The processor 350 may determine the first ratio so that the first ratio increases at a lower zoom magnification of the camera module when the magnitude of the movement of the electronic device 301 is larger.
일 실시예에서, 도 14 및 도 15에 도시된 바와 같이, 프로세서(350)는, 제 1 구간에서 고정된 비율(예: 20%)를 제 1 비율로 결정하고, 제 2 구간에서 카메라 모듈의 줌 배율 증가에 의해 제 1 비율이 증가하도록, 제 1 비율을 결정할 수 있다. 다만, 이에 제한되지 않는다. 예를 들어, 프로세서(350)는, 카메라 모듈(310)의 전 구간에서 카메라 모듈의 줌 배율 증가에 의해 제 1 비율이 증가하도록, 제 1 비율을 결정할 수 있다.In one embodiment, as shown in FIGS. 14 and 15, the processor 350 determines a fixed ratio (e.g., 20%) in the first section as the first ratio, and the camera module in the second section The first ratio may be determined such that the first ratio increases as the zoom magnification increases. However, it is not limited to this. For example, the processor 350 may determine the first ratio so that the first ratio increases in all sections of the camera module 310 by increasing the zoom magnification of the camera module.
일 실시예에서, 도 14 및 도 15에 도시된 바와 같이, 프로세서(350)는, 제 2 구간에서 카메라 모듈의 줌 배율 증가에 의해 제 1 비율이 증가하는 속도(예: 제 1 비율의 기울기)가 감소되도록, 제 1 비율을 결정할 수 있다. 다만, 이에 제한되지 않으며, 프로세서(350)는, 제 2 구간에서 카메라 모듈의 줌 배율 증가에 의해 제 1 비율이 증가하는 속도가 일정한 값으로 유지되거나 증가되도록, 제 1 비율을 결정할 수도 있다.In one embodiment, as shown in FIGS. 14 and 15, the processor 350 increases the speed at which the first ratio increases (e.g., the slope of the first ratio) by increasing the zoom magnification of the camera module in the second section. The first ratio can be determined such that is reduced. However, the present invention is not limited thereto, and the processor 350 may determine the first ratio such that the speed at which the first ratio increases due to an increase in the zoom magnification of the camera module in the second section is maintained at a constant value or increased.
도 16은, 일 실시예에 따른, 카메라 모듈의 줌 배율 변경에 따른, 제 1 이미지 기반 줌 배율의 변경을 설명하는 예시도(1600)이다.FIG. 16 is an example diagram 1600 illustrating a change in the first image-based zoom factor according to a change in the zoom factor of the camera module, according to an embodiment.
도 16을 참조하면, 일 실시예에서, 도 16은, 카메라 모듈의 줌 배율 변경에 대응하는, 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우 제 2 카메라의 제 1 이미지 기반 줌 배율(도 16에서 제 1 이미지 기반 제 1 줌 배율) 및 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우 제 2 카메라의 제 1 이미지 기반 줌 배율(도 16에서 제 1 이미지 기반 제 2 줌 배율)을 예시하는 테이블일 수 있다.Referring to Figure 16, in one embodiment, Figure 16 determines the first ratio using a first ratio corresponding to the zoom magnification of the camera module 3x (3x), which corresponds to a change in the zoom magnification of the camera module. In this case, the first ratio is determined using the first image-based zoom magnification of the second camera (the first image-based first zoom magnification in FIG. 16) and the first ratio corresponding to the zoom magnification 3x (3x) of the camera module. In this case, it may be a table illustrating the first image-based zoom magnification of the second camera (the first image-based second zoom magnification in FIG. 16).
일 실시예에서, 카메라 모듈의 줌 배율에 대응하는 제 1 이미지 기반 제 1 줌 배율 및 제 2 이미지 기반 제 2 줌 배율은, 전술한 [수학식 3] 및 [수학식 4]를 이용하여, 산출될 수 있다.In one embodiment, the first image-based first zoom magnification and the second image-based second zoom magnification corresponding to the zoom magnification of the camera module are calculated using the above-described [Equation 3] and [Equation 4] It can be.
일 실시예에서, 도 16에서, 제 1 이미지 기반 제 1 줌 배율 및 제 1 이미지 기반 제 2 줌 배율은, 3배 이상 10배 이하의 제 1 이미지 기반 줌 배율에서 광학 줌을 지원하는 제 2 카메라와 관련된 제 1 이미지 기반 줌 배율들일 수 있다. 일 실시예에서, 도 16에서, 카메라 모듈의 줌 배율이 지정된 줌 배율 이하인 경우 결정되는 제 1 비율(예: [수학식 3]에서 m)은, 20%인 것으로 가정할 수 있다.In one embodiment, in FIG. 16, the first image-based first zoom magnification and the first image-based second zoom magnification are a second camera that supports optical zoom at a first image-based zoom magnification of 3 times or more and 10 times or less. The first image-based zoom factors may be related to: In one embodiment, in FIG. 16, the first ratio (e.g., m in Equation 3) determined when the zoom magnification of the camera module is less than or equal to the specified zoom magnification may be assumed to be 20%.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 1 줌 배율이 3배(3x) 미만인 구간에서, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우 제 2 카메라는 제 1 이미지 기준 제 1 줌 배율이 3배(3x) 미만인 구간에서 비활성화될 수 있다. 예를 들어, 도 16에서 카메라 모듈의 줌 배율 1배(1x)(1611) 및 카메라 모듈의 줌 배율 2배(2x)(1612)에 각각 대응하는 제 1 이미지 기준 제 1 줌 배율 1.0x(1621) 및 제 1 이미지 기준 제 1 줌 배율 1.0x(1622)는, 제 2 카메라가 비활성화 상태에 있음을 나타낼 수 있다.In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 3x (3x) of the camera module, the first zoom magnification based on the first image is 3x (3x). In a section less than 3x), the first image can be acquired through the first camera. In one embodiment, when the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 3x (3x), the second camera has a first zoom ratio of less than 3x (3x) based on the first image. It can be deactivated in a section. For example, in Figure 16, the first zoom ratio 1.0x (1621) based on the first image corresponding to the zoom ratio 1x (1x) 1611 of the camera module and the zoom ratio 2x (2x) 1612 of the camera module, respectively. ) and the first zoom ratio 1.0x (1622) based on the first image may indicate that the second camera is in a deactivated state.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 3배(3x)(예: 3x(1613))에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 1 줌 배율이 3배(3.0x)(1623) 이상인 구간에서, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 1 줌 배율이 3배(3.0x)(1623) 이상이고 카메라 모듈의 줌 배율 24x(1615)에 대응하는 10배(10.0x)(1625) 이하인 구간에서, 광학 줌 방식을 이용하여, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 3배(3x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 1 줌 배율이 10배(10.0x)(1625)를 초과하는 구간에서, 디지털 줌 방식을 이용하여, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다.In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 3x (3x) (e.g., 3x (1613)), the processor 350 determines the first ratio based on the first image. In a section where the first zoom magnification is 3x (3.0x) (1623) or more, the first image can be acquired through the second camera. In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 3x (3x) of the camera module, the first zoom magnification based on the first image is 3x (3x). In the section above 3.0x)(1623) and below 10x (10.0x)(1625) corresponding to the zoom ratio of the camera module of 24x(1615), the first image is acquired through the second camera using an optical zoom method. can do. In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 3x (3x), the first zoom magnification based on the first image is 10x ( In a section exceeding 10.0x) (1625), the first image can be acquired through the second camera using a digital zoom method.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 2배(2x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 2 줌 배율이 2배(2x) 미만인 구간에서, 제 1 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 카메라 모듈의 줌 배율 2배(2x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우 제 2 카메라는 제 1 이미지 기준 제 2 줌 배율이 2배(2x) 미만인 구간에서 비활성화될 수 있다. 예를 들어, 도 16에서 카메라 모듈의 줌 배율 1x(1611), 카메라 모듈의 줌 배율 2x(1612), 및 카메라 모듈의 줌 배율 3x(1613)에 각각 대응하는 제 1 이미지 기준 제 2 줌 배율 1.0x(1631), 제 1 이미지 기준 제 2 줌 배율 1.0x(1632), 제 1 이미지 기준 제 2 줌 배율 1.0x(1633)는, 제 2 카메라가 비활성화 상태에 있음을 나타낼 수 있다.In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 2x (2x) of the camera module, the second zoom magnification based on the first image is 2x (2x). In a section less than 2x), the first image can be acquired through the first camera. In one embodiment, when the first ratio is determined using the first ratio corresponding to the zoom magnification of the camera module 2x (2x), the second camera has a second zoom ratio of less than 2x (2x) based on the first image. It can be deactivated in a section. For example, in Figure 16, the second zoom factor is 1.0 based on the first image, respectively corresponding to the zoom factor 1x (1611) of the camera module, the zoom factor 2x (1612) of the camera module, and the zoom factor 3x (1613) of the camera module. x (1631), a second zoom ratio of 1.0x (1632) based on the first image, and a second zoom ratio of 1.0x (1633) based on the first image may indicate that the second camera is in a deactivated state.
일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 2배(2x)(예: 2x(1612))에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 2 줌 배율이 3배(3.0x)(1634) 이상인 구간(예: 카메라 모듈의 줌 배율이 약 3.4x(1614) 이상인 구간)에서, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 2배(2x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 2 줌 배율이 3배(3.0x)(1634) 이상이고 카메라 모듈의 줌 배율 약 30x에 대응하는 10배(10.0x) 이하인 구간에서, 광학 줌 방식을 이용하여, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다. 일 실시예에서, 프로세서(350)는, 카메라 모듈의 줌 배율 2배(2x)에 대응하는 제 1 비율을 이용하여 제 1 비율을 결정하는 경우, 제 1 이미지 기준 제 2 줌 배율이 10배를 초과하는 구간에서, 디지털 줌 방식을 이용하여, 제 2 카메라를 통하여 제 1 이미지를 획득할 수 있다.In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 2x (2x) (e.g., 2x (1612)), the processor 350 determines the first ratio based on the first image. In a section where the second zoom magnification is 3x (3.0x) (1634) or more (e.g., a section where the zoom magnification of the camera module is about 3.4x (1614) or more), the first image can be acquired through the second camera. In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification of the camera module 2x (2x), the second zoom magnification based on the first image is 3x ( In the range of 3.0x) (1634) or more and 10x (10.0x) or less corresponding to the zoom magnification of the camera module of about 30x, the first image can be acquired through the second camera using an optical zoom method. In one embodiment, when the processor 350 determines the first ratio using the first ratio corresponding to the zoom magnification 2x (2x) of the camera module, the second zoom magnification based on the first image is 10x. In the exceeding section, the first image can be acquired through the second camera using a digital zoom method.
일 실시예에서, 전자 장치(101)에서 카메라 흔들림을 보정하기 위한 방법은, 상기 전자 장치(101)의 카메라 모듈(310)의 줌 배율을 확인하는 동작을 포함할 수 있다. 상기 방법은 상기 전자 장치(101)의 움직임의 크기를 확인하는 동작을 포함할 수 있다. 상기 방법은 상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정하는 동작을 포함할 수 있다. 상기 방법은 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득하는 동작을 포함할 수 있다. 상기 방법은 상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하는 동작을 포함할 수 있다.In one embodiment, a method for correcting camera shake in the electronic device 101 may include checking the zoom magnification of the camera module 310 of the electronic device 101. The method may include checking the magnitude of movement of the electronic device 101. The method corresponds to the size of the second image obtained by correcting the camera shake within the first image to the first image acquired to correct camera shake, based on the zoom factor and the magnitude of the movement. and determining a first ratio of the second area excluding the first area having a size of . The method may include acquiring the first image based on the zoom magnification and the first ratio. The method may include acquiring the second image by correcting the camera shake based on the first image.
일 실시예에서, 상기 제 1 비율을 결정하는 동작은, 상기 움직임의 크기가 임계 이하인 경우, 고정된 비율을 상기 제 1 비율로 결정하는 동작 및 상기 움직임의 크기가 상기 임계를 초과하는 경우, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first rate includes: determining a fixed rate as the first rate if the magnitude of the movement is less than or equal to the threshold; and if the magnitude of the movement exceeds the threshold, the operation of determining the first rate. It may include determining the first ratio so that the first ratio increases by increasing the zoom magnification of the camera module 310.
일 실시예에서, 상기 제 1 비율을 결정하는 동작은, 상기 카메라 모듈(310)의 상기 줌 배율이 지정된 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first ratio includes, if the zoom magnification of the camera module 310 is less than or equal to a specified zoom magnification, determining the fixed ratio as the first ratio and the camera module ( If the zoom magnification of 310) exceeds the specified zoom magnification, the first ratio may be increased by increasing the zoom magnification of the camera module 310. It may include an operation of determining the first ratio. .
일 실시예에서, 상기 제 1 비율을 결정하는 동작은, 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 지정됨 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작을 포함할 수 있다.In one embodiment, the operation of determining the first ratio includes, if the zoom factor of the camera module 310 exceeds the specified zoom factor, the zoom factor of the camera module 310 equal to the specified zoom factor. The method may include determining the first ratio using a field of view area corresponding to the second area determined.
일 실시예에서, 상기 임계는 제 1 임계 및 상기 제 1 임계 보다 큰 제 2 임계를 포함하고, 상기 지정된 줌 배율은 지정된 제 1 줌 배율 및 지정된 제 2 줌 배율을 포함하고, 상기 제 1 비율을 결정하는 동작은, 상기 움직임의 크기가 상기 제 1 임계 이하인 경우, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작, 상기 움직임의 크기가 상기 제 1 임계를 초과하고 상기 제 2 임계 이하인 경우: 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율을 초과하면, 상기 지정됨 제 1 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작, 및 상기 움직임의 크기가 상기 제 2 임계를 초과하는 경우: 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작 및 상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율을 초과하면, 상기 지정됨 제 2 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작을 포함할 수 있다.In one embodiment, the threshold includes a first threshold and a second threshold greater than the first threshold, the specified zoom factor includes a specified first zoom factor and a specified second zoom factor, and the first ratio is The determining operation includes determining the fixed ratio as the first ratio when the magnitude of the movement is less than or equal to the first threshold, and when the magnitude of the motion exceeds the first threshold and is less than or equal to the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the designated first zoom magnification, an operation of determining the fixed ratio as the first ratio and the zoom magnification of the camera module 310 is the designated first zoom. If the magnification is exceeded, determining the first ratio using a field of view area corresponding to the second area determined at the zoom magnification of the camera module 310 that is equal to the specified first zoom magnification, and When the magnitude of the movement exceeds the second threshold: If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, determining the fixed ratio as the first ratio and the camera module If the zoom magnification of 310 exceeds the specified second zoom magnification, using the field of view area corresponding to the second area determined at the zoom magnification of the camera module 310, which is equal to the specified second zoom magnification. Thus, an operation of determining the first ratio may be included.
일 실시예에서, 상기 카메라 모듈(310)은, 고정된 화각을 가지는 제 1 카메라 및 광학 줌을 지원하는 제 2 카메라를 포함하고, 상기 제 1 이미지를 획득하는 동작은, 상기 카메라 모듈(310)의 상기 줌 배율에 대응하고 상기 제 1 이미지를 기반으로 하는 제 1 이미지 기반 줌 배율에 기반하여 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 이미지를 획득하기 위한 카메라를 선택하는 동작을 포함할 수 있다.In one embodiment, the camera module 310 includes a first camera having a fixed angle of view and a second camera supporting optical zoom, and the operation of acquiring the first image is performed using the camera module 310. An operation of selecting a camera for acquiring the first image from among the first camera and the second camera based on a first image-based zoom factor that corresponds to the zoom factor and is based on the first image. You can.
일 실시예에서, 상기 제 1 이미지를 획득하기 위한 카메라를 선택하는 동작은, 상기 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 미만인지 여부를 확인하는 동작, 상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만임을 확인한 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하는 동작, 및 상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만 이상인 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 2 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하는 동작을 포함할 수 있다.In one embodiment, the operation of selecting a camera for acquiring the first image includes checking whether the first image-based zoom factor is less than a specified first image-based zoom factor, the first image-based zoom factor When it is confirmed that this is less than the specified first image-based zoom magnification, selecting the first camera among the first camera and the second camera as a camera for acquiring the first image, and the first image-based zoom When the magnification is less than or equal to the designated first image-based zoom magnification, the method may include selecting the second camera among the first camera and the second camera as a camera for acquiring the first image.
일 실시예에서, 상기 제 1 이미지를 획득하는 동작은, 상기 제 1 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 제 1 카메라를 통하여 이미지를 획득하는 동작 및 상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 획득된 이미지를 크롭함으로써, 상기 제 1 이미지를 획득하는 동작을 포함할 수 있다.In one embodiment, the operation of acquiring the first image includes, when the first camera is selected as a camera for acquiring the first image, acquiring an image through the first camera and the camera module 310 ) may include obtaining the first image by cropping the acquired image based on the zoom magnification and the first ratio.
일 실시예에서, 상기 제 1 이미지를 획득하는 동작은, 상기 제 2 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 2 카메라의 설정을 조정한 후, 상기 제 2 카메라를 통하여 상기 제 1 이미지를 획득하는 동작을 포함할 수 있다.In one embodiment, the operation of acquiring the first image is based on the zoom magnification and the first ratio of the camera module 310 when the second camera is selected as the camera for acquiring the first image. This may include an operation of adjusting the settings of the second camera and then acquiring the first image through the second camera.
일 실시예에서, 상기 제 2 이미지를 획득하는 동작은, 상기 제 1 이미지에 기반하여, 광학식 이미지 안정화 또는 전자식 이미지 안정화를 이용하여, 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하는 동작을 포함할 수 있다.In one embodiment, the operation of acquiring the second image includes acquiring the second image by correcting the camera shake using optical image stabilization or electronic image stabilization based on the first image. It can be included.
또한, 상술한 본 문서의 실시예에서 사용된 데이터의 구조는 컴퓨터로 읽을 수 있는 기록매체에 여러 수단을 통하여 기록될 수 있다. 상기 컴퓨터로 읽을 수 있는 기록매체는 마그네틱 저장매체(예를 들면, 롬, 플로피 디스크, 하드 디스크 등), 광학적 판독 매체(예를 들면, CD-ROM, DVD 등)와 같은 저장매체를 포함한다.Additionally, the data structure used in the above-described embodiments of this document can be recorded on a computer-readable recording medium through various means. The computer-readable recording media includes storage media such as magnetic storage media (eg, ROM, floppy disk, hard disk, etc.) and optical read media (eg, CD-ROM, DVD, etc.).

Claims (15)

  1. 전자 장치(301)에 있어서,In the electronic device 301,
    카메라 모듈(310); 및Camera module 310; and
    상기 카메라 모듈(310)과 작동적으로 연결된 적어도 하나의 프로세서(350)를 포함하고,Comprising at least one processor 350 operatively connected to the camera module 310,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 카메라 모듈(310)의 줌 배율을 확인하고,Check the zoom magnification of the camera module 310,
    상기 전자 장치(101)의 움직임의 크기를 확인하고,Check the magnitude of movement of the electronic device 101,
    상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정하고,Based on the zoom magnification and the size of the movement, a size corresponding to the size of the second image obtained by correcting the camera shake within the first image for the first image obtained to correct camera shake Determine the first ratio of the second area excluding the first area with
    상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득하고, 및Acquire the first image based on the zoom magnification and the first ratio, and
    상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하도록 구성된 전자 장치(101).An electronic device (101) configured to acquire the second image by correcting the camera shake based on the first image.
  2. 제 1 항에 있어서,According to claim 1,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 움직임의 크기가 임계 이하인 경우, 고정된 비율을 상기 제 1 비율로 결정하고, 및If the magnitude of the movement is below the threshold, determine a fixed rate as the first rate, and
    상기 움직임의 크기가 상기 임계를 초과하는 경우, 상기 카메라 모듈의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하도록 구성된 전자 장치(101). The electronic device (101) configured to determine the first ratio such that, when the magnitude of the movement exceeds the threshold, the first ratio increases by increasing the zoom magnification of the camera module.
  3. 제 1 항 또는 제 2 항에 있어서,The method of claim 1 or 2,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 움직임의 크기가 상기 임계를 초과하는 경우:If the magnitude of the movement exceeds the threshold:
    상기 카메라 모듈(310)의 상기 줌 배율이 지정된 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및If the zoom magnification of the camera module 310 is less than or equal to the specified zoom magnification, the fixed ratio is determined as the first ratio, and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하도록 구성된 전자 장치(101).Electronic configured to determine the first ratio, such that when the zoom magnification of the camera module 310 exceeds the specified zoom magnification, the first ratio increases by increasing the zoom magnification of the camera module 310 Device 101.
  4. 제 1 항 내지 제 3 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 3,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 지정됨 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하도록 구성된 전자 장치(101).If the zoom magnification of the camera module 310 exceeds the specified zoom magnification, using the field of view area corresponding to the second area determined at the zoom magnification of the camera module 310 that is equal to the specified zoom magnification , an electronic device (101) configured to determine the first ratio.
  5. 제 1 항 내지 제 4 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 4,
    상기 임계는 제 1 임계 및 상기 제 1 임계 보다 큰 제 2 임계를 포함하고,wherein the threshold includes a first threshold and a second threshold that is greater than the first threshold,
    상기 지정된 줌 배율은 지정된 제 1 줌 배율 및 지정된 제 2 줌 배율을 포함하고,The specified zoom factor includes a designated first zoom factor and a designated second zoom factor,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 움직임의 크기가 상기 제 1 임계 이하인 경우, 상기 고정된 비율을 상기 제 1 비율로 결정하고,If the magnitude of the movement is less than or equal to the first threshold, determine the fixed rate as the first rate,
    상기 움직임의 크기가 상기 제 1 임계를 초과하고 상기 제 2 임계 이하인 경우:If the magnitude of the movement exceeds the first threshold and is below the second threshold:
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및If the zoom magnification of the camera module 310 is less than or equal to the specified first zoom magnification, determine the fixed ratio as the first ratio, and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율을 초과하면, 상기 지정됨 제 1 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하고, 및If the zoom magnification of the camera module 310 exceeds the specified first zoom magnification, the angle of view corresponding to the second area determined at the zoom magnification of the camera module 310 equal to the specified first zoom magnification Using the area, determine the first ratio, and
    상기 움직임의 크기가 상기 제 2 임계를 초과하는 경우:If the magnitude of the movement exceeds the second threshold:
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하고, 및If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, the fixed ratio is determined as the first ratio, and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율을 초과하면, 상기 지정됨 제 2 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하도록 구성된 전자 장치(101).If the zoom magnification of the camera module 310 exceeds the specified second zoom magnification, the angle of view corresponding to the second area determined at the zoom magnification of the camera module 310 equal to the specified second zoom magnification An electronic device (101) configured to determine the first ratio using an area.
  6. 제 1 항 내지 제 5 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 5,
    상기 카메라 모듈(310)은, 고정된 화각을 가지는 제 1 카메라 및 광학 줌을 지원하는 제 2 카메라를 포함하고,The camera module 310 includes a first camera having a fixed angle of view and a second camera supporting optical zoom,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 카메라 모듈(310)의 상기 줌 배율에 대응하고 상기 제 1 이미지를 기반으로 하는 제 1 이미지 기반 줌 배율에 기반하여 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 이미지를 획득하기 위한 카메라를 선택하도록 구성된 전자 장치(101).A camera for acquiring the first image among the first camera and the second camera based on a first image-based zoom factor that corresponds to the zoom factor of the camera module 310 and is based on the first image An electronic device 101 configured to select.
  7. 제 1 항 내지 제 6 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 6,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 제 1 이미지 기반 줌 배율이 지정된 제 1 이미지 기반 줌 배율 미만인지 여부를 확인하고,Check whether the first image-based zoom factor is less than a specified first image-based zoom factor,
    상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만임을 확인한 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 1 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하고, 및When it is confirmed that the first image-based zoom factor is less than the specified first image-based zoom factor, selecting the first camera among the first camera and the second camera as a camera for acquiring the first image, and
    상기 제 1 이미지 기반 줌 배율이 상기 지정된 제 1 이미지 기반 줌 배율 미만 이상인 경우, 상기 제 1 카메라 및 상기 제 2 카메라 중에서 상기 제 2 카메라를 상기 제 1 이미지를 획득하기 위한 카메라로 선택하도록 구성된 전자 장치(101).An electronic device configured to select the second camera among the first camera and the second camera as a camera for acquiring the first image when the first image-based zoom factor is less than or equal to the specified first image-based zoom factor. (101).
  8. 제 1 항 내지 제 7 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 7,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 제 1 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 제 1 카메라를 통하여 이미지를 획득하고, 및When the first camera is selected as a camera for acquiring the first image, an image is acquired through the first camera, and
    상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 획득된 이미지를 크롭(crop)함으로써, 상기 제 1 이미지를 획득하도록 구성된 전자 장치(101). The electronic device 101 configured to acquire the first image by cropping the acquired image based on the zoom magnification and the first ratio of the camera module 310.
  9. 제 1 항 내지 제 8 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 8,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 제 2 카메라가 상기 제 1 이미지를 획득하기 위한 카메라로 선택된 경우, 상기 카메라 모듈(310)의 상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 2 카메라의 설정을 조정한 후, 상기 제 2 카메라를 통하여 상기 제 1 이미지를 획득하도록 구성된 전자 장치(101).When the second camera is selected as the camera for acquiring the first image, after adjusting the settings of the second camera based on the zoom magnification and the first ratio of the camera module 310, the second camera An electronic device (101) configured to acquire the first image through a camera.
  10. 제 1 항 내지 제 9 항 중 어느 한 항에 있어서,The method according to any one of claims 1 to 9,
    상기 적어도 하나의 프로세서(350)는,The at least one processor 350,
    상기 제 1 이미지에 기반하여, 광학식 이미지 안정화 또는 전자식 이미지 안정화를 이용하여, 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하도록 구성된 전자 장치(101).An electronic device (101) configured to obtain the second image by correcting the camera shake using optical image stabilization or electronic image stabilization based on the first image.
  11. 전자 장치(101)에서 카메라 흔들림을 보정하기 위한 방법에 있어서,In a method for correcting camera shake in the electronic device 101,
    상기 전자 장치(101)의 카메라 모듈(310)의 줌 배율을 확인하는 동작;An operation of checking the zoom magnification of the camera module 310 of the electronic device 101;
    상기 전자 장치(101)의 움직임의 크기를 확인하는 동작;An operation to check the magnitude of movement of the electronic device 101;
    상기 줌 배율 및 상기 움직임의 크기에 기반하여, 카메라 흔들림을 보정하기 위하여 획득되는 제 1 이미지에 대한, 상기 제 1 이미지 내에서 상기 카메라 흔들림을 보정함으로써 획득되는 제 2 이미지의 크기에 대응하는 크기를 가진 제 1 영역을 제외한 제 2 영역의 제 1 비율을 결정하는 동작;Based on the zoom magnification and the size of the movement, a size corresponding to the size of the second image obtained by correcting the camera shake within the first image for the first image obtained to correct camera shake determining a first ratio of a second area excluding a first area having an area;
    상기 줌 배율 및 상기 제 1 비율에 기반하여 상기 제 1 이미지를 획득하는 동작; 및acquiring the first image based on the zoom magnification and the first ratio; and
    상기 제 1 이미지에 기반하여 상기 카메라 흔들림을 보정함으로써, 상기 제 2 이미지를 획득하는 동작을 포함하는 방법.A method comprising acquiring the second image by correcting the camera shake based on the first image.
  12. 제 11 항에 있어서,According to claim 11,
    상기 제 1 비율을 결정하는 동작은,The operation of determining the first ratio is,
    상기 움직임의 크기가 임계 이하인 경우, 고정된 비율을 상기 제 1 비율로 결정하는 동작; 및If the magnitude of the movement is less than or equal to a threshold, determining a fixed rate as the first rate; and
    상기 움직임의 크기가 상기 임계를 초과하는 경우, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하는 동작을 포함하는 방법.A method comprising determining the first ratio so that, when the magnitude of the movement exceeds the threshold, the first ratio increases by increasing the zoom magnification of the camera module 310.
  13. 제 11 항 또는 제 12 항에 있어서,The method of claim 11 or 12,
    상기 제 1 비율을 결정하는 동작은,The operation of determining the first ratio is,
    상기 카메라 모듈(310)의 상기 줌 배율이 지정된 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작; 및If the zoom magnification of the camera module 310 is less than or equal to a specified zoom magnification, determining the fixed ratio as the first ratio; and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 카메라 모듈(310)의 상기 줌 배율의 증가에 의해 상기 제 1 비율이 증가하도록, 상기 제 1 비율을 결정하는 동작을 포함하는 방법.An operation of determining the first ratio so that when the zoom magnification of the camera module 310 exceeds the specified zoom magnification, the first ratio increases by increasing the zoom magnification of the camera module 310 How to include it.
  14. 제 11 항 내지 제 13 항 중 어느 한 항에 있어서,The method according to any one of claims 11 to 13,
    상기 제 1 비율을 결정하는 동작은,The operation of determining the first ratio is,
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 줌 배율을 초과하면, 상기 지정됨 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작을 포함하는 방법.If the zoom magnification of the camera module 310 exceeds the specified zoom magnification, using the field of view area corresponding to the second area determined at the zoom magnification of the camera module 310 that is equal to the specified zoom magnification , a method comprising determining the first ratio.
  15. 제 11 항 내지 제 14 항 중 어느 한 항에 있어서,The method according to any one of claims 11 to 14,
    상기 임계는 제 1 임계 및 상기 제 1 임계 보다 큰 제 2 임계를 포함하고,wherein the threshold includes a first threshold and a second threshold that is greater than the first threshold,
    상기 지정된 줌 배율은 지정된 제 1 줌 배율 및 지정된 제 2 줌 배율을 포함하고,The specified zoom factor includes a designated first zoom factor and a designated second zoom factor,
    상기 제 1 비율을 결정하는 동작은,The operation of determining the first ratio is,
    상기 움직임의 크기가 상기 제 1 임계 이하인 경우, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작;If the magnitude of the movement is less than or equal to the first threshold, determining the fixed rate as the first rate;
    상기 움직임의 크기가 상기 제 1 임계를 초과하고 상기 제 2 임계 이하인 경우:If the magnitude of the movement exceeds the first threshold and is below the second threshold:
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작; 및If the zoom magnification of the camera module 310 is less than or equal to the designated first zoom magnification, determining the fixed ratio as the first ratio; and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 1 줌 배율을 초과하면, 상기 지정됨 제 1 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작; 및If the zoom magnification of the camera module 310 exceeds the specified first zoom magnification, the angle of view corresponding to the second area determined at the zoom magnification of the camera module 310 equal to the specified first zoom magnification determining the first ratio using an area; and
    상기 움직임의 크기가 상기 제 2 임계를 초과하는 경우:If the magnitude of the movement exceeds the second threshold:
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율 이하이면, 상기 고정된 비율을 상기 제 1 비율로 결정하는 동작; 및If the zoom magnification of the camera module 310 is less than or equal to the specified second zoom magnification, determining the fixed ratio as the first ratio; and
    상기 카메라 모듈(310)의 상기 줌 배율이 상기 지정된 제 2 줌 배율을 초과하면, 상기 지정됨 제 2 줌 배율과 동일한 상기 카메라 모듈(310)의 상기 줌 배율에서 결정되는 상기 제 2 영역에 대응하는 화각 영역을 이용하여, 상기 제 1 비율을 결정하는 동작을 포함하는 방법.If the zoom magnification of the camera module 310 exceeds the specified second zoom magnification, the angle of view corresponding to the second area determined at the zoom magnification of the camera module 310 equal to the specified second zoom magnification A method comprising determining the first ratio using an area.
PCT/KR2023/009301 2022-07-15 2023-07-03 Method for correcting camera shake and electronic device supporting same WO2024014761A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
KR10-2022-0087437 2022-07-15
KR20220087437 2022-07-15
KR10-2022-0103621 2022-08-18
KR1020220103621A KR20240010372A (en) 2022-07-15 2022-08-18 Method for correcting camera shake and electronic device for supporting the same

Publications (1)

Publication Number Publication Date
WO2024014761A1 true WO2024014761A1 (en) 2024-01-18

Family

ID=89536994

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2023/009301 WO2024014761A1 (en) 2022-07-15 2023-07-03 Method for correcting camera shake and electronic device supporting same

Country Status (1)

Country Link
WO (1) WO2024014761A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014204342A (en) * 2013-04-05 2014-10-27 株式会社Jvcケンウッド Imaging apparatus and imaging method
JP2015076707A (en) * 2013-10-08 2015-04-20 キヤノン株式会社 Imaging apparatus, method for controlling imaging apparatus, program for controlling imaging apparatus, and storage medium
KR101578600B1 (en) * 2013-03-22 2015-12-17 가시오게산키 가부시키가이샤 Image processing device, image processing method, and computer readable storage medium
KR20200101180A (en) * 2019-02-19 2020-08-27 삼성전자주식회사 An electronic device for stabilizing image and operating method thereof
KR20220023632A (en) * 2020-08-21 2022-03-02 삼성전자주식회사 Method for stabilization and electronic device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101578600B1 (en) * 2013-03-22 2015-12-17 가시오게산키 가부시키가이샤 Image processing device, image processing method, and computer readable storage medium
JP2014204342A (en) * 2013-04-05 2014-10-27 株式会社Jvcケンウッド Imaging apparatus and imaging method
JP2015076707A (en) * 2013-10-08 2015-04-20 キヤノン株式会社 Imaging apparatus, method for controlling imaging apparatus, program for controlling imaging apparatus, and storage medium
KR20200101180A (en) * 2019-02-19 2020-08-27 삼성전자주식회사 An electronic device for stabilizing image and operating method thereof
KR20220023632A (en) * 2020-08-21 2022-03-02 삼성전자주식회사 Method for stabilization and electronic device thereof

Similar Documents

Publication Publication Date Title
WO2020091262A1 (en) Method for processing image by using artificial neural network, and electronic device supporting same
WO2022010122A1 (en) Method for providing image and electronic device supporting same
WO2022114801A1 (en) Electronic device comprising plurality of cameras, and control method for electronic device
WO2022102972A1 (en) Electronic device comprising image sensor and method of operating same
WO2022108235A1 (en) Method, apparatus, and storage medium for providing slow shutter
WO2022039424A1 (en) Image stabilization method and electronic device therefor
WO2023033333A1 (en) Electronic device comprising plurality of cameras and operating method therefor
WO2022260252A1 (en) Electronic device including camera module and operation method thereof
WO2022149812A1 (en) Electronic device including camera module and operating method of electronic device
WO2022108201A1 (en) Method for providing image and electronic device for supporting same
WO2022215943A1 (en) Electronic device comprising camera, and method for operating electronic device
WO2022097930A1 (en) Electronic device and display method therefor
WO2022139262A1 (en) Electronic device for editing video by using object of interest, and operating method therefor
WO2022045702A1 (en) Image stabilization assembly, camera module and electronic device comprising same
WO2021256709A1 (en) Electronic device and operating method of electronic device
WO2024014761A1 (en) Method for correcting camera shake and electronic device supporting same
WO2022149654A1 (en) Electronic device for performing image stabilization, and operating method therefor
WO2019017586A1 (en) Method for transmitting image data and data associated with control of image capture, on basis of size of image data and size of data associated with control of image capture, and electronic device supporting same
WO2021210875A1 (en) Electronic device for detecting defect in image on basis of difference among sub-images acquired by multiple photodiode sensor, and operation method thereof
WO2024090803A1 (en) Method for providing image, and electronic device supporting same
WO2022154168A1 (en) Electronic device capable of auto-focusing and method for operating same
WO2024034856A1 (en) Method for providing image, and electronic device supporting same
WO2023146149A1 (en) Method for providing image, and electronic device for supporting same
WO2024025182A1 (en) Electronic device for acquiring image by using multiple cameras and method therefor
WO2023090833A1 (en) Method for providing preview images, and electronic device thereof

Legal Events

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

Ref document number: 23839855

Country of ref document: EP

Kind code of ref document: A1