Image processing apparatus including neural network processor and method of operating the same

By using a neural network processor and a trained neural network model to preprocess, process, and post-process the image data generated by the camera module, the problem of image distortion in the image data is solved, and high-quality images are generated.

CN114598827BActive Publication Date: 2026-11-20SAMSUNG ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111185892.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-12-03
Filing Date
2021-10-12
Publication Date
2026-11-20
Estimated Expiration
2041-10-12

AI Technical Summary

Technical Problem

Existing technologies struggle to effectively remove defects in image data generated by camera modules, such as blur, ghosting, and haze.

Method used

A neural network processor is used to perform image processing operations on image data using a trained neural network model, including preprocessing, image processing, and postprocessing, to remove distortions and defects in the image data.

Benefits of technology

Image processing using neural network processors can effectively remove distortions and defects from image data, generating high-quality corrected image data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114598827B_ABST
    Figure CN114598827B_ABST
Patent Text Reader

Abstract

An image processing apparatus comprising: a camera configured to generate first image data; a pre-processor configured to generate second image data based on performing a pre-processing operation on the first image data; a neural network processor configured to generate third image data according to performing an image processing operation on the second image data based on using a neural network model trained to perform one or more specific image processing operations; and a main processor configured to generate corrected image data based on performing a post-processing operation on the third image data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-reference to related applications

[0002] This application is based on and claims priority to Korean Patent Application No. 10-2020-0167661, filed on December 3, 2020, with the Korean Intellectual Property Office in accordance with 35U.SC §119, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present invention relates to an image processing apparatus and a method for performing image processing operations by using a neural network processor. Background Technology

[0004] Recently, the demand for camera modules, including image sensors, has been increasing. In particular, the demand for high-quality pictures and images is growing. Summary of the Invention

[0005] The present invention relates to an image processing apparatus and a method of operating thereon, the image processing apparatus including a neural network processor using a neural network model trained to perform a plurality of image processing operations. Such image processing operations may include removing defects, such as blur, ghosting, glare, and haze, from image data generated by a camera module (also referred to herein as a camera).

[0006] According to some exemplary embodiments of the present invention, an image processing apparatus may include: a camera configured to generate first image data; a preprocessor configured to generate second image data based on performing preprocessing operations on the first image data; a neural network processor configured to generate third image data based on performing image processing operations on the second image data using a neural network model trained to perform one or more specific image processing operations; and a main processor configured to generate corrected image data based on performing postprocessing operations on the third image data.

[0007] According to some exemplary embodiments of the present invention, an image processing apparatus may include a display, an under-display camera located below the display, and a neural network processor. The under-display camera may be configured to generate first image data capturing images of the external environment outside the image processing apparatus. The neural network processor may be configured to perform image processing operations on the first image data based on a neural network model trained to perform image processing operations on the image data generated by the under-display camera.

[0008] According to some exemplary embodiments of the present invention, a method of operating an image processing apparatus may include: obtaining first image data; generating second image data based on performing a preprocessing operation on the first image data; generating third image data based on performing an image processing operation on the second image data using a neural network model trained to perform one or more specific image processing operations; and generating corrected image data based on performing a postprocessing operation on the third image data. Attached Figure Description

[0009] From the following detailed description taken in conjunction with the accompanying drawings, exemplary embodiments of the inventive concept will become clearer, wherein:

[0010] Figure 1 This is a block diagram illustrating some exemplary embodiments of a neural network system according to the present invention;

[0011] Figure 2 An example of a neural network (NN) structure is shown;

[0012] Figure 3 This is a block diagram illustrating some example embodiments of an image processing apparatus according to a concept of the present invention;

[0013] Figure 4A , Figure 4B and Figure 4C This is a block diagram that describes in detail the operation of a neural network processor according to some exemplary embodiments of the present invention;

[0014] Figure 5 This is a flowchart illustrating a method of operating an image processing apparatus according to some exemplary embodiments of the present invention;

[0015] Figure 6 This is a block diagram that describes in detail the operation of a neural network processor according to some exemplary embodiments of the present invention;

[0016] Figure 7 This is a view illustrating an image processing network module according to some example embodiments of the concept of the present invention;

[0017] Figure 8A , 8B 8C and 8C are block diagrams illustrating some exemplary embodiments of an image processing apparatus according to the concept of the present invention; and

[0018] Figure 9 This is a block diagram illustrating some example embodiments of an electronic device according to a concept of the present invention. Detailed Implementation

[0019] In the following, exemplary embodiments of the inventive concept will be described in detail with reference to the accompanying drawings.

[0020] As described herein, when an operation is described as being performed "by" executing additional operations, it should be understood that the operation may be performed "based on" additional operations, which may include performing the additional operations alone or in combination with other further additional operations.

[0021] Figure 1 This is a block diagram illustrating a neural network system 1 according to some example embodiments of the concept of the present invention.

[0022] The neural network system 1 can infer information contained in input data by training (or learning) a neural network or by analyzing input data using a neural network. The neural network system 1 can determine situations based on the inferred information, or it can control components of an electronic device in which the neural network system 1 is installed. For example, the neural network system 1 can be applied to smartphones, tablets, smart TVs, augmented reality (AR) devices, Internet of Things (IoT) devices, self-driving vehicles, robots, medical devices, drones, advanced driver assistance systems (ADAS), image display devices, or measuring devices that perform speech recognition, image recognition, image classification, and image processing using neural networks, or it can be installed in one of various electronic devices. In some example embodiments, Figure 1 The neural network system 1 can be an application processor. Hereinafter, the neural network system 1 can be applied to (e.g., included in) an image processing device and can perform image processing operations on image data from the camera module 10 (e.g., image data generated by the camera module 10). In some example embodiments, Figure 1 The neural network system 1 can be an image processing device. The term "camera module" can be used interchangeably with "camera" in this paper.

[0023] refer to Figure 1 The neural network system 1 may include a camera module 10, a neural network processor (or neural network device) 20, a central processing unit (CPU) 30, random access memory (RAM) 40, a memory 50, and a display 60 (which may also be interchangeably referred to herein as an image display device). The neural network system 1 may also include input and output modules, a security module, and a power control device or various processors.

[0024] In this embodiment, some or all of the components of the neural network system 1 may be formed on a single semiconductor chip. For example, the neural network system 1 may be implemented by a system-on-a-chip (SoC), and in some example embodiments, may be referred to as an image chip. The components of the neural network system 1 may communicate with each other via bus 70.

[0025] CPU 30 controls the overall operation of neural network system 1. CPU 30 may include one or more processor cores. CPU 30 can process or execute programs and / or data stored in storage areas such as memory 50 by using RAM 40.

[0026] For example, CPU 30 can execute an application and control neural network processor 20 to execute neural network-based tasks required for the execution of the application. The neural network can be a neural network model based on (e.g., including) at least one of the following: Artificial Neural Network (ANN), Convolutional Neural Network (CNN), Region Neural Network with Convolutional Neural Network (R-CNN), Region Proposal Network (RPN), Recurrent Neural Network (RNN), Stacked Deep Neural Network (S-DNN), State Space Dynamic Neural Network (S-SDNN), Deconvolutional Network, Deep Belief Network (DBN), Restricted Boltzmann Machine (RBM), Fully Convolutional Network, Long Short-Term Memory (LSTM) Network, Classification Network, Simple Residual Network, Dense Network, Hierarchical Pyramid Network, or Fully Convolutional Network. However, the neural network model is not limited to these and can include, for example, other n-layer neural networks such as Deep Belief Network, Restricted Boltzmann Machine, deep learning system, Deconvolutional Neural Network (DCNN), Stacked Neural Network (SNN), Deep Belief Network (DBN), Generative Adversarial Network (GAN), Restricted Boltzmann Machine (RBM), etc. Additionally, neural network models may include other forms of machine learning models, such as, for example, linear and / or logistic regression, statistical clustering, Bayesian classification, decision trees, dimensionality reduction such as principal component analysis, expert systems; and / or combinations thereof, including ensembles such as random forests. In some example embodiments, the types of neural network models are not limited thereto. In some example embodiments, the neural network model includes at least one of an artificial neural network (ANN) model or a convolutional neural network (CNN) model.

[0027] The neural network processor 20 can perform neural network operations based on received input data. Furthermore, the neural network processor 20 can generate information signals based on the results of performing neural network operations. The neural network processor 20 can be implemented using a neural network operation accelerator, coprocessor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), graphics processing unit (GPU), neural processing unit (NPU), tensor processing unit (TPU), or multiprocessor system-on-a-chip (MPSoC).

[0028] Camera module 10 can capture images of objects (or entities) outside the neural network system 1 (e.g., the external environment outside the image processing device of the neural network system 1) and can generate image data. For example, camera module 10 may include image sensor 11. Image sensor 11 can convert the light signal of the object into an electrical signal through an optical lens (not shown). For this purpose, image sensor 11 may include a pixel array in which multiple pixels are arranged in a two-dimensional manner. For example, one of multiple reference colors may be assigned to each of the multiple pixels. For example, the multiple reference colors may include red, green, and blue (RGB) or red, green, blue, and white (RGBW).

[0029] Camera module 10 can generate image data using image sensor 11. Image data can be referenced in various ways, such as image frames and frame data. Image data can be provided as input data to neural network processor 20, or it can be stored in memory 50. Image data stored in memory 50 can be provided to neural network processor 20.

[0030] A neural network processor 20, according to some exemplary embodiments of the present invention, can receive image data from a camera module 10 or a memory 50, and can perform neural network operations based on the image data. The neural network processor 20 may include an image processing (IP) network module 22, which is defined by neural network operations based on a specific (or, alternatively, predetermined) neural network model. The configuration of each of the modules described below can be implemented by software blocks, executable hardware blocks, or a combination of software and hardware blocks executed by a specific (or, alternatively, predetermined) processor.

[0031] According to some example embodiments, the IP network module 22 is a neural network model trained to perform at least one of the image processing operations typically performed on the image sensor 11 of the camera module 10. Here, the image processing operations may include various operations such as bad pixel correction (BPC), lens shading correction (LSC), crosstalk correction, white balance (WB) correction, remosaic, demosaic, denoising, deblurring, gamma correction, high dynamic range (HDR), and / or tone mapping. In some example embodiments, the types of image processing operations are not limited to those described above. Reference will be made later. Figure 3 The image processing operations performed by the IP network module 22 are described in detail.

[0032] The IP network module 22 can receive first image data generated by the image sensor 11 of the camera module 10, and can generate second image data by performing image processing operations on the first image data.

[0033] Memory 50 may include at least one of volatile memory or non-volatile memory. Non-volatile memory includes read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), flash memory, phase-change RAM (PRAM), magnetic RAM (MRAM), resistive RAM (RRAM), or ferroelectric RAM (FRAM). Volatile memory includes dynamic RAM (DRAM), static RAM (SRAM), synchronous DRAM (SDRAM), PRAM, MRAM, RRAM, or ferroelectric RAM (FeRAM). In some example embodiments, memory 50 may include at least one of hard disk drive (HDD), solid-state drive (SSD), compact flash (CF) card, secure digital card (SD) card, micro SD card, mini SD card, extreme digital (xD) card, or memory stick.

[0034] Display 60 can display various content (e.g., text, images, videos, icons, and symbols) to a user based on image data received from neural network processor 20. For example, display 60 includes a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display. Display 60 may include a pixel array, in which multiple pixels are arranged in a matrix to display images.

[0035] According to some example embodiments, when the neural network system 1 is implemented by an electronic device such as a smartphone, the camera module 10 may be positioned (e.g., located) below the display 60, such that the display 60 is located between the camera module 10 and the external environment outside the image processing device including the neural network system 1. Therefore, the camera module 10 can generate image data (e.g., first image data as described herein) based on light reflected from an object, passing through the display 60, and reaching the optical lens of the image sensor 11. The path of the light reflected from the object may be altered by pixels included in the display 60 as it passes through the display 60, potentially distorting the image data obtained by capturing the object. Hereinafter, the camera module 10 positioned below the display 60 is referred to as an under-display camera (UDC) module.

[0036] The IP network module 22 of some example embodiments of the present invention can be trained to perform at least one of the above-described image processing operations while removing distortions in the image data generated by the UDC module.

[0037] Figure 2 An example of a neural network (NN) structure is shown. Figure 2 The NN structure can be applied to Figure 1 IP network module 22.

[0038] refer to Figure 2 A neural network (NN) can comprise a first layer L1 through an nth layer Ln (where n is a positive integer). A multi-layered NN can be referred to as a deep neural network (DNN) or a deep learning architecture. Each layer from the first layer L1 to the nth layer Ln can be a linear layer or a non-linear layer. In some example embodiments, at least one layer and at least one non-linear layer can be combined with each other and can be referred to as layers. For example, a linear layer can comprise a convolutional layer or a fully connected layer, and a non-linear layer can comprise a pooling layer or an activation layer.

[0039] For example, the first layer L1 can be a convolutional layer, the second layer L2 can be a pooling layer, and the nth layer Ln, which serves as the output layer, can be a fully connected layer. NN can also include activation layers or layers that perform another operation.

[0040] Each of the multiple layers L1 to Ln can receive an input image frame or a feature map generated from the previous layer as an input feature map, and can generate an output feature map or a recognition signal REC by manipulating the input feature map. Here, a feature map refers to data that expresses various features of the input data. Each of the first feature map to the nth feature map FM1, FM2, FM3, ..., FMn can be in a two-dimensional or three-dimensional matrix (or tensor) including multiple eigenvalues. Each feature map FM1, FM2, FM3, ..., FMn has a width W (or columns), a height H (or rows), and a depth D, which can correspond to the x-axis, y-axis, and z-axis in a coordinate system, respectively. Here, the depth D can be referred to as the number of channels.

[0041] The first layer L1 generates the second feature map FM2 by convolving the first feature map FM1 with the weight map WM. The weight map WM can be a two-dimensional or three-dimensional matrix containing multiple weight values. The weight map WM can be referred to as the kernel. The weight map WM can filter the first feature map FM1 and can be referred to as a filter or kernel. The depth of the weight map WM, i.e., the number of channels, is equal to the depth of the first feature map FM1, i.e., the number of channels, and the same channels of the weight map WM and the first feature map FM1 can be convolved with each other. The weight map WM is shifted in an iterative manner using the first feature map FM1 as a sliding window. During each shift, each weight included in the weight map WM can be multiplied and added to all feature values ​​in the region where the weight map WM overlaps with the first feature map FM1. When the first feature map FM1 is convolved with the weight map WM, one channel of the second feature map FM2 can be generated. Figure 2 The image shows a weight map WM. However, in reality, multiple weight maps are convolved with the first feature map FM1 to generate multiple channels of the second feature map FM2. That is, the number of channels in the second feature map FM2 can correspond to the number of weight maps.

[0042] The second layer L2 can generate a third feature map FM3 by modifying the spatial size of the second feature map FM2 through pooling. This pooling can be referred to as sampling or downsampling. The two-dimensional pooling window PW is shifted over the second feature map FM2 in units of its size, and the maximum value (or average value) of the eigenvalues ​​in the region where the second feature map FM2 overlaps with the pooling window PW can be selected. Therefore, a third feature map FM3 with a modified spatial size can be generated from the second feature map FM2. The number of channels in the third feature map FM3 is equal to the number of channels in the second feature map FM2.

[0043] The nth layer Ln can classify the category CL of the input data by combining the features of the nth feature map FMn. Furthermore, a recognition signal REC corresponding to the category CL can be generated.

[0044] Figure 3 This is a block diagram illustrating some exemplary embodiments of an image processing apparatus 1000 according to a concept proposed in this invention. Specifically, Figure 3 It is shown that Figure 1 The neural network system 1 is shown in some example embodiments implemented by the image processing device 1000.

[0045] The image processing device 1000 can be implemented by an electronic device that captures images, displays captured images, or performs operations based on captured images. The image processing device 1000 can be implemented by, for example, a personal computer (PC), an IoT device, or a portable electronic device. Portable electronic devices can include laptops, mobile phones, smartphones, tablet PCs, personal digital assistants (PDAs), enterprise digital assistants (EDAs), digital still cameras, digital video cameras, audio equipment, portable multimedia players (PMPs), personal navigation devices (PNDs), MP3 players, handheld game consoles, e-book readers, or wearable devices. Furthermore, the image processing device 1000 can be installed in electronic devices such as drones or ADAS, or in electronic devices included as part of vehicles, furniture, manufacturing equipment, doors, or measuring equipment.

[0046] refer to Figure 3 The image processing apparatus 1000 may include a camera module 1100 (which may also be interchangeably referred to herein as a camera) and an image processing system 1200. The image processing apparatus 1000 may also include other components, such as a user interface. The image processing system 1200 may include a preprocessor 100, a neural network processor 200, and a main processor 300. The camera module 1100 and the neural network processor 200 may respectively correspond to... Figure 1 The camera module 10 and the neural network processor 20.

[0047] Each of the preprocessor 100, neural network processor 200, and main processor 300 can be implemented using a single semiconductor chip or multiple semiconductor chips. Furthermore, the image processing system 1200 or image processing device 1000 can be implemented using a SoC (System-on-a-Chip). Figure 3 In this illustration, the preprocessor 100 and the main processor 300 are shown as separate from each other; this is merely one example embodiment. The preprocessor 100 and the main processor 300 may be implemented using a single component.

[0048] The image sensor 1110 of the camera module 1100 may include a color filter array (CFA) with a specific (or alternatively, predetermined) pattern. The CFA can convert light signals from an object incident through the optical lens LS into electrical signals, generate first image data IDTa based on the electrical signals, and output the generated first image data IDTa. In some example embodiments, the CFA may have a Bayer pattern, in which cells, each having a 2×2 size and including red pixels, blue pixels, and two green pixels, are repeatedly arranged. In some example embodiments, the CFA may have a tetra pattern, in which cells, each having a 4×4 size and including four red pixels, four blue pixels, and eight green pixels, are repeatedly arranged. In some example embodiments, the CFA may have a nona pattern, in which cells, each having a 6×6 size and including nine red pixels, nine blue pixels, and eighteen green pixels, are repeatedly arranged. In some example embodiments, the types of CFA patterns are not limited to the above examples, and the CFA may have a pattern in which cells, each having a larger size, are repeatedly arranged. In the following description, for convenience, CFA will be assumed to correspond to the tetra mode. However, the inventive concept is not limited thereto.

[0049] Image sensor 1110 may include, for example, a pixel array comprising a plurality of pixels arranged in a two-dimensional manner and readout circuitry, wherein the pixel array can convert received optical signals into electrical signals. The pixel array may be implemented using, for example, photoelectric conversion devices, such as charge-coupled devices (CCDs) or complementary metal-oxide-semiconductor (CMOS) devices, or one of various photoelectric conversion devices. The readout circuitry may generate raw data based on the electrical signals provided by the pixel array and may output noise-removed raw data as first image data IDTa. Image sensor 1110 may be implemented using a semiconductor chip or package including the pixel array and readout circuitry.

[0050] The preprocessor 100 can perform preprocessing operations on first image data IDTa and can generate second image data IDTb based on the preprocessing operations performed on the first image data IDTa. For example, the preprocessor 100 can be configured to perform preprocessing operations on the first image data IDTa that may include at least one of BPC operation, LSC operation, crosstalk correction operation, or WB correction operation. In some example embodiments, the inventive concept is not limited thereto. According to some example embodiments, the preprocessing operations may include demosaic operation, denoising operation, and deblurring operation. The preprocessor 100 can send the second image data IDTb generated by performing the preprocessing operations to the neural network processor 200. The preprocessor 100 can send the second image data IDTb generated by performing the preprocessing operations to the neural network processor 200 and the main processor 300.

[0051] The neural network processor 200, according to some example embodiments, may include an IP network module 220. The IP network module 220 may generate third image data IDTc based on performing at least one image processing operation on second image data IDTb. As a non-limiting example, the IP network module 220 may be trained to perform at least one of a re-mosaic operation, a de-mosaic operation, a denoising operation, a deblurring operation, an HDR operation, or a tone mapping operation. The neural network processor 200 may send the third image data IDTc to the main processor 300.

[0052] The main processor 300 can generate corrected image data CDT based on post-processing operations performed on the third image data IDTc. The main processor 300 can then send the generated corrected image data CDT to a display.

[0053] Post-processing operations may include image processing operations complementary to pre-processing operations. As a non-limiting example, post-processing operations may include an inverse WB correction operation. In another example, the main processor 300 may be configured to perform (e.g., as part or all of a post-processing operation) at least one of an inverse WB correction operation, a re-mosaic operation, a de-mosaic operation, a denoising operation, a deblurring operation, a gamma correction operation, an HDR operation, or a tone mapping operation. Furthermore, post-processing operations may include... Figure 1 The image processing operations described above include the remaining image processing operations besides those performed by the preprocessor 100 and the IP network module 220. In this case, the remaining image processing operations performed by the main processor 300 can vary depending on the type of image processing operations performed by the main processor 300 and the IP network module 220.

[0054] In some example embodiments, the IP network module 220, instead of the preprocessor 100, may perform all or part of the preprocessing operations performed by the preprocessor 100. For example, the IP network module 220 may be trained to perform at least one of BPC, LSC, crosstalk correction, or WB correction operations. That is, the IP network module 220 may be trained to perform image processing operations, such as denoising operations and the aforementioned preprocessing operations. When the IP network module 220 performs all the preprocessing operations of the preprocessor 100, the preprocessor 100 may be omitted.

[0055] In some example embodiments, the IP network module 220, instead of the main processor 300, can perform all or part of the post-processing operations performed by the main processor 300. For example, the IP network module 220 can perform inverse WB correction. That is, the IP network module 220 can be trained to perform image processing operations, such as denoising operations and the post-processing operations described above. When the IP network module 220 performs all the post-processing operations of the main processor 300, the main processor 300 can be omitted.

[0056] In some example embodiments, in Figure 3 The diagram illustrates preprocessor 100, neural network processor 200, and main processor 300 performing image processing operations sequentially. However, the inventive concept is not limited thereto. For example, neural network processor 200, preprocessor 100, and main processor 300 may perform image processing operations sequentially.

[0057] Furthermore, in another example, image data processed by preprocessor 100 (e.g., second image data IDTb) can be sent to neural network processor 200 and main processor 300, and the neural network processor 200 and main processor 300 can perform image processing operations in parallel. Neural network processor 200 can send image data processed by neural network processor 200 (e.g., third image data IDTc) to main processor 300, and main processor 300 can merge the image data processed by preprocessor 100 (e.g., second image data IDTb) with the image data processed by neural network processor 200 (e.g., third image data IDTc). To perform post-processing operations, main processor 300 can generate fourth image data based on a separate post-processing operation on the second image data IDTb, and generate corrected image data CDT based on merging the third image data IDTb with the fourth image data. The post-processing can be performed at least partially concurrently with the execution of the image processing operations to generate the third image data IDTc.

[0058] Reference Figures 4A to 4C The operation of the IP network module 220 according to some example embodiments is described in detail.

[0059] Image processing apparatus 1000 and / or a portion thereof (e.g., neural network processor 200) according to some exemplary embodiments of the present invention can perform image processing operations based on a neural network model trained to perform multiple image processing operations. The neural network model can be trained to perform at least one of re-mosaic, de-mosaic, denoising, deblurring, gamma correction, high dynamic range (HDR), or tone mapping operations. Furthermore, because the neural network model is trained using raw image data as input data, image processing operations can be performed without converting the full resolution of the raw image data to a quarter resolution. Therefore, image processing apparatus 1000 can generate images with high resolution and high quality.

[0060] It should be understood that operations performed by separate processors of the image processing apparatus 1000 and / or operations trained to be performed by neural network models used by one or more processors of the image processing apparatus 1000 may be similar to or different from each other. For example, the neural network model of the neural network processor 200 may be trained to perform a heavy mosaic operation, and the main processor may be configured to perform a heavy mosaic operation that is the same as or different from the heavy mosaic operation that the neural network model is trained to perform.

[0061] Figures 4A to 4C This is a block diagram detailing the operation of a neural network processor according to some exemplary embodiments of the present invention. In the following text, because... Figures 4A to 4C The configuration of the modules shown is only an exemplary embodiment, so the inventive concept is not limited thereto, and the configuration of modules for more preprocessing operations or postprocessing operations can be added to the image processing systems 1200a, 1200b and 1200c.

[0062] refer to Figure 4A The image processing system 1200a may include a preprocessor 100a, a neural network processor 200a, and a main processor 300a. The preprocessor 100a may include a bad pixel correction (BPC) module 110a. The neural network processor 200a may include an IP network module 210a. The IP network module 210a may be a neural network model trained to perform denoising and deblurring operations. The main processor 300a may include a re-mosaic module 310a and a de-mosaic module 320a, and can therefore be configured to perform re-mosaic and de-mosaic operations.

[0063] The preprocessor 100a can receive first image data IDTa (hereinafter referred to as first tetra data) of type tetra, and can generate second tetra data IDTb by performing a preprocessing operation including a BPC operation on the first tetra data IDTa. Specifically, the BPC module 110a can perform a BPC operation on the first tetra data IDTa to correct the pixel data corresponding to bad pixels.

[0064] The neural network processor 200a can receive second tetra data IDTb from the preprocessor 100a and can perform image processing operations on the second tetra data IDTb using the IP network module 210a. Specifically, the IP network module 210a can generate third tetra data IDTc by performing denoising and deblurring operations on the second tetra data IDTb. For example, the IP network module 210a can remove noise and blur from the second tetra data IDTb. According to some example embodiments, because the IP network module 210a does not perform re-mosaic and de-mosaic operations, the input and output data of the IP network module 210a are tetra mode image data.

[0065] In some example embodiments, the IP network module 210a may be a neural network model trained to perform the aforementioned denoising and deblurring operations and remove distortions in the image data generated by a specific UDC module. Therefore, although the first tetra data IDTa is generated by the camera module 1100, i.e., the UDC module located below the display, the IP network module 210a can generate the third tetra data IDTc by removing the distortions caused by the UDC module in the second tetra data IDTb.

[0066] The main processor 300a can receive third tetra data IDTc from the neural network processor 200a and can generate RGB data IDTd by performing re-mosaic and de-mosaic operations on the third tetra data IDTc. Specifically, the re-mosaic module 310a can convert the third tetra data IDTc into Bayer data, and the de-mosaic module 320a can convert the Bayer data into RGB data CDT including red, blue, and green channels. In some example embodiments, the inventive concept is not limited thereto, and according to some example embodiments, the third tetra data IDTc can be converted into YUV data.

[0067] refer to Figure 4BThe image processing system 1200b may include a preprocessor 100b, a neural network processor 200b, and a main processor 300b. The preprocessor 100b may include a BPC module 110b. The neural network processor 200b may include an IP network module 210b. The IP network module 210b may be a neural network model trained to perform denoising, deblurring, and re-mosaic operations. The main processor 300b may include a demosaic module 310b and can therefore be configured to perform demosaic operations.

[0068] The preprocessor 100b can receive first tetra data IDTa of type tetra, and can generate second tetra data IDTb by performing a preprocessing operation including a BPC operation on the first tetra data IDTa. Specifically, the BPC module 110b can perform a BPC operation on the first tetra data IDTa to correct the pixel data corresponding to bad pixels.

[0069] The neural network processor 200b can receive second tetra data IDTb from the preprocessor 100b and can perform image processing operations on the second tetra data IDTb using the IP network module 210b. Specifically, the IP network module 210b can generate Bayer data IDTc by performing denoising, deblurring, and re-mosaic operations on the second tetra data IDTb. For example, the IP network module 210b can remove noise and blur from the second tetra data IDTb and can convert the second tetra data IDTb into Bayer pattern image data. According to some example embodiments, because the IP network module 210b does not perform operations and de-mosaic operations, the input and output data of the IP network module 210b are tetra pattern image data.

[0070] In some example embodiments, the IP network module 210b may be a neural network model trained to perform the aforementioned denoising, deblurring, and re-mosaic operations, and to remove distortions in the image data generated by a specific UDC module. Therefore, although the first tetra data IDTa is generated by the camera module 1100, i.e., the UDC module located below the display, the IP network module 210b can generate Bayer data IDTc by removing the distortions caused by the UDC module in the second tetra data IDTb.

[0071] The main processor 300b can receive Bayer data IDTc from the neural network processor 200b and can generate RGB data CDT by performing a demosaicing operation on the Bayer data IDTc. Specifically, the demosaicing module 310b can convert the Bayer data IDTc into RGB data CDT. In some example embodiments, the inventive concept is not limited thereto, and according to some example embodiments, the Bayer data IDTc can be converted into YUV data.

[0072] refer to Figure 4C The image processing system 1200c may include a preprocessor 100c, a neural network processor 200c, and a main processor 300c. The preprocessor 100c may include a BPC module 110c. The neural network processor 200c may include an IP network module 210c. The IP network module 210c may be a neural network model trained to perform denoising, deblurring, re-mosaic, and demosaic operations. The main processor 300c may include a post-processing module 310c.

[0073] The preprocessor 100c can receive first tetra data IDTa of type tetra, and can generate second tetra data IDTb by performing a preprocessing operation including a BPC operation on the first tetra data IDTa. Specifically, the BPC module 110c can perform a BPC operation on the first tetra data IDTa to correct the pixel data corresponding to bad pixels.

[0074] The neural network processor 200c can receive second tetra data IDTb from the preprocessor 100c and can perform image processing operations on the second tetra data IDTb using the IP network module 210c. Specifically, the IP network module 210c can generate first RGB data IDTc by performing denoising, deblurring, re-mosaicing, and de-mosaicing operations on the second tetra data IDTb. For example, the IP network module 210c can remove noise and blur from the second tetra data IDTb, convert the second tetra data IDTb into Bayer pattern image data, and convert the Bayer pattern image data into RGB data. In some example embodiments, the inventive concept is not limited thereto, and according to some example embodiments, the second tetra data IDTb can be converted into YUV data. According to some example embodiments, because the IP network module 210c performs re-mosaicing and de-mosaicing operations, the input data of the IP network module 210c is tetra pattern image data, and the output data is image data with RGB channels (or YUV channels).

[0075] In some example embodiments, the IP network module 210c may be a neural network model trained to perform the aforementioned denoising, deblurring, re-mosaicing, and de-mosaicing operations, and to remove distortions in image data generated by a specific UDC module. Therefore, although the first tetra data IDTa is generated by the camera module 1100, i.e., the UDC module located below the display, the IP network module 210c can generate RGB data IDTc by removing distortions caused by the UDC module from the second tetra data IDTb.

[0076] The main processor 300c can receive first RGB data IDTc from the neural network processor 200c and can generate second RGB data CDT by performing post-processing operations on the first RGB data IDTc. Specifically, the post-processing module 310c can generate the second RGB data CDT by performing an inverse WB correction operation on the first RGB data IDTc, merging multiple images to achieve an HDR operation with a wide illumination range, and converting the HDR image into a tone map suitable for display. In some example embodiments, the types of post-processing operations performed by the post-processing module 310c are not limited to the examples described above.

[0077] In some example embodiments, in Figures 4A to 4C The diagram shows preprocessors 100a, 100b, and 100c comprising only BPC modules 110a, 110b, and 110c. However, the inventive concept is not limited thereto. For example, preprocessors 100a, 100b, and 100c may also include separate modules for performing LSC operations to correct image brightness, crosstalk correction operations to correct sensitivity differences between green pixels, and WB correction operations to control color balance.

[0078] In addition, Figures 4A to 4C The diagram shows that main processors 300a and 300b include only re-mosaic modules and / or de-mosaic modules. However, the inventive concept is not limited thereto. For example, main processors 300a and 300b may also include separate modules for performing inverse WB correction operations, merging multiple images to achieve HDR operations with a wide illumination range, and converting HDR images into tone mapping operations suitable for display.

[0079] Figure 5 This is a flowchart illustrating a method of operating an image processing apparatus according to some exemplary embodiments of the present invention. In detail, Figure 5 This is an example of the operation reference above. Figures 3 to 4CFlowcharts of methods for image processing systems 1200, 1200a, 1200b, and 1200c are provided. For convenience, the operation of image processing system 1200 is described below. However, this description can also be applied to image processing systems 1200a, 1200b, and 1200c. References will be helpful. Figure 5 The described operations can be performed by any of the image processing devices according to any of the example embodiments. It will also be understood that adjustments can be made. Figure 5 The sequence of operations shown includes making at least some operations execute at least partially concurrently (e.g., in parallel). Figure 5 One or more of the operations shown can be omitted from the method of operating the image processing system according to some example embodiments, and Figure 5 One or more additional operations, not shown in the diagram, can be added to this method.

[0080] refer to Figure 5 The image processing system 1200 can obtain first image data in operation S110. For example, the image processing system 1200 can obtain first image data generated by the camera module 1100. The first image data can be received from the camera module 1100 or obtained from memory. The first data can have one of various modes, such as Bayer mode, Tetra mode, and / or Nona mode.

[0081] In operation S120, the image processing system 1200 or a portion thereof (e.g., preprocessor 100) may perform preprocessing operations on the first image data. Specifically, the image processing system 1200 may generate second image data by performing preprocessing operations on the first image data (e.g., based on), which may include one or more preprocessing operations, including BPC operations, LSC operations, crosstalk correction operations, and / or WB correction operations. In some example embodiments, the types of preprocessing operations are not limited to the examples described above, and the preprocessing operations may include various image processing operations, such as demosaic operations, denoising operations, and deblurring operations.

[0082] Image processing system 1200 or a portion thereof (e.g., neural network processor 200) may perform image processing operations on second image data based on a neural network model that has been learned (e.g., trained) to perform one or more specific (or, alternatively, predetermined) image processing operations. Specifically, image processing system 1200 may generate third image data by performing image processing operations on the second image data using IP network module 220 that has been trained to perform at least one of re-mosaic, de-mosaic, denoising, deblurring, HDR, or tone mapping operations. In some example embodiments, IP network module 220 may be a neural network model trained to perform the aforementioned image processing operations and eliminate distortion in the image data generated by the UDC module. To reiterate, IP network module 220 may be a neural network model trained to perform at least operation S130 on the image data generated by the UDC module.

[0083] The type of input data (i.e., second image data) to the IP network module 220 can vary depending on the type of image data generated by the camera module 1100. For example, when the camera module 1100 generates Bayer pattern image data, the Bayer pattern image data can be input to the IP network module 220. Alternatively, when the camera module 1100 generates Tetra or Nana pattern image data, the Tetra or Nana pattern image data can be input to the IP network module 220.

[0084] The type of output data (i.e., third image data) of IP network module 220 can vary depending on the implementation example of IP network module 220. For example, when IP network module 220 is trained to perform re-mosaic and de-mosaic operations, RGB data can be output as output data. In some example embodiments, when IP network module 220 is trained to perform re-mosaic operations, Bayer mode image data can be output as output data. In some example embodiments, when IP network module 220 is trained to perform image processing operations other than re-mosaic and de-mosaic operations, it can output output data of the same type as the image data generated by camera module 1100. The neural network model used by IP network module to generate third image data based on performing image processing operations on second image data can include image data with tetra mode or nona mode as input data, and use image data with Bayer mode or RGB image data as output data, wherein in tetra mode, pixels with one of the reference colors are arranged in a 4×4 matrix, and in nona mode, pixels with one of the reference colors are arranged in a 6×6 matrix.

[0085] In operation S140, the image processing system 1200 may perform post-processing operations on the third image data. Specifically, the image processing system 1200 and / or a portion thereof (e.g., the main processor 300) may generate fourth image data based on performing image processing operations complementary to the preprocessing operations (e.g., inverse WB correction operations) on the third image data, or by performing post-processing operations including image processing operations not performed in operations S110 and S120. For example, performing post-processing operations at S140 may include generating fourth image data based on performing a separate post-processing operation on the second image data generated at S110 (e.g., at the main processor of the image processing device, and in parallel or concurrently with at least the currently executing S130), and further generating corrected image data based on merging the third image data generated at S130 with the fourth image data.

[0086] Figure 6 This is a block diagram that describes in detail the operation of a neural network processor according to some exemplary embodiments of the present invention.

[0087] refer to Figure 6 The image processing system 1200d may include a neural network processor 200d. The neural network processor 200d may include an IP network module 210d. Figures 4A to 4C In contrast, the neural network processor 200d can generate RGB data CDT by performing all image processing operations, including preprocessing and post-processing, on the tetra data IDTa. That is, the IP network module 210d can be a neural network model trained to perform all image processing operations. Therefore, the neural network processor 200d can replace... Figures 4A to 4C All operations of the preprocessors 100a, 100b and 100c and the main processors 300a, 300b and 300c.

[0088] Figure 7 This is a view illustrating some example embodiments of an IP network module according to a concept proposed in this invention. In detail, Figure 7 It is shown Figure 1 A view of the IP network module 22. In some example embodiments, Figure 7 The description can also be applied to Figures 3 to 4C and Figure 6 IP network modules 210a, 210b, 210c and 210d.

[0089] refer to Figure 7 The IP network module 22 can perform a specific (or alternatively, predetermined) image processing operation by using the original image as input data, and can generate a corrected image as the result of performing the specific (or alternatively, predetermined) image processing operation.

[0090] In some example embodiments, the IP network module 22 can be learned (e.g., a neural network model used by the IP network module 22 can be trained) based on images generated by the UDC module (e.g., original images) as input data and a corrected image obtained by removing distortions from the input data as output data. The neural network model can be trained based on images generated by the UDC module (images which are interchangeably referred to herein as first training data) as input data and a corrected image obtained by performing one or more specific (or, alternatively, predetermined) image processing operations on the "first training data" as output data (the corrected image which is interchangeably referred to herein as second training data). The original image generated by the UDC module may include distortions such as blur, ghosting, haze, and glare. Therefore, the IP network module 22 can be trained to perform de-mosaicing, de-mosaicing, denoising, and deblurring operations while processing the distortions included in the original image.

[0091] In some example embodiments, the IP network module 22 can be learned by using additional information and the original image as input data. For example, the IP network module 22 can be learned to generate a corrected image by using the original image, bad pixel information, and noise level measurement information as input data.

[0092] In some example embodiments, the IP network module 22 may include multiple neural network modules CNN1, CNN2, ..., and CNNn, where "n" is a positive integer. For example, the IP network module 22 may include multiple neural network modules CNN1, CNN2, ..., and CNNn, each corresponding to a multiple image processing operation or a combination of multiple image processing operations. In some example embodiments, in Figure 7 The diagram illustrates multiple neural network modules CNN1, CNN2, ..., and CNNn, which are CNN models; these are merely some example embodiments. The inventive concept is not limited thereto. For example, IP network module 22 may include multiple CNN models and ANN models.

[0093] In some example embodiments, the IP network module 22 may be pre-learned by the manufacturer and may be included during the manufacture of the image processing system 1200. Specifically, the image processing system 1200 may be manufactured concurrently with the production of the IP network module 22, which may be learned by the manufacturer based on raw and corrected images collected by multiple image processing systems 1200.

[0094] Figures 8A to 8C This is a block diagram illustrating some exemplary embodiments of an image processing apparatus 2000 according to a concept proposed in this invention. In detail, Figures 8A to 8C It is shown Figure 3A view of a modifiable embodiment of the image processing apparatus 1000.

[0095] refer to Figure 8A The image processing apparatus 2000 may include a camera module 2100 and an image processing system 2200. The camera module 2100 may include an image sensor 2110 and a preprocessor 2120. The image processing system 2200 may include a neural network processor 2300 and a main processor 2400. The neural network processor 2300 may include an IP network module 2310.

[0096] and Figure 3 Compared to the image processing device 1000, Figure 8A The image processing apparatus 2000 may include a preprocessor 2120 within the camera module 2100. The preprocessor 2120 can generate second image data IDTb by performing preprocessing operations on first image data IDTb generated by the image sensor 2110. The preprocessor 2120 may then send the second image data IDTb to the neural network processor 2300. Because the description of the preprocessing operations can actually be compared with a reference... Figure 3 The given description is the same, so the previously given description has been omitted.

[0097] According to some example embodiments, the neural network processor 2300 can generate third image data IDTc by performing at least one image processing operation on second image data IDTb received by the IP network module 2310. The neural network processor 2300 can then send the third image data IDTc to the main processor 2400. Because the description of the IP network module 2310 can be found in the references... Figure 3 The given description is the same, so the previously given description has been omitted.

[0098] According to some example embodiments, the main processor 2400 can generate corrected image data CDT by performing post-processing operations on third image data IDTc. The main processor 2400 can then send the corrected image data CDT to a display. Because the description of the post-processing operations can be found in the reference... Figure 3 The given description is the same, so the previously given description has been omitted.

[0099] refer to Figure 8B The image processing device 3000 may include a camera module 3100 and an image processing system 3200. The camera module 3100 may include an image sensor 3110 and a first IP network module 3120. The image processing system 3200 may include a neural network processor 3300 and a main processor 3400. The neural network processor 3300 may include a second IP network module 3310.

[0100] and Figure 8A Compared to the image processing device 2000, in Figure 8B In the image processing apparatus 3000, a first IP network module 3120 may be included in the camera module 3100, and a second IP network module 3310 may be included in the neural network processor 3300. The first IP network module 3120 is implemented to perform... Figure 8A Some features of the preprocessor 2120 and Figure 8A The IP network module 2310 has a neural network model. To reiterate, the first IP network module 3120 can be understood as a first neural network processor, and the neural network processor 3300 can be understood as a second neural network processor.

[0101] For example, the first IP network module 3120 can be implemented to perform some of the following operations: de-mosaicing, denoising, and deblurring, as well as preprocessing operations such as BPC, LSC, crosstalk correction, and WB correction. In some example embodiments, although not in Figure 8B As shown, camera module 3100 may include a processing unit (e.g., a neural network processor) that performs the first IP network module 3120.

[0102] The first IP network module 3120 can generate second image data IDTb by performing image processing operations on the first image data IDTb generated by the image sensor 3110. The first IP network module 3120 can then send the second image data IDTb to the neural network processor 3300.

[0103] According to some example embodiments, the neural network processor 3300 can generate third image data IDTc by performing at least one image processing operation on the second image data IDTb received by the second IP network module 3310. The second IP network module 3310 is implemented to perform... Figure 8AThe image processing device 3000 may include a neural network model of some functions of the IP network module 2310, and may be implemented to perform image processing operations not performed by the first IP network module 3120. The neural network processor 3300 may send third image data IDTc to the main processor 3400. Therefore, it will be understood that the neural network model implemented by the neural network processor of the image processing device 3000 may include a first neural network model, i.e., included in and / or implemented by the first IP network module 3120, and configured to perform the first image processing operation, and the neural network model may also include a second neural network model, i.e., included in and / or implemented by the second IP network module 3310, and configured to perform a second image processing operation that may be the same as or different from the first image processing operation. The neural network processor of the image processing device 3000 may include a first neural network processor and a second neural network processor. The first neural network processor may include and / or implement a first IP network module 3120 and may be configured to execute the first neural network module. The second neural network processor may include and / or implement a second IP network module 3310, wherein the first neural network processor is included in the camera module 3100.

[0104] According to some example embodiments, the main processor 3400 can generate corrected image data CDT by performing post-processing operations on third image data IDTc. The main processor 3400 can then send the corrected image data CDT to a display. Because the description of the post-processing operations can be found in the reference... Figure 3 The given description is the same, so the previously given description has been omitted.

[0105] In some example embodiments, the inventive concept is not limited thereto, and the first IP network module 3120 may be implemented to perform... Figure 8A The IP network module 2310 performs some functions of the neural network model without performing the functions of the preprocessor 2120. In this case... Figure 8A The preprocessor 2120 can be included in the camera module 3100, and the first IP network module 3120 can process the image data received from the preprocessor 2120.

[0106] refer to Figure 8C The image processing apparatus 4000 may include a camera module 4100 and an image processing system 4200. The camera module 4100 may include an image sensor 4110 and an IP network module 4120. The image processing system 4200 may include a main processor 4300. The camera module 4100 may include the IP network module 4120.

[0107] and Figure 8ACompared to the image processing device 2000, in Figure 8C In the image processing apparatus 4000, an IP network module 4120 (and thus a neural network processor of the image processing apparatus as described herein) may be included in the camera module 4100. The IP network module 4120 is implemented to perform... Figure 8A All the features of the preprocessor 2120 and Figure 8A The IP network module 2310 is a neural network model of its functionality. For example, the IP network module 4120 can be implemented to perform all of the following operations: demosaicing, denoising, and deblurring, as well as preprocessing operations such as BPC, LSC, crosstalk correction, and WB correction. In some example embodiments, although not in Figure 8C As shown, camera module 4100 may include a processing unit (e.g., a neural network processor) that performs the IP network module 4120.

[0108] IP network module 4120 can generate second image data IDTb by performing image processing operations on first image data IDTb generated by image sensor 4110. IP network module 4120 can then send the second image data IDTb to main processor 4300.

[0109] According to some example embodiments, the main processor 4300 can generate corrected image data CDT by performing post-processing operations on the second image data IDTb. The main processor 4300 can then send the corrected image data CDT to a display. Because the description of the post-processing operations can be found in the reference... Figure 3 The given description is the same, so the previously given description has been omitted.

[0110] In some example embodiments, the inventive concept is not limited thereto, and the IP network module 4120 may be implemented to perform... Figure 8A The IP network module 2310 performs all the functions of the neural network model without executing the functions of the preprocessor 2120. In this case... Figure 8A The preprocessor 2120 can be included in the camera module 4100, and the IP network module 4120 can process the image data received from the preprocessor 2120.

[0111] As described above, the image processing apparatus 2000, 3000, and 4000 according to the present invention can be implemented such that... Figure 3 At least some functions of the preprocessor 100 and / or IP network module 220 are performed by camera modules 2100, 3100 and 4100.

[0112] Figure 9This is a block diagram illustrating some example embodiments of an electronic device 5000 according to a concept of the present invention. For example, the electronic device 5000 may be a portable terminal.

[0113] refer to Figure 9 An electronic device 5000, according to some exemplary embodiments of the present invention, may include an application processor 5100, a camera module 5200, a working memory 5500, a storage device 5600, a user interface 5700, a wireless transceiver 5800, and a display device 5900 (which may also be interchangeably referred to herein as a display), and the application processor 5100 may include an image signal processor 5300 and a neural network processor 5400. References Figure 1 The image processing operations described in some example embodiments of the present invention can be applied to the image signal processor 5300 and the neural network processor 5400. According to some example embodiments, the image signal processor 5300 and the neural network processor 5400 can be implemented by integrated circuits separate from the application processor 5100.

[0114] Application processor 5100 can be provided as a SoC to control the overall operation of electronic device 5000 and drive applications and operating system (OS). Application processor 5100 can control the operation of image signal processor 5300 and can provide image data generated by image signal processor 5300 to display device 5900 or storage device 5600.

[0115] The camera module 5200 can generate image data, such as raw image data, based on the received light signal, and can provide the image data to the image signal processor 5300.

[0116] The working memory 5500 can be implemented using volatile memory such as DRAM or SRAM, or non-volatile resistive memory such as FeRAM, RRAM, or PRAM. The working memory 5500 can store programs and / or data processed or executed by the application processor 5100.

[0117] Storage device 5600 can be implemented using non-volatile memory such as NAND flash memory or resistive memory, and for example, storage device 5600 can be provided as a memory card, such as a multimedia card (MMC), an embedded MMC (eMMC), a secure digital card (SD) card, or a micro SD card. Storage device 5600 can store data and / or execution algorithms that control image processing operations of image signal processor 5300, and when image processing operations are executed, the data and / or programs can be loaded onto working memory 5500. According to some example embodiments, storage device 5600 can store image data generated by image signal processor 5300, such as converted image data or post-processed image data.

