WO2017082676A1 - 전자 장치 및 전자 장치에서의 자동 초점 처리 방법 - Google Patents

전자 장치 및 전자 장치에서의 자동 초점 처리 방법 Download PDF

Info

Publication number
WO2017082676A1
WO2017082676A1 PCT/KR2016/013007 KR2016013007W WO2017082676A1 WO 2017082676 A1 WO2017082676 A1 WO 2017082676A1 KR 2016013007 W KR2016013007 W KR 2016013007W WO 2017082676 A1 WO2017082676 A1 WO 2017082676A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
electronic device
brightness
information
lens
Prior art date
Application number
PCT/KR2016/013007
Other languages
English (en)
French (fr)
Inventor
박병찬
양경동
Original Assignee
삼성전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자 주식회사 filed Critical 삼성전자 주식회사
Priority to US15/774,879 priority Critical patent/US10939032B2/en
Publication of WO2017082676A1 publication Critical patent/WO2017082676A1/ko

Links

Images

Classifications

    • 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/67Focus control based on electronic image sensor signals
    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B7/00Mountings, adjusting means, or light-tight connections, for optical elements
    • G02B7/28Systems for automatic generation of focusing signals
    • G02B7/36Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals
    • G02B7/38Systems for automatic generation of focusing signals using image sharpness techniques, e.g. image processing techniques for generating autofocus signals measured at different points on the optical axis, e.g. focussing on two or more planes and comparing image data
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B13/00Viewfinders; Focusing aids for cameras; Means for focusing for cameras; Autofocus systems for cameras
    • G03B13/32Means for focusing
    • G03B13/34Power focusing
    • G03B13/36Autofocus systems
    • 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/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • H04N23/673Focus control based on electronic image sensor signals based on contrast or high frequency components of image signals, e.g. hill climbing method
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/71Circuitry for evaluating the brightness variation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/76Circuitry for compensating brightness variation in the scene by influencing the image signals

Definitions

  • Various embodiments of the present disclosure relate to an electronic device and a method for processing auto focus in an electronic device.
  • An electronic device having a photographing function such as a digital camera may automatically focus on a subject through autofocus (AF).
  • AF autofocus
  • the auto focus may focus on a subject faster and more accurately than manual focus, and may automatically focus by analyzing a contrast of an image obtained through an image sensor.
  • the auto focus is largely divided into an active system and a passive system.
  • the camera may emit ultrasonic waves or infrared rays for distance measurement.
  • the manual method can focus using light that is naturally reflected from the object.
  • the auto focus method extracts a high frequency component of an image, acquires an evaluation value for evaluating a degree of focusing on a subject, and focuses on the subject.
  • the image data for autofocus processing is affected.
  • the evaluation value calculated from the image signal in which the exposure amount is not changed at the same focus position as the evaluation value calculated in the image signal in which the exposure amount is changed is focused on the subject at the wrong position.
  • various embodiments of the present disclosure provide an electronic device and a method for processing autofocus for maintaining the continuity of the autofocus search without resetting, for example, even with a change in the exposure amount.
  • the electronic device when the auto focus search is performed, receives the first image photographing the subject at the first position of the at least one lens, A signal processing module configured to receive a second image of the subject photographed at the second position of the lens; An image compensation module generating compensation information by using first brightness information of the first image and second brightness information of the second image, and compensating brightness of the second image by using the compensation information; And an autofocus processing module configured to perform image processing and autofocus processing on the first image and the second image whose brightness is compensated for.
  • a method for processing autofocus in an electronic device may include receiving a first image photographing a subject at a first location of at least one lens when an autofocus search is performed; Performing image processing and autofocus processing on the first image; Receiving a second image photographing the subject at a second position of the lens; Generating compensation information using first brightness information of the first image and second brightness information of the second image; Compensating for the brightness of the second image by using the compensation information; And performing image processing and autofocus processing on the second image whose brightness is compensated for.
  • the electronic device and the method for the auto focus processing in the electronic device may focus the subject precisely by maintaining the continuity of the auto focus search without resetting the change in the exposure amount.
  • FIG. 1 is a diagram illustrating a network environment according to various embodiments of the present disclosure.
  • FIG. 2 is a diagram illustrating a configuration example of an electronic device according to various embodiments of the present disclosure.
  • FIG. 3 is a diagram illustrating an example of image compensation in an electronic device according to various embodiments of the present disclosure.
  • FIG. 4 is a diagram illustrating an example of an operation procedure of an electronic device according to various embodiments of the present disclosure.
  • FIG. 5 is a diagram illustrating an example of an operation procedure of an electronic device according to various embodiments of the present disclosure.
  • FIG. 6 is a diagram illustrating an example of autofocus processing of an electronic device according to various embodiments of the present disclosure.
  • FIG. 7 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • FIG. 8 is a block diagram of a program module according to various embodiments of the present disclosure.
  • expressions such as “having”, “may have,” “includes,” or “may contain” may include the presence of a corresponding feature (e.g., numerical, functional, operational, or component such as a component). Does not exclude the presence of additional features.
  • expressions such as “A or B,” “at least one of A or / and B,” or “one or more of A or / and B,” and the like may include all possible combinations of items listed together.
  • “A or B,” “at least one of A and B,” or “at least one of A or B,” includes (1) at least one A, (2) at least one B, Or (3) both of cases including at least one A and at least one B.
  • first,” “second,” “first,” or “second,” and the like may modify various components, regardless of order and / or importance, and may form a component. It is used to distinguish it from other components and does not limit the components.
  • the first user device and the second user device may represent different user devices regardless of the order or importance.
  • the first component may be called a second component, and similarly, the second component may be renamed to the first component.
  • One component (such as a first component) is "(functionally or communicatively) coupled with / to" to another component (such as a second component) or " When referred to as “connected to”, it should be understood that any component may be directly connected to the other component or may be connected through another component (eg, a third component).
  • a component e.g., a first component
  • another component e.g., a second component
  • no other component e.g., a third component
  • the expression “configured to” as used in this document is, for example, “having the capacity to” depending on the context, for example, “suitable for,” “. It may be used interchangeably with “designed to,” “adapted to,” “made to,” or “capable of.”
  • the term “configured to” may not necessarily mean only “specifically designed to” in hardware. Instead, in some situations, the expression “device configured to” may mean that the device “can” along with other devices or components.
  • the phrase “processor configured (or configured to) perform A, B, and C” may be implemented by executing a dedicated processor (eg, an embedded processor) to perform its operation, or one or more software programs stored in a memory device. It may mean a general-purpose processor (eg, a CPU or an application processor) capable of performing corresponding operations.
  • An electronic device may include, for example, a smartphone, a tablet personal computer, a mobile phone, a video phone, and an e-book reader.
  • wearable devices may be accessory (eg, watches, rings, bracelets, anklets, necklaces, glasses, contact lenses, or head-mounted-devices (HMDs)), textiles, or clothing one-pieces (eg, it may include at least one of an electronic garment, a body attachment type (eg, a skin pad or a tattoo), or a living implantable type (eg, an implantable circuit).
  • HMDs head-mounted-devices
  • the electronic device may be a home appliance.
  • Home appliances are, for example, televisions, digital video disk (DVD) players, audio, refrigerators, air conditioners, vacuum cleaners, ovens, microwaves, washing machines, air purifiers, set-top boxes, home automation controls Panel (home automation control panel), security control panel, TV box (e.g. Samsung HomeSync TM , Apple TV TM , or Google TV TM ), game console (e.g. Xbox TM , PlayStation TM ), electronic dictionary It may include at least one of an electronic key, a camcorder, or an electronic picture frame.
  • DVD digital video disk
  • the electronic device may include a variety of medical devices (e.g., various portable medical measuring devices such as blood glucose meters, heart rate monitors, blood pressure meters, or body temperature meters), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), Such as computed tomography (CT), imaging or ultrasound, navigation devices, satellite navigation systems (global navigation satellite systems), event data recorders (EDRs), flight data recorders (FDRs), and automotive infotainment ) Devices, ship's electronic equipment (e.g.
  • Point of sales, point of sales, or Internet of things may include at least one.
  • an electronic device may be a piece of furniture or a building / structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (eg, Water, electricity, gas, or radio wave measuring instrument).
  • the electronic device may be a combination of one or more of the aforementioned various devices.
  • An electronic device according to an embodiment may be a flexible electronic device.
  • the electronic device according to an embodiment of the present disclosure is not limited to the above-described devices, and may include a new electronic device according to technology development.
  • the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) that uses an electronic device.
  • the electronic device 101 may include a bus 110, a processor 120, a memory 130, an input / output interface 150, a display 160, and a communication module 170.
  • the electronic device 101 may omit at least one of the components or additionally include other components.
  • the bus 110 may, for example, include circuitry that connects the components 110-170 to each other and communicates communications (eg, control messages and / or data) between the components.
  • communications eg, control messages and / or data
  • the processor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP).
  • the processor 120 may execute, for example, an operation or data processing related to control and / or communication of at least one other component of the electronic device 101.
  • the memory 130 may include volatile and / or nonvolatile memory.
  • the memory 130 may store, for example, commands or data related to at least one other element of the electronic device 101.
  • the memory 130 may store software and / or a program 140.
  • the program 140 may be, for example, a kernel 141, middleware 143, an application programming interface (API) 145, an application program (or an “application”) 147, or the like. It may include. At least a portion of kernel 141, middleware 143, or API 145 may be referred to as an operating system (OS).
  • OS operating system
  • the kernel 141 may be a system resource (eg, used to execute an action or function implemented in, for example, other programs (eg, middleware 143, API 145, or application program 147).
  • the bus 110, the processor 120, or the memory 130 may be controlled or managed.
  • the kernel 141 may provide an interface for controlling or managing system resources by accessing individual components of the electronic device 101 from the middleware 143, the API 145, or the application program 147. Can be.
  • the middleware 143 may serve as an intermediary for allowing the API 145 or the application program 147 to communicate with the kernel 141 to exchange data.
  • the middleware 143 may process one or more work requests received from the application program 147 according to priority.
  • the middleware 143 may use system resources (eg, the bus 110, the processor 120, or the memory 130, etc.) of the electronic device 101 for at least one of the application programs 147. Priority can be given.
  • the middleware 143 may perform the scheduling or load balancing of the one or more work requests by processing the one or more work requests according to the priority given to the at least one.
  • the API 145 is, for example, an interface for the application 147 to control a function provided by the kernel 141 or the middleware 143, for example, file control, window control, image processing, or text. It may include at least one interface or function (eg, a command) for control.
  • the input / output interface 150 may serve as, for example, an interface capable of transferring a command or data input from a user or another external device to other component (s) of the electronic device 101.
  • the input / output interface 150 may output commands or data received from other component (s) of the electronic device 101 to a user or another external device.
  • Display 160 may be, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, or Microelectromechanical systems (MEMS) displays, or electronic paper displays.
  • the display 160 may display, for example, various contents (eg, text, images, videos, icons, symbols, etc.) to the user.
  • the display 160 may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of a user's body.
  • the communication module 170 may establish communication between, for example, the electronic device 101 and an external device (eg, the first external electronic device 102, the second external electronic device 104, or the server 106). It may be a communication interface.
  • the communication module 170 may be connected to the network 162 through wireless or wired communication to communicate with an external device (eg, the second external electronic device 104 or the server 106).
  • Wireless communication is, for example, a cellular communication protocol, for example, long-term evolution (LTE), LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), UMTS (universal).
  • LTE long-term evolution
  • LTE-A LTE Advance
  • CDMA code division multiple access
  • WBro wireless broadband
  • GSM global system for mobile communications
  • wireless communication may include, for example, near field communication 164.
  • the short-range communication 164 may include, for example, at least one of wireless fidelity (WiFi), Bluetooth, near field communication (NFC), zigbee, z-wave, global navigation satellite system (GNSS), and the like. It may include.
  • the GNSS may be, for example, a global positioning system (GPS), a global navigation satellite system (Glonass), a Beidou navigation satellite system (hereinafter referred to as "Beidou”), or a Galileo, the European global satellite-based navigation system. It may include at least one.
  • GPS global positioning system
  • Beidou Beidou navigation satellite system
  • Galileo the European global satellite-based navigation system. It may include at least one.
  • the wired communication may include, for example, at least one of a universal serial bus (USB), a high definition multimedia interface (HDMI), a reduced standard232 (RS-232), a plain old telephone service (POTS), and the like.
  • the network 162 may include a telecommunications network, for example, at least one of a computer network (for example, a LAN or WAN), the Internet, and a telephone network.
  • Each of the first and second external electronic devices 102 and 104 may be a device of the same or different type as the electronic device 101.
  • server 106 may comprise a group of one or more servers.
  • all or part of operations executed in the electronic device 101 may be executed in another or a plurality of electronic devices (for example, the electronic devices 102 and 104 or the server 106).
  • the electronic device 101 when the electronic device 101 needs to perform a function or service automatically or by request, the electronic device 101 performs at least some functions associated with or in addition to executing the function or service by itself.
  • the other device eg, the electronic devices 102 and 104, or the server 106) may be requested.
  • the other electronic device may request or add a requested function.
  • the function may be executed and the result may be transmitted to the electronic device 101.
  • the electronic device 101 may provide the requested function or service by processing the received result as it is or additionally.
  • Cleats Loud computing, distributed computing, or client-server computing techniques may be used.
  • FIG. 2 is a diagram illustrating a configuration example of an electronic device according to various embodiments of the present disclosure
  • FIG. 3 is a diagram illustrating an example of image compensation in an electronic device according to various embodiments of the present disclosure.
  • an electronic device may include a photographing device 210, a controller 220, a display 230, and a storage. It may be configured to include at least one of the unit 240, the input unit 250 or the communication unit 260.
  • the photographing apparatus 210 may include at least one of the lens module 211, the lens driving module 212, or the sensor module 213.
  • the lens module 211 may include at least one lens (eg, a focus lens), and is moved to a specific direction (eg, a vertical direction of the photographing apparatus 210) by the lens driving module 212. Can be automatically focused.
  • the lens driver 212 may move the lens module 211 in the specific direction.
  • the sensor module 213 may detect light incident through the at least one lens (eg, a focus lens).
  • the sensor module 213 may include at least one sensor (for example, a charge coupled device (CCD) or a CMOS image sensor).
  • the image sensor may detect the amount of light by varying the amount of charge according to the intensity of light. That is, the image sensor may determine only the contrast of the light.
  • a filter having a color eg, an RGB filter or a CMY filter
  • a filter having a color can be configured to include.
  • the controller 220 may include a signal processing module 221, an image compensation module 222, or an autofocus (AF) process. At least one of the modules 223 may be configured.
  • the signal processing module 221 converts an analog signal of light detected by the sensor module 213 into a digital signal, and converts the converted digital signal into a buffer memory of the storage unit 240. Can be stored.
  • the converted digital signal is a pixel unit signal.
  • the image compensation module 222 may detect brightness information from a digital signal processed by the signal processing module 221, that is, an image of a subject (raw image data) and detect the brightness information.
  • the brightness of the captured image may be compensated based on the brightness information.
  • the image compensation module 222 may detect brightness information (eg, detected in an image (frame) received at an autofocus start time). First brightness information).
  • the image compensation module 222 acquires brightness information (eg, second brightness information) from an image (frame) received at the moved position, and acquires the brightness information and Compensation information may be generated by comparing brightness information of the focus start time point.
  • the image compensation module 222 may calculate a compensation gain value for gain processing by the difference between the first brightness information and the second brightness information, and generate the calculated compensation gain value as compensation information.
  • the compensation gain value may be calculated as in Equation 1 below. For example, when the auto exposure is processed in the unit of 1EV, which is the brightness control unit set by the photographing apparatus 210, since the 1EV unit is a unit of log 2, the difference may be doubled. Therefore, when the exposure value of the light exposed to the image sensor is increased by 1 EV, the brightness of the captured image (raw image data) may be darkened to 1/2.
  • the image compensation module 222 may acquire, as brightness information, an exposure value at the start of autofocus, for example, 10EV, which is a reference exposure value, and image data received at a next focus position, that is, pixel information.
  • an exposure value at the start of autofocus for example, 10EV, which is a reference exposure value
  • image data received at a next focus position that is, pixel information.
  • brightness information can be calculated according to the difference value. For example, as shown in FIG. 3, when two images compare a partial region (4 ⁇ 4 pixels), the pixel value of the second image is 1/2 smaller than the pixel value of the first image, which is a reference. The value shows that the brightness is 1/2 dark.
  • the brightness information of the first image is 10EV
  • the brightness information of the second image that is, the exposure value
  • the image compensation module 222 may determine that the autofocus operation is not reset due to a change in exposure when the brightness information of the image captured at the current focus position is determined to be different from the reference brightness information.
  • the brightness of the first image may be compensated for.
  • the gain value eg, 2
  • the pixel value of the second image of FIG. 3 may be compensated twice as much as the pixel value of the second image after compensation.
  • the auto focus processing module 223 may extract auto frequency components from an image output from the image compensation module 222 to obtain auto focus detection data for a current focus position.
  • the autofocus processing module 223 may calculate an autofocus evaluation value for evaluating the degree of autofocus based on the acquired autofocus detection data.
  • the autofocus processing module 223 may store the autofocus evaluation value calculated at each focus position in the buffer memory of the storage unit 240.
  • the auto focus processing module 223 may check the highest value (peak value) among the stored auto focus evaluation values corresponding to each focus position stored in the memory.
  • the auto focus processing module 223 may control to focus on a subject to be photographed at a focus position corresponding to the identified peak value.
  • the auto focus processing module 223 may transmit a control signal for starting auto focus to the photographing apparatus 210 according to a request for executing an image capturing application or a photographing function from a user. Accordingly, the photographing apparatus 210 may activate an operation by the received control signal, and may drive the lens driving module 212. In addition, the lens module 211 of the photographing apparatus 210 may initiate an operation for auto focus search.
  • the autofocus processing module 223 may not recognize the change in the exposure amount within the autofocus search range, and may calculate an autofocus evaluation value of the image output from the image compensation module 222.
  • the autofocus processing module 223 reflects the compensation information generated by the image compensation module 222 to the calculated autofocus evaluation value, thereby preventing the autofocus operation from being reset. Can be controlled.
  • the controller 220 may further include an image processing module (not shown).
  • the image processing module may receive image data captured at an in-focus point that is searched by the auto focus processing module 223, that is, a peak value, and perform image processing on the received image data.
  • the image processing module may perform image processing, such as luminance signal processing (eg, edge processing or gamma processing) or color signal processing (eg, white balance or gamma correction), on a pixel basis of the received image data.
  • the image processing module may be included in the auto focus processing module 223 or may be configured as a separate module.
  • the controller 220 may process information according to an operation of an electronic device, information according to execution of a program, an application, or a function, and display the processed information on the display 230. It may be displayed or controlled through an audio module (not shown).
  • the controller 220 may control to display the captured image or various kinds of information (content) on the whole or part of the screen of the display unit 230.
  • the controller 220 may include a peripheral device (eg, at least one piece of information that may be displayed on the display unit 230 or an image captured by autofocus) using a wireless local area communication (NFC).
  • a peripheral device eg, at least one piece of information that may be displayed on the display unit 230 or an image captured by autofocus
  • NFC wireless local area communication
  • the monitor, the TV, the wearable device, or the printer may be controlled to display the information transmitted from the peripheral device (eg, the cover 220).
  • the controller 220 is a hardware module or a software module (for example, an application program), and manages various sensors, data measurement modules, input / output interfaces, and the state or environment of the electronic device. It may be a hardware component (function) or a software component (program) including at least one of a module or a communication module.
  • the controller 220 of the electronic device may be at least a part of a processor, and may include, for example, one or a combination of two or more of hardware, software, or firmware. According to various embodiments of the present disclosure, the controller 220 may omit at least some of the components, or may further include other components for performing an image processing operation in addition to the components.
  • control unit 220 of the electronic device may include at least one processor and at least one processor including a central processing unit (CPU) and a micro processing unit (MPU).
  • the memory loading data may include a memory (eg, a register and / or random access memory (RAM)) to be loaded and a portion of a bus that inputs / outputs at least one data into the processor and the memory.
  • the controller 220 may include predetermined program routines or program data loaded into a memory from a predetermined recording medium and processed by the processor to perform a function defined in an electronic device by software. Can be done.
  • the display unit 230 (for example, a part of the input / output interface 150 or the display 160 of FIG. 1) of the electronic device executes an operation under the control of the controller 220.
  • Result information (eg, at least one of text, an image, or a video) may be output.
  • the display unit 230 may display an input pad (for example, a button) capable of inputting at least one of various letters, numbers, or symbols on the screen in various ways. Can be.
  • the display unit 230 may display a service execution screen according to execution of various applications related to information transmission and reception.
  • the display unit 230 may execute and display an application (eg, a camera application) for capturing an image.
  • the display unit 230 may display an image captured by the subject as a preview image.
  • the display unit 230 may request an image capturing request. The captured image can be displayed as the final photographed image.
  • the display unit 230 of the electronic device when the display unit 230 of the electronic device is implemented in the form of a touch screen, the display unit 230 may correspond to the touch screen of the input unit 250.
  • the display unit 230 when the display unit 230 is implemented together with the input unit 250 in the form of a touch screen, the display unit 230 may display various information generated according to a user's touch operation.
  • the display unit 230 of the electronic device may include a liquid crystal display (LCD), a thin film transistor LCD (TFT-LCD), organic light emitting diodes (OLED), a light emitting diode (LED), and an AMOLED (active). matrix organic LED), a flexible display, and a three-dimensional display.
  • LCD liquid crystal display
  • TFT-LCD thin film transistor LCD
  • OLED organic light emitting diodes
  • LED light emitting diode
  • AMOLED active
  • matrix organic LED matrix organic LED
  • some of these displays may be configured to be transparent or light transmissive so that they can be seen from the outside. It may be configured in the form of a transparent display including a transparent OLED (TOLED).
  • TOLED transparent OLED
  • the electronic device may include another display unit (for example, an extended display unit or a flexible display unit) mounted in addition to the display unit 230, and another external electronic device interworking with the electronic device.
  • the display apparatus may further include a display unit of at least one of an external display device, a wearable device, or an external terminal device.
  • the storage unit 240 (eg, the memory 130 of FIG. 1) of the electronic device may be generated during program execution, including a program required for a function operation according to various embodiments of the present disclosure.
  • Various data can be stored temporarily.
  • the storage unit 240 may largely include a program area and a data area.
  • the program area may store related information for driving an electronic device such as an operating system (OS) for booting the electronic device.
  • the data area may store transmitted and received data and generated data according to various embodiments.
  • the storage unit 240 may be a flash memory, a hard disk, a multimedia card micro type of memory (for example, SD or XD memory), RAM, or RAM. It may be configured to include at least one storage medium of a ROM.
  • the storage unit 240 temporarily stores the received image data by capturing a subject under driving of the photographing apparatus 210 under the control of the controller 220, and stores the exposure amount at each focus position.
  • the image data compensated for the brightness may be temporarily stored.
  • the storage unit 240 may store image data obtained by capturing image data captured at a focal point position searched through an automatic exposure search under the control of the controller 220 as an image of the final photographing of the subject.
  • the storage unit 240 may delete the image data that is temporarily stored in the buffer memory, that is, the preview image, when the last captured image is stored according to the capture signal.
  • the storage unit 240 may store autofocus evaluation values calculated through the operation of the autofocus search, and may include information related to the autofocus search (set focus position information (eg, focal length). , At least one of a shutter speed, an aperture value, a set exposure value (EV), information related to a lens, and information related to a sensor).
  • set focus position information eg, focal length
  • EV set exposure value
  • the input unit 250 (eg, the input / output interface 150 of FIG. 1) of the electronic device may include various information among various numbers and text information input from a user, various function settings, and an electronic device.
  • the signal input in relation to the control of the function may be transmitted to the controller 220.
  • the input unit 250 may support a user input for executing a module or an application that supports a specific function.
  • the input unit 250 may include at least one of a key input means such as a keyboard or a keypad, a touch input means such as a touch sensor or a touch pad, a sound source input means, a camera, or various sensors, and may include a gesture input means. It may be.
  • the input unit 250 may include all types of input means that are currently being developed or may be developed in the future.
  • the input unit 250 may receive information input by a user through a touch panel or a camera of the display unit 230, and input the input information to the controller 220. I can deliver it.
  • the input unit 250 may transmit information related to a user's gesture received through the photographing apparatus 210 (eg, a camera) or various sensors to the controller 220.
  • the input unit 250 may transmit an input signal according to the selection of at least one object (eg, content) displayed on the screen to the controller 220.
  • the input unit 250 receives an input signal for mode switching (for example, mode switching for image capturing) from a user through a sound source input means, and controls the input signal to the controller 220. ) Can be delivered.
  • mode switching for example, mode switching for image capturing
  • the input unit 250 may receive a selection of an application for a camera function displayed on the display unit 230, and the user may select a photographing button for capturing a received image by capturing a subject. Can generate an input signal accordingly.
  • the communication unit 260 (eg, the communication module 170 of FIG. 1) of the electronic device may be connected to another electronic device or an external device (eg, under the control of the controller 220).
  • the electronic device 102 may communicate with the electronic device 102 or 104 or the server 106 of FIG. 1.
  • the communication unit 260 may transmit / receive data related to an operation executed under the control of the control unit 220 with an external device.
  • the communication unit 260 may communicate with a network or a device-to-device connection using a wireless communication or a wired communication through a communication interface.
  • the wireless communication may include, for example, wireless fidelity (WiFi), bluetooth (BT), zigbee, z-wave, near field communication (NFC), global positioning system (GPS) or cellular (cellular). ) Communication (eg, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro or GSM).
  • the wired communication may include, for example, a universal serial bus (USB), a high definition multimedia interface (HDMI), a standard standard 232 (RS-232), a plain old telephone service (POTS), a universal asynchronous receiver transmitter (UART), and an I2C. It may include at least one of an inter-integrated circuit (SPI), a serial peripheral interface (SPI), or a controller area network (CAN).
  • the communication unit 260 may include all other types of communication methods that are well known or will be developed in the future.
  • the electronic device may further include an audio module (not shown) (eg, the input / output interface 150 of FIG. 1).
  • the audio module may output a sound, and may include, for example, at least one of an audio codec, a microphone, a microphone, a receiver, an earphone output EAR_L, and a speaker. Can be.
  • the audio module may provide guide information related to capturing as a voice and output audio information included in the captured image.
  • the electronic device may further include means for providing a captured image with at least one of a vibration, a touch, and a smell according to an expression or a photographing operation.
  • the main components of the electronic device are described through the electronic device of FIG. 2. However, in various embodiments of the present disclosure, all of the components shown in FIG. 2 are essential components.
  • the electronic device may be implemented by more components than illustrated components, and the electronic device may be implemented by fewer components. Also, the location of the main components of the electronic device described above with reference to FIG. 2 may be changed according to various embodiments.
  • the electronic device may receive a first image photographing a subject at a first position of at least one lens, and at the second position of the lens.
  • a signal processing module configured to receive a second image of the subject;
  • An image compensation module generating compensation information by using first brightness information of the first image and second brightness information of the second image, and compensating brightness of the second image by using the compensation information;
  • an autofocus processing module configured to perform image processing and autofocus processing on the first image and the brightness-compensated second image.
  • the electronic device may include: the at least one lens; A lens driving module for moving the lens from the first position to the second position; And a plurality of image sensors configured to sense light incident from the subject through the lens and to capture the first image and the second image.
  • the image compensation module calculates a gain offset value using a change value of the brightness of the first image and the brightness of the second image, and uses the calculated gain offset value to calculate the gain offset value. Compensation information may be generated.
  • the image compensation module may compensate for the second image when a change value of brightness of the first image and the second image is equal to or greater than a set threshold value.
  • the image compensation module acquires first brightness information through contrast of each pixel of the first image and second brightness through contrast of each pixel of the second image. Information can be obtained.
  • the autofocus processing module may acquire an autofocus evaluation value for the first position based on the image processed data of the first image, and compensate for the brightness.
  • An autofocus evaluation value for the second position may be obtained based on the data processed for the image.
  • the autofocus processing module may, when the autofocus search is completed, of the autofocus evaluation values acquired at each set position of the lens including the first position and the second position.
  • the position of the lens corresponding to the largest value may be determined as the focal point for the subject.
  • 4 and 5 illustrate examples of an operation procedure of an electronic device according to various embodiments of the present disclosure.
  • the electronic device for example, the electronic device 101 of FIG. 1 or the electronic device 200 of FIG. 2 requests a user. Depending on the shooting function or application can be executed.
  • operation 403 when the photographing device is driven and the power is supplied to the lens driving module as the electronic device executes the photographing function or application, while moving the lens (eg, the focus lens) in a specific direction to focus on the subject.
  • An operation for retrieving autofocus can be initiated.
  • the photographing function is executed and the auto focus search is started, the light incident to the plurality of image sensors through the lens according to the preset shooting conditions (shutter speed, aperture value, set exposure value or focus start position) is performed. Can be converted to a digital signal and stored temporarily.
  • the electronic device may receive image data of an image captured at the current focus position, and analyze the received image data to obtain brightness information of the image.
  • the electronic device may check pixel information (pixel value) through contrast of a part or the entire area of the image captured from the received image data, and may be configured based on the identified pixel value. You can check the brightness of the video.
  • the electronic device may check the brightness information of the received image data to determine whether the brightness of the image has changed.
  • the electronic device may perform operation 411 without compensating for the brightness of the image.
  • the electronic device when the electronic device receives the image data at the focus position moved from the focus start position, the electronic device focuses on the image data (eg, the second image data) received at the current focus position (the second focus position). The change in brightness may be confirmed by comparing the image data (eg, the first image data) received at the start position (the first focus position).
  • operation 407 when the brightness of the image is changed, the electronic device performs operation 409, and when the brightness of the image is not changed, operation 411 may be performed.
  • the electronic device may compensate for the brightness of the image captured at the current focus position.
  • the electronic device may acquire brightness information of an image captured at a current focus position (eg, the second focus position).
  • the electronic device may calculate compensation information including a gain value for compensating brightness by a difference between the obtained brightness information and the brightness information identified at the first focus position.
  • the electronic device may compensate an image captured by the calculated compensation information with an image having the same brightness as the image captured at the first focus position.
  • referring to FIG. 5 when the electronic device receives a digital signal, ie, image data (raw image data) 501 through a plurality of image sensors of the sensor unit, the electronic device receives the received image data 501.
  • the brightness compensation operation 510 may be performed by multiplying the gain information 503 by.
  • the electronic device may perform image processing on the image data acquired at the current focus position according to the auto focus operation, and calculate an autofocus evaluation value for the current focus position based on the image processed data. .
  • the electronic device may calculate a luminance value of the image data obtained with brightness, calculate autofocus comp data using the calculated luminance value, and use the calculated autofocus detection data as the autofocus evaluation value. .
  • the autofocus evaluation value may be calculated based on the autofocus detection data. Referring to FIG. 5, when received image data (raw data) of the captured image is received, the image compensation module of the electronic device multiplies the received image data by a gain offset 503 to obtain brightness of the image. The compensating operation 510 may be performed.
  • the autofocus processing module of the electronic device may perform an autoprocessing operation 520 on the image whose brightness is compensated and output the autofocus reduction data 505 as a result of the autofocus processing.
  • the electronic device may perform image processing or image processing on an image in which auto focus processing is completed through a separate image processing module. Therefore, the electronic device performs an operation 510 of compensating for the brightness of the image captured before the auto focus (AF) data processing operation 520, so that the auto focus search is not reset according to the brightness change, and the auto focus is continuously performed. You can perform a search.
  • the electronic device may check whether auto focus search is completed. As a result of the check, when the auto focus search is completed, that is, the movement of the lens is completed within the auto focus search range, the electronic device may perform operation 415. In addition, if the auto focus search is not completed, the electronic device may repeat the operations after operation 405 again at the next focus position.
  • the electronic device may correct the focus on the subject by determining the focus position having the highest value (peak value) among the auto focus evaluation values calculated at each focus position as the focal point. have.
  • the electronic device when the electronic device focuses on a subject through an auto focus operation and receives a photographing request (eg, a shutter or a photographing button) of the subject from a user, the electronic device captures image data captured at a focal point position.
  • the captured image can be saved as the final captured image.
  • the electronic device may continuously perform the focus search without resetting even if a brightness change occurs during the auto focus search.
  • the amount of change of exposure drops by half at the third focus position during the auto focus search.
  • the image picked up in the third focus position is half darkened. Therefore, referring to the graph 620, it can be seen that the autofocus evaluation value calculated at the third focus position is smaller than the autofocus evaluation value calculated at the second focus position.
  • the electronic device may stop the autofocus search and perform the autofocus search again from the third focus position.
  • the autofocus evaluation value is calculated using image data whose brightness is compensated before the autofocus data is processed.
  • the value may be calculated as a value higher than the second focus position without being affected by the brightness variation. Therefore, the auto focus search is not reset, and the auto focus search can be performed continuously.
  • the autofocus evaluation value at the fourth focus position is calculated to be greater than the autofocus evaluation value at the fourth focus position of the 620 graph in the 630 graph before and after brightness compensation. Can be.
  • a method for processing autofocus in an electronic device may include receiving a first image photographing a subject at a first position of at least one lens when an autofocus search is performed. ; Performing image processing and autofocus processing on the first image; Receiving a second image photographing the subject at a second position of the lens; Generating compensation information using first brightness information of the first image and second brightness information of the second image; Compensating for the brightness of the second image by using the compensation information; And performing image processing and autofocus processing on the second image whose brightness is compensated for.
  • the method may include capturing the first image by detecting light incident from the subject through the lens; And photographing the second image by detecting light incident through the lens from the subject when the lens is moved to the second position.
  • the first image when the first image is received, obtaining brightness information of the first image; And setting brightness information of the obtained first image as reference brightness information for generating the compensation information.
  • the generating of the compensation information by using the first brightness information of the first image and the second brightness information of the second image may include brightness information of the first image and the second information. Calculating a gain offset value using a change value of brightness information of an image; And generating the compensation information by using the calculated gain offset value.
  • the operation of compensating the brightness of the second image by using the compensation information may be performed when the change value of the brightness of the first image and the second image is equal to or greater than a set threshold value.
  • the image can be compensated.
  • the performing of the image processing and the auto focus processing on the first image may include: an autofocus evaluation value for the first position based on the image processed data on the first image Can be obtained.
  • the operation of performing the image processing and the auto focus processing on the second image may be performed on the second position based on the image processed data of the second image whose brightness is compensated.
  • An auto focus evaluation value can be obtained.
  • the method may further include determining a focus of the subject when the auto focus search is completed, wherein the focus of the subject is the first position and the second position. It may be determined as the position of the lens corresponding to the largest value of the auto focus evaluation value obtained at each set position of the lens including.
  • FIG. 7 is a block diagram of an electronic device according to various embodiments of the present disclosure.
  • the electronic device 701 may include, for example, all or part of the electronic device 101 shown in FIG. 1.
  • the electronic device 701 may include one or more processors (eg, an application processor (AP) 710), a communication module 720, a subscriber identification module 724, a memory 730, a sensor module 740, and an input device 750. ), Display 760, interface 770, audio module 780, camera module 791, power management module 795, battery 796, indicator 797, and motor 798. have.
  • processors eg, an application processor (AP) 710
  • AP application processor
  • the processor 710 may control, for example, a plurality of hardware or software components connected to the processor 710 by operating an operating system or an application program, and may perform various data processing and operations.
  • the processor 710 may be implemented with, for example, a system on chip (SoC).
  • SoC system on chip
  • the processor 710 may further include a graphic processing unit (GPU) and / or an image signal processor.
  • the processor 710 may include at least some of the components illustrated in FIG. 7 (eg, the cellular module 721).
  • the processor 710 may load and process instructions or data received from at least one of the other components (eg, nonvolatile memory) into volatile memory, and store various data in the nonvolatile memory. have.
  • the communication module 720 may have a configuration that is the same as or similar to that of the communication module 170 of FIG. 1.
  • the communication module 720 may be, for example, a cellular module 721, a WiFi module 723, a Bluetooth module 725, a GNSS module 727 (eg, a GPS module, a Glonass module, a Beidou module, or a Galileo module). It may include an NFC module 728 and a radio frequency (RF) module 729.
  • RF radio frequency
  • the cellular module 721 may provide, for example, a voice call, a video call, a text service, or an internet service through a communication network. According to an embodiment of the present disclosure, the cellular module 721 may perform identification and authentication of the electronic device 701 in the communication network using the subscriber identification module (eg, the SIM card) 724. According to an embodiment, the cellular module 721 may perform at least some of the functions that the processor 710 may provide. According to an embodiment, the cellular module 721 may include a communication processor (CP).
  • CP communication processor
  • Each of the WiFi module 723, the Bluetooth module 725, the GNSS module 727, or the NFC module 728 may include, for example, a processor for processing data transmitted and received through the corresponding module.
  • at least some (eg, two or more) of the cellular module 721, WiFi module 723, Bluetooth module 725, GNSS module 727, or NFC module 728 may be one integrated chip. (IC) or in an IC package.
  • the RF module 729 may transmit and receive a communication signal (for example, an RF signal), for example.
  • the RF module 729 may include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), an antenna, or the like.
  • PAM power amp module
  • LNA low noise amplifier
  • at least one of the cellular module 721, the WiFi module 723, the Bluetooth module 725, the GNSS module 727, or the NFC module 728 may transmit and receive an RF signal through a separate RF module. Can be.
  • Subscriber identification module 724 may include, for example, a card comprising a subscriber identification module and / or an embedded SIM, and may include unique identification information (eg, an integrated circuit card identifier (ICCID)) or It may include subscriber information (eg, international mobile subscriber identity (IMSI)).
  • ICCID integrated circuit card identifier
  • IMSI international mobile subscriber identity
  • the memory 730 may include, for example, an internal memory 732 or an external memory 734.
  • the internal memory 732 may be, for example, volatile memory (eg, dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM), etc.), non-volatile memory (eg, non-volatile memory).
  • volatile memory eg, dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM), etc.
  • non-volatile memory eg, non-volatile memory.
  • SSD solid state drive
  • the external memory 734 may be a flash drive, for example, compact flash (CF), secure digital (SD), micro secure digital (Micro-SD), mini secure digital (X-SD), or extreme xD (extreme). It may further include a digital, a multi-media card (MMC) or a memory stick (memory stick).
  • the external memory 734 may be functionally and / or physically connected to the electronic device 701 through various interfaces.
  • the sensor module 740 may measure a physical quantity or detect an operation state of the electronic device 701 to convert the measured or detected information into an electrical signal.
  • the sensor module 740 is, for example, the gesture sensor 740A, the gyro sensor 740B, the barometric pressure sensor 740C, the magnetic sensor 740D, the acceleration sensor 740E, the grip sensor 740F, the proximity sensor ( 740G), color sensor 740H (e.g. red, green, blue) sensor, biometric sensor 740I, temperature / humidity sensor 740J, illuminance sensor 740K, or UV (ultra violet) ) May include at least one of the sensors 740M.
  • the gesture sensor 740A the gyro sensor 740B, the barometric pressure sensor 740C, the magnetic sensor 740D, the acceleration sensor 740E, the grip sensor 740F, the proximity sensor ( 740G), color sensor 740H (e.g. red, green, blue) sensor, biometric sensor 740I, temperature / humidity
  • the sensor module 740 may include, for example, an olfactory sensor, an electromyography sensor, an electroencephalogram sensor, an electrocardiogram sensor. And infrared (IR) sensors, iris sensors, and / or fingerprint sensors.
  • the sensor module 740 may further include a control circuit for controlling at least one or more sensors belonging therein.
  • the electronic device 701 further includes a processor configured to control the sensor module 740 as part of or separately from the processor 710, while the processor 710 is in a sleep state, The sensor module 740 may be controlled.
  • the input device 750 may be, for example, a touch panel 752, a (digital) pen sensor 754, a key 756, or an ultrasonic input device ( 758).
  • the touch panel 752 may use, for example, at least one of capacitive, resistive, infrared, or ultrasonic methods.
  • the touch panel 752 may further include a control circuit.
  • the touch panel 752 may further include a tactile layer to provide a tactile response to the user.
  • the (digital) pen sensor 754 may be, for example, part of a touch panel or may include a separate sheet for recognition.
  • the key 756 may include, for example, a physical button, an optical key, or a keypad.
  • the ultrasonic input device 758 may detect ultrasonic waves generated by an input tool through a microphone (for example, a microphone 788) and may check data corresponding to the detected ultrasonic waves.
  • Display 760 may include panel 762, hologram device 764, or projector 766.
  • the panel 762 may include a configuration that is the same as or similar to the display 160 of FIG. 1.
  • the panel 762 may be implemented to be, for example, flexible, transparent, or wearable.
  • the panel 762 may be configured as a single module with the touch panel 752.
  • the hologram device 764 may show a stereoscopic image in the air by using interference of light.
  • the projector 766 may display an image by projecting light onto a screen.
  • the screen may be located inside or outside the electronic device 701.
  • the display 760 may further include a control circuit for controlling the panel 762, the hologram device 764, or the projector 766.
  • the interface 770 may be, for example, a high-definition multimedia interface (HDMI) 772, a universal serial bus (USB) 774, an optical interface 776, or a D-subminiature. 778 may be included.
  • the interface 770 may be included in, for example, the communication module 170 illustrated in FIG. 1. Additionally or alternatively, the interface 770 may be, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card / multi-media card (MMC) interface, or an IrDA (infrared). data association) may include a standard interface.
  • MHL mobile high-definition link
  • SD secure digital
  • MMC multi-media card
  • IrDA infrared
  • the audio module 780 may bilaterally convert, for example, a sound and an electrical signal. At least some components of the audio module 780 may be included in, for example, the input / output interface 150 illustrated in FIG. 1.
  • the audio module 780 may process sound information input or output through, for example, a speaker 782, a receiver 784, an earphone 786, a microphone 788, or the like.
  • the camera module 791 is, for example, a device capable of capturing still images and moving images.
  • the camera module 791 may include at least one image sensor (eg, a front sensor or a rear sensor), a lens, an image signal processor (ISP) Or flash (eg, LED or xenon lamp, etc.).
  • ISP image signal processor
  • flash eg, LED or xenon lamp, etc.
  • the power management module 795 may manage power of the electronic device 701, for example.
  • the power management module 795 may include a power management integrated circuit (PMIC), a charger integrated circuit (ICC), or a battery or fuel gauge.
  • the PMIC may have a wired and / or wireless charging scheme.
  • the wireless charging method may include, for example, a magnetic resonance method, a magnetic induction method, an electromagnetic wave method, or the like, and may further include additional circuits for wireless charging, such as a coil loop, a resonance circuit, a rectifier, and the like. have.
  • the battery gauge may measure, for example, the remaining amount of the battery 796, the voltage, the current, or the temperature during charging.
  • the battery 796 may include, for example, a rechargeable battery and / or a solar battery.
  • the indicator 797 may display a specific state of the electronic device 701 or a part thereof (for example, the processor 710), for example, a booting state, a message state, or a charging state.
  • the motor 798 may convert an electrical signal into mechanical vibration, and may generate a vibration or haptic effect.
  • the electronic device 701 may include a processing device (eg, a GPU) for supporting mobile TV.
  • the processing apparatus for supporting mobile TV may process media data according to a standard such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or mediaFlo TM .
  • DMB digital multimedia broadcasting
  • DVD digital video broadcasting
  • mediaFlo TM mediaFlo TM
  • Each of the components described in this document may be composed of one or more components, and the names of the corresponding components may vary depending on the type of electronic device.
  • the electronic device may be configured to include at least one of the components described in this document, and some components may be omitted or further include additional components.
  • some of the components of the electronic device according to various embodiments of the present disclosure may be combined to form a single entity, and thus may perform the same functions of the corresponding components before being combined.
  • FIG. 8 is a block diagram of a program module according to various embodiments of the present disclosure.
  • the program module 810 may be operated by an operating system (OS) and / or operating a resource related to the electronic device (eg, the electronic device 101). It may include various applications (for example, an application program 147) running on the system.
  • the operating system may be, for example, android, ios, windows, symbian, tizen, bada, or the like.
  • the program module 810 may include a kernel 820, middleware 830, an application programming interface (API) 860, and / or an application 870. At least a part of the program module 810 may be preloaded on the electronic device, or may be downloaded from an external electronic device (eg, the electronic devices 102 and 104, the server 106, etc.).
  • API application programming interface
  • the kernel 820 may include, for example, a system resource manager 821 and / or a device driver 823.
  • the system resource manager 821 may perform control, allocation, or retrieval of system resources.
  • the system resource manager 821 may include a process manager, a memory manager, or a file system manager.
  • the device driver 823 may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an inter-process communication (IPC) driver. .
  • IPC inter-process communication
  • the middleware 830 may provide various functions through the API 860, for example, to provide functions commonly required by the application 870, or to allow the application 870 to efficiently use limited system resources inside the electronic device. Functions may be provided to the application 870.
  • the middleware 830 eg, the middleware 143 may include a runtime library 835, an application manager 841, a window manager 842, and a multimedia manager. 843, resource manager 844, power manager 845, database manager 846, package manager 847, connectivity manager 848, a notification manager 849, a location manager 850, a graphic manager 851, or a security manager 852. can do.
  • the runtime library 835 may include, for example, a library module that the compiler uses to add new functionality through the programming language while the application 870 is running.
  • the runtime library 835 may perform input / output management, memory management, or a function for an arithmetic function.
  • the application manager 841 may manage, for example, a life cycle of at least one of the applications 870.
  • the window manager 842 may manage GUI resources used on the screen.
  • the multimedia manager 843 may identify a format necessary for playing various media files, and may encode or decode the media file using a codec suitable for the format.
  • the resource manager 844 may manage resources such as source code, memory, or storage space of at least one of the applications 870.
  • the power manager 845 may operate in conjunction with a basic input / output system (BIOS) to manage a battery or power, and provide power information necessary for the operation of the electronic device.
  • BIOS basic input / output system
  • the database manager 846 may create, retrieve, or change a database to be used by at least one of the applications 870.
  • the package manager 847 may manage installation or update of an application distributed in the form of a package file.
  • the connection manager 848 may manage, for example, a wireless connection such as WiFi or Bluetooth. Notification manager 849 may display or notify events such as arrival messages, appointments, proximity notifications, and the like in a manner that does not disturb the user.
  • the location manager 850 may manage location information of the electronic device.
  • the graphic manager 851 may manage graphic effects to be provided to the user or a user interface related thereto.
  • the security manager 852 may provide various security functions required for system security or user authentication. According to an embodiment of the present disclosure, when the electronic device (for example, the electronic device 101) includes a telephone function, the middleware 830 further includes a telephone manager for managing a voice or video call function of the electronic device. can do.
  • the middleware 830 may include a middleware module that forms a combination of various functions of the above-described components.
  • the middleware 830 may provide a module specialized for each type of OS in order to provide a differentiated function.
  • the middleware 830 may dynamically delete some of the existing components or add new components.
  • the API 860 (eg, the API 145) is, for example, a set of API programming functions and may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one API set may be provided for each platform, and in Tizen, two or more API sets may be provided for each platform.
  • Application 870 may be, for example, home 871, dialer 872, SMS / MMS 873, instant message (874), browser (875), Camera 876, Alarm 877, Contact 878, Voice Dial 879, Email 880, Calendar 881, Media Player 882, Album 883, or Clock 884, Healthcare or one or more applications capable of performing functions such as health care (eg, measuring exercise amount or blood sugar) or providing environmental information (eg, providing barometric pressure, humidity, or temperature information).
  • health care eg, measuring exercise amount or blood sugar
  • environmental information eg, providing barometric pressure, humidity, or temperature information
  • the application 870 may be an application that supports information exchange between an electronic device (eg, the electronic device 101) and an external electronic device (eg, the electronic devices 102 and 104).
  • the "information exchange application” may be included.
  • the information exchange application may include, for example, a notification relay application for delivering specific information to an external electronic device, or a device management application for managing the external electronic device.
  • the notification delivery application may include notification information generated by another application of the electronic device (eg, an SMS / MMS application, an email application, a health care application, or an environmental information application). , 104)). Also, the notification delivery application may receive notification information from an external electronic device and provide the notification information to a user, for example.
  • another application of the electronic device eg, an SMS / MMS application, an email application, a health care application, or an environmental information application. , 104)
  • the notification delivery application may receive notification information from an external electronic device and provide the notification information to a user, for example.
  • the device management application may, for example, turn at least one function of an external electronic device (eg, the electronic devices 102 and 104) in communication with the electronic device (eg, turn on the external electronic device itself (or some component part). On / turn-off or adjust the brightness (or resolution) of the display, manage applications (e.g., install, delete), applications running on an external electronic device or services provided by the external electronic device (e.g., call service or message service) , Or update).
  • an external electronic device e.g, the electronic devices 102 and 104
  • manage applications e.g., install, delete
  • applications running on an external electronic device or services provided by the external electronic device e.g., call service or message service
  • the application 870 may include an application (for example, a health care application of a mobile medical device, etc.) designated according to an attribute of the external electronic device (for example, the electronic devices 102 and 104).
  • the application 870 may include an application received from an external electronic device (for example, the server 106 or the electronic devices 102 and 104). May include a preloaded application or a third party application downloadable from a server, etc.
  • At least part of the program module 810 may be implemented in software, firmware, hardware, or a combination of two or more thereof. At least a part of the program module 810 may be implemented (for example, executed) by, for example, a processor (for example, the processor 210). At least a part of the program module 810 may include, for example, a module, a program, a routine, sets of instructions, or a process for performing one or more functions.
  • module may refer to a unit that includes one or a combination of two or more of hardware, software, or firmware.
  • a “module” may be interchangeably used with terms such as, for example, unit, logic, logical block, component, or circuit.
  • the module may be a minimum unit or part of an integrally constructed part.
  • the module may be a minimum unit or part of performing one or more functions.
  • the “module” can be implemented mechanically or electronically.
  • a “module” is one of application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs), or programmable-logic devices that perform certain operations, known or developed in the future. It may include at least one.
  • ASIC application-specific integrated circuit
  • FPGAs field-programmable gate arrays
  • At least a portion of an apparatus (e.g., modules or functions thereof) or method (e.g., operations) may be, for example, computer-readable storage media in the form of a program module. It can be implemented as a command stored in.
  • a processor e.g, the processor 120
  • the one or more processors may perform a function corresponding to the instruction.
  • the computer-readable storage medium may be the memory 130, for example.
  • Computer-readable recording media include hard disks, floppy disks, magnetic media (e.g. magnetic tape), optical media (e.g. compact disc read only memory), DVD ( digital versatile discs, magneto-optical media (e.g. floptical disks), hardware devices (e.g. read only memory, random access memory (RAM), or flash memory)
  • the program instructions may include not only machine code generated by a compiler, but also high-level language code executable by a computer using an interpreter, etc.
  • the hardware device described above may be various. It can be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.
  • Modules or program modules according to various embodiments may include at least one or more of the above components, some may be omitted, or further include other components. Operations performed by modules, program modules, or other components in accordance with various embodiments may be executed in a sequential, parallel, repetitive, or heuristic manner. In addition, some operations may be executed in a different order, may be omitted, or other operations may be added.
  • a computer-readable recording medium having recorded thereon a program for performing on a computer, wherein the program is executed by a processor, when the processor executes an auto focus search, the first of the at least one lens; Receiving a first image of photographing a subject at a position; Performing image processing and autofocus processing on the first image; Receiving a second image photographing the subject at a second position of the lens; Generating compensation information using first brightness information of the first image and second brightness information of the second image; Compensating for the brightness of the second image by using the compensation information; And performing image processing and autofocus processing on the second image whose brightness is compensated for.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

본 발명의 다양한 실시 예들은 전자 장치 및 전자 장치에서 자동 초점 처리 방법에 관한 것으로서, 전자 장치가, 자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작; 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작; 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작; 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행할 수 있다.

Description

전자 장치 및 전자 장치에서의 자동 초점 처리 방법
본 발명의 다양한 실시 예들은 전 전자 장치 및 전자 장치에서의 자동 초점 처리 방법에 관한 것이다.
디지털 카메라 등의 촬영 기능을 갖는 전자 장치는 자동 초점(AF: autofocus)을 통해 피사체에 대한 초점을 자동으로 맞출 수 있다.
상기 자동 초점은 수동 초점보다 빠르고 정확하게 피사체에 대한 초점을 맞출 수 있으며, 이미지 센서를 통해 얻은 영상의 대비를 분석하여 초점을 자동으로 맞출 수 있다.
상기 자동 초점은 크게 능동 방식(active system)과 수동 방식(passive system)으로 나뉜다. 상기 능동 방식은 거리 측정을 위해 카메라가 초음파나 적외선을 방출할 수 있다. 상기 수동 방식은 물체로부터 자연적으로 반사된 빛을 이용하여 초점을 맞출 수 있다.
상기 자동 초점 방식은 화상의 고주파 성분을 추출하여 피사체에 대한 초점 맞춤 정도를 평가하는 평가값을 취득하여 피사체에 대한 정초점을 맞출 수 있다.
상기 전자 장치는 렌즈를 이동시켜 설정된 각 위치에서 촬상된 영상 신호에서 평가값을 산출하여 자동 초점을 수행하는 중 노광량이 변화되면, 자동 초점 처리를 위한 영상 데이터가 영향을 받는다. 이러한 경우, 노광량이 변화되면, 노광량이 변화된 영상 신호에서 산출된 평가값과 동일한 포커스 위치에서 노광량이 변화되지 않은 영상 신호에서 산출된 평가값이 달라지게 되므로 틀린 위치에 피사체에 대한 초점이 맞게 된다.
또한, 노광량의 변화가 있으면, 이전까지 촬영한 데이터를 리셋하고, 새로운 위치에서 초점을 검출하도록 노광량이 변화된 시점부터 다시 자동 초점을 수행하므로 정확한 초점을 맞출 수 없는 문제점이 있다.
따라서 본 발명의 다양한 실시 예들은, 예를 들면, 노광량의 변화에도 리셋하지 않고 자동 초점 검색의 연속성을 유지하기 위한 전자 장치 및 자동 초점을 처리하기 위한 방법을 제공하고자 한다.
진술한 과제 또는 다른 과제를 해결하기 위한, 다양한 실시 예 중 어느 하나에 따른 전자 장치가, 자동 초점 검색이 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하고, 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 신호 처리 모듈; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하고, 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 영상 보상 모듈; 및 상기 제1 영상 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 자동 초점 처리 모듈;을 포함할 수 있다.
또한, 다양한 실시 예 중 어느 하나에 따른 전자 장치에서 자동 초점을 처리하기 위한 방법은, 자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작; 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작; 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작; 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작;을 포함할 수 있다.
다양한 실시 예에 따른 전자 장치 및 전자 장치에서 자동 초점 처리를 위한 방법은 노광량의 변화에도 리셋하지 않고 자동 초점 검색의 연속성을 유지함으로써, 피사체에 대한정확한 초점을 맞출 수 있다.
도 1은 본 발명의 다양한 실시 예에 따른 네트워크 환경을 나타내는 도면이다.
도 2는 본 발명의 다양한 실시 예에 따른 전자 장치의 구성 예를 나타내는 도면이다.
도 3은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 영상 보상의 예를 나타내는 도면이다.
도 4는 본 발명의 다양한 실시 예에 따른 전자 장치의 동작 절차의 예를 나타내는 도면이다.
도 5는 본 발명의 다양한 실시 예에 따른 전자 장치의 동작 절차의 예를 나타내는 도면이다.
도 6은 본 발명의 다양한 실시 예에 따른 전자 장치의 자동 초점 처리 예를 나타내는 도면이다.
도 7은 다양한 실시예에 따른 전자 장치의 블록도이다.
도 8은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.
본 문서에서, "가진다", "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.
본 문서에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.
본 문서에서 사용된 "제 1," "제 2," "첫째," 또는 "둘째," 등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제 1 사용자 기기와 제 2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 바꾸어 명명될 수 있다.
어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제 3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.
본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다.
본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은, 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시예들을 배제하도록 해석될 수 없다.
본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따르면, 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다.
어떤 실시예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 가전 제품은, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.
다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션(navigation) 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.
어떤 실시예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.
이하, 첨부 도면을 참조하여, 다양한 실시 예들에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.
도 1을 참조하여, 다양한 실시 예들에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 모듈(170)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다.
버스(110)는, 예를 들면, 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.
프로세서(120)는, 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.
메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.
커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.
미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다.
또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 미들웨어(143)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.
API(145)는, 예를 들면, 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다.
입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(150)는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.
디스플레이(160)는, 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 컨텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 디스플레이할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.
통신 모듈(170)은, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있는 통신 인터페이스일 수 있다. 예를 들면, 통신 모듈(170)은 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.
무선 통신은, 예를 들면, 셀룰러 통신 프로토콜로서, 예를 들면, LTE(long-term evolution), LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(wireless broadband), 또는 GSM(global system for mobile Communications) 등 중 적어도 하나를 사용할 수 있다. 또한, 무선 통신은, 예를 들면, 근거리 통신(164)을 포함할 수 있다. 근거리 통신(164)은, 예를 들면, WiFi(wireless fidelity), 블루투스(bluetooth), NFC(near field communication), 지그비(zigbee), z-wave, 또는 GNSS(global navigation satellite system) 등 중 적어도 하나를 포함할 수 있다. GNSS는 사용 지역 또는 대역폭 등에 따라, 예를 들면, GPS(global positioning system), Glonass(global navigation satellite system), Beidou navigation satellite system(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system 중 적어도 하나를 포함할 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 혼용되어 사용(interchangeably used)될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 통신 네트워크(telecommunications network), 예를 들면, 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.
제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시예에 따르면, 서버(106)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.
이하, 첨부된 도면을 참조하여 본 발명의 다양한 실시 예에 따른 전자 장치에 대해서 살펴본다.
도 2는 본 발명의 다양한 실시 예에 따른 전자 장치의 구성 예를 나타내는 도면이고, 도 3은 본 발명의 다양한 실시 예에 따른 전자 장치에서의 영상 보상의 예를 나타내는 도면이다.
상기 도 2를 참조하면, 본 발명의 다양한 실시 예에 따르면, 전자 장치(예를 들어, 도 1의 전자 장치(101))는 촬영 장치(210), 제어부(220), 표시부(230), 저장부(240), 입력부(250) 또는 통신부(260) 중 적어도 하나를 포함하여 구성될 수 있다.
본 발명의 다양한 실시 예에 따르면, 촬영 장치(210)는 렌즈 모듈(211), 렌즈 구동 모듈(212) 또는 센서 모듈(213) 중 적어도 하나를 포함하여 구성될 수 있다.
상기 렌즈 모듈(211)은 적어도 하나의 렌즈(예, 포커스 렌즈)를 포함할 수 있으며, 렌즈 구동 모듈(212)에 의해 특정 방향(예, 촬영 장치(210)의 수직 방향)으로 이동되면서 피사체에 대한 초점을 자동으로 맞출 수 있다. 상기 렌즈 구동부(212)는 상기 렌즈 모듈(211)을 상기 특정 방향으로 이동시킬 수 있다. 상기 센서 모듈(213)은 상기 적어도 하나의 렌즈(예, 포커스 렌즈)를 통해 입사되는 빛을 감지할 수 있다. 다양한 실시 예에 따라, 상기 센서 모듈(213)은 적어도 하나의 센서(예를 들어, CCD(charge coupled device) 또는 CMOS 이미지 센서)를 포함할 수 있다. 상기 이미지 센서는 빛의 세기에 따라 전하의 양이 달라져 빛의 양을 검출할 수 있다. 즉, 이미지 센서는 빛의 명암만을 판단할 수 있다. 또한, 다양한 실시 예에 따라, 상기 촬영 장치(210)는 상기 센서 모듈(213)에서 감지된 빛의 명암만을 판단하므로 컬러 정보를 얻기 위해 색을 가진 필터(예, RGB 필터 또는 CMY 필터)를 더 포함하여 구성할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 제어부(220)(예를 들어, 도 1의 프로세서(120))는 신호 처리 모듈(221), 영상 보상 모듈(222) 또는 자동 초점(AF: autofocus) 처리 모듈(223) 중 적어도 하나를 포함하여 구성할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 신호 처리 모듈(221)은 센서 모듈(213)에서 감지된 빛의 아날로그 신호를 디지털 신호로 변환하고, 변환된 디지털 신호를 저장부(240)의 버퍼 메모리에 저장할 수 있다. 상기 변환된 디지털 신호는 화소 단위의 신호이다.
본 발명의 다양한 실시 예에 따라, 상기 영상 보상 모듈(222)은 상기 신호 처리 모듈(221)에서 처리된 디지털 신호 즉, 피사체를 촬영한 영상(raw 영상 데이터)에서 밝기 정보를 검출하고, 검출한 밝기 정보를 기반으로 촬영된 영상의 밝기를 보상할 수 있다. 다양한 실시 예에 따라, 상기 영상 보상 모듈(222)은 렌즈 모듈(211)의 포커스 렌즈가 구동되어 자동 초점이 개시되면, 자동 초점 개시 시점에 수신된 영상(프레임)에서 검출한 밝기 정보(예, 제1 밝기 정보)를 저장할 수 있다. 또한, 상기 영상 보상 모듈(222)은 포커스 렌즈가 다음 포커스 위치로 이동하면, 이동한 위치에서 수신된 영상(프레임)에서 밝기 정보(예, 제2 밝기 정보)를 획득하고, 획득한 밝기 정보와 상기 초점 개시 시점의 밝기 정보를 비교하여 보상 정보를 생성할 수 있다. 상기 영상 보상 모듈(222)은 제1 밝기 정보와 제2 밝기 정보의 차이만큼 이득 처리를 하기 위한 보상 이득 값을 산출하고, 산출된 보상 이득 값을 보상 정보로서 생성할 수 있다. 다양한 실시 예에 따라 보상 이득 값의 산출은 하기 <수학식 1>과 같이 산출할 수 있다. 예를 들어, 촬영 장치(210)에서 설정한 밝기 조절 단위인 1EV 단위로 자동 노출을 처리하는 경우, 1EV 단위는 log 2의 단위이므로 2배의 차이를 보일 수 있다. 따라서 상기 이미지 센서에 노출된 빛의 노출 값이 1EV 높아지면, 촬상된 영상(raw 영상 데이터)의 밝기는 1/2로 어두워질 수 있다.
Figure PCTKR2016013007-appb-M000001
다양한 실시 예에 따라, 상기 영상 보상 모듈(222)은 자동 초점 개시 시점의 노출 값 예를 들어, 기준 노출 값인 10EV를 밝기 정보로 획득할 수 있으며, 다음 포커스 위치에서 수신한 영상 데이터 즉, 화소 정보(전체 또는 일부 영상의 각 화소의 화소값)를 자동 초점 개시 시점의 촬상 영상의 화소 정보와 비교하여 차이가 발생하면, 차이 값에 따라 밝기 정보를 산출할 수 있다. 예를 들어, 상기 도 3에 도시된 바와 같이, 두 영상이 일부 영역(4×4 픽셀)을 비교하면, 제2 영상에서의 화소 값이 기준이 되는 제1 영상의 화소 값보다 1/2 작은 값으로 밝기가 1/2 어두운 상태임을 확인할 수 있다. 따라서 제1 영상의 밝기 정보가 10EV이면, 제2 영상의 밝기 정보 즉, 노출값은 1EV 높게 하여 11EV로 변화된 것으로 확인할 수 있다. 상기 영상 보상 모듈(222)은 현재 포커스 위치에서 촬상된 영상의 밝기 정보가 기준 밝기 정보와 차이가 있는 것으로 확인됨에 따라 노출의 변화로 인해 자동 포커스 동작이 리셋되는 것을 방지하기 위해, 제2 영상을 제1 영상의 밝기로 보상할 수 있다. 예를 들어, 보상전 제2 영상의 화소값에 이득값(예, 2)을 반영하여 보상후 제2 영상이 제1 영상의 화소 값과 동일한 영상이 되도록 할 수 있다. 즉, 상기 도 3의 제2 영상의 화소값은 보상 후 제2 영상의 화소값과 같이 2배로 보상될 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 자동 초점 처리 모듈(223)은 상기 영상 보상 모듈(222)로부터 출력된 영상에서 고주파 성분을 추출하여 현재 포커스 위치에 대한 자동 초점 검파 데이터를 획득할 수 있다. 또한, 상기 자동 초점 처리 모듈(223)은 획득한 자동 초점 검파 데이터를 기반으로 자동 초점 정도를 평가하는 자동 초점 평가값을 산출할 수 있다. 또한, 자동 초점 처리 모듈(223)은 각 포커스 위치에서 산출된 자동 초점 평가값을 저장부(240)의 버퍼 메모리에 저장할 수 있다. 상기 자동 초점 처리 모듈(223)은 자동 초점의 검색이 완료되면, 메모리에 저장된 각 포커스 위치에 대응하여 저장된 자동 초점 평가 값들 중 가장 높은 값(피크 값)을 확인할 수 있다. 상기 자동 초점 처리 모듈(223)은 확인된 피크 값에 상응하는 포커스 위치로 촬영할 피사체에 대한 초점을 맞추도록 제어할 수 있다. 또한, 상기 자동 초점 처리 모듈(223)은 사용자로부터 영상 촬영 어플리케이션 또는 촬영 기능의 실행 요청에 따라 촬영 장치(210)로 자동 초점 개시를 위한 제어 신호를 전송할 수 있다. 이에 따라 상기 촬영 장치(210)는 수신된 제어 신호에 의해 동작을 활성화할 수 있으며, 렌즈 구동 모듈(212)을 구동시킬 수 있다. 또한, 상기 촬영 장치(210)의 렌즈 모듈(211)은 자동 초점 검색을 위한 동작을 개시할 수 있다.
다양한 실시 예에 따라, 상기 자동 초점 처리 모듈(223)은 자동 초점 검색 범위 내에서 노광량의 변화됨을 인식하지 못하고, 영상 보상 모듈(222)로부터 출력된 영상의 자동 초점 평가값을 산출할 수 있다. 자동 초점 검색 범위 내에서 노광량이 변화를 확인하는 경우, 상기 자동 초점 처리 모듈(223)은 영상 보상 모듈(222)에서 생성된 보상 정보를 산출된 자동 초점 평가값에 반영하여 자동 초점 동작이 리셋되지 않도록 제어할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 제어부(220)는 영상 처리 모듈(도시되지 않음)을 더 포함하여 구성될 수 있다. 상기 영상 처리 모듈은 자동 초점 처리 모듈(223)에 의해 검색된 초점이 맞는 정초점 즉, 피크값에 상응하는 위치에서 촬상된 영상 데이터를 수신하고, 수신된 영상 데이터에 대한 영상 처리를 수행할 수 있다. 상기 영상 처리 모듈은 수신된 영상 데이터를 화소(pixel) 단위로 휘도 신호 처리(예, 엣지 처리 또는 감마 처리) 또는 색 신호 처리(예, 화이트 밸런스 또는 감마 보정) 등의 영상 처리를 수행할 수 있다. 다양한 실시 예에 따라, 상기 영상 처리 모듈은 상기 자동 초점 처리 모듈(223)에 포함되어 구성 또는 별도의 모듈로 구성될 수 있다.
또한, 본 발명의 다양한 실시 예에 따르면, 상기 제어부(220)는 전자 장치의 동작에 따른 정보, 프로그램, 애플리케이션 또는 기능의 실행에 따른 정보를 처리할 수 있으며, 처리된 정보를 표시부(230)에 디스플레이하거나, 오디오 모듈(도시되지 않음)을 통해 출력하도록 제어할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 제어부(220)는 표시부(230)의 화면 상의 전체 또는 일부 영역에 촬상된 영상 또는 다양한 종류의 정보(컨텐츠)를 표시하도록 제어할 수 있다.
다양한 실시 예에 따라, 상기 제어부(220)는 상기 표시부(230)에 표시될 수 있는 적어도 하나의 정보 또는 자동 초점에 의해 촬상된 영상을 무선 근거리 통신(NFC)를 이용하여 연결되는 주변 장치(예, 모니터, TV, 웨어러블 기기 또는 프린터)로 전송하여, 상기 주변 장치(예, 커버(220))에서 전송한 정보를 표시하도록 제어할 수 있다.
다양한 실시 예에 따라 상기 제어부(220)는 하드웨어 모듈 또는 소프트웨어 모듈(예를 들어, 어플리케이션 프로그램)로서, 전자 장치에 구비된 다양한 센서들, 데이터 측정 모듈, 입출력 인터페이스, 전자 장치의 상태 또는 환경을 관리하는 모듈 또는 통신 모듈 중 적어도 하나를 포함하는 하드웨어적인 구성 요소(기능) 또는 소프트웨어적인 요소(프로그램)일 수 있다.
또한, 본 발명의 다양한 실시 예에 따르면, 전자 장치의 제어부(220)는 프로세서의 적어도 일부일 수 있으며, 예를 들어, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함할 수 있다. 다양한 실시 예에 따라 상기 제어부(220)는 상기 구성 요소들 중 적어도 일부를 생략하거나, 상기 구성 요소들 외에도 이미지 처리 동작을 수행하기 위한 다른 구성 요소를 더 포함하여 구성될 수 있다.
또한, 본 발명의 다양한 실시 예에 따르면, 전자 장치의 제어부(220)의 적어도 일부의 구성은 하드웨어적으로 CPU(central processing unit)/MPU(micro processingunit)를 포함하는 적어도 하나의 프로세서와 적어도 하나의 메모리 로딩 데이터가 로딩되는 메모리(예를 들어, 레지스터 및/또는 RAM(random access memory)) 및 프로세서와 메모리로 적어도 하나의 데이터들을 입/출력하는 버스의 일부를 포함하여 이루어질 수 있다. 또한, 상기 제어부(220)는 소프트웨어적으로 전자 장치에 정의된 기능을 수행하기 위해 소정의 기록매체로부터 메모리로 로딩되어 상기 프로세서에 의해 연산 처리되는 소정의 프로그램 루틴(routine) 또는 프로그램 데이터를 포함하여 이루어질 수 있다.
본 발명의 다양한 실시 예들에 따르면, 상기 전자 장치의 표시부(230) (예를 들어, 도 1의 입출력 인터페이스(150)의 일부 구성 또는 디스플레이(160))는 제어부(220)의 제어에 따라 동작 실행 결과 정보(예를 들어, 텍스트, 이미지 또는 동영상 중 적어도 하나)를 출력할 수 있다.
또한, 본 발명의 다양한 실시 예에 따르면, 표시부(230)는 화면 상에서 입력창에 다양한 문자, 숫자 또는 기호 중 적어도 하나를 입력할 수 있는 입력 패드(예를 들어, 버튼)를 다양한 방법으로 디스플레이할 수 있다. 또한, 상기 표시부(230)는 정보 송수신에 관련된 다양한 어플리케이션의 실행에 따른 서비스 실행 화면을 디스플레이할 수 있다. 다양한 실시 예에 따라, 상기 표시부(230)는 영상 촬영을 위한 어플리케이션(예, 카메라 어플리케이션)을 실행하여 표시할 수 있다. 또한, 상기 표시부(230)는 영상 촬영을 위한 어플리케이션이 실행되면, 피사체를 촬상한 영상을 프리뷰 영상으로 표시할 수 있으며, 자동 초점 검색이 완료되어 피사체에 초점이 맞으면, 사용자의 영상 캡쳐 요청에 따라 캡쳐된 영상을 최종 촬영 영상으로서 디스플레이할 수 있다.
또한, 본 발명의 다양한 실시 예들에 따르면, 전자 장치의 표시부(230)는 터치 스크린의 형태로 구현될 경우, 입력부(250)의 터치 스크린에 대응할 수 있다. 상기 표시부(230)는 터치 스크린 형태로 입력부(250)와 함께 구현되는 경우, 사용자의 터치 동작에 따라 발생되는 다양한 정보들을 디스플레이할 수 있다.
또한, 다양한 실시 예에 따라, 전자 장치의 표시부(230)는 LCD(liquid crystal display), TFT-LCD(thin film transistor LCD), OLED(organic light emitting diodes), 발광다이오드(LED), AMOLED(active matrix organic LED), 플렉시블 디스플레이(flexible display) 및 3차원 디스플레이(3 dimension) 중 적어도 하나 이상으로 구성될 수 있다. 또한, 이들 중 일부 디스플레이는 그를 통해 외부를 볼 수 있도록 투명형 또는 광투과형으로 구성될 수 있다. 이는 TOLED(transparant OLED)를 포함하는 투명 디스플레이 형태로 구성될 수 있다.
또한, 본 발명의 다양한 실시 예들에 따르면, 상기 전자 장치는 상기 표시부(230) 외에 장착된 다른 표시부(예를 들어, 확장 표시부 또는 플렉시블 표시부), 상기 전자 장치와 연동하는 외부의 다른 전자 장치(예를 들어, 외부 표시 장치, 웨어러블 기기 또는 외부 단말 장치 중 적어도 하나)의 표시부를 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 장치의 저장부(240)(예를 들어, 도 1의 메모리(130))는 다양한 실시 예에 따른 기능 동작에 필요한 프로그램을 비롯하여, 프로그램 실행 중에 발생되는 다양한 데이터를 일시적으로 저장할 수 있다. 상기 저장부(240)는 크게 프로그램 영역과 데이터 영역을 포함할 수 있다. 상기 프로그램 영역은 전자 장치를 부팅시키는 운영체제(OS)와 같은 전자 장치의 구동을 위한 관련된 정보들을 저장할 수 있다. 상기 데이터 영역은 다양한 실시 예에 따라 송수신된 데이터 및 생성된 데이터를 저장할 수 있다. 또한, 상기 저장부(240)는 플래시 메모리(flash memory), 하드디스크(hard disk), 멀티미디어 카드 마이크로(multimedia card micro) 타입의 메모리(예를 들어, SD 또는 XD 메모리 중), 램(RAM), 롬(ROM) 중의 적어도 하나의 저장매체를 포함하여 구성될 수 있다.
본 발명의 다양한 실시 예에 따르면, 저장부(240)는 제어부(220)의 제어에 따라 촬영 장치(210)의 구동에 따라 피사체를 촬상하여 수신된 영상 데이터를 임시 저장하고, 각 포커스 위치에서 노광량 변화에 따라 촬상된 영상 데이터의 밝기가 변화된 경우, 밝기를 보상한 영상 데이터를 임시 저장할 수 있다. 또한, 상기 저장부(240)는 제어부(220)의 제어에 따라 자동 노출 검색을 통해 검색된 정초점의 위치에서 촬상된 영상 데이터를 캡쳐한 영상 데이터를 피사체를 최종 촬영한 영상으로 저장할 수 있다. 상기 저장부(240)는 캡쳐 신호에 따라 최종 촬영한 영상을 저장하면, 버퍼 메모리에 임시 저장된 영상 데이터 즉, 프리뷰 영상들을 삭제할 수 있다.
또한, 다양한 실시 예에 따라, 상기 저장부(240)는 자동 초점 검색을 동작을 통해 산출된 자동 초점 평가값들을 저장할 수 있으며, 자동 초점 검색에 관련된 정보(설정된 포커스 위치 정보(예, 초점 거리), 셔터 속도, 조리개 수치, 설정된 노출 값(EV), 렌즈에 관련된 정보 또는 센서에 관련된 정보 중 적어도 하나)를 저장할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 장치의 입력부(250)(예를 들어, 도 1의 입출력 인터페이스(150))는 사용자로부터 입력되는 숫자 및 문자 정보 중의 다양한 정보, 각종 기능 설정 및 전자 장치의 기능 제어와 관련하여 입력되는 신호를 제어부(220)로 전달할 수 있다. 또한, 상기 입력부(250)는 특정 기능을 지원하는 모듈 또는 어플리케이션을 실행하기 위한 사용자 입력을 지원할 수 있다. 상기 입력부(250)는 키보드나 키패드와 같은 키 입력 수단, 터치 센서나 터치 패드와 같은 터치 입력 수단, 음원 입력 수단, 카메라 또는 다양한 센서들을 중 적어도 하나를 포함할 수 있으며, 제스처 입력 수단을 포함할 수도 있다. 이 외에도 입력부(250)는 현재 개발 중이거나 향후 개발될 수 있는 모든 형태의 입력 수단이 포함될 수 있다. 또한, 본 발명의 다양한 실시 예에 따라, 상기 입력부(250)는 표시부(230)의 터치 패널 또는 카메라를 통해 사용자가 입력하는 정보를 사용자로부터 입력받을 수 있으며, 입력된 정보를 제어부(220)로 전달할 수 있다.
본 발명의 다양한 실시 예에 따르면, 입력부(250)는 촬영 장치(210)(예, 카메라) 또는 다양한 센서를 통해 수신된 사용자의 제스쳐에 관련된 정보를 제어부(220)로 전달할 수 있다. 또한, 상기 입력부(250)는 화면 상에 표시된 적어도 하나의 객체(예를 들어, 컨텐츠)의 선택에 따른 입력 신호를 제어부(220)로 전달할 수 있다.
또한, 본 발명의 다양한 실시 예에 따르면, 입력부(250)는 음원 입력 수단을 통해 사용자로부터 모드 전환(예, 영상 촬영을 위한 모드 전환)을 위한 입력 신호를 입력 받고, 입력된 신호를 제어부(220)로 전달할 수 있다.
다양한 실시 예에 따라, 상기 입력부(250)는 표시부(230)에 표시되는 카메라 기능에 대한 어플리케이션의 선택을 입력받을 수 있으며, 사용자가 피사체를 촬상하여 수신된 영상을 캡쳐하기 위한 촬영 버튼을 선택함에 따른 입력 신호를 발생할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 장치의 통신부(260)(예를 들어, 도 1의 통신 모듈(170))는 제어부(220)의 제어에 따라 다른 전자 장치 또는 외부 장치(예를 들어, 도 1의 전자 장치(102 또는 104) 또는 서버(106))와 통신을 수행할 수 있다. 다양한 실시 예에 따라 통신부(260)는 제어부(220)의 제어에 따라 실행되는 동작에 관련된 데이터를 외부 장치와 송수신할 수 있다. 상기 통신부(260)는 통신 인터페이스를 통해 무선 통신 또는 유선 통신을 이용하여 네트워크에 연결 또는 장치간 연결을 통해 통신할 수 있다. 상기 무선 통신은, 예를 들어, Wifi(wireless fidelity), BT(bluetooth), 지그비(zigbee), 지웨이브(z-wave), NFC(near field communication), GPS(global positioning system) 또는 셀룰라(cellular) 통신(예를 들어, LTE, LTE-A, CDMA, WCDMA, UMTS, WiBro 또는 GSM 중) 중 적어도 하나를 포함할 수 있다. 상기 유선 통신은, 예를 들어, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard 232), POTS(plain old telephone service), UART(universal asynchronous receiver transmitter), I2C(inter-integrated circuit), SPI(serial peripheral interface) 또는 CAN(controller area network) 중 적어도 하나를 포함할 수 있다. 또한, 상기 통신부(260)는 상술한 통신 방식 이외에도 기타 널리 공지되었거나 향후 개발될 모든 형태의 통신 방식을 포함할 수 있다.
본 발명의 다양한 실시 예에 따르면, 상기 전자 장치는 오디오 모듈(도시되지 않음)(예를 들어, 도 1의 입출력 인터페이스(150))을 더 포함할 수 있다. 상기 오디오 모듈은 사운드를 출력할 수 있으며, 예를 들어, 오디오 코덱(audio codec), 마이크(MIC), 수신기(receiver), 이어폰 출력(EAR_L) 또는 스피커(speaker) 중 적어도 하나를 포함하여 구성될 수 있다. 다양한 실시 예에 따라, 상기 오디오 모듈은 촬영 기능이 실행됨에 따라 촬영에 관련된 안내 정보를 음성으로 제공할 수 있으며, 촬영된 영상에 포함된 음성 정보를 출력할 수 있다.
또한, 본원 발명의 다양한 실시 예에 따르면, 상기 전자 장치는 촬영된 영상을 표현 또는 촬영 동작에 따른 기능을 진동, 촉감 또는 냄새 중 적어도 하나로 제공하기 위한 수단을 더 포함하여 구성될 수 있다.
이와 같이, 본 발명의 다양한 실시 예에서는 상기 도 2의 전자 장치를 통해 전자 장치의 주요 구성 요소에 대해 설명하였다, 그러나 본 발명의 다양한 실시 예에서는 상기 도 2를 통해 도시된 구성 요소가 모두 필수 구성 요소인 것은 아니며, 도시된 구성 요소보다 많은 구성 요소에 의해 상기 전자 장치가 구현될 수도 있고, 그 보다 적은 구성 요소에 의해 상기 전자 장치가 구현될 수도 있다. 또한, 상기 도 2를 통해 상술한 전자 장치의 주요 구성 요소의 위치는 다양한 실시 예에 따라 변경 가능할 수 있다.
본 발명의 다양한 실시 예들 중 어느 하나에 따른 전자 장치는, 자동 초점 검색이 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하고, 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 신호 처리 모듈; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하고, 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 영상 보상 모듈; 및 상기 제1 영상 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 자동 초점 처리 모듈을 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 전자 장치는, 상기 적어도 하나의 렌즈; 상기 렌즈를 상기 제1 위치에서 상기 제2 위치로 이동시키는 렌즈 구동 모듈; 및 상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제1 영상 및 제2 영상을 촬상하는 복수의 이미지 센서를 포함하는 촬영 장치를 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 영상 보상 모듈은, 상기 제1 영상의 밝기 및 상기 제2 영상의 밝기의 변화 값을 이용하여 이득 옵셋 값을 산출하고, 산출된 이득 옵셋 값을 이용하여 상기 보상 정보를 생성할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 영상 보상 모듈은, 상기 제1 영상 및 제2 영상의 밝기의 변화 값이 설정된 임계값 이상이면, 상기 제2 영상을 보상할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 영상 보상 모듈은, 상기 제1 영상의 각 픽셀의 명암 대비를 통해 제1 밝기 정보를 획득하고, 상기 제2 영상의 각 픽셀의 명암 대비를 통해 제2 밝기 정보를 획득할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 자동 초점 처리 모듈은, 상기 제1 영상에 대해 영상 처리된 데이터를 기반으로 상기 제1 위치에 대한 자동 초점 평가값을 획득하고, 상기 밝기가 보상된 제2 영상에 대해 영상 처리된 데이터를 기반으로 상기 제2 위치에 대한 자동 초점 평가값을 획득할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 자동 초점 처리 모듈은, 상기 자동 초점 검색이 완료되면, 상기 제1 위치 및 상기 제2 위치를 포함하는 상기 렌즈의 설정된 각 위치에서 획득한 자동 초점 평가값 중 가장 큰 값에 상응하는 상기 렌즈의 위치를 상기 피사체에 대한 초점으로 결정할 수 있다.
상술한 바와 같은 전자 장치에서 자동 초점을 위한 동작 절차에 대해 첨부된 도면들을 참조하여 구체적으로 설명하기로 한다.
도 4 및 도 5는 본 발명의 다양한 실시 예에 따른 전자 장치의 동작 절차의 예를 나타내는 도면이다.
상기 도 4를 참조하면, 본 발명의 다양한 실시 예들에 따라, 401 동작에서는, 상기 전자 장치(예를 들어, 도 1의 전자 장치(101) 또는 도 2의 전자 장치(200))가 사용자의 요청에 따라 촬영 기능 또는 어플리케이션을 실행할 수 있다.
403 동작에서는 상기 전자 장치가 상기 촬영 기능 또는 어플리케이션이 실행됨에 따라 촬영 장치가 구동되어 렌즈 구동 모듈로 전원이 인가되면, 피사체에 대한 초점을 맞추기 위해 특정 방향으로 렌즈(예, 포커스 렌즈)를 이동시키면서 자동 초점을 검색하기 위한 동작을 개시할 수 있다. 상기 전자 장치는 상기 촬영 기능이 실행되고, 자동 초점 검색이 시작되면, 초기 설정된 촬영 조건(셔터 속도, 조리개 수치, 설정된 노출 값 또는 포커스 시작 위치)에 따라 렌즈를 통해 복수의 이미지 센서로 입사된 빛을 디지털 신호로 변환하여 임시 저장할 수 있다.
405 동작에서는 상기 전자 장치가 현재 포커스 위치에서 촬상된 영상에 대한 영상 데이터를 수신하고, 수신된 영상 데이터를 분석하여 영상의 밝기 정보를 획득할 수 있다. 다양한 실시 예에 따라 상기 전자 장치는 수신된 영상 데이터에서 촬상된 영상의 일부 또는 전체 영역의 명암 대비(contrast)를 통해 화소 정보(화소 값)를 확인하고, 확인된 화소값을 기반으로 상기 촬상된 영상의 밝기를 확인할 수 있다.
407 동작에서는 상기 전자 장치가 상기 수신된 영상 데이터의 밝기 정보를 확인하여 영상의 밝기가 변경되었는지를 확인할 수 있다. 다양한 실시 예에 따라 상기 전자 장치는 포커스 시작 위치에서 영상 데이터를 수신하면, 영상의 밝기를 보상하지 않고, 그대로 411 동작을 수행할 수 있다. 또한, 다양한 실시 예에 따라 상기 전자 장치는 포커스 시작 위치에서 이동된 포커스 위치에서 영상 데이터를 수신하면, 현재 포커스 위치(제2 포커스 위치)에서 수신한 영상 데이터(예, 제2 영상 데이터)와 포커스 시작 위치(제1 포커스 위치)에서 수신한 영상 데이터(예, 제1 영상 데이터)를 비교하여 밝기의 변화를 확인할 수 있다.
상기 407 동작에서 확인한 결과, 영상의 밝기가 변경된 경우, 상기 전자 장치는 409 동작을 수행하고, 영상의 밝기가 변경되지 않는 경우, 411 동작을 수행할 수 있다.
409 동작에서는, 상기 전자 장치가 현재 포커스 위치에서 촬상된 영상의 밝기를 보상할 수 있다. 다양한 실시 예에 따라 상기 전자 장치는 현재 포커스 위치(예, 제2 포커스 위치)에서 촬상된 영상의 밝기 정보를 획득할 수 있다. 상기 전자 장치는 획득한 밝기 정보와 제1 포커스 위치에서 확인된 밝기 정보의 차이만큼 밝기를 보상하기 위한 이득값을 포함하는 보상 정보를 산출할 수 있다. 상기 전자 장치는 산출된 보상 정보로 촬상된 영상을 제1 포커스 위치에서 촬상된 영상과 동일한 밝기의 영상으로 보상할 수 있다. 다양한 실시 예에 따라, 상기 도 5를 참조하면, 상기 전자 장치는 센서부의 복수의 이미지 센서를 통해 디지털 신호 즉, 영상 데이터(raw 영상 데이터)(501)를 수신하면, 수신된 영상 데이터(501)에 보상 정보(gain offset)(503)를 곱하여 밝기 보상 동작(510)을 수행할 수 있다.
411 동작에서는, 상기 전자 장치가 자동 초점 동작에 따라 현재 포커스 위치에서 획득한 영상 데이터에 대한 영상 처리를 수행하고, 영상 처리된 데이터를 기반으로 현재 포커스 위치에 대한 자동 초점 평가값을 산출할 수 있다. 상기 전자 장치는 밝기가 획득한 영상 데이터의 휘도 값을 산출하고, 산출된 휘도 값을 이용하여 자동 초점 컴파 데이터를 산출할 수 있으며, 산출된 자동 초점 검파 데이터를 상기 자동 초점 평가값으로 이용할 수 있다. 또한, 다양한 실시 예에 따라 상기 자동 초점 검파 데이터를 기반으로 상기 자동 초점 평가값을 산출할 수 있다. 상기 도 5를 참조하면, 촬상된 영상에 대한 수신 영상 데이터(raw data)를 수신하면, 상기 전자 장치의 영상 보상 모듈은 수신 영상 데이터에 보상값(gain offset)(503)을 곱하여 영상의 밝기를 보상하는 동작(510)을 수행할 수 있다. 이에 따라 상기 전자 장치의 자동 초점 처리 모듈은 밝기가 보상된 영상에 대한 자동 처리 동작(520)을 수행하고, 자동 초점 처리 결과로서 자동 초점 감파 데이터(505)를 출력할 수 있다. 상기 자동 초점 처리 동작(520) 시 상기 전자 장치는 영상 처리를 수행하거나 별도의 영상 처리 모듈을 통해 자동 초점 처리가 완료된 영상에 대한 영상 처리를 수행할 수 있다. 따라서 상기 전자 장치는 자동 초점(AF) 데이터 처리 동작(520) 이전에 촬상된 영상의 밝기를 보상하는 동작(510)을 수행함으로써, 밝기 변화에 따라 자동 초점 검색이 리셋되지 않고, 연속적으로 자동 초점 검색을 수행할 수 있다.
413 동작에서는, 상기 전자 장치가 자동 초점 검색이 완료되었는지를 확인할 수 있다. 확인 결과, 자동 초점 검색이 완료 즉, 자동 초점 검색 범위 내에서 렌즈의 이동이 완료되면, 상기 전자 장치는 415 동작을 수행할 수 있다. 또한, 확인 결과, 자동 초점 검색이 완료되지 않으면, 상기 전자 장치는 다음 포커스 위치에서 다시 405 동작 이후 동작들을 반복 수행할 수 있다.
415 동작에서는, 자동 초점 검색이 완료되면, 상기 전자 장치가 각 포커스 위치에서 산출된 자동 초점 평가값 중 가장 높은 값(피크 값)을 갖는 포커스 위치를 정초점으로 결정하여 피사체에 대한 초점을 보정할 수 있다.
다양한 실시 예에 따라 상기 전자 장치는 자동 초점 동작을 통해 피사체에 대한 초점을 맞추고, 사용자로부터 피사체에 대한촬영 요청(예, 셔터 또는 촬영 버튼)을 입력 받으면, 정초점의 위치에서 촬상된 영상 데이터를 캡쳐하여 캡쳐된 영상을 최종 촬영 영상으로 저장할 수 있다.
상술한 바와 같은 자동 초점을 위한 동작에 따라 상기 전자 장치는 자동 초점 검색 시 밝기 변화가 발생하더라도 리셋되지 않고 연속적으로 초점 검색을 수행할 수 있다. 첨부된 도 6에 도시된 610 그래프를 참조하면, 자동 초점 검색 시 3번째 포커스 위치에서 노출 변화량이 절반으로 떨어짐을 알 수 있다. 이와 같이, 노출 변화량이 절반으로 떨어지면, 3번째 포커스 위치에서 촬상된 영상은 1/2 어두워진다. 때문에 620 그래프를 참조하면, 3번째 포커스 위치에서 산출된 자동 초점 평가값이 2번째 포커스 위치에서 산출된 자동 초점 평가값보다 작은 값임을 알 수 있다. 상기 3번째 포커스 위치에서 산출된 자동 초점 평가값이 노출 변화로 인해 기준값 이하로 낮아지면, 전자 장치는 자동 초점 검색을 중단하고, 3번째 포커스 위치에서부터 자동 초점 검색을 다시 수행할 수 있다.
또한, 630 그래프를 참조하면, 3번째 포커스 위치에서 노출 변화가 발생하더라도 자동 초점 데이터를 처리하기 전에 밝기를 보상한 영상 데이터를 이용하여 자동 초점 평가값을 산출하므로 3번째 포커스 위치에서의 자동 초점 평가값은 밝기 변화량에 영향을 받지 않고 2번째 포커스 위치보다 높은 값으로 산출될 수 있다. 따라서 자동 초점 검색이 리셋되지 않고, 연속적으로 자동 초점 검색을 수행할 수 있다.
또한, 상기 620 그래프와 상기 630 그래프를 비교하면, 밝기 보상 전후인 630 그래프에서 4번째 포커스의 위치에서의 자동 초점 평가값이 620 그래프의 4번째 포커스 위치에서의 자동 초점 평가값보다 큰 값으로 산출될 수 있다.
본 발명의 다양한 실시 예들 중 어느 하나에 따른 전자 장치에서 자동 초점을 처리하기 위한 방법은, 자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작; 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작; 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작; 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작을 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 방법은, 상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제1 영상을 촬상하는 동작; 및 상기 렌즈가 상기 제2 위치로 이동되면, 상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제2 영상을 촬상하는 동작을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 제1 영상이 수신되면, 상기 제1 영상의 밝기 정보를 획득하는 동작; 및 상기 획득한 제1 영상의 밝기 정보를 상기 보상 정보를 생성하기 위한 기준 밝기 정보로 설정하는 동작을 더 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작은, 상기 제1 영상의 밝기 정보 및 상기 제2 영상의 밝기 정보의 변화 값을 이용하여 이득 옵셋 값을 산출하는 동작; 및 산출된 이득 옵셋 값을 이용하여 상기 보상 정보를 생성하는 동작을 포함할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작은, 상기 제1 영상 및 제2 영상의 밝기의 변화 값이 설정된 임계값 이상이면, 상기 제2 영상을 보상할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작은, 상기 제1 영상에 대해 영상 처리된 데이터를 기반으로 상기 제1 위치에 대한 자동 초점 평가값을 획득할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작은, 상기 밝기가 보상된 제2 영상에 대해 영상 처리된 데이터를 기반으로 상기 제2 위치에 대한 자동 초점 평가값을 획득할 수 있다.
본 발명의 다양한 실시 예에 따라, 상기 방법은, 상기 자동 초점 검색이 완료되면, 상기 피사체에 대한 초점을 결정하는 동작을 더 포함하며, 상기 피사체에 대한 초점은 상기 제1 위치 및 상기 제2 위치를 포함하는 상기 렌즈의 설정된 각 위치에서 획득한 자동 초점 평가값 중 가장 큰 값에 상응하는 상기 렌즈의 위치로 결정될 수 있다.
도 7은 다양한 실시예에 따른 전자 장치의 블록도이다.
전자 장치(701)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(701)는 하나 이상의 프로세서(예: AP(application processor))(710), 통신 모듈(720), 가입자 식별 모듈(724), 메모리(730), 센서 모듈(740), 입력 장치(750), 디스플레이(760), 인터페이스(770), 오디오 모듈(780), 카메라 모듈(791), 전력 관리 모듈(795), 배터리(796), 인디케이터(797), 및 모터(798)를 포함할 수 있다.
프로세서(710)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(710)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(710)는, 예를 들면, SoC(system on chip)로 구현될 수 있다. 한 실시예에 따르면, 프로세서(710)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(710)는 도 7에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(721))를 포함할 수도 있다. 프로세서(710) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.
통신 모듈(720)은, 도 1의 통신 모듈(170)과 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(720)은, 예를 들면, 셀룰러 모듈(721), WiFi 모듈(723), 블루투스 모듈(725), GNSS 모듈(727)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(728) 및 RF(radio frequency) 모듈(729)를 포함할 수 있다.
셀룰러 모듈(721)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(721)은 가입자 식별 모듈(예: SIM 카드)(724)을 이용하여 통신 네트워크 내에서 전자 장치(701)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(721)은 프로세서(710)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(721)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다.
WiFi 모듈(723), 블루투스 모듈(725), GNSS 모듈(727) 또는 NFC 모듈(728) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(721), WiFi 모듈(723), 블루투스 모듈(725), GNSS 모듈(727) 또는 NFC 모듈(728) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated chip(IC) 또는 IC 패키지 내에 포함될 수 있다.
RF 모듈(729)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(729)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(721), WiFi 모듈(723), 블루투스 모듈(725), GNSS 모듈(727) 또는 NFC 모듈(728) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다.
가입자 식별 모듈(724)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다.
메모리(730)(예: 메모리(130))는, 예를 들면, 내장 메모리(732) 또는 외장 메모리(734)를 포함할 수 있다. 내장 메모리(732)는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD)) 중 적어도 하나를 포함할 수 있다.
외장 메모리(734)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 외장 메모리(734)는 다양한 인터페이스를 통하여 전자 장치(701)와 기능적으로 및/또는 물리적으로 연결될 수 있다.
센서 모듈(740)은, 예를 들면, 물리량을 계측하거나 전자 장치(701)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(740)은, 예를 들면, 제스처 센서(740A), 자이로 센서(740B), 기압 센서(740C), 마그네틱 센서(740D), 가속도 센서(740E), 그립 센서(740F), 근접 센서(740G), 컬러(color) 센서(740H)(예: RGB(red, green, blue) 센서), 생체 센서(740I), 온/습도 센서(740J), 조도 센서(740K), 또는 UV(ultra violet) 센서(740M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로(additionally or alternatively), 센서 모듈(740)은, 예를 들면, 후각 센서(E-nose sensor), EMG 센서(electromyography sensor), EEG 센서(electroencephalogram sensor), ECG 센서(electrocardiogram sensor), IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(740)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(701)는 프로세서(710)의 일부로서 또는 별도로, 센서 모듈(740)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(710)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(740)을 제어할 수 있다.
입력 장치(750)는, 예를 들면, 터치 패널(touch panel)(752), (디지털) 펜 센서(pen sensor)(754), 키(key)(756), 또는 초음파(ultrasonic) 입력 장치(758)를 포함할 수 있다. 터치 패널(752)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(752)은 제어 회로를 더 포함할 수도 있다. 터치 패널(752)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다.
(디지털) 펜 센서(754)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 키(756)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(758)는 마이크(예: 마이크(788))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.
디스플레이(760)(예: 디스플레이(160))는 패널(762), 홀로그램 장치(764), 또는 프로젝터(766)를 포함할 수 있다. 패널(762)은, 도 1의 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 패널(762)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(762)은 터치 패널(752)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(764)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(766)는 스크린에 빛을 투사하여 영상을 디스플레이할 수 있다. 스크린은, 예를 들면, 전자 장치(701)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 디스플레이(760)는 패널(762), 홀로그램 장치(764), 또는 프로젝터(766)를 제어하기 위한 제어 회로를 더 포함할 수 있다.
인터페이스(770)는, 예를 들면, HDMI(high-definition multimedia interface)(772), USB(universal serial bus)(774), 광 인터페이스(optical interface)(776), 또는 D-sub(D-subminiature)(778)를 포함할 수 있다. 인터페이스(770)는, 예를 들면, 도 1에 도시된 통신 모듈(170)에 포함될 수 있다. 추가적으로 또는 대체적으로(additionally and alternatively), 인터페이스(770)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure digital) 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다.
오디오 모듈(780)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(780)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(150)에 포함될 수 있다. 오디오 모듈(780)은, 예를 들면, 스피커(782), 리시버(784), 이어폰(786), 또는 마이크(788) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.
카메라 모듈(791)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.
전력 관리 모듈(795)은, 예를 들면, 전자 장치(701)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(795)은 PMIC(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. PMIC는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(796)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(796)는, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다.
인디케이터(797)는 전자 장치(701) 또는 그 일부(예: 프로세서(710))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 디스플레이할 수 있다. 모터(798)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. 도시되지는 않았으나, 전자 장치(701)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 모바일 TV 지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있다.
본 문서에서 기술된 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치는 본 문서에서 기술된 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시예에 따른 전자 장치의 구성요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성요소들의 기능을 동일하게 수행할 수 있다.
도 8은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
한 실시예에 따르면, 프로그램 모듈(810)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제(operating system(OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.
프로그램 모듈(810)은 커널(820), 미들웨어(830), 어플리케이션 프로그래밍 인터페이스(application programming interface (API))(860), 및/또는 어플리케이션(870)을 포함할 수 있다. 프로그램 모듈(810)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드(download) 가능하다.
커널(820)(예: 커널(141))은, 예를 들면, 시스템 리소스 매니저(821) 및/또는 디바이스 드라이버(823)를 포함할 수 있다. 시스템 리소스 매니저(821)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(821)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 디바이스 드라이버(823)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다.
미들웨어(830)는, 예를 들면, 어플리케이션(870)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(870)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(860)를 통해 다양한 기능들을 어플리케이션(870)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(830)(예: 미들웨어(143))는 런타임 라이브러리(835), 어플리케이션 매니저(application manager)(841), 윈도우 매니저(window manager)(842), 멀티미디어 매니저(multimedia manager)(843), 리소스 매니저(resource manager)(844), 파워 매니저(power manager)(845), 데이터베이스 매니저(database manager)(846), 패키지 매니저(package manager)(847), 연결 매니저(connectivity manager)(848), 통지 매니저(notification manager)(849), 위치 매니저(location manager)(850), 그래픽 매니저(graphic manager)(851), 또는 보안 매니저(security manager)(852) 중 적어도 하나를 포함할 수 있다.
런타임 라이브러리(835)는, 예를 들면, 어플리케이션(870)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(835)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다.
어플리케이션 매니저(841)는, 예를 들면, 어플리케이션(870) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(842)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(843)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 리소스 매니저(844)는 어플리케이션(870) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다.
파워 매니저(845)는, 예를 들면, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 데이터베이스 매니저(846)는 어플리케이션(870) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(847)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다.
연결 매니저(848)는, 예를 들면, WiFi 또는 블루투스 등의 무선 연결을 관리할 수 있다. 통지 매니저(849)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 디스플레이 또는 통지할 수 있다. 위치 매니저(850)는 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(851)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(852)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시예에 따르면, 전자 장치(예: 전자 장치(101))가 전화 기능을 포함한 경우, 미들웨어(830)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다.
미들웨어(830)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 미들웨어(830)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 미들웨어(830)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.
API(860)(예: API(145))는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.
어플리케이션(870)(예: 어플리케이션 프로그램(147))은, 예를 들면, 홈(871), 다이얼러(872), SMS/MMS(873), IM(instant message)(874), 브라우저(875), 카메라(876), 알람(877), 컨택트(878), 음성 다이얼(879), 이메일(880), 달력(881), 미디어 플레이어(882), 앨범(883), 또는 시계(884), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 수행할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다.
한 실시예에 따르면, 어플리케이션(870)은 전자 장치(예: 전자 장치(101))와 외부 전자 장치(예: 전자 장치(102, 104)) 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의상, "정보 교환 어플리케이션")을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다.
예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션, 또는 환경 정보 어플리케이션 등)에서 발생된 알림 정보를 외부 전자 장치(예: 전자 장치(102, 104))로 전달하는 기능을 포함할 수 있다. 또한, 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다.
장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치(예: 전자 장치(102, 104))의 적어도 하나의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 외부 전자 장치에서 동작하는 어플리케이션 또는 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스 등)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다.
한 실시예에 따르면, 어플리케이션(870)은 외부 전자 장치(예: 전자 장치(102, 104))의 속성(에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션 등)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(870)은 외부 전자 장치(예: 서버(106) 또는 전자 장치(102, 104))로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(870)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시예에 따른 프로그램 모듈(810)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다.
다양한 실시예에 따르면, 프로그램 모듈(810)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 프로그램 모듈(810)의 적어도 일부는, 예를 들면, 프로세서(예: 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 프로그램 모듈(810)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.
본 문서에서 사용된 용어 "모듈"은, 예를 들면, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. "모듈"은, 예를 들면, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. "모듈"은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면,"모듈"은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다.
다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(120))에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 메모리(130)가 될 수 있다.
컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical media)(예: CD-ROM(compact disc read only memory), DVD(digital versatile disc), 자기-광 매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 하드웨어 장치(예: ROM(read only memory), RAM(random access memory), 또는 플래시 메모리 등) 등을 포함할 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 다양한 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.
다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.
다양한 실시 예에 따르면, 컴퓨터상에서 수행하기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체에 있어서, 상기 프로그램은, 프로세서에 의한 실행 시, 상기 프로세서가, 자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작; 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작; 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작; 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작; 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작;을 수행하도록 하는 실행 가능한 명령을 포함할 수 있다.
그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 문서에서 기재된 기술의 범위를 한정하는 것은 아니다. 따라서, 본 문서의 범위는, 본 문서의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.

Claims (16)

  1. 전자 장치에 있어서,
    자동 초점 검색이 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하고, 상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 신호 처리 모듈;
    상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하고, 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 영상 보상 모듈; 및
    상기 제1 영상 및 상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 자동 초점 처리 모듈;
    을 포함하는 전자 장치.
  2. 제1항에 있어서, 상기 전자 장치는,
    상기 적어도 하나의 렌즈;
    상기 렌즈를 상기 제1 위치에서 상기 제2 위치로 이동시키는 렌즈 구동 모듈; 및
    상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제1 영상 및 제2 영상을 촬상하는 복수의 이미지 센서;
    를 포함하는 촬영 장치를 더 포함하는 것을 특징으로 하는 전자 장치.
  3. 제1항에 있어서, 상기 영상 보상 모듈은,
    상기 제1 영상의 밝기 및 상기 제2 영상의 밝기의 변화 값을 이용하여 이득 옵셋 값을 산출하고, 산출된 이득 옵셋 값을 이용하여 상기 보상 정보를 생성하는 것을 특징으로 하는 전자 장치.
  4. 제1항에 있어서, 상기 영상 보상 모듈은,
    상기 제1 영상 및 제2 영상의 밝기의 변화 값이 설정된 임계값 이상이면, 상기 제2 영상을 보상하는 것을 특징으로 하는 전자 장치.
  5. 제1항에 있어서, 상기 영상 보상 모듈은,
    상기 제1 영상의 각 픽셀의 명암 대비를 통해 제1 밝기 정보를 획득하고, 상기 제2 영상의 각 픽셀의 명암 대비를 통해 제2 밝기 정보를 획득하는 것을 특징으로 하는 전자 장치.
  6. 제1항에 있어서, 상기 자동 초점 처리 모듈은,
    상기 제1 영상에 대해 영상 처리된 데이터를 기반으로 상기 제1 위치에 대한 자동 초점 평가값을 획득하고, 상기 밝기가 보상된 제2 영상에 대해 영상 처리된 데이터를 기반으로 상기 제2 위치에 대한 자동 초점 평가값을 획득하는 것을 특징으로 하는 전자 장치.
  7. 제6항에 있어서, 상기 자동 초점 처리 모듈은,
    상기 자동 초점 검색이 완료되면, 상기 제1 위치 및 상기 제2 위치를 포함하는 상기 렌즈의 설정된 각 위치에서 획득한 자동 초점 평가값 중 가장 큰 값에 상응하는 상기 렌즈의 위치를 상기 피사체에 대한 초점으로 결정하는 것을 특징으로 하는 전자 장치.
  8. 전자 장치에서 자동 초점을 처리하기 위한 방법에 있어서,
    자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작;
    상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작;
    상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작;
    상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작;
    상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및
    상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작;
    을 포함하는 방법.
  9. 제8항에 있어서, 상기 전자 장치는,
    상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제1 영상을 촬상하는 동작; 및
    상기 렌즈가 상기 제2 위치로 이동되면, 상기 피사체로부터 상기 렌즈를 통해 입사되는 빛을 감지하여 상기 제2 영상을 촬상하는 동작;
    을 더 포함하는 것을 특징으로 하는 방법.
  10. 제8항에 있어서, 상기 방법은,
    상기 제1 영상이 수신되면, 상기 제1 영상의 밝기 정보를 획득하는 동작; 및
    상기 획득한 제1 영상의 밝기 정보를 상기 보상 정보를 생성하기 위한 기준 밝기 정보로 설정하는 동작;
    을 더 포함하는 것을 특징으로 하는 방법.
  11. 제8항에 있어서, 상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작은,
    상기 제1 영상의 밝기 정보 및 상기 제2 영상의 밝기 정보의 변화 값을 이용하여 이득 옵셋 값을 산출하는 동작; 및
    산출된 이득 옵셋 값을 이용하여 상기 보상 정보를 생성하는 동작;
    을 포함하는 것을 특징으로 하는 방법.
  12. 제8항에 있어서, 상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작은,
    상기 제1 영상 및 제2 영상의 밝기의 변화 값이 설정된 임계값 이상이면, 상기 제2 영상을 보상하는 것을 특징으로 하는 방법.
  13. 제8항에 있어서, 상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작은,
    상기 제1 영상에 대해 영상 처리된 데이터를 기반으로 상기 제1 위치에 대한 자동 초점 평가값을 획득하는 것을 특징으로 하는 방법.
  14. 제8항에 있어서, 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작은,
    상기 밝기가 보상된 제2 영상에 대해 영상 처리된 데이터를 기반으로 상기 제2 위치에 대한 자동 초점 평가값을 획득하는 것을 특징으로 하는 방법.
  15. 제8항에 있어서, 상기 방법은,
    상기 자동 초점 검색이 완료되면, 상기 피사체에 대한 초점을 결정하는 동작;
    을 더 포함하며,
    상기 피사체에 대한 초점은 상기 제1 위치 및 상기 제2 위치를 포함하는 상기 렌즈의 설정된 각 위치에서 획득한 자동 초점 평가값 중 가장 큰 값에 상응하는 상기 렌즈의 위치로 결정됨을 특징으로 하는 방법.
  16. 컴퓨터상에서 수행하기 위한 프로그램을 기록한 컴퓨터 판독 가능한 기록 매체에 있어서, 상기 프로그램은, 프로세서에 의한 실행 시, 상기 프로세서가,
    자동 초점 검색을 실행되면, 적어도 하나의 렌즈의 제1 위치에서 피사체를 촬상한 제1 영상을 수신하는 동작;
    상기 제1 영상에 대해 영상 처리 및 자동 초점 처리를 수행하는 동작;
    상기 렌즈의 제2 위치에서 상기 피사체를 촬상한 제2 영상을 수신하는 동작;
    상기 제1 영상의 제1 밝기 정보 및 상기 제2 영상의 제2 밝기 정보를 이용하여 보상 정보를 생성하는 동작;
    상기 보상 정보를 이용하여 상기 제2 영상의 밝기를 보상하는 동작; 및
    상기 밝기가 보상된 상기 제2 영상에 대한 영상 처리 및 자동 초점 처리를 수행하는 동작;
    을 수행하도록 하는 실행 가능한 명령을 포함하는, 컴퓨터 판독 가능한 기록 매체.
PCT/KR2016/013007 2015-11-11 2016-11-11 전자 장치 및 전자 장치에서의 자동 초점 처리 방법 WO2017082676A1 (ko)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/774,879 US10939032B2 (en) 2015-11-11 2016-11-11 Electronic device, and autofocus processing method for maintaining continuity of autofocus search in electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2015-0158191 2015-11-11
KR1020150158191A KR20170055250A (ko) 2015-11-11 2015-11-11 전자 장치 및 전자 장치에서의 자동 초점 처리 방법

Publications (1)

Publication Number Publication Date
WO2017082676A1 true WO2017082676A1 (ko) 2017-05-18

Family

ID=58695890

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/KR2016/013007 WO2017082676A1 (ko) 2015-11-11 2016-11-11 전자 장치 및 전자 장치에서의 자동 초점 처리 방법

Country Status (3)

Country Link
US (1) US10939032B2 (ko)
KR (1) KR20170055250A (ko)
WO (1) WO2017082676A1 (ko)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11775952B2 (en) * 2017-02-28 2023-10-03 Ncr Corporation Multi-camera simultaneous imaging for multiple processes
GB2586980B (en) * 2019-09-10 2023-02-15 Advanced Risc Mach Ltd Contrast-based autofocus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070187571A1 (en) * 2003-08-26 2007-08-16 Hiroki Ebe Autofocus control method, autofocus control apparatus and image processing apparatus
JP2010068046A (ja) * 2008-09-08 2010-03-25 Olympus Imaging Corp 撮像装置
KR20110089665A (ko) * 2010-02-01 2011-08-09 삼성전자주식회사 디지털 영상 처리 장치, 영상 처리 방법 및 이를 기록한 기록 매체
JP2013228541A (ja) * 2012-04-25 2013-11-07 Xacti Corp 撮像装置
KR20150074641A (ko) * 2013-12-24 2015-07-02 삼성테크윈 주식회사 자동 초점 조절 방법 및 자동 초점 조절 장치

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0990460A (ja) 1995-09-25 1997-04-04 Canon Inc カメラ
KR100298070B1 (ko) 1998-08-28 2001-10-26 윤종용 비디오카메라의화이트밸런스보정방법
JP3984138B2 (ja) 2002-09-27 2007-10-03 フジノン株式会社 測距装置及びこれを備えたカメラ
JP2008083338A (ja) 2006-09-27 2008-04-10 Fujitsu Ltd Af検波の光学ズーム補正撮像装置
JP2011049892A (ja) 2009-08-27 2011-03-10 Eastman Kodak Co 撮像装置
JP5951211B2 (ja) * 2011-10-04 2016-07-13 オリンパス株式会社 合焦制御装置及び内視鏡装置
KR101795604B1 (ko) * 2011-11-24 2017-11-09 삼성전자주식회사 자동 초점 조절 장치 및 그 제어방법
US9823585B2 (en) * 2015-03-31 2017-11-21 Taiwan Semiconductor Manufacturing Company, Ltd. EUV focus monitoring systems and methods

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070187571A1 (en) * 2003-08-26 2007-08-16 Hiroki Ebe Autofocus control method, autofocus control apparatus and image processing apparatus
JP2010068046A (ja) * 2008-09-08 2010-03-25 Olympus Imaging Corp 撮像装置
KR20110089665A (ko) * 2010-02-01 2011-08-09 삼성전자주식회사 디지털 영상 처리 장치, 영상 처리 방법 및 이를 기록한 기록 매체
JP2013228541A (ja) * 2012-04-25 2013-11-07 Xacti Corp 撮像装置
KR20150074641A (ko) * 2013-12-24 2015-07-02 삼성테크윈 주식회사 자동 초점 조절 방법 및 자동 초점 조절 장치

Also Published As

Publication number Publication date
KR20170055250A (ko) 2017-05-19
US10939032B2 (en) 2021-03-02
US20200267304A1 (en) 2020-08-20

Similar Documents

Publication Publication Date Title
WO2018182292A1 (en) Electronic device and control method thereof
WO2017209560A1 (ko) 화면 출력 방법 및 이를 지원하는 전자 장치
WO2018139752A1 (ko) 복수의 카메라를 제어하는 방법 및 전자 장치
WO2018128389A1 (en) Electronic device and method for displaying history of executed application thereof
WO2018174648A1 (ko) 전자 장치 및 이를 이용한 카메라 촬영 환경 및 장면에 따른 영상 처리 방법
EP3504525A1 (en) Method for estimating illuminance and an electronic device thereof
WO2017039396A1 (ko) 초광각 광학계
WO2018004238A1 (en) Apparatus and method for processing image
WO2018021736A1 (en) Apparatus and method for processing a beauty effect
WO2017052113A1 (ko) 전자 장치 및 촬영 방법
WO2018066964A1 (ko) 양면 디스플레이를 갖는 전자 장치 및 어플리케이션 제어 방법
WO2017116052A1 (ko) 컨텐트 인식 장치 및 그 동작 방법
WO2018117560A1 (ko) 사용자의 시선 및 입력에 기반하여 제어되는 전자 장치, 모바일 전자 장치 및 디스플레이 장치
WO2018164411A1 (ko) 카메라 모듈을 구비한 전자 장치 및 전자 장치 제어 방법
WO2017171248A1 (ko) 이미지를 처리하기 위한 전자 장치 및 방법
WO2018174674A1 (en) Electronic device and method for authenticating biometric data thorough plural cameras
WO2017146482A1 (ko) 음성 인식 제어를 제공하는 전자 장치 및 그 동작 방법
WO2018034416A1 (ko) 전자 장치 및 전자 장치의 이미지 표시 방법
WO2017135675A1 (ko) 이미지 처리장치 및 방법
WO2018034418A1 (ko) 이미지 신호 처리 방법, 이미지 신호 프로세서, 및 전자 장치
WO2018117681A1 (ko) 이미지 처리 방법 및 이를 지원하는 전자 장치
WO2018131841A1 (ko) 전자장치 및 이를 활용한 액츄에이터 제어 방법
WO2017126767A1 (ko) 전자 장치 및 전자 장치의 동작 방법
WO2017061720A1 (en) Method of processing image of electronic device and electronic device thereof
AU2017306243B2 (en) Electronic device and method for outputting thumbnail corresponding to user input

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16864602

Country of ref document: EP

Kind code of ref document: A1