Electronic device and method for processing images
By identifying multiple object sub-regions in the image and performing parallel processing in the electronic device, the problem of slow image processing speed in the prior art is solved, and multi-object image processing with high efficiency and good quality is achieved.
Patent Information
- Application Number
- CN202080012111.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-01-22
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-01-22
AI Technical Summary
When existing electronic devices process captured images, it is difficult to effectively process multiple objects in the image at the same time, resulting in reduced processing speed.
By using an image sensor in an electronic device to obtain an original image, identifying sub-regions of multiple objects based on image recognition, performing calibration processing using different parameter sets, and synthesizing the processing results to generate a final image, achieving parallel processing of multiple objects.
It improves the quality and speed of image processing, can efficiently process multiple objects in the image at the same time, and provides faster image processing results.
Smart Images

Figure CN113366527B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to a method for processing an image and an electronic device including the method. Background Art
[0002] Various electronic devices, such as smart phones, tablet personal computers (PCs), portable multimedia players (PMPs), personal digital assistants (PDAs), laptop PCs, and wearable devices including wristwatches and head-mounted displays (HMDs), include cameras and can capture images using the cameras.
[0003] The above information is presented as background information only to assist with an understanding of the present disclosure. No determination has been made and no claim is made as to whether any of the above information is applicable as prior art with respect to the present disclosure. Summary of the invention
[0004] Technical issues
[0005] Typically, when processing a captured image, an electronic device can detect, process, and display a single object representing a scene from the captured image. Since the image is processed for the object representing the scene, image processing for other objects is ineffective.
[0006] In order to process not only the object representing the scene but also other objects, a technique of separating each object from the image, performing image processing, and synthesizing it can be used. This technique is a post-image processing method and involves performing image processing multiple times in order to apply multiple image processing effects to multiple objects, thus causing a problem of processing speed.
[0007] Aspects of the present disclosure are to at least solve the above-mentioned problems and / or disadvantages and to at least provide the advantages described below. Therefore, one aspect of the present disclosure is to provide an apparatus and method for an electronic device and an image processing method for an electronic device. According to various embodiments, the electronic device may perform image processing on various objects included in an image in parallel.
[0008] 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 embodiments.
[0009] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing in parallel per pixel of an image sensor.
[0010] Technical Solution
[0011] According to one aspect of the present disclosure, an electronic device is provided. The electronic device includes an image sensor, a memory, and at least one processor, wherein the at least one processor is configured to: obtain an original image using the image sensor, identify identification information about multiple sub-regions corresponding to multiple objects included in the original image based on image recognition using the original image, generate a first image by performing a first calibration process on the original image using a first parameter set associated with first identification information corresponding to a first sub-region in the multiple sub-regions, generate a second image by performing a second calibration process on the original image using a second parameter set associated with second identification information corresponding to a second sub-region in the multiple sub-regions, and generate a third image by using an area of the first image corresponding to the first sub-region and an area of the second image corresponding to the second sub-region.
[0012] According to another aspect of the present disclosure, an image processing method of an electronic device including an image sensor is provided. The image processing method includes: obtaining an original image using the image sensor, identifying identification information about a plurality of sub-regions corresponding to a plurality of objects included in the original image based on image recognition using the original image, generating a first image by performing a first calibration process on the original image using a first parameter set associated with first identification 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 original image using a second parameter set associated with second identification information corresponding to a second sub-region among the plurality of sub-regions, and generating a third image by using an area of the first image corresponding to the first sub-region and an area of the second image corresponding to the second sub-region.
[0013] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing on various objects included in an image in parallel, thereby providing a user with an image with improved quality.
[0014] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing on various objects included in an image in parallel, thereby providing a user with a quickly processed image.
[0015] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing in parallel per pixel of an image sensor, thereby providing a user with an image with improved quality.
[0016] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing in parallel according to pixels of an image sensor, thereby providing a user with a quickly processed image.
[0017] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the accompanying drawings, discloses various embodiments of the present disclosure.
[0018] Beneficial Effects
[0019] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing on various objects included in an image in parallel, thereby providing a user with an image with improved quality.
[0020] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing on various objects included in an image in parallel, thereby providing a user with a quickly processed image.
[0021] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing in parallel per pixel of an image sensor, thereby providing a user with an image with improved quality.
[0022] The electronic device and the image processing method of the electronic device according to various embodiments may perform image processing in parallel according to pixels of an image sensor, thereby providing a user with a quickly processed image.
[0023] Other aspects, advantages, and salient features of the present disclosure will become apparent to those skilled in the art from the following detailed description, which, taken in conjunction with the accompanying drawings, discloses various embodiments of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The above and other aspects, features and advantages of certain embodiments of the present disclosure will become more apparent from the following description in conjunction with the accompanying drawings, in which:
[0025] Figure 1 is a block diagram illustrating an electronic device in a network environment according to an embodiment of the present disclosure;
[0026] Figure 2 is a block diagram illustrating a camera module according to an embodiment of the present disclosure;
[0027] Figure 3 A method for processing an image by an object by an electronic device according to an embodiment of the present disclosure is shown;
[0028] Figure 4 is a diagram showing various embodiments according to the present disclosure Figure 3 A block diagram of an image processing method for an electronic device disclosed in;
[0029] Figure 5 A method for processing an image by pixel by an electronic device according to an embodiment of the present disclosure is shown;
[0030] Figure 6The embodiment according to the present disclosure is shown Figure 5 A method for processing an image by pixel in an electronic device disclosed in;
[0031] Figure 7 A method for processing an image by pixel by an electronic device according to an embodiment of the present disclosure is shown; and
[0032] Figure 8 The embodiment according to the present disclosure is shown Figure 7 A method for processing images by pixel by an electronic device disclosed in the disclosure.
[0033] Throughout the drawings, like reference numerals will be understood to refer to like parts, components and structures. DETAILED DESCRIPTION
[0034] The following description with reference to the accompanying drawings is provided to assist in a comprehensive understanding of the various embodiments of the present disclosure as defined by the claims and their equivalents. It includes various specific details to assist in understanding, but these details are to be considered as exemplary only. Therefore, it will be appreciated by those of ordinary skill in the art that various changes and modifications to the various embodiments described herein may be made without departing from the scope and spirit of the present disclosure. In addition, descriptions of well-known functions and structures may be omitted for clarity and conciseness.
[0035] 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 present disclosure. Therefore, it will be apparent to those skilled in the art that the following description of various embodiments of the present disclosure is provided for illustrative purposes only and not for the purpose of limiting the present disclosure as defined by the appended claims and their equivalents.
[0036] It will be understood that singular forms 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.
[0037] Figure 1 is a block diagram illustrating an electronic device 101 in a network environment 100 according to an embodiment of the present disclosure.
[0038] Reference Figure 1, the electronic device 101 in the network environment 100 may communicate with the electronic device 102 via the first network 198 (e.g., a short-range wireless communication network), or communicate with the electronic device 104 or the server 108 via the 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, a 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 user identification module (SIM) 196, or an antenna module 197. In some embodiments, at least one of the components (e.g., the display device 160 or the camera module 180) may be omitted from the electronic device 101, or one or more other components may be added to the electronic device 101. In some embodiments, some of the components may be implemented as a single integrated circuit.For example, the sensor module 176 (eg, a fingerprint sensor, an iris sensor, or an illumination sensor) may be implemented to be embedded in the display device 160 (eg, a display).
[0039] The processor 120 may run, for example, software (e.g., program 140) to control at least one other component (e.g., hardware component or software component) of the electronic device 101 connected to the processor 120, and may perform various data processing or calculations. According to one embodiment, as at least part of the data processing or calculation, the processor 120 may load a command or data received from another component (e.g., sensor module 176 or communication module 190) into the volatile memory 132, process the command or data stored in the volatile memory 132, and store the resultant data in the 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 independent of or combined with the main processor 121 in operation. Additionally or alternatively, the auxiliary processor 123 may be adapted to consume less power than the main processor 121, or adapted to be specifically used for a specified function. The auxiliary processor 123 may be implemented separately from the main processor 121 , or as part of the main processor 121 .
[0040] When the main processor 121 is in an inactive (e.g., sleep) state, the auxiliary processor 123 (rather than the main processor 121) may control at least some of the 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, or when the main processor 121 is in an active state (e.g., running an application), the auxiliary processor 123 may control at least some of the functions or states related to at least one component (e.g., the display device 160, the sensor module 176, or the communication module 190) together with the main processor 121. 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) that is functionally related to the auxiliary processor 123.
[0041] The memory 130 may store various data used by at least one component of the electronic device 101 (e.g., the processor 120 or the sensor module 176). The various data may include, for example, software (e.g., the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile memory 134.
[0042] The program 140 may be stored as software in the memory 130 , and may include, for example, an operating system (OS) 142 , middleware 144 , or applications 146 .
[0043] The input device 150 may receive a command or data to be used by another component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., the user). The input device 150 may include, for example, a microphone, a mouse, a keyboard, or a digital pen (e.g., a stylus).
[0044] The sound output device 155 can output a sound signal to the outside of the electronic device 101. The sound output device 155 may include, for example, a speaker or a receiver. The speaker can be used for general purposes such as playing multimedia or playing records, and the receiver can be used for incoming calls. Depending on the embodiment, the receiver can be implemented as a separate part from the speaker, or as a part of the speaker.
[0045] The display device 160 may visually provide information to the outside of the electronic device 101 (e.g., a user). The display device 160 may include, for example, a display, a holographic device, or a projector, and a control circuit for controlling a corresponding one of the display, the holographic device, and the projector. According to an embodiment, the display device 160 may include a touch circuit adapted to detect a touch or a sensor circuit (e.g., a pressure sensor) adapted to measure the strength of a force caused by a touch.
[0046] The audio module 170 may convert sound into an electrical signal, or vice versa. According to an embodiment, the audio module 170 may obtain sound via the input device 150, or output sound via the sound output device 155 or an earphone of an external electronic device (e.g., electronic device 102) directly (e.g., wired) or wirelessly connected to the electronic device 101.
[0047] The sensor module 176 may detect an operating state (e.g., power or temperature) of the electronic device 101 or an environmental state (e.g., a state of a user) outside 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 illumination sensor.
[0048] The interface 177 may support one or more specific protocols to be used to connect the electronic device 101 directly (e.g., wired) or wirelessly to an external electronic device (e.g., the electronic device 102). 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.
[0049] The connection end 178 may include a connector, wherein the electronic device 101 can be physically connected to an external electronic device (e.g., the electronic device 102) via the connector. According to an embodiment, the connection end 178 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (e.g., a headphone connector).
[0050] The haptic module 179 may convert the electrical signal into mechanical stimulation (eg, vibration or motion) or electrical stimulation that can be recognized by the user via his sense of touch or kinesthetic sense. According to an embodiment, the haptic module 179 may include, for example, a motor, a piezoelectric element, or an electrical stimulator.
[0051] The camera module 180 may capture still images or moving images. According to an embodiment, the camera module 180 may include one or more lenses, an image sensor, an image signal processor, or a flash.
[0052] The power management module 188 may manage power supply to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as, for example, at least a part of a power management integrated circuit (PMIC).
[0053] The battery 189 may power at least one component of the electronic device 101. According to an embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.
[0054] 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 an external electronic device (e.g., electronic device 102, electronic device 104, or server 108), and perform communication via the established communication channel. The communication module 190 may include one or more communication processors capable of operating independently from the processor 120 (e.g., an application processor (AP)) and supporting direct (e.g., wired) communication or 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 can communicate with an external electronic device via a first network 198 (e.g., a short-range communication network such as Bluetooth, Wireless Fidelity (Wi-Fi) Direct, or Infrared Data Association (IrDA)) or a second network 199 (e.g., a long-range communication network such as a cellular network, the Internet, or a computer network (e.g., a LAN or a wide area network (WAN))). These various types of communication modules can be implemented as a single component (e.g., a single chip), or these various types of communication modules can be implemented as multiple components separated from each other (e.g., multiple chips). The wireless communication module 192 can identify and authenticate the electronic device 101 in a communication network (such as the first network 198 or the second network 199) using user information (e.g., an International Mobile Subscriber Identity (IMSI)) stored in the user identification module 196.
[0055] The antenna module 197 may transmit or receive a signal or power to or from the outside of the electronic device 101 (e.g., an external electronic device). According to an embodiment, the antenna module 197 may include an antenna including a radiating element formed of a conductive material or a conductive pattern formed in or on a substrate (e.g., a printed circuit board (PCB)). According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication scheme used in a communication network (such as the first network 198 or the second network 199) may be selected from the plurality of antennas by, for example, the communication module 190 (e.g., the wireless communication module 192). A signal or 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 a part of the antenna module 197.
[0056] At least some of the above components may be connected to each other via an inter-peripheral communication scheme (e.g., a bus, general purpose input output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and communicatively transmit signals (e.g., commands or data) therebetween.
[0057] According to an embodiment, a command or data may be sent or received between the electronic device 101 and the external electronic device 104 via the server 108 connected to the second network 199. Each of the electronic device 102 and the electronic device 104 may be a device of the same type as the electronic device 101, or a device of a different type from the electronic device 101. According to an embodiment, all or some operations to be executed in the electronic device 101 may be executed in one or more of the external electronic device 102, the external electronic device 104, or the server 108. For example, if the electronic device 101 should automatically execute a function or service or should execute a function or service in response to a request from a user or another device, the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service instead of executing the function or service, or the electronic device 101 may request the one or more external electronic devices to execute at least part of the function or service in addition to executing the function or service. The one or more external electronic devices that receive the request may execute the requested at least part of the function or service, or execute another function or another service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may provide the result as at least a partial reply to the request with or without further processing the result. To this end, for example, cloud computing technology, distributed computing technology, or client-server computing technology may be used.
[0058] The electronic device according to various embodiments may be one of various types of electronic devices. The electronic device 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 household appliance. According to an embodiment of the present disclosure, the electronic device is not limited to those described above.
[0059] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, and include various changes, equivalents or alternatives of the corresponding embodiments. With respect to the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that, unless otherwise clearly stated in the relevant context, the singular noun corresponding to the item may include one or more things. As used herein, each of these phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include any one or all possible combinations of the items listed together in the corresponding phrase in the phrase. As used herein, terms such as "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled to another element (e.g., a second element)”, “coupled to another element (e.g., the second element)”, “connected to another element (e.g., the second element)”, or “connected to another element (e.g., the second element)”, with or without the term “operably” or “communicatively”, it means that the element may be coupled to the other element directly (e.g., by wire), wirelessly, or via a third element.
[0060] As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms such as "logic," "logic block," "component," or "circuit." A module may be a single integrated component or a minimum unit or a portion of a minimum unit adapted to perform one or more functions. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0061] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of a machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute at least one instruction with or without 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 at least one instruction called. One or more instructions may include code generated by a compiler or code executable by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0062] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) is published online (e.g., downloaded or uploaded), or distributed directly between two user devices (e.g., smart phones). If published online, at least a portion of the computer program product may be temporarily generated or at least temporarily stored in a machine-readable storage medium (such as a manufacturer's server, an application store's server, or a memory of a forwarding server).
[0063] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities. According to various embodiments, one or more of the above-mentioned components may be omitted, or one or more other components may be added. Alternatively or additionally, multiple components (e.g., a module or a program) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as performed by a corresponding one of the multiple components before integration. According to various embodiments, the operations performed by a module, a program, or another component may be performed sequentially, in parallel, repeatedly, or in a heuristic manner, or one or more of the operations may be performed or omitted in a different order, or one or more other operations may be added.
[0064] Figure 2is a block diagram 200 illustrating a camera module 180 according to an embodiment of the present disclosure.
[0065] Reference Figure 2 , the camera module 180 may include a lens assembly 210, a flash 220, an image sensor 230, an image stabilizer 240, a memory 250 (e.g., a buffer memory), or an image signal processor 260. The lens assembly 210 may collect light emitted or reflected from an object whose image is to be captured. 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 this case, the camera module 180 may form, for example, a dual camera, a 360-degree camera, or a spherical camera. Some of the plurality of lens assemblies 210 may have the same lens properties (e.g., viewing angle, focal length, autofocus, f-number, or optical zoom), or at least one lens assembly may have one or more lens properties different from the lens properties of another lens assembly. The lens assembly 210 may include, for example, a wide-angle lens or a telephoto lens.
[0066] The flashlight 220 may emit light for enhancing light reflected from an object. According to an embodiment, the flashlight 220 may include one or more light emitting diodes (LEDs) (e.g., red, green, and blue (RGB) LEDs, white LEDs, infrared (IR) LEDs, or ultraviolet (UV) LEDs) or xenon lamps. The image sensor 230 may obtain an image corresponding to an object by converting light emitted or reflected from an object and transmitted through the lens assembly 210 into an electrical signal. According to an embodiment, the image sensor 230 may include one image sensor selected from image sensors with different properties (such as an RGB sensor, a black and white (BW) sensor, an IR sensor, or a UV sensor), a plurality of image sensors with the same properties, or a plurality of image sensors with different properties. Each image sensor included in the image sensor 230 may be implemented using, for example, a charge coupled device (CCD) sensor or a complementary metal oxide semiconductor (CMOS) sensor.
[0067] The image stabilizer 240 may move the image sensor 230 or at least one lens included in the lens assembly 210 in a specific direction, or control the operating properties of the image sensor 230 (e.g., adjust the readout timing) in response to the movement of the camera module 180 or the electronic device 101 including the camera module 180. This allows compensation for at least a portion of the negative effects (e.g., image blur) caused by the movement of the image being captured. According to an embodiment, the image stabilizer 240 may sense such movement of the camera module 180 or the electronic device 101 using a gyro sensor (not shown) or an acceleration sensor (not shown) arranged inside or outside the camera module 180. According to an embodiment, the image stabilizer 240 may be implemented as, for example, an optical image stabilizer.
[0068] The memory 250 may at least temporarily store at least a portion of an image obtained via the image sensor 230 for subsequent image processing tasks. For example, if image capture is delayed due to shutter lag or multiple images are captured quickly, the obtained original image (e.g., Bayer patterned image, high-resolution image) may be stored in the memory 250, and its corresponding copy image (e.g., low-resolution image) may be previewed via the display device 160. Thereafter, if a specified condition is met (e.g., according to a user's input or a system command), at least a portion of the original image stored in the memory 250 may be obtained and processed, for example, by the image signal processor 260. According to an embodiment, the memory 250 may be configured as at least a portion of the memory 130, or as a separate memory that operates independently of the memory 130.
[0069] The image signal processor 260 may perform one or more image processing on 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 synthesis, 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 readout timing control) on at least one of the components included in the camera module 180 (e.g., image sensor 230). The image processed by the image signal processor 260 may be stored back in the memory 250 for further processing, or may be provided to an external component (e.g., memory 130, display device 160, electronic device 102, electronic device 104, or server 108) outside the camera module 180. According to an embodiment, the image signal processor 260 may be configured as at least a part of the processor 120, or may be configured as a separate processor that operates independently of the processor 120. 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.
[0070] The 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 .
[0071] According to an embodiment, the electronic device 101 may include a plurality of camera modules 180 having different properties or functions. In this 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.
[0072] Figure 3 A method in which the electronic device 101 processes images by object according to an embodiment of the present disclosure is illustrated.
[0073] Reference Figure 3 , at operation 301, the electronic device 101 may obtain a raw image using the image sensor 230 of the camera module 180 under the control of the processor 120. The raw image may include at least one object.
[0074] In operation 303 , the electronic device 101 may recognize recognition information regarding a plurality of sub-regions corresponding to a plurality of objects included in the original image based on image recognition using the original image under the control of the processor 120 .
[0075] The electronic device 101 may use the recognition module to recognize an object included in the original image. For example, the image may include various objects such as a person, sky, flower, or text, and the electronic device 101 may use the recognition module to recognize an area corresponding to the object included in the image, and may recognize the recognition information.
[0076] The electronic device 101 may store the identification module in the memory 130 as a logic module executable in the processor 120. The electronic device 101 may embed the identification module in the processor 120.
[0077] The recognition module may be a logic module and may be configured as a processor (e.g., processor 120) in an external electronic device. The recognition module may analyze various important information (e.g., object recognition, velocity vector, facial recognition, segmentation, scene parsing, etc.) from an image (e.g., an original image, a small original image, an image file, etc.). To this end, the recognition module may include various algorithms. The recognition module may generate, store, or send information (recipe information, e.g., information including segments, layers, vectors, or scene categories) for use by the image signal processor 260 to perform various types of image processing as an analysis result associated with the image.
[0078] The electronic device 101 may prioritize a plurality of objects included in the original image using the recognition module, and may perform a calibration process only on objects within a preset priority level.
[0079] 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 calibration processing on objects within four priorities corresponding to the four image signal processors.
[0080] For example, when the original image includes various objects such as grass, people, cars, documents, natural objects, or the sky, the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within a preset priority.
[0081] In operation 305 , the electronic device 101 may generate a first image by performing a first calibration process on the original image using a first parameter set associated with first identification information corresponding to a first subregion among the plurality of subregions under the control of the image signal processor 260 or the processor 120 .
[0082] The image signal processor 260 may calibrate the image using at least one of: original color mapping, detail regeneration, text reconstruction, image restoration, scene-based white balance (WB) / color adjustment, segmentation-based noise reduction (NR) / sharpening, or segmentation-based detail enhancement.
[0083] The plurality of sub-regions may correspond to a plurality of objects included in the original image. The first sub-region may correspond to one object (e.g., a first object) among the plurality of objects included in the original image. The first recognition information may be important information obtained by recognizing the first object through a recognition module (e.g., information obtained by recognizing the first object as an object or a face).
[0084] The first parameter set may include at least one image processing parameter of original color mapping parameters, detail regeneration parameters, text reconstruction parameters, image restoration parameters, scene-based white balance (WB) / color adjustment parameters, segmentation-based noise reduction (NR) / sharpening parameters, or segmentation-based detail enhancement parameters.
[0085] According to various embodiments, in operation 305, the electronic device 101 may generate a first image by performing a first calibration process on the original image using a first parameter set associated with first identification information corresponding to a first sub-region among multiple sub-regions by the first image signal processor 2601 under the control of the image signal processor 260 or the processor 120.
[0086] In operation 307 , the electronic device 101 may generate a second image by performing a second calibration process on the original image using a second parameter set associated with second identification information corresponding to a second subregion among the plurality of subregions under the control of the image signal processor 260 or the processor 120 .
[0087] The second sub-region may correspond to one object (eg, the second object) among the plurality of objects included in the original image. The second recognition information may be important information obtained by recognizing the second object through the recognition module (eg, information obtained by recognizing the second object as an object or a face).
[0088] The second parameter set may include at least one image processing parameter of original color mapping parameters, detail reproduction parameters, text reconstruction parameters, image restoration parameters, scene-based white balance (WB) / color adjustment parameters, segmentation-based noise reduction (NR) / sharpening parameters, or segmentation-based detail enhancement parameters.
[0089] According to various embodiments, in operation 307, the electronic device 101 may generate a second image by performing a second calibration process on the original image using a second parameter set associated with second identification information corresponding to a second sub-region among the multiple sub-regions by the second image signal processor 2602 under the control of the image signal processor 260 or the processor 120.
[0090] The electronic device 101 may generate a first image by performing a first image calibration process on an original image using one of the plurality of image signal processors, and may generate a second image by performing a second image calibration process on the original image using another of the plurality of image signal processors. For example, the electronic device 101 may generate the first image and the second image using the first image signal processor 2601 and the second image signal processor 2602 simultaneously or in parallel.
[0091] In various embodiments, the electronic device 101 may perform operation 305 and operation 307 simultaneously or in parallel using the first image signal processor 2601 and the second image signal processor 2602 .
[0092] In operation 309 , the electronic device 101 may generate a third image using at least 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 .
[0093] According to various embodiments, when generating the first image in operation 305, the electronic device 101 may perform an image calibration process for the recognized first object. When generating the second image in operation 307, the electronic device 101 may perform an image calibration process for the recognized second object. In operation 309, the electronic device 101 may extract a sub-region calibrated for the first object from the first image, may extract a sub-region calibrated for the second object from the second image, and may synthesize the extracted sub-regions to generate a third image.
[0094] Figure 4The present invention is a diagram showing an embodiment of the present invention. Figure 3 Block diagram of the image processing method of the electronic device 101 disclosed in .
[0095] The electronic device 101 may obtain a raw image using the image sensor 230 of the camera module 180. The raw image may include at least one object.
[0096] The electronic device 101 may transmit the original image from the image sensor 230 to the processor 120. The processor 120 may use the recognition module to recognize the identification information about the plurality of sub-regions corresponding to the plurality of objects included in the original image based on the image recognition. The processor 120 may include the first to fourth image signal processors 2601, 2602, 2603, and 2604.
[0097] The electronic device 101 may recognize an object included in the original image using a recognition module of the processor 120. For example, the original image may include various objects such as a person, sky, flower, or text, and the electronic device 101 may recognize an area corresponding to the object included in the image using the recognition module, and may recognize recognition information.
[0098] The electronic device 101 may prioritize a plurality of objects included in the original image using the recognition module of the processor 120, and may perform a calibration process only on objects within a preset priority level.
[0099] 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 calibration processing on objects within four priorities corresponding to the four image signal processors.
[0100] For example, when the original image includes various objects such as grass, people, cars, text, natural objects, or the sky, the electronic device 101 may prioritize the plurality of objects and may perform a calibration process on objects within a preset priority level.
[0101] For example, when four objects including lawn, person, car and text corresponding to the first to fourth image signal processors 2601, 2602, 2603 and 2604 are selected as objects within the priority, the first to fourth image signal processors 2601, 2602, 2603 and 2604 may calibrate images for the selected objects, respectively. Specifically, the first image signal processor 2601 may generate a first image by generating and calibrating an image about a person. The second image signal processor 2602 may generate a second image by generating and calibrating an image about a lawn. The third image signal processor 2603 may generate a third image by generating and calibrating an image about a car. The fourth image signal processor 2604 may generate a fourth image by generating and calibrating an image about text.
[0102] The electronic device 101 may extract sub-regions from the first to fourth calibration images, may synthesize the sub-regions, and may display the synthesized image on the display device 160 .
[0103] Figure 5 A method for the electronic device 101 to process an image pixel by pixel according to an embodiment of the present disclosure is shown.
[0104] The electronic device 101 may obtain a raw image using the image sensor 230 of the camera module 180. The raw image may include at least one object.
[0105] The electronic device 101 may transmit the original image from the image sensor 230 to the processor 120. The processor 120 may use the recognition module to recognize the identification information about the plurality of sub-regions corresponding to the plurality of objects included in the original image based on the image recognition. The processor 120 may include the first to fourth image signal processors 2601, 2602, 2603, and 2604.
[0106] The electronic device 101 may recognize an object included in the original image using a recognition module of the processor 120. For example, the original image may include various objects such as a person, sky, flower, or text, and the electronic device 101 may recognize an area corresponding to the object included in the image using the recognition module, and may recognize recognition information.
[0107] The electronic device 101 may prioritize a plurality of objects included in the original image using the recognition module of the processor 120, and may perform a calibration process only on objects within a preset priority level.
[0108] In operation 501 , the electronic device 101 including at least two image signal processors may obtain a raw image using the image sensor 230 under the control of the processor 120 .
[0109] In operation 503, the electronic device 101, under the control of the processor 120, may group sub-pixels of each pixel corresponding to an equivalent position in a pixel in the image sensor 230 and may classify the pixel group into sub-groups 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 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 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 a pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadruple sensor, or a tetra-sensor. In addition, in the image sensor 230, the sub-pixels may share a micro-lens, or each sub-pixel may have a micro-lens.
[0110] In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (eg, one color filter R, G, or B) is divided into two sub-pixels.
[0111] In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (eg, one color filter R, G, or B) is divided into four sub-pixels.
[0112] For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array). The color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one color filter in the color filter (or channel) according to sub-pixels of each pixel corresponding to an equivalent position in the pixel, and may classify the pixel group into sub-groups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
[0113] For example, the image sensor 230 including the color filter may include a red filter, a green filter, and a blue filter. Each of the red filter, the green filter, and the blue filter may include a plurality of pixels. The electronic device 101 may group the pixels corresponding to one filter in the color filter (channel) according to the sub-pixels of each pixel corresponding to the equivalent position in the pixel, and may classify the pixel groups into sub-groups 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 sub-groups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two sub-groups.
[0114] In operation 505 , the electronic device 101 may generate at least two calibration images by calibrating sub-regions of the original image corresponding to the sub-groups under the control of the image signal processor 260 or the processor 120 .
[0115] In operation 507 , the electronic device 101 may synthesize at least two calibration images under the control of the image signal processor 260 or the processor 120 .
[0116] Figure 6 The embodiment according to the present disclosure is shown Figure 5 The method of processing an image by pixel by an electronic device 101 disclosed in the disclosure.
[0117] The electronic device 101 including at least two image signal processors may obtain a raw image using the image sensor 230 . Figure 6 The image sensor 230 shown in FIG. 2 may be an image sensor in which a pixel corresponding to one channel (eg, one color filter R, G, or B) is divided into a plurality of sub-pixels.
[0118] In image sensor 230, one array may include one red filter 601, two green filters 603 and 604, one blue filter 605, and each filter may include four pixels (or sensor units, such as 611, 612, 613, and 614).
[0119] Under the control of the processor 120, the electronic device 101 can group pixels corresponding to a color filter in the color filters (or channels) in the image sensor 230 according to sub-pixels of each pixel corresponding to equivalent positions in the pixel, and can classify the pixel groups into four sub-groups corresponding to the number of the first image signal processor to four image signal processors 2601, 2602, 2603 and 2604 included in the electronic device 101.
[0120] The electronic device 101 may transmit the obtained image corresponding to the first subset (R1, G11, G21, and B1) 620 of the original image from the image sensor 230 to the first image signal processor 2601. The first image signal processor 2601 may process the image corresponding to the first subset (R1, G11, G21, and B1) 620 of the original image.
[0121] The electronic device 101 may transmit the obtained image corresponding to the second subset (R2, G12, G22, and B2) 621 of the original image from the image sensor 230 to the second image signal processor 2602. The second image signal processor 2602 may process the image corresponding to the second subset (R2, G12, G22, and B2) 621 of the original image.
[0122] The electronic device 101 may transmit the obtained image corresponding to the third subset (R3, G13, G23, and B3) 623 of the original image from the image sensor 230 to the third image signal processor 2603. The third image signal processor 2603 may process the image corresponding to the third subset (R3, G13, G23, and B3) 623 of the original image.
[0123] The electronic device 101 may transmit the obtained image corresponding to the fourth subset (R4, G14, G24, and B4) 624 of the original image from the image sensor 230 to the fourth image signal processor 2604. The fourth image signal processor 2604 may process the image corresponding to the fourth subset (R4, G14, G24, and B4) 624 of the original image.
[0124] The electronic device 101 may synthesize the at least two calibration images under the control of the image signal processor 260 or the processor 120. The electronic device 101 may display the synthesized image on the display device 160.
[0125] Figure 7 A method for the electronic device 101 to process an image pixel by pixel according to an embodiment of the present disclosure is shown.
[0126] Reference Figure 7 In operation 701 , the electronic device 101 including at least two image signal processors may obtain a raw image using the image sensor 230 under the control of the processor 120 .
[0127] In operation 703, the electronic device 101, under the control of the processor 120, may group sub-pixels of each pixel corresponding to an equivalent position in a pixel in the image sensor 230, and may classify the pixel group into a first sub-group corresponding to the first image signal processor 2601 and a second sub-group corresponding to the second image signal processor 2602. 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 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 a pixel includes four sub-pixels, the image sensor 230 may be referred to as a 4PD, a quadruple sensor, or a quad sensor. In addition, in the image sensor 230, the sub-pixels may share a micro-lens, or each sub-pixel may have a micro-lens.
[0128] In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (eg, one color filter R, G, or B) is divided into two sub-pixels.
[0129] In various embodiments, the image sensor 230 may be an image sensor in which a pixel corresponding to one channel (eg, one color filter R, G, or B) is divided into four sub-pixels.
[0130] For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array). The color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one color filter in the color filter (or channel) according to sub-pixels of each pixel corresponding to an equivalent position in the pixel, and may classify the pixel group into sub-groups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
[0131] For example, the image sensor 230 including the color filter may include a red filter, a green filter, and a blue filter. Each of the red filter, the green filter, and the blue filter may include a plurality of pixels. The electronic device 101 may group the pixels corresponding to one filter in the color filter (channel) according to the sub-pixels of each pixel corresponding to the equivalent position in the pixel, and may classify the pixel groups into sub-groups 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 sub-groups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two sub-groups.
[0132] In operation 705, in the electronic device 101, under the control of the image signal processor 260 or the processor 120, the first image signal processor 2601 may receive a sub-region of the original image corresponding to the first subset from the image sensor, and may generate a first calibration image by calibrating the sub-region of the original image corresponding to the first subset.
[0133] In operation 707, in the electronic device 101, under the control of the image signal processor 260 or the processor 120, the second image signal processor 2602 may receive a sub-region of the original image corresponding to the second sub-group from the image sensor, and may generate a second calibration image by delaying a preset time to calibrate the sub-region of the original image corresponding to the second sub-group after the first image signal processor 2601 receives the sub-region of the original image corresponding to the first sub-group from the image sensor.
[0134] In operation 709 , the electronic device 101 may generate an image by separating the first calibration image and the second calibration image at intervals of a designated time and synthesizing the first calibration image and the second calibration image under the control of the image signal processor 260 or the processor 120 .
[0135] Figure 8 The embodiment according to the present disclosure is shown Figure 7 The method of processing an image by pixel by an electronic device 101 disclosed in the disclosure.
[0136] The electronic device 101 including at least two image signal processors may obtain a raw image using the image sensor 230 .
[0137] The electronic device 101 can group sub-pixels of each pixel corresponding to equivalent positions in the pixel in the image sensor 230, and can classify the pixel groups into a first sub-group corresponding to the first image signal processor 2601, a second sub-group corresponding to the second image signal processor 2602, a third sub-group corresponding to the third image signal processor 2603, and a fourth sub-group corresponding to the fourth image signal processor 2604.
[0138] For example, the image sensor 230 may include color filters in various arrays (e.g., a Bayer array or a quad array). The color filter may include a plurality of pixels. The electronic device 101 may group pixels corresponding to one color filter in the color filter (or channel) according to sub-pixels of each pixel corresponding to an equivalent position in the pixel, and may classify the pixel group into sub-groups corresponding to the number of image signal processors (e.g., 260, 2601, 2602, 2603, and 2604) included in the electronic device 101.
[0139] For example, the image sensor 230 including the color filter may include a red filter, a green filter, and a blue filter. Each of the red filter, the green filter, and the blue filter may include a plurality of pixels. The electronic device 101 may group the pixels corresponding to one filter in the color filter (channel) according to the sub-pixels of each pixel corresponding to the equivalent position in the pixel, and may classify the pixel groups into sub-groups 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 sub-groups. When the electronic device 101 includes two image signal processors, the pixel groups may be classified into two sub-groups.
[0140] In the electronic device 101 , the first image signal processor 2601 may receive the sub-region 801 of the original image corresponding to the first subset from the image sensor 230 , and may generate a first calibration image 811 by calibrating the sub-region of the original image corresponding to the first subset.
[0141] In the electronic device 101, the second image signal processor 2602 may receive a sub-region 802 of the original image corresponding to the second sub-group from the image sensor 230, and may generate a second calibration image 812 by delaying a preset time t1 to calibrate the sub-region 802 of the original image corresponding to the second sub-group after the first image signal processor 2601 receives the sub-region 801 of the original image corresponding to the first sub-group from the image sensor 230.
[0142] In the electronic device 101, the third image signal processor 2603 can receive the sub-region 803 of the original image corresponding to the third sub-group from the image sensor 230, and can generate a third calibration image 813 by delaying a preset time t2 to calibrate the sub-region 803 of the original image corresponding to the third sub-group after the second image signal processor 2602 receives the sub-region 802 of the original image corresponding to the second sub-group from the image sensor 230 to generate a third calibration image 813.
[0143] In the electronic device 101, the fourth image signal processor 2604 may receive the sub-region 804 of the original image corresponding to the fourth sub-group from the image sensor 230, and may generate the fourth calibration image 814 by delaying the preset time t3 to calibrate the sub-region 804 of the original image corresponding to the fourth sub-group after the third image signal processor 2603 receives the sub-region 803 of the original image corresponding to the third sub-group from the image sensor 230. The delay of the preset times t1, t2, and t3 may be the same time interval. The electronic device 101 may generate the image 820 by separating the first calibration image 811, the second calibration image 812, the third calibration image 813, and the fourth calibration image 814 at intervals of a specified time and synthesizing them.
[0144] The electronic device 101 may include an image sensor 230, a memory 250 and a processor 120, wherein the processor 120 may be configured to perform the following operations: obtain an original image using the image sensor 230; use the original image to identify identification information about multiple sub-regions corresponding to multiple objects included in the original image based on image recognition; generate a first image by performing a first calibration process on the original image using a first parameter set associated with first identification information corresponding to a first sub-region among the multiple sub-regions; generate a second image by performing a second calibration process on the original image using a second parameter set associated with second identification information corresponding to a second sub-region among the multiple sub-regions; and generate a third image using at least an area of the first image corresponding to the first sub-region and an area of the second image corresponding to the second sub-region.
[0145] The processor 120 of the electronic device 101 may be configured to recognize object information or scene information about the plurality of sub-regions as at least a part of the recognition information.
[0146] 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), perform a 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 perform a 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).
[0147] The processor 120 of the electronic device may be configured to identify one or more sub-regions among the sub-regions corresponding to the identification information satisfying the specified condition, and generate a third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
[0148] The electronic device 101 may also 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 an original image using the image sensor 230; group sub-pixels of each pixel corresponding to equivalent positions in pixels in the image sensor; classify the pixel groups into sub-groups corresponding to the number of image signal processors; generate at least two or more calibration images by calibrating sub-regions of the original image corresponding to the sub-groups, and synthesize the at least two or more calibration images.
[0149] The image sensor 230 of the electronic device 101 may include a pixel including four sub-pixels corresponding to one channel, at least two or more image signal processors (first to fourth image signal processors 2601, 2602, 2603, 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 original image corresponding to the first subgroup using the first image signal processor 2601, calibrate a sub-region of the original image corresponding to the second subgroup using the second image signal processor 2602, calibrate a sub-region of the original image corresponding to the third subgroup using the third image signal processor 2603, and calibrate a sub-region of the original image corresponding to the fourth subgroup using the fourth image signal processor 2604.
[0150] The electronic device 101 may synthesize images calibrated by the first to fourth image signal processors (the first to fourth image signal processors 2601 , 2602 , 2603 , and 2604 ).
[0151] 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 an original image using the image sensor 230; group sub-pixels of each pixel corresponding to an equivalent position in a pixel in the image sensor 230; classify the pixel groups into a first sub-group corresponding to the first image signal processor 2601 and a second sub-group corresponding to the second image signal processor 2602; use the first image signal processor 2601 to receive the original image from the image sensor 230; A first calibration image is generated by calibrating a sub-region corresponding to the first sub-group and a sub-region of the original image corresponding to the first sub-group; using a second image signal processor 2602, by receiving a sub-region of the original image corresponding to the second sub-group from the image sensor 230, and after the first image signal processor 2601 receives the sub-region of the original image corresponding to the first sub-group from the image sensor 230, delaying a preset time to calibrate the sub-region of the original image corresponding to the second sub-group to generate a second calibration image; and an image is generated by separating the first calibration image and the second calibration image at an interval of a specified time and synthesizing the first calibration image and the second calibration image.
[0152] The image sensor 230 of the electronic device 101 may include a pixel including four sub-pixels corresponding to one channel, the at least two or more image signal processors may further include a third image signal processor and a fourth image signal processor, the subgroups may further include a third subgroup and a fourth subgroup, and the processor 120 may be configured to: generate a third calibration image using the third image signal processor by delaying a preset time to calibrate the subregion of the original image corresponding to the third subgroup after the second image signal processor receives the subregion of the original image corresponding to the second subgroup from the image sensor to generate a third calibration image, and generate a fourth calibration image using the fourth image signal processor by delaying a preset time to calibrate the subregion of the original image corresponding to the fourth subgroup after the third image signal processor receives the subregion of the original image corresponding to the third subgroup from the image sensor to generate a fourth calibration image.
[0153] The processor 120 of the electronic device 101 may be configured to generate an image by separating the first to fourth calibration images at intervals of a designated time and synthesizing the first to fourth calibration images.
[0154] An image processing method for an electronic device 101 including an image sensor 230 may include: obtaining an original image using the image sensor 230; identifying identification information about multiple sub-regions corresponding to multiple objects included in the original image based on image recognition using the original image; generating a first image by performing a first calibration process on the original image using a first parameter set associated with first identification information corresponding to a first sub-region among the multiple sub-regions; generating a second image by performing a second calibration process on the original image using a second parameter set associated with second identification information corresponding to a second sub-region among the multiple sub-regions; and generating a third image using at least an area of the first image corresponding to the first sub-region and an area of the second image corresponding to the second sub-region.
[0155] The image processing method of the electronic device 101 including the image sensor 230 may further include recognizing object information or scene information about the plurality of sub-regions as at least a part of the recognition information.
[0156] In an image processing method of an electronic device 101 including an image sensor 230, the electronic device may include multiple image signal processors, and the method may include performing a first calibration process using a first image signal processor among the multiple image signal processors, and performing a second calibration process using a second image signal processor among the multiple image signal processors.
[0157] The image processing method of the electronic device 101 including the image sensor 230 may also include: identifying one or more sub-regions in the sub-region corresponding to the identification information that satisfies the specified conditions; and generating a third image using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
[0158] In the image processing method of the electronic device 101 including the image sensor 230, the electronic device may also include at least two or more image signal processors, and the method may include: obtaining an original image using the image sensor, grouping pixels having the same color filter in the image sensor, classifying the pixel groups into subgroups corresponding to the number of image signal processors, and generating at least two or more calibration images by calibrating sub-regions of the original image corresponding to the subgroups and synthesizing at least two or more calibration images.
[0159] In an image processing method of an electronic device 101 including an image sensor 230, the image sensor may include a pixel including four sub-pixels corresponding to one channel, 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 processor, the subgroups may include a first subgroup, a second subgroup, a third subgroup, and a fourth subgroup, and the method may include: using the first image signal processor to calibrate a sub-region of the original image corresponding to the first subgroup, using the second image signal processor to calibrate a sub-region of the original image corresponding to the second subgroup, using the third image signal processor to calibrate a sub-region of the original image corresponding to the third subgroup, and using the fourth image signal processor to calibrate a sub-region of the original image corresponding to the fourth subgroup.
[0160] The image processing method of the electronic device 101 including the image sensor 230 may include synthesizing images calibrated by the first to fourth image signal processors.
[0161] In the image processing method of the electronic device 101 including the image sensor 230, the electronic device may also include at least two or more image signal processors, and the method may include: obtaining an original image using the image sensor; grouping sub-pixels of each pixel corresponding to an equivalent position in a pixel in the image sensor; classifying the pixel group into a first sub-group corresponding to a first image signal processor and a second sub-group corresponding to a second image signal processor; using the first image signal processor, generating a first calibration image by receiving a sub-region of the original image corresponding to the first sub-group from the image sensor and calibrating the sub-region of the original image corresponding to the first sub-group; using the second image signal processor, generating a second calibration image by receiving a sub-region of the original image corresponding to the second sub-group from the image sensor and delaying a preset time to calibrate the sub-region of the original image corresponding to the second sub-group after the first image signal processor receives the sub-region of the original image corresponding to the first sub-group from the image sensor; and generating an image by separating the first calibration image and the second calibration image at intervals of a specified time and synthesizing the first calibration image and the second calibration image.
[0162] In an image processing method of an electronic device 101 including an image sensor 230, the image sensor may include a pixel including four sub-pixels corresponding to one channel, the at least two or more image signal processors may also include a third image signal processor and a fourth image signal processor, the subgroups may also include a third subgroup and a fourth subgroup, and the method may also include: using the third image signal processor to generate a third calibration image by delaying a preset time to calibrate a subregion of the original image corresponding to the third subgroup after the second image signal processor receives the subregion of the original image corresponding to the second subgroup from the image sensor to generate a third calibration image; and using the fourth image signal processor to generate a fourth calibration image by delaying a preset time to calibrate a subregion of the original image corresponding to the fourth subgroup after the third image signal processor receives the subregion of the original image corresponding to the third subgroup from the image sensor to generate a fourth calibration image.
[0163] The image processing method of the electronic device 101 including the image sensor 230 may include generating an image by separating first to fourth calibration images at intervals of a designated time and synthesizing the first calibration image and the second calibration image.
[0164] The electronic device according to various embodiments disclosed herein may be various types of devices. The electronic device 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 household appliance. According to an embodiment, the electronic device is not limited to those described above.
[0165] It should be understood that the various embodiments of the present disclosure and the terms used therein are not intended to limit the technical features set forth herein to specific embodiments, and include various changes, equivalents or alternatives of the corresponding embodiments. With respect to the description of the accompanying drawings, similar reference numerals may be used to refer to similar or related elements. It will be understood that, unless otherwise clearly stated in the relevant context, the singular noun corresponding to the item may include one or more things. As used herein, each of these phrases such as "A or B", "at least one of A and B", "at least one of A or B", "A, B or C", "at least one of A, B and C" and "at least one of A, B or C" may include all possible combinations of the items listed together in the corresponding phrase in the phrase. As used herein, terms such as "first" and "second" may be used to simply distinguish the corresponding component from another component, and do not limit the component in other aspects (e.g., importance or order). It will be understood that if an element (e.g., a first element) is referred to as being “coupled with” or “connected with” with or without the term “operably” or “communicatively,” it means that the element can be coupled to the other element directly (e.g., wired), wirelessly, or via a third element.
[0166] As used herein, the term "module" may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with other terms such as "logic," "logic block," "component," or "circuit." A module may be a single integrated component or a minimum unit or a portion of a minimum unit adapted to perform one or more functions. For example, according to an embodiment, a module may be implemented in the form of an application specific integrated circuit (ASIC).
[0167] The various embodiments described herein may be implemented as software (e.g., program 140) including one or more instructions stored in a storage medium (e.g., internal memory 136 or external memory 138) that can be read by a machine (e.g., electronic device 101). For example, a processor (e.g., processor 120) of a machine (e.g., electronic device 101) may call at least one of the one or more instructions stored in the storage medium and execute at least one instruction. This allows the machine to be operated to perform at least one function according to at least one instruction called. One or more instructions may include code generated by a compiler or code executable by an interpreter. A machine-readable storage medium may be provided in the form of a non-transitory storage medium. Among them, the term "non-transitory" only means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves), but the term does not distinguish between data being semi-permanently stored in the storage medium and data being temporarily stored in the storage medium.
[0168] According to an embodiment, the method according to various embodiments of the present disclosure may be included and provided in a computer program product. The computer program product may be traded between a seller and a buyer as a product. The computer program product may be released in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)), or may be downloaded via an application store (e.g., Play Store TM ) is distributed online (e.g., downloaded or uploaded) or directly between two user devices (e.g., smart phones). If it is published online, at least a part of the computer program product may be temporarily generated or at least temporarily stored in a machine-readable storage medium (such as a memory of a manufacturer's server, an application store's server, or a forwarding server).
[0169] According to various embodiments, each of the above-mentioned components (e.g., a module or a program) may include a single entity or multiple entities. According to various embodiments, one or more components or operations in the above-mentioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (e.g., modules or programs) may be integrated into a single component. In this case, according to various embodiments, the integrated component may still perform one or more functions of each of the multiple components in the same or similar manner as performed by the corresponding components in the multiple components before integration. According to various embodiments, the operations performed by a module, a program or another component may be performed sequentially, in parallel, repeatedly or in a heuristic manner, or one or more operations in the operation may be performed or omitted in a different order, or one or more other operations may be added.
[0170] While the present 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 present disclosure as defined by the appended claims and their equivalents.
Claims
1. An electronic device, include: An image sensor, wherein the image sensor includes a pixel including a plurality of sub-pixels corresponding to one channel; A plurality of image signal processors, including a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal processor, wherein the plurality of image signal processors are configured as follows: Using an image sensor to obtain a raw image; grouping sub-pixels of respective pixels corresponding to equivalent pixel locations in an image sensor; classifying the sub-pixel groups into sub-groups corresponding to the number of the plurality of image signal processors, wherein the sub-groups include a first sub-group, a second sub-group, a third sub-group, and a fourth sub-group; generating a first calibration image by receiving, using a first image signal processor, a sub-region of a raw image corresponding to the first subset from an image sensor and calibrating the sub-region of the raw image corresponding to the first subset; generating a second calibration image by receiving, using a second image signal processor, a sub-region of the original image corresponding to the second sub-group from the image sensor and calibrating the sub-region of the original image corresponding to the second sub-group after the first image signal processor receives the sub-region of the original image corresponding to the first sub-group from the image sensor with a delay of a preset time; generating a third calibration image by calibrating the sub-region of the original image corresponding to the third sub-group by delaying a preset time after the second image signal processor receives the sub-region of the original image corresponding to the second sub-group from the image sensor, using the third image signal processor; generating a fourth calibration image by calibrating the sub-region of the original image corresponding to the fourth sub-group after the third image signal processor receives the sub-region of the original image corresponding to the third sub-group from the image sensor with a delay of a preset time using the fourth image signal processor; An image is generated by separating the first to fourth calibration images at intervals of a specified time and synthesizing the first to fourth calibration images.
2. The electronic device according to claim 1, further comprising: include: Memory; as well as At least one processor configured to: Use the image sensor to obtain the original image, identifying identification information about a plurality of sub-regions corresponding to a plurality of objects included in the original image based on image recognition using the original image, generating a first image by performing a first calibration process on the original image using a first parameter set associated with first identification 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 original image using a second parameter set associated with second identification information corresponding to a second sub-region among the plurality of sub-regions, and The third image is generated 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.
3. The electronic device as claimed in claim 2, in, The at least one processor is further configured to identify object information or scene information about the plurality of sub-regions as at least a part of the identification information.
4. The electronic device as claimed in claim 2, in, The first image signal processor is configured to perform a first calibration process; and The second image signal processor is configured to perform a second calibration process.
5. The electronic device as claimed in claim 2, in, The at least one processor is further configured to: identifying one or more sub-regions among the plurality of sub-regions corresponding to identification information satisfying a specified condition; and A third image is generated using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
6. An image processing method for an electronic device, in, The electronic device includes: an image sensor, wherein the image sensor includes a pixel including a plurality of sub-pixels corresponding to one channel; and a plurality of image signal processors, wherein the plurality of image signal processors include a first image signal processor, a second image signal processor, a third image signal processor, and a fourth image signal processor; The method comprises: Using an image sensor to obtain a raw image; grouping sub-pixels of respective pixels corresponding to equivalent pixel locations in an image sensor; classifying the sub-pixel groups into sub-groups corresponding to the number of the plurality of image signal processors, wherein the sub-groups include a first sub-group, a second sub-group, a third sub-group, and a fourth sub-group; generating a first calibration image by receiving, using a first image signal processor, a sub-region of a raw image corresponding to the first subset from an image sensor and calibrating the sub-region of the raw image corresponding to the first subset; generating a second calibration image by receiving, using a second image signal processor, a sub-region of the original image corresponding to the second sub-group from the image sensor and calibrating the sub-region of the original image corresponding to the second sub-group after the first image signal processor receives the sub-region of the original image corresponding to the first sub-group from the image sensor with a delay of a preset time; generating a third calibration image by calibrating the sub-region of the original image corresponding to the third sub-group by delaying a preset time after the second image signal processor receives the sub-region of the original image corresponding to the second sub-group from the image sensor, using the third image signal processor; generating a fourth calibration image by calibrating the sub-region of the original image corresponding to the fourth sub-group after the third image signal processor receives the sub-region of the original image corresponding to the third sub-group from the image sensor with a delay of a preset time using the fourth image signal processor; An image is generated by separating the first to fourth calibration images at intervals of a specified time and synthesizing the first to fourth calibration images.
7. The method according to claim 6, further comprising: include: recognizing recognition information about a plurality of sub-regions corresponding to a plurality of objects included in the original image based on image recognition using the original image; generating a first image by performing a first calibration process on the original image using a first parameter set associated with first identification 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 original image using a second parameter set associated with second identification information corresponding to a second sub-region among the plurality of sub-regions; and The third image is generated 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.
8. The method according to claim 7, further comprising: include: Object information or scene information about the plurality of sub-regions is identified as at least a part of the identification information.
9. The method according to claim 7, in, The first calibration process is performed using a first image signal processor; and The second calibration process is performed using a second image signal processor.
10. The method of claim 7, further comprising: include: identifying one or more sub-regions among the plurality of sub-regions corresponding to identification information satisfying a specified condition; and A third image is generated using the identified one or more sub-regions obtained via the first calibration process or the second calibration process.
Citation Information
Patent Citations
Image sensor
CN208158780U
method and device for adjusting an image
KR1020180051367A
High resolution upscaling method of high quality image using parallel processing of divisional images
KR1020180067781A