[0118] The user interface 5700 can be implemented by one of various devices capable of receiving user input, such as a keypad, keyboard, switch, curtain keypad, touch panel, fingerprint sensor, and microphone. The user interface 5700 can receive user input and can provide the application processor 5100 with signals corresponding to the received user input. The wireless transceiver 5800 may include a transceiver 5810, a modem 5820, and an antenna 5830.

[0119] In some exemplary embodiments, some or all of the apparatus, system, electronic device and / or elements thereof (including, but not limited to, any one of, the elements of neural network system 1, image processing devices 1000, 1200a-1200d, IP network module 22, image processing devices 2000-4000, electronic device 5000, etc.) and / or any part thereof (including, but not limited to, any block, module, processor, camera, etc.) described herein with reference to any of the accompanying drawings may include one or more instances of a processor, such as hardware including logic circuitry; hardware / software combinations, such as a processor executing software; or combinations thereof; may be included in one or more instances of a processor, such as hardware including logic circuitry; hardware / software combinations, such as a processor executing software; or combinations thereof; or implemented by one or more instances of a processor, such as hardware including logic circuitry; hardware / software combinations, such as a processor executing software; or combinations thereof. For example, the processors described more specifically herein may include, but are not limited to, central processing units (CPUs), arithmetic logic units (ALUs), graphics processing units (GPUs), application processors (APs), digital signal processors (DSPs), microcomputers, field-programmable gate arrays (FPGAs) and programmable logic units, microprocessors, application-specific integrated circuits (ASICs), neural network processing units (NPUs), electronic control units (ECUs), image signal processors (ISPs), etc. In some example embodiments, the processor may include a non-transitory computer-readable storage device storing instruction programs, such as a solid-state drive (SSD), and instances of processor hardware, such as a CPU, configured to execute the instruction program to implement functions and / or methods performed by some or all of any apparatus, system, and / or element according to any example embodiment (including, but not limited to, any part, block, module, processor, camera, etc. of any apparatus, system, and / or element according to any exemplary embodiment), including, for example, any method according to any exemplary embodiment, including... Figure 5 The method shown and Figures 4A to 4C The operation shown.

[0120] While the inventive concept has been specifically shown and described with reference to some exemplary embodiments thereof, it will be understood that various changes in form and detail may be made without departing from the spirit and scope of the appended claims.

Claims

1. An image processing apparatus, comprising: The camera is configured to generate first image data; The preprocessor is configured to generate second image data based on preprocessing operations performed on the first image data; A neural network processor is configured to generate third image data based on performing image processing operations on second image data using a neural network model trained to perform one or more specific image processing operations. and Main processor; The preprocessor is configured to send the second image data to both the neural network processor and the main processor. The main processor is configured as follows: Concurrently with the generation of the third image data via the neural network processor, a fourth image data is generated based on a separate post-processing operation performed on the second image data. Corrected image data is generated by merging the third and fourth image data.

2. The image processing apparatus according to claim 1, wherein, The preprocessor is configured to perform at least one of a bad pixel correction (BPC) operation, a lens shading correction (LSC) operation, a crosstalk correction operation, or a white balance (WB) correction operation.

3. The image processing apparatus according to claim 2, wherein, The neural network model is trained to perform at least one of the following operations: re-mosaic operation, demosaic operation, denoising operation, deblurring operation, gamma correction operation, high dynamic range (HDR) operation, or tone mapping operation.

4. The image processing apparatus according to claim 3, wherein, The main processor is configured to perform at least one of the following operations: inverse WB correction, re-mosaic, de-mosaic, denoising, deblurring, gamma correction, HDR, or tone mapping.

5. The image processing apparatus according to claim 4, wherein The neural network model is trained to perform denoising and deblurring operations, and The main processor is configured to perform re-mosaic and de-mosaic operations.

6. The image processing apparatus according to claim 4, wherein The neural network model was trained to perform denoising, deblurring, and re-mosaic operations, and The main processor is configured to perform a demosaic operation.

7. The image processing apparatus according to claim 1, wherein, The neural network model uses image data with either a tetra mode or a nona mode as input data. In the tetra mode, pixels with one of the reference colors are arranged in a 4×4 matrix, and in the nona mode, pixels with one of the reference colors are arranged in a 6×6 matrix. The neural network model uses image data with Bayer patterns or RGB image data as output data.

8. The image processing apparatus according to claim 1, further comprising: The monitor is configured to display images. The camera is an under-display camera located below the display, and the under-display camera is configured to generate first image data.

9. The image processing apparatus according to claim 8, wherein, The neural network model is trained based on the following: Using the first training data generated by the under-display camera as input data, and The output data is a second training data obtained by performing one or more specific image processing operations on the first training data.

10. The image processing apparatus according to claim 1, wherein, The neural network model includes at least one of an artificial neural network (ANN) model or a convolutional neural network (CNN) model.

11. The image processing apparatus according to claim 1, wherein, The preprocessor is included in the camera.

12. The image processing apparatus according to claim 11, wherein The neural network model includes: The first neural network model is configured to perform a first image processing operation, and The second neural network model is configured to perform the second image processing operation. The neural network processor includes: The first neural network processor is configured to execute the first neural network model, and The second neural network processor is configured to execute the second neural network model, and A first neural network processor is included in the camera.

13. The image processing apparatus according to claim 1, wherein, The neural network processor is included in the camera.

14. An image processing apparatus, comprising: monitor; A display-under-display camera located below the display is configured to generate first image data that captures images of the external environment outside the image processing device; A neural network processor is configured to perform image processing operations on second image data based on a neural network model trained to perform image processing operations on the second image data. A preprocessor is configured to generate second image data, configured to be used as input data for a neural network model, based on performing preprocessing operations on the first image data, such that a neural network processor is configured to generate third image data based on performing image processing operations on the second image data; as well as Main processor The preprocessor is configured to send the second image data to both the neural network processor and the main processor. The main processor is configured as follows: Concurrently with the generation of the third image data via the neural network processor, a fourth image data is generated based on a separate post-processing operation performed on the second image data. By merging the third and fourth image data, corrected image data is generated and configured for display on the monitor.

15. The image processing apparatus according to claim 14, wherein, The neural network model is trained to perform at least one of the following operations: re-mosaic operation, demosaic operation, denoising operation, deblurring operation, gamma correction operation, high dynamic range (HDR) operation, or tone mapping operation.

16. A method of operating an image processing apparatus, the method comprising: Obtain the first image data; The second image data is generated by performing preprocessing operations on the first image data; The third image data is generated by performing image processing operations on the second image data using a neural network model, wherein the neural network model is trained to perform one or more specific image processing operations. Concurrently with the generation of the third image data, a fourth image data is generated based on a separate post-processing operation performed on the second image data; as well as The corrected image data is generated based on the following operations: The third image data is merged with the fourth image data.

17. The method according to claim 16, wherein, The first image data is generated by an under-display camera located below the display, and The neural network model is trained to perform image processing operations on the second image data.

Citation Information

Patent Citations

  • Image processing method and device and computer readable storage medium

    CN110557584A