WO2020159149A1 - Electronic device and method for processing image - Google Patents
Electronic device and method for processing image Download PDFInfo
- Publication number
- WO2020159149A1 WO2020159149A1 PCT/KR2020/001115 KR2020001115W WO2020159149A1 WO 2020159149 A1 WO2020159149 A1 WO 2020159149A1 KR 2020001115 W KR2020001115 W KR 2020001115W WO 2020159149 A1 WO2020159149 A1 WO 2020159149A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- sub
- image signal
- region
- subgroup
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 100
- 238000012545 processing Methods 0.000 title abstract description 32
- 230000008569 process Effects 0.000 claims abstract description 65
- 238000003672 processing method Methods 0.000 claims description 26
- 238000004891 communication Methods 0.000 description 38
- 230000006870 function Effects 0.000 description 15
- 238000004590 computer program Methods 0.000 description 8
- 230000011218 segmentation Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000003381 stabilizer Substances 0.000 description 5
- 230000009467 reduction Effects 0.000 description 4
- 238000003491 array Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000013507 mapping Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000035807 sensation Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000010267 cellular communication Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 239000004020 conductor Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 239000000446 fuel Substances 0.000 description 1
- 230000003155 kinesthetic effect Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
- 230000002194 synthesizing effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
- 229910052724 xenon Inorganic materials 0.000 description 1
- FHNFHKCVQCLJFQ-UHFFFAOYSA-N xenon atom Chemical compound [Xe] FHNFHKCVQCLJFQ-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/50—Image enhancement or restoration using two or more images, e.g. averaging or subtraction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/70—Denoising; Smoothing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/10—Image acquisition
- G06V10/12—Details of acquisition arrangements; Constructional details thereof
- G06V10/14—Optical characteristics of the device performing the acquisition or on the illumination arrangements
- G06V10/147—Details of sensors, e.g. sensor lenses
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/255—Detecting or recognising potential candidate objects based on visual cues, e.g. shapes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/751—Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/61—Control of cameras or camera modules based on recognised objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20212—Image combination
- G06T2207/20221—Image fusion; Image merging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
- H04N23/81—Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation
Definitions
- the disclosure relates to a method for processing an image and an electronic device including the method.
- Various electronic devices such as a smartphone, a tablet personal computer (PC), a portable multimedia player (PMP), a personal digital assistant (PDA), a laptop PC, and a wearable device including a wrist watch and a head-mounted display (HMD), includes a camera and may capture an image using the camera.
- PC personal computer
- PMP portable multimedia player
- PDA personal digital assistant
- laptop PC laptop PC
- HMD head-mounted display
- an electronic device may detect, process, and display a single object representing a scene from the captured image. Since the image is processed with respect to the object representing the scene, image processing on other objects is ineffective.
- This technique is a post-image processing method and involves performing image processing a plurality of times in order to apply a plurality of image processing effects for a plurality of objects, thus causing a problem with processing speed.
- an aspect of the disclosure is to provide an apparatus and method for an electronic device and an image processing method of an electronic device.
- the device may perform image processing with respect to various objects included in an image in parallel.
- An electronic device and an image processing method of an electronic device may perform image processing by pixels of an image sensor in parallel.
- an electronic device includes an image sensor, a memory, and at least one processor configured to obtain a raw image using the image sensor, identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image, generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions, generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, and generate a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- an image processing method of an electronic device including an image sensor includes obtaining a raw image using the image sensor, identifying recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image, generating a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions, generating a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, and generating a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- An electronic device and an image processing method of an electronic device may perform image processing with respect to various objects included in an image in parallel, thereby providing an image with an improved quality for a user.
- An electronic device and an image processing method of an electronic device may perform image processing with respect to various objects included in an image in parallel, thereby providing a quickly processed image for a user.
- An electronic device and an image processing method of an electronic device may perform image processing by pixels of an image sensor in parallel, thereby providing an image with an improved quality for a user.
- An electronic device and an image processing method of an electronic device may perform image processing by pixels of an image sensor in parallel, thereby providing a quickly processed image for a user.
- An electronic device and an image processing method of an electronic device may perform image processing with respect to various objects included in an image in parallel, thereby providing an image with an improved quality for a user.
- An electronic device and an image processing method of an electronic device may perform image processing with respect to various objects included in an image in parallel, thereby providing a quickly processed image for a user.
- An electronic device and an image processing method of an electronic device may perform image processing by pixels of an image sensor in parallel, thereby providing an image with an improved quality for a user.
- An electronic device and an image processing method of an electronic device may perform image processing by pixels of an image sensor in parallel, thereby providing a quickly processed image for a user.
- FIG. 1 is a block diagram illustrating an electronic device in a network environment according to an embodiment of the disclosure
- FIG. 2 is a block diagram illustrating a camera module according to an embodiment of the disclosure
- FIG. 3 illustrates a method in which an electronic device processes an image per object according to an embodiment of the disclosure
- FIG. 4 is a block diagram illustrating the image processing method of the electronic device disclosed in FIG. 3 according to various embodiments of the disclosure
- FIG. 5 illustrates a method in which an electronic device processes an image per pixel according to an embodiment of the disclosure
- FIG. 6 illustrates the method in which the electronic device processes the image per pixel disclosed in FIG. 5 according to an embodiment of the disclosure
- FIG. 7 illustrates a method in which an electronic device processes an image per pixel according to an embodiment of the disclosure.
- FIG. 8 illustrates the method in which the electronic device processes the image per pixel disclosed in FIG. 7 according to an embodiment of the disclosure.
- FIG. 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to an embodiment of the disclosure.
- the electronic device 101 in the network environment 100 may communicate with an electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or an electronic device 104 or a server 108 via a second network 199 (e.g., a long-range wireless communication network).
- a first network 198 e.g., a short-range wireless communication network
- an electronic device 104 or a server 108 via a second network 199 (e.g., a long-range wireless communication network).
- the electronic device 101 may communicate with the electronic device 104 via the server 108.
- the electronic device 101 may include a processor 120, memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module(SIM) 196, or an antenna module 197.
- at least one (e.g., the display device 160 or the camera module 180) of the components may be omitted from the electronic device 101, or one or more other components may be added in the electronic device 101.
- some of the components may be implemented as single integrated circuitry.
- the sensor module 176 e.g., a fingerprint sensor, an iris sensor, or an illuminance sensor
- the display device 160 e.g., a display
- an haptic module 179 e.g., a camera module 180
- a power management module 188 e.g., the display
- the processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation. According to one embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134.
- software e.g., a program 140
- the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134.
- the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121.
- auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function.
- the auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
- the auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application).
- the auxiliary processor 123 e.g., an image signal processor or a communication processor
- the memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101.
- the various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thererto.
- the memory 130 may include the volatile memory 132 or the non-volatile memory 134.
- the program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
- OS operating system
- middleware middleware
- application application
- the input device 150 may receive a command or data to be used by another component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101.
- the input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
- the sound output device 155 may output sound signals to the outside of the electronic device 101.
- the sound output device 155 may include, for example, a speaker or a receiver.
- the speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
- the display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101.
- the display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector.
- the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
- the audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
- an external electronic device e.g., an electronic device 102
- directly e.g., wiredly
- wirelessly e.g., wirelessly
- the sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state.
- the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
- the interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly.
- the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
- HDMI high definition multimedia interface
- USB universal serial bus
- SD secure digital
- a connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102).
- the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
- the haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation.
- the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
- the camera module 180 may capture a still image or moving images.
- the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
- the power management module 188 may manage power supplied to the electronic device 101.
- the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
- PMIC power management integrated circuit
- the battery 189 may supply power to at least one component of the electronic device 101.
- the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
- the communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel.
- the communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication.
- AP application processor
- the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module).
- a wireless communication module 192 e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module
- GNSS global navigation satellite system
- wired communication module 194 e.g., a local area network (LAN) communication module or a power line communication (PLC) module.
- LAN local area network
- PLC power line communication
- a corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as Bluetooth TM , wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)).
- the first network 198 e.g., a short-range communication network, such as Bluetooth TM , wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)
- the second network 199 e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)
- These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi
- the wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
- subscriber information e.g., international mobile subscriber identity (IMSI)
- the antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101.
- the antenna module 197 may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., printed circuit board (PCB)).
- the antenna module 197 may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192) from the plurality of antennas.
- the signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna.
- another component e.g., a radio frequency integrated circuit (RFIC)
- RFIC radio frequency integrated circuit
- At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
- an inter-peripheral communication scheme e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)
- commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199.
- Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101.
- all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service.
- the one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101.
- the electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request.
- a cloud computing, distributed computing, or client-server computing technology may be used, for example.
- the electronic device may be one of various types of electronic devices.
- the electronic devices may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
- each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include any one of, or all possible combinations of the items enumerated together in a corresponding one of the phrases.
- such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order).
- an element e.g., a first element
- the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
- module may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”.
- a module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions.
- the module may be implemented in a form of an application-specific integrated circuit (ASIC).
- ASIC application-specific integrated circuit
- Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101).
- a processor e.g., the processor 120
- the machine e.g., the electronic device 101
- the one or more instructions may include a code generated by a complier or a code executable by an interpreter.
- the machine-readable storage medium may be provided in the form of a non-transitory storage medium.
- non-transitory simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
- a method may be included and provided in a computer program product.
- the computer program product may be traded as a product between a seller and a buyer.
- the computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStore TM ), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
- CD-ROM compact disc read only memory
- an application store e.g., PlayStore TM
- two user devices e.g., smart phones
- each component e.g., a module or a program of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration.
- operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
- FIG. 2 is a block diagram 200 illustrating the camera module 180 according to an embodiment of the disclosure.
- the camera module 180 may include a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, memory 250 (e.g., buffer memory), or an image signal processor 260.
- the lens assembly 210 may collect light emitted or reflected from an object whose image is to be taken.
- the lens assembly 210 may include one or more lenses.
- the camera module 180 may include a plurality of lens assemblies 210. In such a case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera.
- Some of the plurality of lens assemblies 210 may have the same lens attribute (e.g., view angle, focal length, auto-focusing, f number, or optical zoom), or at least one lens assembly may have one or more lens attributes different from those of another lens assembly.
- the lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
- the flash 220 may emit light that is used to reinforce light reflected from an object.
- the flash 220 may include one or more light emitting diodes (LEDs) (e.g., a red-green-blue (RGB) LED, a white LED, an infrared (IR) LED, or an ultraviolet (UV) LED) or a xenon lamp.
- LEDs light emitting diodes
- the image sensor 230 may obtain an image corresponding to an object by converting light emitted or reflected from the object and transmitted via the lens assembly 210 into an electrical signal.
- the image sensor 230 may include one selected from image sensors having different attributes, such as a RGB sensor, a black-and-white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes.
- Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
- CCD charged coupled device
- CMOS complementary metal oxide semiconductor
- the image stabilizer 240 may move the image sensor 230 or at least one lens included in the lens assembly 210 in a particular direction, or control an operational attribute (e.g., adjust the read-out timing) of the image sensor 230 in response to the movement of the camera module 180 or the electronic device 101 including the camera module 180. This allows compensating for at least part of a negative effect (e.g., image blurring) by the movement on an image being captured.
- the image stabilizer 240 may sense such a movement by the camera module 180 or the electronic device 101 using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180.
- the image stabilizer 240 may be implemented, for example, as an optical image stabilizer.
- the memory 250 may store, at least temporarily, at least part of an image obtained via the image sensor 230 for a subsequent image processing task. For example, if image capturing is delayed due to shutter lag or multiple images are quickly captured, a raw image obtained (e.g., a Bayer-patterned image, a high-resolution image) may be stored in the memory 250, and its corresponding copy image (e.g., a low-resolution image) may be previewed via the display device 160. Thereafter, if a specified condition is met (e.g., by a user's input or system command), at least part of the raw image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to an embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that is operated independently from the memory 130.
- a raw image obtained e.g., a Bayer-patterned image, a high-resolution image
- its corresponding copy image e.g., a low-
- the image signal processor 260 may perform one or more image processing with respect to an image obtained via the image sensor 230 or an image stored in the memory 250.
- the one or more image processing may include, for example, depth map generation, three-dimensional (3D) modeling, panorama generation, feature point extraction, image synthesizing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening).
- the image signal processor 260 may perform control (e.g., exposure time control or read-out timing control) with respect to at least one (e.g., the image sensor 230) of the components included in the camera module 180.
- An image processed by the image signal processor 260 may be stored back in the memory 250 for further processing, or may be provided to an external component (e.g., the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108) outside the camera module 180.
- the image signal processor 260 may be configured as at least part of the processor 120, or as a separate processor that is operated independently from the processor 120. If the image signal processor 260 is configured as a separate processor from the processor 120, at least one image processed by the image signal processor 260 may be displayed, by the processor 120, via the display device 160 as it is or after being further processed.
- An image signal processor 260 may include at least one processor.
- the image signal processor 260 may include at least one image signal processor 2601, 2602, 2603, or 2604.
- the electronic device 101 may include a plurality of camera modules 180 having different attributes or functions.
- at least one of the plurality of camera modules 180 may form, for example, a wide-angle camera and at least another of the plurality of camera modules 180 may form a telephoto camera.
- at least one of the plurality of camera modules 180 may form, for example, a front camera and at least another of the plurality of camera modules 180 may form a rear camera.
- FIG. 3 illustrates a method in which an electronic device 101 processes an image per object according to an embodiment of the disclosure.
- the electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180 under the control of a processor 120.
- the raw image may include at least one object.
- the electronic device 101 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using the raw image under the control of the processor 120.
- the electronic device 101 may recognize an object included in the raw image using a recognition module.
- the image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
- the electronic device 101 may store the recognition module in a memory 130 as a logical module executable in the processor 120.
- the electronic device 101 may embed the recognition module in the processor 120.
- the recognition module may be a logical module and may be configured as a processor (e.g., the processor 120) in an external electronic device.
- the recognition module may analyze various pieces of significant information (e.g., object recognition, a velocity vector, face recognition, segmentation, scene parsing, or the like) from an image (e.g., a raw image, a small raw image, an image file, or the like). To this end, the recognition module may include various algorithms.
- the recognition module may generate, store, or transmit information (recipe information, e.g., information including a segment, a layer, a vector, or a scene category) for an image signal processor 260 to use for various types of image processing as the analysis result in association with the image.
- recipe information e.g., information including a segment, a layer, a vector, or a scene category
- the electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module and may perform a calibration process only on an object within preset priorities.
- the preset priorities may correspond to the number of image signal processors 260.
- the electronic device 101 may include first to fourth image signal processors 2601, 2602, 2603, and 2604 and may perform a calibration process on objects within four priorities corresponding to the four image signal processors.
- the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within the preset priorities.
- the electronic device 101 may generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions under the control of the image signal processor 260 or the processor 120.
- the image signal processor 260 may calibrate an image using at least one of original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement.
- the plurality of sub-regions may correspond to the plurality of objects included in the raw image.
- the first sub-region may correspond to one object (e.g., a first object) among the plurality of objects included in the raw image.
- the first recognition information may be significant information obtained by identifying the first object through the recognition module (e.g., information obtained by recognizing the first object as an object or a face).
- the first parameter set may include at least one image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
- image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
- the electronic device 101 may generate the first image by performing the first calibration process on the raw image using the first parameter set associated with the first recognition information corresponding to the first sub-region among the plurality of sub-regions through the first image signal processor 2601 under the control of the image signal processor 260 or the processor 120.
- the electronic device 101 may generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions under the control of the image signal processor 260 or the processor 120.
- the second sub-region may correspond to one object (e.g., a second object) among the plurality of objects included in the raw image.
- the second recognition information may be significant information obtained by identifying the second object through the recognition module (e.g., information obtained by recognizing the second object as an object or a face).
- the second parameter set may include at least one image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
- image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
- the electronic device 101 may generate a second image by performing the second calibration process on the raw image using the second parameter set associated with the second recognition information corresponding to the second sub-region among the plurality of sub-regions through the second image signal processor 2602 under the control of the image signal processor 260 or the processor 120.
- the electronic device 101 may generate the first image by performing the first image calibration process on the raw image using one of the plurality of image signal processors and may generate the second image by performing the second image calibration process on the raw image using another one of the plurality of image signal processors. For example, the electronic device 101 may generate the first image and the second image at the same time or in parallel using the first image signal processor 2601 and the second image signal processor 2602.
- the electronic device 101 may perform operation 305 and operation 307 at the same time or in parallel using the first image signal processor 2601 and the second image signal processor 2602.
- the electronic device 101 may generate a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region under the control of the image signal processor 260 or the processor 120.
- the electronic device 101 may perform an image calibration process with respect to the recognized first object.
- the electronic device 101 may perform an image calibration process with respect to the recognized second object.
- the electronic device 101 may extract a sub-region calibrated with respect to the first object from the first image, may extract a sub-region calibrated with respect to the second object from the second image, and may compose the extracted sub-regions, thereby generating the third image.
- FIG. 4 is a block diagram illustrating the image processing method of the electronic device 101 disclosed in FIG. 3 according to an embodiment of the disclosure.
- the electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180.
- the raw image may include at least one object.
- the electronic device 101 may transmit the raw image from the image sensor 230 to a processor 120.
- the processor 120 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using a recognition module.
- the processor 120 may include first to fourth image signal processors 2601, 2602, 2603, and 2604.
- the electronic device 101 may recognize an object included in the raw image using the recognition module of the processor 120.
- the raw image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
- the electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module of the processor 120 and may perform a calibration process only on an object within preset priorities.
- the preset priorities may correspond to the number of image signal processors 260.
- the electronic device 101 may include the first to fourth image signal processors 2601, 2602, 2603, and 2604 and may perform a calibration process on objects within four priorities corresponding to the four image signal processors.
- the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within the preset priorities.
- the first to fourth image signal processors 2601, 2602, 2603, and 2604 may calibrate the image with respect to the selected objects, respectively.
- the first image signal processor 2601 may generate a first image by generating and calibrating an image with respect to the person.
- the second image signal processor 2602 may generate a second image by generating and calibrating an image with respect to the lawn.
- the third image signal processor 2603 may generate a third image by generating and calibrating an image with respect to the car.
- the fourth image signal processor 2604 may generate a fourth image by generating and calibrating an image with respect to the letter.
- the electronic device 101 may extract sub-regions from the first to fourth calibrated images, may compose the sub-regions, and may display a composed image on a display device 160.
- FIG. 5 illustrates a method in which an electronic device 101 processes an image per pixel according to an embodiment of the disclosure.
- the electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180.
- the raw image may include at least one object.
- the electronic device 101 may transmit the raw image from the image sensor 230 to a processor 120.
- the processor 120 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using a recognition module.
- the processor 120 may include first to fourth image signal processors 2601, 2602, 2603, and 2604.
- the electronic device 101 may recognize an object included in the raw image using the recognition module of the processor 120.
- the raw image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
- the electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module of the processor 120 and may perform a calibration process only on an object within preset priorities.
- the electronic device 101 which includes at least two image signal processors, may obtain a raw image using the image sensor 230 under the control of the processor 120.
- the electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101 under the control of the processor 120.
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels.
- the image sensor 230 may be referred to as a 2 photodiode (2PD) or a dual PD; when the pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadra-sensor, or a tetra-sensor. Further, in the image sensor 230, sub-pixels may share a microlens, or each sub-pixel may have a microlens.
- 2PD 2 photodiode
- dual PD when the pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadra-sensor, or a tetra-sensor.
- sub-pixels may share a microlens, or each sub-pixel may have a microlens.
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into two sub-pixels.
- a pixel corresponding to one channel e.g., one color filter R, G, or B
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into four sub-pixels.
- a pixel corresponding to one channel e.g., one color filter R, G, or B
- the image sensor 230 may include color filters in various arrays (e.g., a Bayer array).
- a color filter may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub- sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
- the image sensor 230 including a color filter may include red, green, and blue color filters.
- Each of the red, green, and blue color filters may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
- the electronic device 101 may generate at least two calibrated images by calibrating a sub-region of the raw image corresponding to the subgroups under the control of the image signal processor 260 or the processor 120.
- the electronic device 101 may compose the at least two calibrated images under the control of the image signal processor 260 or the processor 120.
- FIG. 6 illustrates the method in which the electronic device 101 processes the image per pixel disclosure in FIG. 5 according to an embodiment of the disclosure.
- the electronic device 101 which includes at least two image signal processors, may obtain a raw image using an image sensor 230.
- the image sensor 230 illustrated in FIG. 6 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels.
- one array may include one red color filter 601 two green color filters 603 and 604, one blue color filter 605, and each color filter may include four pixels (or sensor cells, e.g., 611, 612, 613, and 614).
- the electronic device 101 may group the pixels corresponding to one of the color filters (or channels) in the image sensor 230 by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into four subgroups corresponding to the number of first to four image signal processors 2601, 2602, 2603, and 2604 included in the electronic device 101 under the control of the processor 120.
- the electronic device 101 may transmit an image of the obtained raw image corresponding to a first subgroup (R1, G11, G21, and B1) 620 from the image sensor 230 to the first image signal processor 2601.
- the first image signal processor 2601 may process the image of the raw image corresponding to the first sub-group (R1, G11, G21, and B1) 620.
- the electronic device 101 may transmit an image of the obtained raw image corresponding to a second subgroup (R2, G12, G22, and B2) 621 from the image sensor 230 to the second image signal processor 2602.
- the second image signal processor 2602 may process the image of the raw image corresponding to the second subgroup (R2, G12, G22, and B2) 621.
- the electronic device 101 may transmit an image of the obtained raw image corresponding to a third subgroup (R3, G13, G23, and B3) 623 from the image sensor 230 to the third image signal processor 2603.
- the third image signal processor 2603 may process the image of the raw image corresponding to the third subgroup (R3, G13, G23, and B3) 623.
- the electronic device 101 may transmit an image of the obtained raw image corresponding to a fourth subgroup (R4, G14, G24, and B4) 624 from the image sensor 230 to the fourth image signal processor 2604.
- the fourth image signal processor 2604 may process the image of the raw image corresponding to the fourth subgroup (R4, G14, G24, and B4) 624.
- the electronic device 101 may compose at least two calibrated images under the control of the image signal processor 260 or the processor 120.
- the electronic device 101 may display a composed image on a display device 160.
- FIG. 7 illustrates a method in which an electronic device 101 processes an image per pixel according to an embodiment of the disclosure.
- the electronic device 101 which includes at least two image signal processors, may obtain a raw image using an image sensor 230 under the control of a processor 120.
- the electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into a first subgroup corresponding to a first image signal processor 2601 and a second subgroup corresponding to a second image signal processor 2602 under the control of the processor 120.
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels.
- the image sensor 230 may be referred to as a 2PD or a dual PD; when the pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadra-sensor, or a tetra-sensor. Further, in the image sensor 230, sub-pixels may share a microlens, or each sub-pixel may have a microlens.
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into two sub-pixels.
- a pixel corresponding to one channel e.g., one color filter R, G, or B
- the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into four sub-pixels.
- a pixel corresponding to one channel e.g., one color filter R, G, or B
- the image sensor 230 may include color filters in various arrays (e.g., a Bayer array).
- a color filter may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
- the image sensor 230 including a color filter may include red, green, and blue color filters.
- Each of the red, green, and blue color filters may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
- the first image signal processor 2601 may receive a sub-region of the raw image corresponding to the first subgroup from the image sensor and may generate a first calibrated image by calibrating the sub-region of the raw image corresponding to the first subgroup under the control of an image signal processor 260 or the processor 120.
- the second image signal processor 2602 may receive a sub-region of the raw image corresponding to the second subgroup from the image sensor and may generate a second calibrated image by calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor 2601 receives the sub-region of the raw image corresponding to the first subgroup from the image sensor under the control of an image signal processor 260 or the processor 120.
- the electronic device 101 may generate an image by separating the first calibrated image and the second calibrated image at an interval of a specified time and composing the same under the control of the image signal processor 260 or the processor 120.
- FIG. 8 illustrates the method in which the electronic device 101 processes the image per pixel disclosure in FIG. 7 according to an embodiment of the disclosure.
- the electronic device 101 which includes at least two image signal processors, may obtain a raw image using an image sensor 230.
- the electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into a first subgroup corresponding to a first image signal processor 2601, a second subgroup corresponding to a second image signal processor 2602, a third subgroup corresponding to a third image signal processor 2603, and a fourth subgroup corresponding to a fourth image signal processor 2604.
- the image sensor 230 may include color filters in various arrays (e.g., a Bayer array or a tetra-array).
- a color filter may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
- the image sensor 230 including a color filter may include red, green, and blue color filters.
- Each of the red, green, and blue color filters may include a plurality of pixels.
- the electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
- the first image signal processor 2601 may receive a sub-region 801 of the raw image corresponding to the first subgroup from the image sensor 230 and may generate a first calibrated image 811 by calibrating the sub-region of the raw image corresponding to the first subgroup.
- the second image signal processor 2602 may receive a sub-region 802 of the raw image corresponding to the second subgroup from the image sensor 230 and may generate a second calibrated image 812 by calibrating the sub-region 802 of the raw image corresponding to the second subgroup with a delay of a preset time t1 after the first image signal processor 2601 receives the sub-region 801 of the raw image corresponding to the first subgroup from the image sensor 230.
- the third image signal processor 2603 may receive a sub-region 803 of the raw image corresponding to the third subgroup from the image sensor 230 and may generate a third calibrated image 813 by calibrating the sub-region 803 of the raw image corresponding to the third subgroup with a delay of a preset time t2 after the second image signal processor 2602 receives the sub-region 802 of the raw image corresponding to the second subgroup from the image sensor 230.
- the fourth image signal processor 2604 may receive a sub-region 804 of the raw image corresponding to the fourth subgroup from the image sensor 230 and may generate a fourth calibrated image 814 by calibrating the sub-region 804 of the raw image corresponding to the fourth subgroup with a delay of a preset time t3 after the third image signal processor 2603 receives the sub-region 803 of the raw image corresponding to the third subgroup from the image sensor 230.
- the delays of the preset times t1, t2, and t3 may be the same time interval.
- the electronic device 101 may generate an image 820 by separating the first calibrated image 811, the second calibrated image 812, the third calibrated image 813, and the fourth calibrated image 814 at an interval of a specified time and composing the same.
- An electronic device 101 may include an image sensor 230, a memory 250, and a processor 120, wherein the processor 120 may be configured to: obtain a raw image using the image sensor 230; identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image; generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions; generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions; and generate a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- the processor 120 of the electronic device 101 may be configured to identify object information or scene information about the plurality of sub-regions as at least part of the recognition information.
- the electronic device 101 may be configured to include a plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), to perform the first calibration process using a first image signal processor 2601 among the plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), and to perform the second calibration process 2602 using a second image signal processor 2602 among the plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604).
- first to fourth image signal processors 2601, 2602, 2603, and 2604 to perform the first calibration process using a first image signal processor 2601 among the plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604).
- the processor 120 of the electronic device may be configured to identify one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions, and to generate the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
- the electronic device 101 may further include at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), wherein the processor 120 may be configured to: obtain the raw image using the image sensor 230; group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor; classify pixels groups into subgroups corresponding to a number of image signal processors; generate at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup, and compose the at least two or more calibrated images.
- first to fourth image signal processors 2601, 2602, 2603, and 2604 the processor 120 may be configured to: obtain the raw image using the image sensor 230; group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor; classify pixels groups into subgroups corresponding to a number of image signal processors; generate at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup, and compose the at
- the image sensor 230 of the electronic device 101 may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604) may include a first image signal processor 2601, a second image signal processor 2602, a third image signal processor 2603, and a fourth image signal processor 2604, the subgroups may include a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, and the processor 120 may be configured to calibrate a sub-region of the raw image corresponding to the first subgroup using the first image signal processor 2601, to calibrate a sub-region of the raw image corresponding to the second subgroup using the second image signal processor 2602, to calibrate a sub-region of the raw image corresponding to the third subgroup using the third image signal processor 2603, and to calibrate a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor 2604.
- the electronic device 101 may compose the images calibrated by the first to fourth image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604).
- the electronic device 101 may further include at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), wherein the processor 120 may be configured to: obtain the raw image using the image sensor 230; group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230; classify pixels groups into a first subgroup corresponding to a first image signal processor 2601 and a second subgroup corresponding to a second image signal processor 2602; generate, using the first image signal processor 2601, a first calibrated image by receiving a sub-region of the raw image corresponding to the first subgroup from the image sensor 230 and calibrating the sub-region of the raw image corresponding to the first subgroup; generate, using the second image signal processor 2602, a second calibrated image by receiving a sub-region of the raw image corresponding to the second subgroup from the image sensor 230 and calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal
- the image sensor 230 of the electronic device 101 may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors may further include a third image signal processor and a fourth image signal process, the subgroups may further include a third subgroup and a fourth subgroup, and the processor 120 may be configured to generate, using the third image signal processor, a third calibrated image by calibrating a sub-region of the raw image corresponding to the third subgroup with a delay of a preset time after the second image signal processor receives the sub-region of the raw image corresponding to the second subgroup from the image sensor, and to generate, using the fourth image signal processor, a fourth calibrated image by calibrating a sub-region of the raw image corresponding to the fourth subgroup with a delay of a preset time after the third image signal processor receives the sub-region of the raw image corresponding to the third subgroup from the image sensor.
- the processor 120 of the electronic device 101 may be configured to generate an image by separating the first calibrated image to the fourth calibrated image at an interval of a specified time and composing the same.
- An image processing method of an electronic device 101 including an image sensor 230 may include: obtaining a raw image using the image sensor 230; identifying recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image; generating a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions; generating a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions; and generating a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- the image processing method of the electronic device 101 including the image sensor 230 may further include identifying object information or scene information about the plurality of sub-regions as at least part of the recognition information.
- the electronic device may include a plurality of image signal processors, and the method may include performing the first calibration process using a first image signal processor among the plurality of image signal processors and performing the second calibration process using a second image signal processor among the plurality of image signal processors.
- the image processing method of the electronic device 101 including the image sensor 230 may further include: identifying one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions; and generating the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
- the electronic device may further include at least two or more image signal processors, and the method may include obtaining the raw image using the image sensor, grouping pixels having the same color filter in the image sensor, classifying pixels groups into subgroups corresponding to a number of image signal processors, generating at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup, and composing the at least two or more calibrated images.
- the image sensor may include a pixel corresponding to one channel that includes four sub-pixels
- the at least two or more image signal processors may include a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal process
- the subgroups may include a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup
- the method may include calibrating a sub-region of the raw image corresponding to the first subgroup using the first image signal processor, calibrating a sub-region of the raw image corresponding to the second subgroup using the second image signal processor, calibrating a sub-region of the raw image corresponding to the third subgroup using the third image signal processor, and calibrating a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor.
- the image processing method of the electronic device 101 including the image sensor 230 may include composing the images calibrated by the first to fourth image signal processors.
- the electronic device may further include at least two or more image signal processors, and the method may include: obtaining the raw image using the image sensor; grouping sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor; classifying pixels groups into a first subgroup corresponding to a first image signal processor and a second subgroup corresponding to a second image signal processor; generating, using the first image signal processor, a first calibrated image by receiving a sub-region of the raw image corresponding to the first subgroup from the image sensor and calibrating the sub-region of the raw image corresponding to the first subgroup; generating, using the second image signal processor, a second calibrated image by receiving a sub-region of the raw image corresponding to the second subgroup from the image sensor and calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor receives the sub-region of the raw image corresponding to the first subgroup from the image
- the image sensor may include a pixel corresponding to one channel that includes four sub-pixels
- the at least two or more image signal processors may further include a third image signal processor and a fourth image signal process
- the subgroups may further include a third subgroup and a fourth subgroup
- the method may further include: generating, using the third image signal processor, a third calibrated image by calibrating a sub-region of the raw image corresponding to the third subgroup with a delay of a preset time after the second image signal processor receives the sub-region of the raw image corresponding to the second subgroup from the image sensor; and generating, using the fourth image signal processor, a fourth calibrated image by calibrating a sub-region of the raw image corresponding to the fourth subgroup with a delay of a preset time after the third image signal processor receives the sub-region of the raw image corresponding to the third subgroup from the image sensor.
- the image processing method of the electronic device 101 including the image sensor 230 may include generating an image by separating the first calibrated image to the fourth calibrated image at an interval of a specified time and composing the same.
- An electronic device may be various types of devices.
- the electronic devices may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment, the electronic devices are not limited to those described above.
- each of such phrases as “A or B,” “at least one of A and B,” “at least one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and “at least one of A, B, or C,” may include all possible combinations of the items enumerated together in a corresponding one of the phrases.
- such terms as “1st” and “2nd,” or “first” and “second” may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order).
- an element e.g., a first element
- operatively or “communicatively”, as “coupled with,” or “connected with”
- the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
- module may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, “logic,” “logic block,” “part,” or “circuitry”.
- a module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions.
- the module may be implemented in a form of an application-specific integrated circuit (ASIC).
- ASIC application-specific integrated circuit
- Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101).
- a processor e.g., the processor 120
- the one or more instructions may include a code generated by a complier or a code executable by an interpreter.
- the machine-readable storage medium may be provided in the form of a non-transitory storage medium.
- non-transitory simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
- a method may be included and provided in a computer program product.
- the computer program product may be traded as a product between a seller and a buyer.
- the computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., Play Store ⁇ ), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
- CD-ROM compact disc read only memory
- each component e.g., a module or a program of the above-described components may include a single entity or multiple entities.
- one or more components of the above-described components or operations may be omitted, or one or more other components or operations may be added.
- a plurality of components e.g., modules or programs
- the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration.
- operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Vascular Medicine (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- Image Processing (AREA)
Abstract
A method for processing an image and an electronic device therefor are provided. The electronic device includes an image sensor, a memory, and a processor. The processor is configured to obtain a raw image using the image sensor, identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image, generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions, generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, and generate a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
Description
The disclosure relates to a method for processing an image and an electronic device including the method.
Various electronic devices, such as a smartphone, a tablet personal computer (PC), a portable multimedia player (PMP), a personal digital assistant (PDA), a laptop PC, and a wearable device including a wrist watch and a head-mounted display (HMD), includes a camera and may capture an image using the camera.
The above information is presented as background information only to assist with an understanding of the disclosure. No determination has been made, and no assertion is made, as to whether any of the above might be applicable as prior art with regard to the disclosure.
Generally, when processing a captured image, an electronic device may detect, process, and display a single object representing a scene from the captured image. Since the image is processed with respect to the object representing the scene, image processing on other objects is ineffective.
To process not only an object representing a scene but also other objects, a technique in which individual objects are separated from an image, are subjected to image processing, and are composed may be used. This technique is a post-image processing method and involves performing image processing a plurality of times in order to apply a plurality of image processing effects for a plurality of objects, thus causing a problem with processing speed.
Aspects of the disclosure are to address at least the above-mentioned problems and/or disadvantages and to provide at least the advantages described below. Accordingly, an aspect of the disclosure is to provide an apparatus and method for an electronic device and an image processing method of an electronic device. According to various embodiments, the device may perform image processing with respect to various objects included in an image in parallel.
Additional aspects will be set forth in part in the description which follows and, in part, will be apparent from the description, or may be learned by practice of the presented embodiments.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing by pixels of an image sensor in parallel.
In accordance with an aspect of the disclosure, an electronic device is provided. The electronic device includes an image sensor, a memory, and at least one processor configured to obtain a raw image using the image sensor, identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image, generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions, generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, and generate a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
In accordance with another aspect of the disclosure, an image processing method of an electronic device including an image sensor is provided. The image processing method includes obtaining a raw image using the image sensor, identifying recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image, generating a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions, generating a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, and generating a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing with respect to various objects included in an image in parallel, thereby providing an image with an improved quality for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing with respect to various objects included in an image in parallel, thereby providing a quickly processed image for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing by pixels of an image sensor in parallel, thereby providing an image with an improved quality for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing by pixels of an image sensor in parallel, thereby providing a quickly processed image for a user.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing with respect to various objects included in an image in parallel, thereby providing an image with an improved quality for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing with respect to various objects included in an image in parallel, thereby providing a quickly processed image for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing by pixels of an image sensor in parallel, thereby providing an image with an improved quality for a user.
An electronic device and an image processing method of an electronic device according to various embodiments may perform image processing by pixels of an image sensor in parallel, thereby providing a quickly processed image for a user.
Other aspects, advantages, and salient features of the disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the annexed drawings, discloses various embodiments of the disclosure.
The above and other aspects, features, and advantages of certain embodiments of the disclosure will be more apparent from the following description taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a block diagram illustrating an electronic device in a network environment according to an embodiment of the disclosure;
FIG. 2 is a block diagram illustrating a camera module according to an embodiment of the disclosure;
FIG. 3 illustrates a method in which an electronic device processes an image per object according to an embodiment of the disclosure;
FIG. 4 is a block diagram illustrating the image processing method of the electronic device disclosed in FIG. 3 according to various embodiments of the disclosure;
FIG. 5 illustrates a method in which an electronic device processes an image per pixel according to an embodiment of the disclosure;
FIG. 6 illustrates the method in which the electronic device processes the image per pixel disclosed in FIG. 5 according to an embodiment of the disclosure;
FIG. 7 illustrates a method in which an electronic device processes an image per pixel according to an embodiment of the disclosure; and
FIG. 8 illustrates the method in which the electronic device processes the image per pixel disclosed in FIG. 7 according to an embodiment of the disclosure.
Throughout the drawings, like reference numerals will be understood to refer to like parts, components, and structures.
The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of various embodiments of the disclosure as defined by the claims and their equivalents. It includes various specific details to assist in that understanding but these are to be regarded as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the various embodiments described herein can be made without departing from the scope and spirit of the disclosure. In addition, descriptions of well-known functions and constructions may be omitted for clarity and conciseness.
The terms and words used in the following description and claims are not limited to the bibliographical meanings, but, are merely used by the inventor to enable a clear and consistent understanding of the disclosure. Accordingly, it should be apparent to those skilled in the art that the following description of various embodiments of the disclosure is provided for illustration purpose only and not for the purpose of limiting the disclosure as defined by the appended claims and their equivalents.
It is to be understood that the singular forms "a," "an," and "the" include plural referents unless the context clearly dictates otherwise. Thus, for example, reference to "a component surface" includes reference to one or more of such surfaces.
FIG. 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to an embodiment of the disclosure.
Referring to FIG. 1, the electronic device 101 in the network environment 100 may communicate with an electronic device 102 via a first network 198 (e.g., a short-range wireless communication network), or an electronic device 104 or a server 108 via a second network 199 (e.g., a long-range wireless communication network). According to an embodiment, the electronic device 101 may communicate with the electronic device 104 via the server 108. According to an embodiment, the electronic device 101 may include a processor 120, memory 130, an input device 150, a sound output device 155, a display device 160, an audio module 170, a sensor module 176, an interface 177, a haptic module 179, a camera module 180, a power management module 188, a battery 189, a communication module 190, a subscriber identification module(SIM) 196, or an antenna module 197. In some embodiments, at least one (e.g., the display device 160 or the camera module 180) of the components may be omitted from the electronic device 101, or one or more other components may be added in the electronic device 101. In some embodiments, some of the components may be implemented as single integrated circuitry. For example, the sensor module 176 (e.g., a fingerprint sensor, an iris sensor, or an illuminance sensor) may be implemented as embedded in the display device 160 (e.g., a display).
The processor 120 may execute, for example, software (e.g., a program 140) to control at least one other component (e.g., a hardware or software component) of the electronic device 101 coupled with the processor 120, and may perform various data processing or computation. According to one embodiment, as at least part of the data processing or computation, the processor 120 may load a command or data received from another component (e.g., the sensor module 176 or the communication module 190) in volatile memory 132, process the command or the data stored in the volatile memory 132, and store resulting data in non-volatile memory 134. According to an embodiment, the processor 120 may include a main processor 121 (e.g., a central processing unit (CPU) or an application processor (AP)), and an auxiliary processor 123 (e.g., a graphics processing unit (GPU), an image signal processor (ISP), a sensor hub processor, or a communication processor (CP)) that is operable independently from, or in conjunction with, the main processor 121. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or to be specific to a specified function. The auxiliary processor 123 may be implemented as separate from, or as part of the main processor 121.
The auxiliary processor 123 may control at least some of functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) among the components of the electronic device 101, instead of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or together with the main processor 121 while the main processor 121 is in an active state (e.g., executing an application). According to an embodiment, the auxiliary processor 123 (e.g., an image signal processor or a communication processor) may be implemented as part of another component (e.g., the camera module 180 or the communication module 190) functionally related to the auxiliary processor 123.
The memory 130 may store various data used by at least one component (e.g., the processor 120 or the sensor module 176) of the electronic device 101. The various data may include, for example, software (e.g., the program 140) and input data or output data for a command related thererto. The memory 130 may include the volatile memory 132 or the non-volatile memory 134.
The program 140 may be stored in the memory 130 as software, and may include, for example, an operating system (OS) 142, middleware 144, or an application 146.
The input device 150 may receive a command or data to be used by another component (e.g., the processor 120) of the electronic device 101, from the outside (e.g., a user) of the electronic device 101. The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus pen).
The sound output device 155 may output sound signals to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker may be used for general purposes, such as playing multimedia or playing record, and the receiver may be used for incoming calls. According to an embodiment, the receiver may be implemented as separate from, or as part of the speaker.
The display device 160 may visually provide information to the outside (e.g., a user) of the electronic device 101. The display device 160 may include, for example, a display, a hologram device, or a projector and control circuitry to control a corresponding one of the display, hologram device, and projector. According to an embodiment, the display device 160 may include touch circuitry adapted to detect a touch, or sensor circuitry (e.g., a pressure sensor) adapted to measure the intensity of force incurred by the touch.
The audio module 170 may convert a sound into an electrical signal and vice versa. According to an embodiment, the audio module 170 may obtain the sound via the input device 150, or output the sound via the sound output device 155 or a headphone of an external electronic device (e.g., an electronic device 102) directly (e.g., wiredly) or wirelessly coupled with the electronic device 101.
The sensor module 176 may detect an operational state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) external to the electronic device 101, and then generate an electrical signal or data value corresponding to the detected state. According to an embodiment, the sensor module 176 may include, for example, a gesture sensor, a gyro sensor, an atmospheric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an infrared (IR) sensor, a biometric sensor, a temperature sensor, a humidity sensor, or an illuminance sensor.
The interface 177 may support one or more specified protocols to be used for the electronic device 101 to be coupled with the external electronic device (e.g., the electronic device 102) directly (e.g., wiredly) or wirelessly. According to an embodiment, the interface 177 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, a secure digital (SD) card interface, or an audio interface.
A connecting terminal 178 may include a connector via which the electronic device 101 may be physically connected with the external electronic device (e.g., the electronic device 102). According to an embodiment, the connecting terminal 178 may include, for example, a HDMI connector, a USB connector, a SD card connector, or an audio connector (e.g., a headphone connector).
The haptic module 179 may convert an electrical signal into a mechanical stimulus (e.g., a vibration or a movement) or electrical stimulus which may be recognized by a user via his tactile sensation or kinesthetic sensation. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electric stimulator.
The camera module 180 may capture a still image or moving images. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
The power management module 188 may manage power supplied to the electronic device 101. According to one embodiment, the power management module 188 may be implemented as at least part of, for example, a power management integrated circuit (PMIC).
The battery 189 may supply power to at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a primary cell which is not rechargeable, a secondary cell which is rechargeable, or a fuel cell.
The communication module 190 may support establishing a direct (e.g., wired) communication channel or a wireless communication channel between the electronic device 101 and the external electronic device (e.g., the electronic device 102, the electronic device 104, or the server 108) and performing communication via the established communication channel. The communication module 190 may include one or more communication processors that are operable independently from the processor 120 (e.g., the application processor (AP)) and supports a direct (e.g., wired) communication or a wireless communication. According to an embodiment, the communication module 190 may include a wireless communication module 192 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 194 (e.g., a local area network (LAN) communication module or a power line communication (PLC) module). A corresponding one of these communication modules may communicate with the external electronic device via the first network 198 (e.g., a short-range communication network, such as BluetoothTM, wireless-fidelity (Wi-Fi) direct, or infrared data association (IrDA)) or the second network 199 (e.g., a long-range communication network, such as a cellular network, the Internet, or a computer network (e.g., LAN or wide area network (WAN)). These various types of communication modules may be implemented as a single component (e.g., a single chip), or may be implemented as multi components (e.g., multi chips) separate from each other. The wireless communication module 192 may identify and authenticate the electronic device 101 in a communication network, such as the first network 198 or the second network 199, using subscriber information (e.g., international mobile subscriber identity (IMSI)) stored in the subscriber identification module 196.
The antenna module 197 may transmit or receive a signal or power to or from the outside (e.g., the external electronic device) of the electronic device 101. According to an embodiment, the antenna module 197 may include an antenna including a radiating element composed of a conductive material or a conductive pattern formed in or on a substrate (e.g., printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas. In such a case, at least one antenna appropriate for a communication scheme used in the communication network, such as the first network 198 or the second network 199, may be selected, for example, by the communication module 190 (e.g., the wireless communication module 192) from the plurality of antennas. The signal or the power may then be transmitted or received between the communication module 190 and the external electronic device via the selected at least one antenna. According to an embodiment, another component (e.g., a radio frequency integrated circuit (RFIC)) other than the radiating element may be additionally formed as part of the antenna module 197.
At least some of the above-described components may be coupled mutually and communicate signals (e.g., commands or data) therebetween via an inter-peripheral communication scheme (e.g., a bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)).
According to an embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 via the server 108 coupled with the second network 199. Each of the electronic devices 102 and 104 may be a device of a same type as, or a different type, from the electronic device 101. According to an embodiment, all or some of operations to be executed at the electronic device 101 may be executed at one or more of the external electronic devices 102, 104, or 108. For example, if the electronic device 101 should perform a function or a service automatically, or in response to a request from a user or another device, the electronic device 101, instead of, or in addition to, executing the function or the service, may request the one or more external electronic devices to perform at least part of the function or the service. The one or more external electronic devices receiving the request may perform the at least part of the function or the service requested, or an additional function or an additional service related to the request, and transfer an outcome of the performing to the electronic device 101. The electronic device 101 may provide the outcome, with or without further processing of the outcome, as at least part of a reply to the request. To that end, a cloud computing, distributed computing, or client-server computing technology may be used, for example.
The electronic device according to various embodiments may be one of various types of electronic devices. The electronic devices may include, for example, a portable communication device (e.g., a smartphone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment of the disclosure, the electronic devices are not limited to those described above.
It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C," may include any one of, or all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as "1st" and "2nd," or "first" and "second" may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term "operatively" or "communicatively", as "coupled with," "coupled to," "connected with," or "connected to" another element (e.g., a second element), it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, "logic," "logic block," "part," or "circuitry". A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it, with or without using one or more other components under the control of the processor. This allows the machine to be operated to perform at least one function according to the at least one instruction invoked. The one or more instructions may include a code generated by a complier or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, the term "non-transitory" simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., PlayStoreTM), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more of the above-described components may be omitted, or one or more other components may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
FIG. 2 is a block diagram 200 illustrating the camera module 180 according to an embodiment of the disclosure.
Referring to FIG. 2, the camera module 180 may include a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, memory 250 (e.g., buffer memory), or an image signal processor 260. The lens assembly 210 may collect light emitted or reflected from an object whose image is to be taken. The lens assembly 210 may include one or more lenses. According to an embodiment, the camera module 180 may include a plurality of lens assemblies 210. In such a case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies 210 may have the same lens attribute (e.g., view angle, focal length, auto-focusing, f number, or optical zoom), or at least one lens assembly may have one or more lens attributes different from those of another lens assembly. The lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
The flash 220 may emit light that is used to reinforce light reflected from an object. According to an embodiment, the flash 220 may include one or more light emitting diodes (LEDs) (e.g., a red-green-blue (RGB) LED, a white LED, an infrared (IR) LED, or an ultraviolet (UV) LED) or a xenon lamp. The image sensor 230 may obtain an image corresponding to an object by converting light emitted or reflected from the object and transmitted via the lens assembly 210 into an electrical signal. According to an embodiment, the image sensor 230 may include one selected from image sensors having different attributes, such as a RGB sensor, a black-and-white (BW) sensor, an IR sensor, or a UV sensor, a plurality of image sensors having the same attribute, or a plurality of image sensors having different attributes. Each image sensor included in the image sensor 230 may be implemented using, for example, a charged coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
The image stabilizer 240 may move the image sensor 230 or at least one lens included in the lens assembly 210 in a particular direction, or control an operational attribute (e.g., adjust the read-out timing) of the image sensor 230 in response to the movement of the camera module 180 or the electronic device 101 including the camera module 180. This allows compensating for at least part of a negative effect (e.g., image blurring) by the movement on an image being captured. According to an embodiment, the image stabilizer 240 may sense such a movement by the camera module 180 or the electronic device 101 using a gyro sensor (not shown) or an acceleration sensor (not shown) disposed inside or outside the camera module 180. According to an embodiment, the image stabilizer 240 may be implemented, for example, as an optical image stabilizer.
The memory 250 may store, at least temporarily, at least part of an image obtained via the image sensor 230 for a subsequent image processing task. For example, if image capturing is delayed due to shutter lag or multiple images are quickly captured, a raw image obtained (e.g., a Bayer-patterned image, a high-resolution image) may be stored in the memory 250, and its corresponding copy image (e.g., a low-resolution image) may be previewed via the display device 160. Thereafter, if a specified condition is met (e.g., by a user's input or system command), at least part of the raw image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to an embodiment, the memory 250 may be configured as at least part of the memory 130 or as a separate memory that is operated independently from the memory 130.
The image signal processor 260 may perform one or more image processing with respect to an image obtained via the image sensor 230 or an image stored in the memory 250. The one or more image processing may include, for example, depth map generation, three-dimensional (3D) modeling, panorama generation, feature point extraction, image synthesizing, or image compensation (e.g., noise reduction, resolution adjustment, brightness adjustment, blurring, sharpening, or softening). Additionally or alternatively, the image signal processor 260 may perform control (e.g., exposure time control or read-out timing control) with respect to at least one (e.g., the image sensor 230) of the components included in the camera module 180. An image processed by the image signal processor 260 may be stored back in the memory 250 for further processing, or may be provided to an external component (e.g., the memory 130, the display device 160, the electronic device 102, the electronic device 104, or the server 108) outside the camera module 180. According to an embodiment, the image signal processor 260 may be configured as at least part of the processor 120, or as a separate processor that is operated independently from the processor 120. If the image signal processor 260 is configured as a separate processor from the processor 120, at least one image processed by the image signal processor 260 may be displayed, by the processor 120, via the display device 160 as it is or after being further processed.
An image signal processor 260 may include at least one processor. The image signal processor 260 may include at least one image signal processor 2601, 2602, 2603, or 2604.
According to an embodiment, the electronic device 101 may include a plurality of camera modules 180 having different attributes or functions. In such a case, at least one of the plurality of camera modules 180 may form, for example, a wide-angle camera and at least another of the plurality of camera modules 180 may form a telephoto camera. Similarly, at least one of the plurality of camera modules 180 may form, for example, a front camera and at least another of the plurality of camera modules 180 may form a rear camera.
FIG. 3 illustrates a method in which an electronic device 101 processes an image per object according to an embodiment of the disclosure.
Referring to FIG. 3, in operation 301, the electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180 under the control of a processor 120. The raw image may include at least one object.
In operation 303, the electronic device 101 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using the raw image under the control of the processor 120.
The electronic device 101 may recognize an object included in the raw image using a recognition module. For example, the image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
The electronic device 101 may store the recognition module in a memory 130 as a logical module executable in the processor 120. The electronic device 101 may embed the recognition module in the processor 120.
The recognition module may be a logical module and may be configured as a processor (e.g., the processor 120) in an external electronic device. The recognition module may analyze various pieces of significant information (e.g., object recognition, a velocity vector, face recognition, segmentation, scene parsing, or the like) from an image (e.g., a raw image, a small raw image, an image file, or the like). To this end, the recognition module may include various algorithms. The recognition module may generate, store, or transmit information (recipe information, e.g., information including a segment, a layer, a vector, or a scene category) for an image signal processor 260 to use for various types of image processing as the analysis result in association with the image.
The electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module and may perform a calibration process only on an object within preset priorities.
For example, the preset priorities may correspond to the number of image signal processors 260. The electronic device 101 may include first to fourth image signal processors 2601, 2602, 2603, and 2604 and may perform a calibration process on objects within four priorities corresponding to the four image signal processors.
For example, when the raw image includes various objects, such as a lawn, a person, a car, a letter, a natural object, or a sky, the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within the preset priorities.
In operation 305, the electronic device 101 may generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions under the control of the image signal processor 260 or the processor 120.
The image signal processor 260 may calibrate an image using at least one of original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement.
The plurality of sub-regions may correspond to the plurality of objects included in the raw image. The first sub-region may correspond to one object (e.g., a first object) among the plurality of objects included in the raw image. The first recognition information may be significant information obtained by identifying the first object through the recognition module (e.g., information obtained by recognizing the first object as an object or a face).
The first parameter set may include at least one image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
According to various embodiments, in operation 305, the electronic device 101 may generate the first image by performing the first calibration process on the raw image using the first parameter set associated with the first recognition information corresponding to the first sub-region among the plurality of sub-regions through the first image signal processor 2601 under the control of the image signal processor 260 or the processor 120.
In operation 307, the electronic device 101 may generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions under the control of the image signal processor 260 or the processor 120.
The second sub-region may correspond to one object (e.g., a second object) among the plurality of objects included in the raw image. The second recognition information may be significant information obtained by identifying the second object through the recognition module (e.g., information obtained by recognizing the second object as an object or a face).
The second parameter set may include at least one image processing parameter among original color mapping, detail re-generation, text reconstruction, image inpainting, scene-based white balance (WB)/color adjustment, segmentation-based noise reduction (NR)/sharpening, or segmentation-based detail enhancement parameters.
According to various embodiments, in operation 307, the electronic device 101 may generate a second image by performing the second calibration process on the raw image using the second parameter set associated with the second recognition information corresponding to the second sub-region among the plurality of sub-regions through the second image signal processor 2602 under the control of the image signal processor 260 or the processor 120.
The electronic device 101 may generate the first image by performing the first image calibration process on the raw image using one of the plurality of image signal processors and may generate the second image by performing the second image calibration process on the raw image using another one of the plurality of image signal processors. For example, the electronic device 101 may generate the first image and the second image at the same time or in parallel using the first image signal processor 2601 and the second image signal processor 2602.
In various embodiments, the electronic device 101 may perform operation 305 and operation 307 at the same time or in parallel using the first image signal processor 2601 and the second image signal processor 2602.
In operation 309, the electronic device 101 may generate a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region under the control of the image signal processor 260 or the processor 120.
According to various embodiments, when the first image is generated in operation 305, the electronic device 101 may perform an image calibration process with respect to the recognized first object. When the second image is generated in operation 307, the electronic device 101 may perform an image calibration process with respect to the recognized second object. In operation 309, the electronic device 101 may extract a sub-region calibrated with respect to the first object from the first image, may extract a sub-region calibrated with respect to the second object from the second image, and may compose the extracted sub-regions, thereby generating the third image.
FIG. 4 is a block diagram illustrating the image processing method of the electronic device 101 disclosed in FIG. 3 according to an embodiment of the disclosure.
The electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180. The raw image may include at least one object.
The electronic device 101 may transmit the raw image from the image sensor 230 to a processor 120. The processor 120 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using a recognition module. The processor 120 may include first to fourth image signal processors 2601, 2602, 2603, and 2604.
The electronic device 101 may recognize an object included in the raw image using the recognition module of the processor 120. For example, the raw image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
The electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module of the processor 120 and may perform a calibration process only on an object within preset priorities.
For example, the preset priorities may correspond to the number of image signal processors 260. The electronic device 101 may include the first to fourth image signal processors 2601, 2602, 2603, and 2604 and may perform a calibration process on objects within four priorities corresponding to the four image signal processors.
For example, when the raw image includes various objects, such as a lawn, a person, a car, a letter, a natural object, or a sky, the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within the preset priorities.
For example, when four objects including a lawn, a person, a car, and a letter corresponding to the first to fourth image signal processors 2601, 2602, 2603, and 2604 are selected as the objects within the priorities, the first to fourth image signal processors 2601, 2602, 2603, and 2604 may calibrate the image with respect to the selected objects, respectively. Specifically, the first image signal processor 2601 may generate a first image by generating and calibrating an image with respect to the person. The second image signal processor 2602 may generate a second image by generating and calibrating an image with respect to the lawn. The third image signal processor 2603 may generate a third image by generating and calibrating an image with respect to the car. The fourth image signal processor 2604 may generate a fourth image by generating and calibrating an image with respect to the letter.
The electronic device 101 may extract sub-regions from the first to fourth calibrated images, may compose the sub-regions, and may display a composed image on a display device 160.
FIG. 5 illustrates a method in which an electronic device 101 processes an image per pixel according to an embodiment of the disclosure.
The electronic device 101 may obtain a raw image using an image sensor 230 of a camera module 180. The raw image may include at least one object.
The electronic device 101 may transmit the raw image from the image sensor 230 to a processor 120. The processor 120 may identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image based on image recognition using a recognition module. The processor 120 may include first to fourth image signal processors 2601, 2602, 2603, and 2604.
The electronic device 101 may recognize an object included in the raw image using the recognition module of the processor 120. For example, the raw image may include various objects, such as a person, a sky, a flower, or a letter, and the electronic device 101 may recognize a region corresponding to an object included in the image using the recognition module and may identify recognition information.
The electronic device 101 may prioritize the plurality of objects included in the raw image using the recognition module of the processor 120 and may perform a calibration process only on an object within preset priorities.
In operation 501, the electronic device 101, which includes at least two image signal processors, may obtain a raw image using the image sensor 230 under the control of the processor 120.
In operation 503, the electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101 under the control of the processor 120. The image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels. For example, when a pixel corresponding to one channel (e.g., one color filter R, G, or B) includes two sub-pixels, the image sensor 230 may be referred to as a 2 photodiode (2PD) or a dual PD; when the pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadra-sensor, or a tetra-sensor. Further, in the image sensor 230, sub-pixels may share a microlens, or each sub-pixel may have a microlens.
In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into two sub-pixels.
In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into four sub-pixels.
For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array). A color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub- sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
For example, the image sensor 230 including a color filter may include red, green, and blue color filters. Each of the red, green, and blue color filters may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
In operation 505, the electronic device 101 may generate at least two calibrated images by calibrating a sub-region of the raw image corresponding to the subgroups under the control of the image signal processor 260 or the processor 120.
In operation 507, the electronic device 101 may compose the at least two calibrated images under the control of the image signal processor 260 or the processor 120.
FIG. 6 illustrates the method in which the electronic device 101 processes the image per pixel disclosure in FIG. 5 according to an embodiment of the disclosure.
The electronic device 101, which includes at least two image signal processors, may obtain a raw image using an image sensor 230. The image sensor 230 illustrated in FIG. 6 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels.
In the image sensor 230, one array may include one red color filter 601 two green color filters 603 and 604, one blue color filter 605, and each color filter may include four pixels (or sensor cells, e.g., 611, 612, 613, and 614).
The electronic device 101 may group the pixels corresponding to one of the color filters (or channels) in the image sensor 230 by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into four subgroups corresponding to the number of first to four image signal processors 2601, 2602, 2603, and 2604 included in the electronic device 101 under the control of the processor 120.
The electronic device 101 may transmit an image of the obtained raw image corresponding to a first subgroup (R1, G11, G21, and B1) 620 from the image sensor 230 to the first image signal processor 2601. The first image signal processor 2601 may process the image of the raw image corresponding to the first sub-group (R1, G11, G21, and B1) 620.
The electronic device 101 may transmit an image of the obtained raw image corresponding to a second subgroup (R2, G12, G22, and B2) 621 from the image sensor 230 to the second image signal processor 2602. The second image signal processor 2602 may process the image of the raw image corresponding to the second subgroup (R2, G12, G22, and B2) 621.
The electronic device 101 may transmit an image of the obtained raw image corresponding to a third subgroup (R3, G13, G23, and B3) 623 from the image sensor 230 to the third image signal processor 2603. The third image signal processor 2603 may process the image of the raw image corresponding to the third subgroup (R3, G13, G23, and B3) 623.
The electronic device 101 may transmit an image of the obtained raw image corresponding to a fourth subgroup (R4, G14, G24, and B4) 624 from the image sensor 230 to the fourth image signal processor 2604. The fourth image signal processor 2604 may process the image of the raw image corresponding to the fourth subgroup (R4, G14, G24, and B4) 624.
The electronic device 101 may compose at least two calibrated images under the control of the image signal processor 260 or the processor 120. The electronic device 101 may display a composed image on a display device 160.
FIG. 7 illustrates a method in which an electronic device 101 processes an image per pixel according to an embodiment of the disclosure.
Referring to FIG. 7, in operation 701, the electronic device 101, which includes at least two image signal processors, may obtain a raw image using an image sensor 230 under the control of a processor 120.
In operation 703, the electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into a first subgroup corresponding to a first image signal processor 2601 and a second subgroup corresponding to a second image signal processor 2602 under the control of the processor 120. The image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into a plurality of (or multiple) sub-pixels. For example, when a pixel corresponding to one channel (e.g., one color filter R, G, or B) includes two sub-pixels, the image sensor 230 may be referred to as a 2PD or a dual PD; when the pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadra-sensor, or a tetra-sensor. Further, in the image sensor 230, sub-pixels may share a microlens, or each sub-pixel may have a microlens.
In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into two sub-pixels.
In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (e.g., one color filter R, G, or B) is divided into four sub-pixels.
For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array). A color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
For example, the image sensor 230 including a color filter may include red, green, and blue color filters. Each of the red, green, and blue color filters may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
In operation 705, in the electronic device 101, the first image signal processor 2601 may receive a sub-region of the raw image corresponding to the first subgroup from the image sensor and may generate a first calibrated image by calibrating the sub-region of the raw image corresponding to the first subgroup under the control of an image signal processor 260 or the processor 120.
In operation 707, in the electronic device 101, the second image signal processor 2602 may receive a sub-region of the raw image corresponding to the second subgroup from the image sensor and may generate a second calibrated image by calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor 2601 receives the sub-region of the raw image corresponding to the first subgroup from the image sensor under the control of an image signal processor 260 or the processor 120.
In operation 709, the electronic device 101 may generate an image by separating the first calibrated image and the second calibrated image at an interval of a specified time and composing the same under the control of the image signal processor 260 or the processor 120.
FIG. 8 illustrates the method in which the electronic device 101 processes the image per pixel disclosure in FIG. 7 according to an embodiment of the disclosure.
The electronic device 101, which includes at least two image signal processors, may obtain a raw image using an image sensor 230.
The electronic device 101 may group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230 and may classify pixel groups into a first subgroup corresponding to a first image signal processor 2601, a second subgroup corresponding to a second image signal processor 2602, a third subgroup corresponding to a third image signal processor 2603, and a fourth subgroup corresponding to a fourth image signal processor 2604.
For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array or a tetra-array). A color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (or channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixel groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
For example, the image sensor 230 including a color filter may include red, green, and blue color filters. Each of the red, green, and blue color filters may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one of the color filters (channels) by sub-pixels of respective pixels corresponding to equivalent positions in the pixels and may classify pixels groups into subgroups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604). Specifically, when the electronic device 101 includes four image signal processors, the pixel groups may be classified into four subgroups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two subgroups.
In the electronic device 101, the first image signal processor 2601 may receive a sub-region 801 of the raw image corresponding to the first subgroup from the image sensor 230 and may generate a first calibrated image 811 by calibrating the sub-region of the raw image corresponding to the first subgroup.
In the electronic device 101, the second image signal processor 2602 may receive a sub-region 802 of the raw image corresponding to the second subgroup from the image sensor 230 and may generate a second calibrated image 812 by calibrating the sub-region 802 of the raw image corresponding to the second subgroup with a delay of a preset time t1 after the first image signal processor 2601 receives the sub-region 801 of the raw image corresponding to the first subgroup from the image sensor 230.
In the electronic device 101, the third image signal processor 2603 may receive a sub-region 803 of the raw image corresponding to the third subgroup from the image sensor 230 and may generate a third calibrated image 813 by calibrating the sub-region 803 of the raw image corresponding to the third subgroup with a delay of a preset time t2 after the second image signal processor 2602 receives the sub-region 802 of the raw image corresponding to the second subgroup from the image sensor 230.
In the electronic device 101, the fourth image signal processor 2604 may receive a sub-region 804 of the raw image corresponding to the fourth subgroup from the image sensor 230 and may generate a fourth calibrated image 814 by calibrating the sub-region 804 of the raw image corresponding to the fourth subgroup with a delay of a preset time t3 after the third image signal processor 2603 receives the sub-region 803 of the raw image corresponding to the third subgroup from the image sensor 230. The delays of the preset times t1, t2, and t3 may be the same time interval. The electronic device 101 may generate an image 820 by separating the first calibrated image 811, the second calibrated image 812, the third calibrated image 813, and the fourth calibrated image 814 at an interval of a specified time and composing the same.
An electronic device 101 may include an image sensor 230, a memory 250, and a processor 120, wherein the processor 120 may be configured to: obtain a raw image using the image sensor 230; identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image; generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions; generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions; and generate a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
The processor 120 of the electronic device 101 may be configured to identify object information or scene information about the plurality of sub-regions as at least part of the recognition information.
The electronic device 101 may be configured to include a plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), to perform the first calibration process using a first image signal processor 2601 among the plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), and to perform the second calibration process 2602 using a second image signal processor 2602 among the plurality of image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604).
The processor 120 of the electronic device may be configured to identify one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions, and to generate the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
The electronic device 101 may further include at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), wherein the processor 120 may be configured to: obtain the raw image using the image sensor 230; group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor; classify pixels groups into subgroups corresponding to a number of image signal processors; generate at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup, and compose the at least two or more calibrated images.
The image sensor 230 of the electronic device 101 may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604) may include a first image signal processor 2601, a second image signal processor 2602, a third image signal processor 2603, and a fourth image signal processor 2604, the subgroups may include a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, and the processor 120 may be configured to calibrate a sub-region of the raw image corresponding to the first subgroup using the first image signal processor 2601, to calibrate a sub-region of the raw image corresponding to the second subgroup using the second image signal processor 2602, to calibrate a sub-region of the raw image corresponding to the third subgroup using the third image signal processor 2603, and to calibrate a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor 2604.
The electronic device 101 may compose the images calibrated by the first to fourth image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604).
The electronic device 101 may further include at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, and 2604), wherein the processor 120 may be configured to: obtain the raw image using the image sensor 230; group sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor 230; classify pixels groups into a first subgroup corresponding to a first image signal processor 2601 and a second subgroup corresponding to a second image signal processor 2602; generate, using the first image signal processor 2601, a first calibrated image by receiving a sub-region of the raw image corresponding to the first subgroup from the image sensor 230 and calibrating the sub-region of the raw image corresponding to the first subgroup; generate, using the second image signal processor 2602, a second calibrated image by receiving a sub-region of the raw image corresponding to the second subgroup from the image sensor 230 and calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor 2601 receives the sub-region of the raw image corresponding to the first subgroup from the image sensor 230; and generate an image by separating the first calibrated image and the second calibrated image at an interval of a specified time and composing the same.
The image sensor 230 of the electronic device 101 may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors may further include a third image signal processor and a fourth image signal process, the subgroups may further include a third subgroup and a fourth subgroup, and the processor 120 may be configured to generate, using the third image signal processor, a third calibrated image by calibrating a sub-region of the raw image corresponding to the third subgroup with a delay of a preset time after the second image signal processor receives the sub-region of the raw image corresponding to the second subgroup from the image sensor, and to generate, using the fourth image signal processor, a fourth calibrated image by calibrating a sub-region of the raw image corresponding to the fourth subgroup with a delay of a preset time after the third image signal processor receives the sub-region of the raw image corresponding to the third subgroup from the image sensor.
The processor 120 of the electronic device 101 may be configured to generate an image by separating the first calibrated image to the fourth calibrated image at an interval of a specified time and composing the same.
An image processing method of an electronic device 101 including an image sensor 230 may include: obtaining a raw image using the image sensor 230; identifying recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image; generating a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions; generating a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions; and generating a third image at least using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
The image processing method of the electronic device 101 including the image sensor 230 may further include identifying object information or scene information about the plurality of sub-regions as at least part of the recognition information.
In the image processing method of the electronic device 101 including the image sensor 230, the electronic device may include a plurality of image signal processors, and the method may include performing the first calibration process using a first image signal processor among the plurality of image signal processors and performing the second calibration process using a second image signal processor among the plurality of image signal processors.
The image processing method of the electronic device 101 including the image sensor 230 may further include: identifying one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions; and generating the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
In the image processing method of the electronic device 101 including the image sensor 230, the electronic device may further include at least two or more image signal processors, and the method may include obtaining the raw image using the image sensor, grouping pixels having the same color filter in the image sensor, classifying pixels groups into subgroups corresponding to a number of image signal processors, generating at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup, and composing the at least two or more calibrated images.
In the image processing method of the electronic device 101 including the image sensor 230, the image sensor may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors may include a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal process, the subgroups may include a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, and the method may include calibrating a sub-region of the raw image corresponding to the first subgroup using the first image signal processor, calibrating a sub-region of the raw image corresponding to the second subgroup using the second image signal processor, calibrating a sub-region of the raw image corresponding to the third subgroup using the third image signal processor, and calibrating a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor.
The image processing method of the electronic device 101 including the image sensor 230 may include composing the images calibrated by the first to fourth image signal processors.
In the image processing method of the electronic device 101 including the image sensor 230, the electronic device may further include at least two or more image signal processors, and the method may include: obtaining the raw image using the image sensor; grouping sub-pixels of respective pixels corresponding to equivalent positions in the pixels in the image sensor; classifying pixels groups into a first subgroup corresponding to a first image signal processor and a second subgroup corresponding to a second image signal processor; generating, using the first image signal processor, a first calibrated image by receiving a sub-region of the raw image corresponding to the first subgroup from the image sensor and calibrating the sub-region of the raw image corresponding to the first subgroup; generating, using the second image signal processor, a second calibrated image by receiving a sub-region of the raw image corresponding to the second subgroup from the image sensor and calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor receives the sub-region of the raw image corresponding to the first subgroup from the image sensor; and generating an image by separating the first calibrated image and the second calibrated image at an interval of a specified time and composing the same.
In the image processing method of the electronic device 101 including the image sensor 230, the image sensor may include a pixel corresponding to one channel that includes four sub-pixels, the at least two or more image signal processors may further include a third image signal processor and a fourth image signal process, the subgroups may further include a third subgroup and a fourth subgroup, and the method may further include: generating, using the third image signal processor, a third calibrated image by calibrating a sub-region of the raw image corresponding to the third subgroup with a delay of a preset time after the second image signal processor receives the sub-region of the raw image corresponding to the second subgroup from the image sensor; and generating, using the fourth image signal processor, a fourth calibrated image by calibrating a sub-region of the raw image corresponding to the fourth subgroup with a delay of a preset time after the third image signal processor receives the sub-region of the raw image corresponding to the third subgroup from the image sensor.
The image processing method of the electronic device 101 including the image sensor 230 may include generating an image by separating the first calibrated image to the fourth calibrated image at an interval of a specified time and composing the same.
An electronic device according to various embodiments disclosed herein may be various types of devices. The electronic devices may include, for example, a portable communication device (e.g., a smart phone), a computer device, a portable multimedia device, a portable medical device, a camera, a wearable device, or a home appliance. According to an embodiment, the electronic devices are not limited to those described above.
It should be appreciated that various embodiments of the disclosure and the terms used therein are not intended to limit the technological features set forth herein to particular embodiments and include various changes, equivalents, or replacements for a corresponding embodiment. With regard to the description of the drawings, similar reference numerals may be used to refer to similar or related elements. It is to be understood that a singular form of a noun corresponding to an item may include one or more of the things, unless the relevant context clearly indicates otherwise. As used herein, each of such phrases as "A or B," "at least one of A and B," "at least one of A or B," "A, B, or C," "at least one of A, B, and C," and "at least one of A, B, or C," may include all possible combinations of the items enumerated together in a corresponding one of the phrases. As used herein, such terms as "1st" and "2nd," or "first" and "second" may be used to simply distinguish a corresponding component from another, and does not limit the components in other aspect (e.g., importance or order). It is to be understood that if an element (e.g., a first element) is referred to, with or without the term "operatively" or "communicatively", as "coupled with," or "connected with,", it means that the element may be coupled with the other element directly (e.g., wiredly), wirelessly, or via a third element.
As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may interchangeably be used with other terms, for example, "logic," "logic block," "part," or "circuitry". A module may be a single integral component, or a minimum unit or part thereof, adapted to perform one or more functions. For example, according to an embodiment, the module may be implemented in a form of an application-specific integrated circuit (ASIC).
Various embodiments as set forth herein may be implemented as software (e.g., the program 140) including one or more instructions that are stored in a storage medium (e.g., internal memory 136 or external memory 138) that is readable by a machine (e.g., the electronic device 101). For example, a processor (e.g., the processor 120) of the machine (e.g., the electronic device 101) may invoke at least one of the one or more instructions stored in the storage medium, and execute it. This allows the machine to be operated to perform at least one function according to the invoked at least one instruction. The one or more instructions may include a code generated by a complier or a code executable by an interpreter. The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Wherein, the term "non-transitory" simply means that the storage medium is a tangible device, and does not include a signal (e.g., an electromagnetic wave), but this term does not differentiate between where data is semi-permanently stored in the storage medium and where the data is temporarily stored in the storage medium.
According to an embodiment, a method according to various embodiments of the disclosure may be included and provided in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., compact disc read only memory (CD-ROM)), or be distributed (e.g., downloaded or uploaded) online via an application store (e.g., Play Store쪠), or between two user devices (e.g., smart phones) directly. If distributed online, at least part of the computer program product may be temporarily generated or at least temporarily stored in the machine-readable storage medium, such as memory of the manufacturer's server, a server of the application store, or a relay server.
According to various embodiments, each component (e.g., a module or a program) of the above-described components may include a single entity or multiple entities. According to various embodiments, one or more components of the above-described components or operations may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., modules or programs) may be integrated into a single component. In such a case, according to various embodiments, the integrated component may still perform one or more functions of each of the plurality of components in the same or similar manner as they are performed by a corresponding one of the plurality of components before the integration. According to various embodiments, operations performed by the module, the program, or another component may be carried out sequentially, in parallel, repeatedly, or heuristically, or one or more of the operations may be executed in a different order or omitted, or one or more other operations may be added.
While the disclosure has been shown and described with reference to various embodiments thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure as defined by the appended claims and their equivalents.
Claims (15)
- An electronic device comprising:an image sensor;a memory; andat least one processor configured to:obtain a raw image using the image sensor,identify recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image,generate a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions,generate a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions, andgenerate a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- The electronic device of claim 1, wherein the at least one processor is further configured to identify object information or scene information about the plurality of sub-regions as at least part of the recognition information.
- The electronic device of claim 1, further comprising:a plurality of image signal processors configured to:perform the first calibration process using a first image signal processor among the plurality of image signal processors; andperform the second calibration process using a second image signal processor among the plurality of image signal processors.
- The electronic device of claim 1, wherein the at least one processor is further configured to:identify one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions; andgenerate the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
- The electronic device of claim 1, further comprising:at least two or more image signal processors configured to:obtain the raw image using the image sensor;group sub-pixels of respective pixels corresponding to equivalent pixel positions in the image sensor;classify pixels groups into subgroups corresponding to a number of image signal processors;generate at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup; andcompose the at least two or more calibrated images.
- The electronic device of claim 5,wherein the image sensor comprises a pixel corresponding to one channel that comprises four sub-pixels,wherein the at least two or more image signal processors comprise a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal processor,wherein the subgroups comprise a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, andwherein the at least one processor is further configured to:calibrate a sub-region of the raw image corresponding to the first subgroup using the first image signal processor,calibrate a sub-region of the raw image corresponding to the second subgroup using the second image signal processor,calibrate a sub-region of the raw image corresponding to the third subgroup using the third image signal processor, andcalibrate a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor.
- The electronic device of claim 6, wherein one or more images calibrated by the first to fourth image signal processors are composed.
- The electronic device of claim 1, further comprising:at least two or more image signal processors configured to:obtain the raw image using an image sensor;group sub-pixels of respective pixels corresponding to equivalent pixel positions in the image sensor;classify pixels groups into a first subgroup corresponding to a first image signal processor and a second subgroup corresponding to a second image signal processor;generate, using a first image signal processor among the at least two or more image signal processors, a first calibrated image by receiving a sub-region of the raw image corresponding to the first subgroup from the image sensor, and calibrating the sub-region of the raw image corresponding to the first subgroup;generate, using a second image signal processor among the at least two or more image signal processors, a second calibrated image by receiving a sub-region of the raw image corresponding to the second subgroup from the image sensor, and calibrating the sub-region of the raw image corresponding to the second subgroup with a delay of a preset time after the first image signal processor receives the sub-region of the raw image corresponding to the first subgroup from the image sensor; andgenerate an image by separating the first calibrated image and the second calibrated image at an interval of a specified time and composing the same,wherein the image sensor comprises a pixel corresponding to one channel that comprises four sub-pixels,wherein the at least two or more image signal processors comprise a third image signal processor and a fourth image signal processor,wherein the pixel groups further comprise a third subgroup and a fourth subgroup, andwherein the at least one processor is further configured to:generate, using the third image signal processor, a third calibrated image by calibrating a sub-region of the raw image corresponding to the third subgroup with a delay of a preset time after the second image signal processor receives the sub-region of the raw image corresponding to the second subgroup from the image sensor, andgenerate, using the fourth image signal processor, a fourth calibrated image by calibrating a sub-region of the raw image corresponding to the fourth subgroup with a delay of a preset time after the third image signal processor receives the sub-region of the raw image corresponding to the third subgroup from the image sensor, wherein the at least one processor is further configured to generate an image by separating the first calibrated image to the fourth calibrated image at an interval of a specified time and composing the same.
- An image processing method of an electronic device comprising an image sensor, the method comprising:obtaining a raw image using the image sensor;identifying recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the raw image, based on image recognition using the raw image;generating a first image by performing a first calibration process on the raw image using a first parameter set associated with first recognition information corresponding to a first sub-region among the plurality of sub-regions;generating a second image by performing a second calibration process on the raw image using a second parameter set associated with second recognition information corresponding to a second sub-region among the plurality of sub-regions; andgenerating a third image by using a region of the first image corresponding to the first sub-region and a region of the second image corresponding to the second sub-region.
- The method of claim 9, further comprising:identifying object information or scene information about the plurality of sub-regions as at least part of the recognition information.
- The method of claim 9,wherein the electronic device comprises a plurality of image signal processors, andwherein the method further comprises:performing the first calibration process using a first image signal processor among the plurality of image signal processors; andperforming the second calibration process using a second image signal processor among the plurality of image signal processors.
- The method of claim 9, further comprising:identifying one or more sub-regions corresponding to recognition information satisfying a specified condition among the sub-regions; andgenerating the third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
- The method of claim 9,wherein the electronic device further comprises at least two or more image signal processors, andwherein the method further comprises:obtaining the raw image using the image sensor;grouping sub-pixels of respective pixels corresponding to equivalent pixel positions in the image sensor;classifying pixels groups into subgroups corresponding to a number of image signal processors;generating at least two or more calibrated images by calibrating a sub-region of the raw image corresponding to a subgroup; andcomposing the at least two or more calibrated images.
- The method of claim 13,wherein the image sensor comprises a pixel corresponding to one channel that comprises four sub-pixels,wherein the at least two or more image signal processors comprise a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal processor,wherein the subgroups comprise a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, andwherein the method further comprises:calibrating a sub-region of the raw image corresponding to the first subgroup using the first image signal processor;calibrating a sub-region of the raw image corresponding to the second subgroup using the second image signal processor; calibrating a sub-region of the raw image corresponding to the third subgroup using the third image signal processor; andcalibrating a sub-region of the raw image corresponding to the fourth subgroup using the fourth image signal processor.
- The method of claim 14, comprising:composing one or more images calibrated by the first to fourth image signal processors.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202080012111.8A CN113366527A (en) | 2019-01-31 | 2020-01-22 | Electronic device and method for processing image |
EP20748367.8A EP3877942A4 (en) | 2019-01-31 | 2020-01-22 | Electronic device and method for processing image |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190012772A KR102663537B1 (en) | 2019-01-31 | 2019-01-31 | electronic device and method of image processing |
KR10-2019-0012772 | 2019-01-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020159149A1 true WO2020159149A1 (en) | 2020-08-06 |
Family
ID=71837040
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/KR2020/001115 WO2020159149A1 (en) | 2019-01-31 | 2020-01-22 | Electronic device and method for processing image |
Country Status (5)
Country | Link |
---|---|
US (1) | US11488284B2 (en) |
EP (1) | EP3877942A4 (en) |
KR (1) | KR102663537B1 (en) |
CN (1) | CN113366527A (en) |
WO (1) | WO2020159149A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022151813A1 (en) * | 2021-01-12 | 2022-07-21 | Oppo广东移动通信有限公司 | Electronic device, front image signal processor, and image processing method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102661596B1 (en) * | 2018-08-08 | 2024-04-29 | 삼성전자주식회사 | Electronic device for providing recognition result about external object using recognition information for image, similarity recognition information related to recognition information, and layer information, and operating method thereof |
US11625574B2 (en) * | 2019-10-28 | 2023-04-11 | MakinaRocks Co., Ltd. | Method for generating abnormal data |
KR102669934B1 (en) * | 2020-09-17 | 2024-05-28 | 삼성전자주식회사 | Image signal processor and electronic device and electronic system comprising the same |
KR20220102016A (en) * | 2021-01-12 | 2022-07-19 | 삼성전자주식회사 | Electronic device and method for processing image thereof |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100149420A1 (en) | 2008-12-11 | 2010-06-17 | Texas Instruments Incorporated | Method and apparatus for improving automatic white balance with scene information |
US20120057045A1 (en) | 2010-09-02 | 2012-03-08 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
JP2015142161A (en) * | 2014-01-27 | 2015-08-03 | キヤノン株式会社 | Image processing apparatus and control method therefor |
US20160253129A1 (en) * | 2015-02-26 | 2016-09-01 | Canon Kabushiki Kaisha | Image forming apparatus and control method therefor |
US9710885B2 (en) | 2014-12-11 | 2017-07-18 | Samsung Electronics Co., Ltd. | Image processing apparatus, image processing method, and image processing system for performing sub-pixel interpolation |
US20180033149A1 (en) * | 2016-07-28 | 2018-02-01 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling the same |
KR20180051367A (en) * | 2016-11-08 | 2018-05-16 | 삼성전자주식회사 | method and device for adjusting an image |
KR20180067781A (en) * | 2016-12-12 | 2018-06-21 | 이에이트 주식회사 | High resolution upscaling method of high quality image using parallel processing of divisional images |
US20180357750A1 (en) | 2017-06-07 | 2018-12-13 | Mediatek Inc. | Demosaicking for multi-cell image sensor |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040208388A1 (en) * | 2003-04-21 | 2004-10-21 | Morgan Schramm | Processing a facial region of an image differently than the remaining portion of the image |
JP2005094452A (en) * | 2003-09-18 | 2005-04-07 | Nec Corp | Method, system, and program for processing image |
KR100693510B1 (en) | 2005-09-06 | 2007-03-14 | 엘지전자 주식회사 | Method and apparatus of video effect based on object |
CN102057398B (en) * | 2008-06-13 | 2013-11-06 | 上海惠普有限公司 | Processing a super-resolution target image |
EP2646948B1 (en) * | 2010-09-30 | 2018-11-14 | Orange | User interface system and method of operation thereof |
JP2012124798A (en) | 2010-12-10 | 2012-06-28 | Canon Inc | Imaging device |
KR20140043264A (en) * | 2012-09-26 | 2014-04-09 | 삼성전자주식회사 | Apparatus and method for processing multi-view image |
JP5716731B2 (en) * | 2012-12-04 | 2015-05-13 | コニカミノルタ株式会社 | Image processing apparatus and control program for image processing apparatus |
KR20140122952A (en) | 2013-04-11 | 2014-10-21 | 삼성전자주식회사 | Method for composing images and electronic device implementing the same |
JP6193721B2 (en) * | 2013-10-23 | 2017-09-06 | キヤノン株式会社 | Image processing apparatus, image processing method, program, and storage medium |
JP2015103852A (en) * | 2013-11-21 | 2015-06-04 | キヤノン株式会社 | Image processing apparatus, imaging apparatus, image processing apparatus control method, image processing apparatus control program, and storage medium |
US10440281B2 (en) * | 2014-08-13 | 2019-10-08 | Taiwan Semiconductor Manufacturing Company, Ltd. | Image processing apparatus on integrated circuit and method thereof |
KR102091072B1 (en) * | 2014-12-23 | 2020-03-19 | 삼성전자주식회사 | Contents providing apparatus, display apparatus and controlling method thereof |
TWI539139B (en) * | 2015-04-27 | 2016-06-21 | 原相科技股份有限公司 | Object distance computing method and object distance computing apparatus |
KR102362138B1 (en) * | 2015-07-23 | 2022-02-14 | 삼성전자주식회사 | Image sensor module and image sensor device including the same |
WO2018088794A2 (en) * | 2016-11-08 | 2018-05-17 | 삼성전자 주식회사 | Method for correcting image by device and device therefor |
US20190394438A1 (en) | 2016-12-01 | 2019-12-26 | Sharp Kabushiki Kaisha | Image processing device, digital camera, and non-transitory computer-readable storage medium |
KR102287109B1 (en) | 2017-03-24 | 2021-08-06 | 삼성전자주식회사 | Method and device for correcting image processing area corresponding to skin |
KR102287043B1 (en) * | 2017-05-22 | 2021-08-06 | 삼성전자주식회사 | Electronic device for processing image acquired by using camera and method for operating thefeof |
US10090347B1 (en) * | 2017-05-24 | 2018-10-02 | Semiconductor Components Industries, Llc | Image sensor with near-infrared and visible light pixels |
CN108154514B (en) * | 2017-12-06 | 2021-08-13 | Oppo广东移动通信有限公司 | Image processing method, device and equipment |
CN108737750A (en) * | 2018-06-07 | 2018-11-02 | 北京旷视科技有限公司 | Image processing method, device and electronic equipment |
US10917571B2 (en) * | 2018-11-05 | 2021-02-09 | Sony Corporation | Image capture device control based on determination of blur value of objects in images |
-
2019
- 2019-01-31 KR KR1020190012772A patent/KR102663537B1/en active IP Right Grant
-
2020
- 2020-01-22 CN CN202080012111.8A patent/CN113366527A/en active Pending
- 2020-01-22 US US16/749,281 patent/US11488284B2/en active Active
- 2020-01-22 WO PCT/KR2020/001115 patent/WO2020159149A1/en unknown
- 2020-01-22 EP EP20748367.8A patent/EP3877942A4/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100149420A1 (en) | 2008-12-11 | 2010-06-17 | Texas Instruments Incorporated | Method and apparatus for improving automatic white balance with scene information |
US20120057045A1 (en) | 2010-09-02 | 2012-03-08 | Canon Kabushiki Kaisha | Image processing apparatus, image processing method, and program |
JP2015142161A (en) * | 2014-01-27 | 2015-08-03 | キヤノン株式会社 | Image processing apparatus and control method therefor |
US9710885B2 (en) | 2014-12-11 | 2017-07-18 | Samsung Electronics Co., Ltd. | Image processing apparatus, image processing method, and image processing system for performing sub-pixel interpolation |
US20160253129A1 (en) * | 2015-02-26 | 2016-09-01 | Canon Kabushiki Kaisha | Image forming apparatus and control method therefor |
US20180033149A1 (en) * | 2016-07-28 | 2018-02-01 | Samsung Electronics Co., Ltd. | Electronic device and method for controlling the same |
KR20180051367A (en) * | 2016-11-08 | 2018-05-16 | 삼성전자주식회사 | method and device for adjusting an image |
KR20180067781A (en) * | 2016-12-12 | 2018-06-21 | 이에이트 주식회사 | High resolution upscaling method of high quality image using parallel processing of divisional images |
US20180357750A1 (en) | 2017-06-07 | 2018-12-13 | Mediatek Inc. | Demosaicking for multi-cell image sensor |
Non-Patent Citations (1)
Title |
---|
See also references of EP3877942A4 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022151813A1 (en) * | 2021-01-12 | 2022-07-21 | Oppo广东移动通信有限公司 | Electronic device, front image signal processor, and image processing method |
Also Published As
Publication number | Publication date |
---|---|
US20200250795A1 (en) | 2020-08-06 |
CN113366527A (en) | 2021-09-07 |
US11488284B2 (en) | 2022-11-01 |
EP3877942A4 (en) | 2022-05-11 |
EP3877942A1 (en) | 2021-09-15 |
KR102663537B1 (en) | 2024-05-08 |
KR20200095106A (en) | 2020-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020159149A1 (en) | Electronic device and method for processing image | |
WO2020032555A1 (en) | Electronic device and method for providing notification related to image displayed through display and image stored in memory based on image analysis | |
WO2020032473A2 (en) | Electronic device for blurring image obtained by combining plural images based on depth information and method for driving the electronic device | |
WO2019164185A1 (en) | Electronic device and method for correcting image corrected in first image processing scheme in external electronic device in second image processing scheme | |
WO2020032497A1 (en) | Method and apparatus for incorporating noise pattern into image on which bokeh processing has been performed | |
WO2021133025A1 (en) | Electronic device comprising image sensor and method of operation thereof | |
WO2020080845A1 (en) | Electronic device and method for obtaining images | |
WO2020116844A1 (en) | Electronic device and method for acquiring depth information by using at least one of cameras or depth sensor | |
WO2019156428A1 (en) | Electronic device and method for correcting images using external electronic device | |
WO2020130654A1 (en) | Camera module having multi-cell structure and portable communication device including the same | |
WO2020071823A1 (en) | Electronic device and gesture recognition method thereof | |
WO2019143050A1 (en) | Electronic device and method for controlling autofocus of camera | |
WO2019168374A1 (en) | Method for generating plural information using camera to sense plural wave bandwidth and apparatus thereof | |
WO2019103420A1 (en) | Electronic device and method for sharing image with external device using image link information | |
WO2019172723A1 (en) | Interface connected to image sensor and electronic device comprising interfaces connected among plurality of processors | |
WO2020190030A1 (en) | Electronic device for generating composite image and method thereof | |
WO2019088407A1 (en) | Camera module comprising complementary color filter array and electronic device comprising same | |
WO2021112500A1 (en) | Electronic device and method for correcting image in camera switching | |
WO2019059635A1 (en) | Electronic device for providing function by using rgb image and ir image acquired through one image sensor | |
WO2020171450A1 (en) | Electronic device and method for generating depth map | |
WO2020145482A1 (en) | Electronic device for controlling frame rate of image sensor and method thereof | |
WO2019190250A1 (en) | Method for synthesizing image on reflective object on basis of attribute of reflective object included in different image, and electronic device | |
WO2019182359A1 (en) | Electronic device for notifying of update of image signal processing and method for operating the same | |
WO2019160262A1 (en) | Electronic device and method for processing image by electronic device | |
WO2021010665A1 (en) | Image sensor and electronic device including the image sensor |
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: 20748367 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020748367 Country of ref document: EP Effective date: 20210610 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |