Image signal processor and image sensor including the same

By introducing deep learning processing logic and noise level estimators into the image sensor, selecting appropriate training data for image processing, and adjusting the training data to exclude bad pixels, the problem of insufficient efficiency and accuracy in image processing is solved, and the image quality is improved. The output quality of the sensor.

CN112153311BActive Publication Date: 2024-09-10SAMSUNG ELECTRONICS CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202010349880.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-06-11
Filing Date
2020-04-28
Publication Date
2024-09-10
Estimated Expiration
2040-04-28

AI Technical Summary

Technical Problem

In image processing, deep learning systems fail to effectively consider the output characteristics of image sensors, resulting in insufficient processing efficiency and accuracy.

Method used

An image sensor is designed, including a pixel array, a readout circuit, and an image signal processor. The image data is processed through processing logic based on deep learning. The noise level estimator is used to select appropriate training data for image processing, and when necessary The training data is adjusted to exclude the influence of bad pixels.

Benefits of technology

It improves the efficiency and accuracy of image processing, enhances the output signal-to-noise ratio and brightness of the image sensor, and ensures image quality in different environments, especially in low-light environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112153311B_ABST
    Figure CN112153311B_ABST
Patent Text Reader

Abstract

An image signal processor and an image sensor including the image signal processor are disclosed. An image sensor includes: a pixel array configured to convert a received optical signal into an electrical signal; a readout circuit configured to convert the electrical signal into image data and output the image data; and an image signal processor configured to perform deep learning-based image processing on the image data based on training data selected from first training data and second training data according to a noise level of the image data.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of Korean Patent Application No. 10-2019-0068811 filed on June 11, 2019, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference. Technical Field

[0003] The present disclosure relates to image signal processing, and more particularly, to an image signal processor using deep learning technology and an image sensor including the image signal processor. Background Art

[0004] Deep learning is a discipline in artificial intelligence in which algorithms and statistical models are used in computer systems to train neural networks to perform tasks without the use of human instructions. The trained neural networks make decisions based on information from input data. Deep learning systems can be used for speech recognition, financial systems, and image processing.

[0005] Digital cameras use image sensors to capture images and image signal processors to process the captured images. The image signal processor performs tasks such as image sharpening, noise reduction, and color control on image output features. As the number of pixels in image sensors increases, image processing speed and accuracy become more important.

[0006] In many cases, when deep learning is used in image processing, the output characteristics of the image sensor are not taken into account. Therefore, there is a need in the art for a deep learning system that takes into account the output of the image sensor for efficient image processing. Summary of the invention

[0007] The present disclosure relates to an image signal processor using a deep learning technology reflecting output characteristics of an image sensor, and an image sensor including the image signal processor.

[0008] According to one aspect of the inventive concept, there is provided an image sensor, comprising: a pixel array configured to convert a received optical signal into an electrical signal; a readout circuit configured to convert the electrical signal into image data and output the image data; and an image signal processor configured to perform deep learning-based image processing on the image data based on training data selected from first training data and second training data according to a noise level of the image data.

[0009] According to another aspect of the inventive concept, there is provided an image sensor, comprising: a sensing core configured to generate image data having a first pattern or image data having a second pattern based on a received optical signal; a memory storing first training data corresponding to the first pattern and second training data corresponding to the second pattern; and an image signal processor configured to perform deep learning-based image processing on the image data based on training data selected from the first training data and the second training data according to a pattern in which the image data is provided from the sensing core.

[0010] According to another aspect of the inventive concept, there is provided an image signal processor, comprising: processing logic configured to perform deep learning-based image processing on image data output from an image sensor; and a pattern determiner configured to provide the processing logic with training data selected from first training data and second training data based on a noise level of the image data, wherein the first training data and the second training data are respectively determined by training based on image data of a first pattern and a second pattern.

[0011] According to another aspect of the inventive concept, an image processing method is described. The method may include: receiving light at an image sensor based on setting information; generating an image output based on the received light; estimating a noise level based on the setting information; selecting training data from a plurality of training data sets based on the estimated noise level; and performing deep learning processing on the image output based on the selected training data to produce a modified image output.

[0012] In some embodiments, the method further comprises identifying one or more bad pixels of the image sensor; and adjusting the selected training data based on the identified one or more bad pixels. In some embodiments, each training data set in a plurality of training data sets is stored in a separate memory component. In some embodiments, the deep learning processing comprises at least one of a color coordinate change, brightness adjustment, sharpness adjustment, and contrast adjustment of the image output. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Embodiments of the present invention will be more clearly understood through the following detailed description in conjunction with the accompanying drawings, in which:

[0014] Figure 1 is a block diagram of an image sensor according to an embodiment of the inventive concept;

[0015] Figure 2 An example of the structure of a deep neural network applied to an image signal processor according to an embodiment of the inventive concept is shown;

[0016] Figure 3yes Figure 1 A block diagram of a sensing core of an image sensor;

[0017] Figure 4A shows an example of a pixel array provided in an image sensor according to an embodiment of the inventive concept, Figure 4B and Figure 4C is Figure 4A A structural diagram of two pixels arranged close to each other in a pixel array;

[0018] Figure 5 illustrates a data pattern of image data according to an operation mode of an image sensor according to an embodiment of the inventive concept;

[0019] Figure 6 is a block diagram of an image signal processor according to an embodiment of the inventive concept;

[0020] Figure 7 is a block diagram of a method of operating an image signal processor according to an embodiment of the inventive concept;

[0021] Fig. 8A and Figure 8B is a block diagram of an image signal processor according to an embodiment of the inventive concept;

[0022] Fig. 9 is a flowchart of a method of operating an image signal processor according to an embodiment of the inventive concept;

[0023] Fig. 10A and Fig. 10B According to the embodiment of the present invention Fig. 9 A flow chart of a method for determining a mode;

[0024] Fig.11 is a block diagram of an image sensor according to an embodiment of the inventive concept;

[0025] Fig.12 is a block diagram of an image sensor according to an embodiment of the inventive concept;

[0026] Fig.13 is a flowchart of a method of operating an image signal processor according to an embodiment of the inventive concept;

[0027] Fig.14 is a block diagram of an image processing apparatus according to an embodiment of the inventive concept;

[0028] Fig.15 is a block diagram of an image processing apparatus according to an embodiment of the inventive concept; and

[0029] Fig.16is a block diagram of an electronic device including an image sensor according to an embodiment of the inventive concept. DETAILED DESCRIPTION

[0030] The present disclosure provides a deep learning system in which multiple weight sets reflecting the characteristics of each of multiple sensor output modes are stored in a memory, and processing logic selectively reads the weight sets according to the output mode and performs deep learning-based image processing.

[0031] In addition, the noise level estimator estimates the noise level of the image data based on sensing setting information such as analog gain, exposure time, etc., and selects a mode (output mode) based on the noise level. The logic circuit that performs deep learning-based image processing can be implemented in hardware.

[0032] The pixel array can be implemented in a pattern and can output different types of image data according to a variety of output modes. The weight set can be determined by training based on the output mode. Bad pixel information can be stored to prevent bad pixels from affecting image processing, and the weight corresponding to the bad pixel is set to zero.

[0033] Hereinafter, embodiments of the inventive concept are described in detail with reference to the accompanying drawings.

[0034] Figure 1 is a block diagram of an image sensor 100 according to an embodiment of the inventive concept.

[0035] The image sensor 100 may convert an optical signal of an object input through the optical lens LS into image data. The image sensor 100 may be installed in an electronic device having an image or optical sensing function. For example, the image sensor 100 may be installed in an electronic device such as a digital camera, a digital video camera, a smart phone, a wearable device, an Internet of Things (IoT) device, a tablet personal computer (PC), a personal digital assistant (PDA), a portable multimedia player (PMP), a navigation device, etc. In addition, the image sensor 100 may be installed in an electronic device that may be set as a part of a vehicle, furniture, a manufacturing facility, a door, or various measuring instruments.

[0036] Reference Figure 1, the image sensor 100 may include a pixel array 110, a readout circuit 120, and an image signal processor 130. The image signal processor 130 may include a deep learning-based processing logic 131. In an embodiment, the pixel array 110, the readout circuit 120, and the image signal processor 130 may be implemented by a single semiconductor chip or a semiconductor module. In an embodiment, the pixel array 110 and the readout circuit 120 may be implemented by a single semiconductor chip. The image signal processor 130 may be implemented by another single semiconductor chip.

[0037] The pixel array 110 can be implemented by a photoelectric conversion element. A charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) is an example of a photoelectric conversion element, but is not limited thereto. The pixel array 110 may include a plurality of pixels for converting a received optical signal (light) into an electrical signal, and the pixels may be arranged in a matrix. Each pixel may include a light sensing device. For example, the light sensing device may include a photodiode, a phototransistor, a photogate, or a pinned photodiode.

[0038] The readout circuit 120 may convert the electrical signal received from the pixel array 110 into image data. The readout circuit 120 may amplify the electrical signal and perform analog-to-digital conversion on the amplified electrical signal. The image data generated by the readout circuit 120 may include pixel data corresponding to each pixel of the pixel array 110. The readout circuit 120 may constitute a sensing core with the pixel array 110.

[0039] The image signal processor 130 may perform deep learning-based image processing on the image data output from the readout circuit 120. For example, the image signal processor 130 may perform image processing such as bad pixel correction or noise removal on the image data.

[0040] The image signal processor 130 may output image data after image processing. The image data after image processing may be provided to an external processor 200, such as a main processor or a graphics processor of an electronic device in which the image sensor 100 is installed. The image data generated and output by the readout circuit 120 may be referred to as first image data IDT1. The image data output from the image signal processor 130 may be referred to as second image data IDT2.

[0041] The image signal processor 130 may include a deep learning-based processing logic 131. In an embodiment, the processing logic 131 may be implemented in hardware. However, the present disclosure is not limited thereto, and the processing logic 131 may be implemented by software or a combination of hardware and software. The processing logic 131 may perform deep learning-based image processing on the first image data IDT1 based on training data selected from the first training data TD1 and the second training data TD2 according to an operation mode of the image sensor 100 or a noise level of the first image data IDT1.

[0042] In an embodiment, the readout circuit 120 may change the data pattern of the first image data IDT1 according to the operation mode of the image sensor 100. For example, when the image sensor 100 operates in the first mode, the readout circuit 120 may generate the first image data IDT1 having a first pattern. When the image sensor 100 operates in the second mode, the readout circuit 120 may generate the first image data IDT1 having a second pattern. The first training data TD1 may be collected by training based on the first image data IDT1 having the first pattern. The second training data TD2 may be collected by training based on the first image data IDT1 having the second pattern.

[0043] Therefore, when the image sensor 100 operates in the first mode, the readout circuit 120 may output the first image data IDT1 having the first pattern. In addition, the processing logic 131 may perform deep learning-based image processing on the first image data IDT1 having the first pattern based on the first training data TD1. Furthermore, when the image sensor 100 operates in the second mode, the readout circuit 120 may output the first image data IDT1 having the second pattern. In addition, the processing logic 131 may perform deep learning-based image processing on the first image data IDT1 having the second pattern based on the second training data TD2.

[0044] The operation mode of the image sensor 100 may be determined according to the user's settings. For example, the user may determine the settings using an electronic device on which the image sensor 100 is installed, or the sensing settings may be determined when the image sensor 100 senses an optical signal of an object. The image sensor 100 may be installed based on the sensing environment. In an embodiment, the image signal processor 130 may include information about bad pixels in the pixel array 110. During image processing, the training data used by the processing logic 131 may be adjusted based on the bad pixel information. The first training data TD1 or the second training data TD2 may be an example of training data. The processing logic 131 may perform image processing based on deep learning based on the adjusted training data. In an embodiment, the image signal processor 130 may update the training data based on the adjusted training data. For example, when using the first training data TD1, the image signal processor 130 may adjust the first training data TD1 based on the bad pixel information. In addition, the processing logic 131 may perform image processing based on the adjusted first training data. The first training data TD1 may be updated to the adjusted data.

[0045] Figure 2 An example of a structure of a deep neural network DNN applied to an image signal processor according to an embodiment of the inventive concept is shown.

[0046] Reference Figure 2 , the deep neural network DNN may include a plurality of layers L1 to L4 that are processed sequentially. Figure 2 The deep neural network DNN is shown to include four layers, but the present disclosure is not limited thereto and the number of layers may vary.

[0047] A deep neural network DNN may include an input layer, an output layer, and at least one hidden layer. Figure 2 In the example, the first layer L1 may include an input layer, the fourth layer L4 may include an output layer, and the second layer L2 and the third layer L3 may include a hidden layer. In the first layer L1, the second layer L2, the third layer L3, and the fourth layer L4, a convolutional layer, a pooling layer, or a zero-filling layer may be included.

[0048] The deep neural network DNN can perform operations based on input data (e.g., x1 and x2) through the first layer L1, the second layer L2, the third layer L3, and the fourth layer L4, and generate output data (e.g., y3) according to the results of the operations.

[0049] The first layer L1, the second layer L2, the third layer L3 and the fourth layer L4 may include at least one processing node ND (or referred to as a neuron). The input and output of each processing node ND may be referred to as an input activation and an output activation, respectively. Activations such as x1, x2, y11, y12, y13, y21, y22 and y3 may be determined by respective weights (such as w11 to w32) and activation functions (such as f11 to f3). The processing nodes ND of adjacent layers may be fully connected to each other or may share weights.

[0050] In the first layer L1, the second layer L2, the third layer L3 and the fourth layer L4, the processing node ND can be composed of Figure 1 The weights (such as w11 to w32) representing the network between the layers may be implemented as training data, for example, first training data TD1 and second training data TD2.

[0051] As described above, according to an embodiment of the inventive concept, the image signal processor 130 may selectively provide training data to the processing logic 131, for example, based on the pattern of the first image data IDT1. For example, the image signal processor 130 may selectively provide the first training data TD1 and the second training data TD2 to the processing logic 131 according to the first pattern and the second pattern of the first image data IDT1. Therefore, a deep neural network DNN having various structures may be implemented. A deep neural network DNN having various structures may be adaptively adopted according to the pattern of the first image data IDT1 without redesigning the processing logic 131. In addition, it may not be necessary to implement at least two logics to reflect the first training data TD1 and the second training data TD2, and thus the area for laying out the processing logic 131 may be reduced.

[0052] Figure 3 yes Figure 1 1 is a block diagram of a sensing core 101 of an image sensor 100 .

[0053] Reference Figure 3 , the sensing core 101 may include a pixel array 110 and a readout circuit 120. The readout circuit 120 may include a row driver 121, a ramp signal generator 122, an analog-to-digital converter (ADC) 123, a buffer 124, a control register 125, and a timing generator 126.

[0054] The pixel array 110 may be electrically connected to the row driver 121 and the ADC 123 through signal lines.

[0055] The row driver 121 may operate the pixel array 110 in row units under the control of the timing generator 126. The row driver 121 may decode a row control signal (such as an address signal) and select at least one row line from a plurality of row lines forming the pixel array 110 in response to the decoded row control signal. The timing generator 126 may generate an address signal. The pixel array 110 may output a pixel signal from a selected row to the ADC 123 according to a row selection signal provided by the row driver 121.

[0056] The ADC 123 may compare the pixel signal with the ramp signal provided by the ramp signal generator 122 to generate a result signal, and convert the result signal into a digital signal. The result signal is converted into a digital signal by counting the number of result signals. The ADC 123 may output the converted digital signal as raw image data to the buffer 124. The ADC 123 may include an amplifier, a comparator, and a counter for amplifying the pixel signal.

[0057] The control register 125 may store various setting values ​​(register values) of the elements of the readout circuit 120 (e.g., the row driver 121, the ramp signal generator 122, the ADC 123, the buffer 124, and the timing generator 126). In addition, the control register 125 may control the operation of the elements based on the setting values. Figure 1 The external processor 200 receives the setting value through the control signal CONS including the setting value.

[0058] The timing generator 126 may control the operation timing of the row driver 121 , the ADC 123 , and the ramp signal generator 122 under the control of the control register 125 .

[0059] The buffer 124 may temporarily store the raw image data output from the ADC 123 and then output the raw image data as the first image data IDT1 to the ADC 123. Figure 1 The image signal processor 130 is configured to:

[0060] Figure 4A 1 shows an example of a pixel array 110a provided in an image sensor according to an embodiment of the inventive concept. Figure 4B and Figure 4C is Figure 4A 1 is a structural diagram of two pixels arranged close to each other in the pixel array 110a.

[0061] Reference Figure 4A, the pixel array 110a may have a structure of a Quad-Bayer pattern. Four pixels PX arranged as 2×2 (2 rows and 2 columns) may include color filters of the same color. Therefore, the pixel array 110a may include 4×4 pixels of 2×2 green pixels G, 2×2 red pixels R, 2×2 blue pixels B, and 2×2 green pixels G.

[0062] Reference Figure 4B , the first pixel PX1 and the second pixel PX2 may be arranged close to each other. The first pixel PX1 may include a first microlens ML1, a first color filter CF1, and a first light receiving element PD1 such as a photodiode. The second pixel PX2 may include a second microlens ML2, a second color filter CF2, and a second light receiving element PD2. The first color filter CF1 and the second color filter CF2 may be used for the same color.

[0063] In an embodiment, Figure 4C As shown, the first pixel PX1 and the second pixel PX2 may share a microlens ML.

[0064] Figure 5 Data patterns of image data according to operation modes of the image sensor 100 according to an embodiment of the inventive concept are illustrated.

[0065] Reference Figure 5 , the 4×4 pixels in the pixel array 110 a may include first to fourth green pixels G1 to G4 , first to fourth red pixels R1 to R4 , first to fourth blue pixels B1 to B4 , and fifth to eighth green pixels G5 to G8 .

[0066] In the first operation mode MD1, the first image data IDT1 may include pixel data corresponding to each of the first to fourth green pixels G1 to G4, the first to fourth red pixels R1 to R4, the first to fourth blue pixels B1 to B4, and the fifth to eighth green pixels G5 to G8. Figure 1 The readout circuit 120 may output the first image data IDT1 of a quad-Bayer pattern.

[0067] In the second operation mode MD2, the first image data IDT1 may include pixel data corresponding to the first green pixel Ga, the red pixel R, the blue pixel B, and the second green pixel Gb. The pixel data corresponding to the first green pixel Ga may represent the sum of sensing signals of the first green pixel G1 to the fourth green pixel G4 of the pixel array 110a, the pixel data corresponding to the red pixel R may represent the sum of sensing signals of the first red pixel R1 to the fourth red pixel R4, the pixel data corresponding to the blue pixel B may represent the sum of sensing signals of the first blue pixel B1 to the fourth blue pixel B4, and the pixel data corresponding to the second green pixel Gb may represent the sum of sensing signals of the fifth green pixel G5 to the eighth green pixel G8.

[0068] In other words, in the second operation mode MD2, the sum of the sensing signals of adjacent pixels including the same color filter can be output as pixel data. A large pixel effect can be obtained, and thus the signal-to-noise ratio (SNR) and brightness of the first image data IDT1 can be increased. In this way, in the second operation mode MD2, Figure 1 The readout circuit 120 may output the first image data IDT1 having a Bayer pattern.

[0069] When the optical signal of the object is sensed in a low illumination environment, the quality of the captured image may be deteriorated. As described above, when the image sensor 100 operates in the second operation mode MD2, due to the large pixel effect, the brightness of the first image data IDT1 can be increased and the noise can be reduced, thereby improving the quality of the captured image.

[0070] In an embodiment, the first operation mode MD1 may include a capture mode, and the second operation mode MD2 may include a preview or video mode. In the capture mode, when the readout circuit 120 outputs the first image data IDT1 having a quad Bayer pattern, a high resolution of the first image data IDT1 may be maintained. In the preview or video mode, since the readout circuit 120 generates the first image data IDT1 having a Bayer pattern by summing the sensing signals, a high SNR and a high frame rate may be ensured.

[0071] Figure 6 is a block diagram of the image signal processor 130 according to an embodiment of the inventive concept.

[0072] Reference Figure 6 , the image signal processor 130 may include a processing logic 131 and a mode determiner 132 .

[0073] Processing logic 131 may include a deep neural network ( Figure 2The processing logic 131 may perform deep learning-based image processing on the first image data IDT1 based on the training data.

[0074] The mode determiner 132 may determine an operation mode of the image sensor 100 and provide the processing logic 131 with training data corresponding to the determined operation mode from among the first training data TD1 and the second training data TD2.

[0075] In an embodiment, the mode determiner 132 may be implemented in hardware. However, the present disclosure is not limited thereto, and the mode determiner 132 may be implemented in firmware or software including a mode determination algorithm, and when a processor (such as a microprocessor or a CPU) included in the image signal processor 130 executes the mode determination algorithm, the function of the mode determiner 132 may be performed.

[0076] The first training data TD1 and the second training data TD2 may include a weight Wmd1 of a first pattern and a weight Wmd2 of a second pattern, respectively. As described above, the weight Wmd1 of the first pattern may include a weight of a deep neural network collected through training based on the first image data IDT1 having a first pattern, and the weight Wmd2 of the second pattern may include a weight of a deep neural network collected through training based on the first image data IDT1 having a second pattern.

[0077] The first training data TD1 and the second training data TD2 may be stored in a memory, for example, in a first memory (MEM1) 141 and a second memory (MEM2) 142, respectively. The first memory 141 and the second memory 142 may be implemented by a volatile memory such as a dynamic random access memory (DRAM) or a static RAM (SRAM), or a nonvolatile memory such as a phase change RAM (PRAM), a resistive RAM (ReRAM), or a NAND flash memory. The first memory 141 and the second memory 142 may be provided in the image sensor 100 or the image signal processor 130, or may be provided in a separate semiconductor chip separate from the image sensor 100. The first memory 141 and the second memory 142 may include separate semiconductor memory devices, or may be different storage areas in one semiconductor memory device.

[0078] The mode determiner 132 may access the first memory 141 or the second memory 142 based on the determined operation mode, read out the training data corresponding to the operation mode, and provide the read training data to the processing logic 131 .

[0079] In an embodiment, the mode determiner 132 may determine the operation mode based on a setting signal (e.g., a user setting signal received outside the image sensor 100). In an embodiment, the mode determiner 132 may determine the operation mode based on sensing setting information of the image sensor 100 (e.g., an analog gain of a sensing circuit set in the readout circuit 120 or an exposure time of the pixel array 110).

[0080] Therefore, according to an embodiment of the present disclosure, an electronic device including an image sensor 100 can receive light at the image sensor 100 based on setting information, generate an image output based on the received light (for example, generate an image output using the readout circuit 120), estimate a noise level based on the setting information, select training data from multiple training data sets based on the estimated noise level, and perform deep learning processing on the image output based on the selected training data (for example, perform deep learning processing using the processing logic 131).

[0081] In some embodiments, the device identifies one or more bad pixels of the image sensor and adjusts the selected training set based on the identified one or more bad pixels. In some embodiments, each training set in the plurality of training sets is stored in a separate memory component (e.g., first memory 141 and second memory 142).

[0082] In some examples, the deep neural network can be trained in real time based on the image output and the training data. In other examples, the training data represents training parameters that have been previously determined on a different device, and the parameters are used by the processing logic to form the neural network.

[0083] Figure 7 is a block diagram of a method of operating an image signal processor according to an embodiment of the inventive concept.

[0084] Reference Figure 7 , the mode determiner 132 may receive the mode determination signal MDS and determine the operation mode based on the mode determination signal MDS. In an embodiment, the mode determination signal MDS may include a user setting signal. In an embodiment, the mode determination signal MDS may include a signal generated by an internal operation in an electronic device in which the image sensor is installed.

[0085] In an embodiment, the mode determination signal MDS may be provided to the sensing core 101, such as Figure 1 The readout circuit 120 may adjust the sensing setting. Based on the mode determination signal MDS, the sensing setting may be an exposure time, an analog gain, a slope of a ramp signal, or a frame rate of image data, but is not limited thereto.

[0086] For example, when the mode determination signal MDS is at a first level (such as logic high), the readout circuit 120 may operate in the first mode and output the first image data IDT1 having the first pattern. The mode determiner 132 may determine the first mode based on the mode determination signal MDS of the first level and provide the first training data TD1 to the processing logic 131. The processing logic 131 may perform image processing on the first image data IDT1 having the first pattern based on the first training data TD1.

[0087] When the mode determination signal MDS is at a second level (e.g., logic low), the readout circuit 120 may operate in the second mode. Then, the mode determination signal MDS may output the first image data IDT1 having the second pattern. The mode determiner 132 may determine the second mode based on the mode determination signal MDS of the second level and provide the second training data TD2 to the processing logic 131. The processing logic 131 may perform image processing on the first image data IDT1 having the second pattern based on the second training data TD2.

[0088] Fig. 8A and Figure 8B is a block diagram of an image signal processor according to an embodiment of the inventive concept.

[0089] Reference Fig. 8A , the image signal processor 130a may include a processing logic 131 and a mode determiner 132a. The mode determiner 132a may include a noise level estimator 31 and a selector 32a.

[0090] The noise level estimator 31 may estimate the noise level of the first image data IDT1 based on the sensing setting information SSIF, and may determine the operation mode based on the estimated noise level. For example, the sensing setting information SSIF may include Figure 3 The analog gain or exposure time of the ADC 123. The sensing setting information SSIF may be provided by the sensing core 101. Figure 1 When the external processor 200 controls the sensing setting, the sensing setting information SSIF may be received from the external processor.

[0091] For example, when Figure 1 When the image sensor 100 senses an optical signal of an object in a low illumination environment, the exposure time may be set to be relatively long. The noise level estimator 31 may estimate that the noise level of the first image data IDT1 is higher as the exposure time is set to be longer.

[0092] For example, when the pixel array 110 (see Figure 1 ) has a quad-Bayer pattern structure and the exposure time is set to be relatively long, Figure 1The readout circuit 120 can be based on Figure 5 The second operation mode MD2 outputs the first image data IDT1 having the Bayer pattern. When the exposure time is set to be relatively short, the readout circuit 120 can read the first image data IDT1 according to the exposure time. Figure 5 The first operation mode MD1 outputs the first image data IDT1 having a quad-Bayer pattern.

[0093] The noise level estimator 31 may determine the operation mode based on the estimated noise level. For example, when the estimated noise level is equal to or less than the first reference value, the noise level estimator 31 may determine the operation mode to be the first mode. In addition, when the estimated noise level exceeds the first reference value, the noise level estimator 31 may determine the operation mode to be the second mode.

[0094] The selector 32a may select one of the first training data TD1 and the second training data TD2 based on the operation mode determined by the noise level estimator 31, and provide the selected training data to the processing logic 131.

[0095] Reference Figure 8B , the image signal processor 130b may include a processing logic 131 and a mode determiner 132b. In addition, the mode determiner 132b may include a noise level estimator 31 and a selector 32b. Figure 8B The structure and operation of the image signal processor 130b are similar to Fig. 8A Therefore, the following mainly describes the differences between them.

[0096] exist Figure 8B , one of the first to third training data TD1 to TD3 may be provided to the processing logic 131. For example, the first training data TD1 may include a weight Wmd1 trained based on the first image data IDT1 having a first pattern. The second training data TD2 may include a weight Wmd2 trained based on the first image data IDT1 having a second pattern. The third training data TD3 may include a weight Wmd3 trained based on the first image data IDT1 having a third pattern.

[0097] The noise level estimator 31 may estimate the noise level of the first image data IDT1 based on the sensing setting information SSIF and may determine an operation mode based on the estimated noise level. The noise level estimator 31 may determine one of the first to third operation modes based on the estimated noise level.

[0098] The first training data TD1, the second training data TD2, and the third training data TD3 may be stored in the first to third memories 141, 142, and 143, respectively. In addition, the selector 32b may select one of the first to third training data TD1 to TD3 based on the operation mode determined by the noise level estimator 31, and provide the selected training data to the processing logic 131.

[0099] Fig. 9 is a flowchart of a method of operating an image signal processor according to an embodiment of the inventive concept. Fig. 9 The operation method can be found above. Figures 6 to 8B The image signal processors 130, 130a and 130b described above are executed. Figures 6 to 8B The description given can be applied to Fig. 9 Embodiment of the invention.

[0100] Reference Fig. 9 , the image signal processor 130 may determine the operation mode of the image sensor (S110). For example, Figure 6 The mode determiner 132 may determine the operation mode based on a setting signal received outside the image sensor 100 or sensing setting information of the image sensor 100 .

[0101] The image signal processor 130 may select training data based on the operation mode (S120). For example, the mode determiner 132 may select one of the first and second training data TD1 and TD2 or one of the first to third training data TD1, TD2, and TD3 based on the determined operation mode.

[0102] The image signal processor 130, specifically, Figure 6 The processing logic 131 can perform deep learning-based image processing on the first image data based on the selected training data (S130).

[0103] Fig. 10A and Fig. 10B According to the embodiment of the present invention Fig. 9 Flowchart of the mode determination method. Fig. 10A The operation method can be Fig. 8A The image signal processor 130a performs, Fig. 10B The operation method can be Figure 8B The image signal processor 130b executes.

[0104] Reference Fig. 10A, the noise level estimator 31 may receive sensing setting information (S11). The noise level estimator 31 may estimate the noise level of the first image data based on the sensing setting information (S12). The noise level estimator 31 may compare the estimated noise level with a reference value (S13). When the estimated noise level is equal to or less than the reference value, the noise level estimator 31 may determine the operation mode as the first mode (S14). When the estimated noise level exceeds the reference value, the noise level estimator 31 may determine the operation mode as the second mode (S15).

[0105] Reference Fig. 10B , the noise level estimator 31 may receive the sensing setting information (S21). The noise level estimator 31 may estimate the noise level of the first image data based on the sensing setting information (S22). The noise level estimator 31 may compare the estimated noise level with a first reference value (S23). When the estimated noise level is equal to or less than the first reference value, the noise level estimator 31 may determine the operation mode as the first mode (S24).

[0106] When the estimated noise level exceeds the first reference value, the noise level estimator 31 may compare the estimated noise level with the second reference value (S25). When the estimated noise level is equal to or less than the second reference value, the noise level estimator 31 may determine the operation mode to be the second mode (S26). When the estimated noise level exceeds the second reference value, the noise level estimator 31 may also determine the operation mode to be the third mode (S27).

[0107] Fig.11 is a block diagram of an image sensor 100 c according to an embodiment of the inventive concept.

[0108] Reference Fig.11 The image sensor 100c may include a first pixel array 110-1, a first readout circuit 120-1, a second pixel array 110-2, a second readout circuit 120-2, and an image signal processor 130c. In an embodiment, the image sensor 100c may include a first memory 141 and a second memory 142.

[0109] The first pixel array 110 - 1 and the second pixel array 110 - 2 may have a homogeneous or heterogeneous pattern structure. For example, the first pixel array 110 - 1 may have a Bayer pattern structure, and the second pixel array 110 - 2 may have a quad-Bayer pattern structure.

[0110] The first readout circuit 120-1 may generate a sensing signal output from the first pixel array 110-1 based on the image data. The second readout circuit 120-2 may generate a sensing signal output from the second pixel array 110-2 based on the image data.

[0111] The image signal processor 130 c may include a processing logic 131 , a first selector 134 , and a second selector 133 .

[0112] The first selector 134 may receive image data from one of the first readout circuit 120 - 1 and the second readout circuit 120 - 2 in response to a selection signal SEL and provide the image data as first image data IDT1 to the processing logic 131 .

[0113] The second selector 133 may select one of the first training data TD1 and the second training data TD2 in response to the selection signal SEL, and provide the selected training data to the processing logic 131. In this state, the first training data TD1 may include a weight Wmd1 determined by training based on the pattern structure of the first pixel array 110-1. The second training data TD2 may include a weight Wmd2 determined by training based on the pattern structure of the second pixel array 110-2.

[0114] For example, the first selector 134 may provide the image data received from the first readout circuit 120-1 as the first image data IDT1 to the processing logic 131 in response to the selection signal SEL of the first level (e.g., logic high). The second selector 133 may provide the first training data TD1 to the processing logic 131 in response to the selection signal SEL of the first level.

[0115] The processing logic 131 may perform deep learning-based image processing on the first image data IDT1. Deep learning-based image processing may be generated based on the sensing signal of the first pixel array 110-1 by using the weight Wmd2. The weight Wmd2 may be determined by training based on the image structure of the first pixel array 110-1.

[0116] Fig.12 is a block diagram of an image sensor 100 d according to an embodiment of the inventive concept.

[0117] Reference Fig.12 , the image sensor 100d may include a sensing core 101, an image signal processor 130d, a first memory 141, a second memory 142, and a third memory (MEM3) 150. The sensing core 101 may include a pixel array and a readout circuit. In an embodiment, the first memory 141, the second memory 142, and the third memory 150 may be implemented by a separate semiconductor integrated circuit outside the image sensor 100d.

[0118] The image signal processor 130d may include a processing logic 131d and a mode determiner 132. The mode determiner 132 may determine an operation mode of the image sensor 100d, and select one of first training data TD1 and second training data TD2 respectively stored in the first memory 141 and the second memory 142 based on the operation mode, and provide the selected training data to the processing logic 131d.

[0119] The processing logic 131d may perform deep learning-based image processing on the first image data IDT1 based on the received training data. The processing logic 131d may adjust the bad pixel information IF_BP based on the training data. For example, the processing logic 131d may set the weights related to the bad pixels among the weights included in the training data to zero. The processing logic 131d may perform deep learning-based image processing based on the adjusted training data.

[0120] The bad pixel information IF_BP may include the position of the bad pixel on the pixel array. The bad pixel information IF_BP may be detected in the manufacturing process (wafer level) of the image sensor 100d. In addition, the bad pixel information IF_BP may be stored in the third memory 150. The bad pixel information IF_BP may also be detected regularly or irregularly during the operation of the image sensor 100d to be stored in the third memory 150 or updated.

[0121] The third memory 150 may be implemented by a nonvolatile memory such as a one-time programmable memory (OTP), a NAND flash memory, a ReRAM, or a PRAM. The third memory 150 may be provided in the image sensor 100d, or implemented by a separate semiconductor integrated circuit separate from the image sensor 100d.

[0122] In an embodiment, the processing logic 131d may store the adjusted training data in a memory (e.g., the first memory 141 or the second memory 142) to update the training data. For example, when the first training data TD1 is provided to the processing logic 131d, the processing logic 131d may set the weight related to the bad pixel among the weights included in the first training data TD1 to a zero value based on the bad pixel information IF_BP. Thus, the first training data TD1 may be adjusted. The processing logic 131d may update the first training data TD1 by storing the adjusted first training data in the first memory 141. Then, until the bad pixel information IF_BP is updated, the updated first training data TD1 may be used based on the bad pixel information IF_BP.

[0123] Fig.13 is a flowchart of a method of operating an image signal processor according to an embodiment of the inventive concept. Fig.13 Shows Fig.12 Therefore, referring to the operation method of the image signal processor 130d. Fig.12 The presented description can be applied to the present embodiment.

[0124] Reference Fig.13 , the mode determiner 132 may determine the operation mode of the image sensor 100d (S210). The mode determiner 132 may select training data based on the determined operation mode (S220). For example, the mode determiner 132 may select one of the first training data TD1 and the second training data TD2 based on the operation mode. The mode determiner 132 may provide the selected training data to the processing logic 131d.

[0125] The processing logic 131d (or another logic circuit that may be added) may set a weight corresponding to a bad pixel among weights included in the selected training data (S230). Thus, the training data may be adjusted.

[0126] The processing logic 131d may perform deep learning-based image processing on the first image data IDT1 based on the adjusted training data (S240).

[0127] Image data with bad pixels may cause errors during deep learning-based image processing. In order to prevent errors, during training for determining weights, when information about bad pixels is included, it may be difficult to determine a training set due to various circumstances.

[0128] In the above reference Fig.12 and Fig.13 In the present embodiment described, the generation of errors due to bad pixels can be prevented during the determination of weights. When weights are applied to the processing logic 131d, the generation of errors due to bad pixels can be prevented by setting the weights related to the bad pixels to zero values. In addition, by using the bad pixel information IF_BP, the generation of errors due to bad pixels can be prevented. In addition, the bad pixel information IF_BP can be used in the weight application operation instead of in the training operation. Therefore, the training setting in the training operation can be simplified.

[0129] Fig.14 is a block diagram of an image processing apparatus 1000 according to an embodiment of the inventive concept.

[0130] Reference Fig.14, the image processing apparatus 1000 (or camera apparatus) may include an image sensor 1100, an image signal processor (ISP) 1200, and an application processor 1300. The image sensor 1100 may include a pixel array and a readout circuit, and outputs unprocessed image data (raw image data) as first image data IDT1.

[0131] Reference above Figures 1 to 13 The described image signal processor may be applied to the image signal processor 1200. The image signal processor 1200 may perform deep learning-based image processing on the first image data IDT1. The image signal processor 1200 may store predetermined weight sets corresponding to various output patterns of the first image data IDT1. In addition, the image signal processor 1200 may perform deep learning-based image processing by using one of the weight sets based on the output pattern of the first image data IDT1. In addition, the image signal processor 1200 may set the weight corresponding to the bad pixel among the weights to a zero value based on the bad pixel information, thereby eliminating the error caused by the bad pixel. The image signal processor 1200 may provide image data that has been image processed. For example, the second image data IDT2 may be provided to the application processor 1300.

[0132] The application processor 1300 may perform additional operations based on the received second image data IDT2. In an embodiment, the application processor 1300 may include an image processing circuit for performing a higher level of image processing than the image signal processor 1200. In addition, the image processing circuit may perform image processing on the second image data IDT2. For example, the image processing circuit may change the data format of the second image data IDT2 or adjust the size of the second image data IDT2.

[0133] Fig.15 is a block diagram of an image processing apparatus 2000 according to an embodiment of the inventive concept.

[0134] Reference Fig.15 , the image processing device 2000 may include an image sensor 2100 and an application processor 2200 .

[0135] The application processor 2200 may include a first image signal processor (ISP1) 2210 and a second image signal processor (ISP2) 2220. The second image signal processor 2220 may perform a higher level of image processing than the first image signal processor 2210. The image signal processor 2210 may perform image processing such as bad pixel correction or noise removal. The second image signal processor 2220 may perform image processing such as color coordinate change of image data, brightness adjustment, sharpness adjustment, or contrast adjustment.

[0136] Reference above Figures 1 to 13 The described image signal processor may be applied to the first image signal processor 2210. The first image signal processor 2210 may receive the first image data IDT1 from the image sensor 2100, and may perform deep learning-based image processing on the first image data IDT1. In this state, the first image data IDT1 may include unprocessed image data (raw image data). The first image signal processor 2210 may store a predetermined set of weights corresponding to various output patterns of the first image data IDT1. The first image signal processor 2210 may also perform deep learning-based image processing by using one of the weight sets based on the output pattern of the first image data IDT1. In addition, the first image signal processor 2210 may set the weight corresponding to the bad pixel among the weights to a zero value based on the bad pixel information, thereby eliminating errors caused by the bad pixel.

[0137] Fig.16 is a block diagram of an electronic device 3000 including an image sensor 3200 according to an embodiment of the inventive concept. Fig.16 The electronic device 3000 may include a portable terminal.

[0138] Reference Fig.16 , the electronic device 3000 may include a main processor 3100 , an image sensor 3200 , a display device 3600 , a working memory 3300 , a storage device 3400 , a user interface 3700 , and a wireless transceiver 3500 .

[0139] The main processor 3100 may control the overall operation of the electronic device 3000 and may be implemented by a system on chip (SoC) for driving an application or an operating system. The main processor 3100 may provide image data provided by the image sensor 3200 to the display device 3600, or store the image data in the storage device 3400. In an embodiment, the main processor 3100 may include an image processing circuit and perform image processing such as image quality adjustment or data format change on the image data received from the image sensor 3200.

[0140] Reference Figure 1 , Fig.11 and Fig.12The described image sensors 100, 100c, and 100d may be used as the image sensor 3200. The image sensor 3200 may store various training data. For example, the image sensor 3200 may store and select a weight set corresponding to a pattern of the image data, and perform deep learning-based image processing based on the weight set. The weight set may correspond to various patterns of the generated image data. In addition, the image sensor 3200 may store information about bad pixels, and may set the weights corresponding to the bad pixels among the weights of the weight set to zero values, thereby preventing errors due to the bad pixels. The image sensor 3200 may include a deep learning image signal processor 3210, as described above with reference to Figures 1 to 13 The described image signal processor can be applied to the deep learning image signal processor 3210.

[0141] The working memory 3300 may be implemented by a volatile memory such as DRAM or SRAM or a nonvolatile memory such as FeRAM, RRAM, or PRAM. The working memory 3300 may store a program and / or data processed or executed by the main processor 3100.

[0142] The storage device 3400 may be implemented by a non-volatile memory device such as a NAND flash memory or a resistive memory. For example, the storage device 3400 may be provided as a memory card such as an MMC, an eMMC, an SD, or a micro SD. The storage device 3400 may store image data provided by the image sensor 3200.

[0143] The user interface 3700 may be implemented by various devices capable of receiving user input (eg, a keyboard, a keypad, a touch panel, a fingerprint sensor, or a microphone). The user interface 3700 may receive user input and provide a signal corresponding to the received user input to the main processor 3100.

[0144] The wireless transceiver 3500 may include a transceiver 3510 , a modem 3520 , and an antenna 3530 .

[0145] As described above, embodiments are disclosed in the drawings and the specification. Although the present disclosure has been specifically shown and described with reference to preferred embodiments using specific terms, the embodiments and terms should be considered in a descriptive sense only and not for limiting purposes. Therefore, it will be understood by those of ordinary skill in the art that various changes in form and details may be made thereto without departing from the spirit and scope of the present disclosure as defined by the appended claims.

Claims

1. An image sensor, include: a pixel array configured to convert received optical signals into electrical signals; a readout circuit configured to convert the electrical signal into image data having a first data pattern or image data having a second data pattern based on an operation mode of the image sensor, and output the image data; as well as An image signal processor is configured to select training data from first training data and second training data based on a data pattern and a noise level of the image data, and to perform deep learning-based image processing on the image data based on the selected training data, wherein the first training data includes first weights trained based on the first data pattern, and the second training data includes second weights trained based on the second data pattern.

2. The image sensor according to claim 1, further comprising: include: A first memory storing the first training data; as well as A second memory storing the second training data.

3. The image sensor according to claim 1, in, The image signal processor comprises: Processing logic based on deep neural network model; a noise level estimator configured to estimate a noise level of the image data and determine the operation mode based on the estimated noise level; and A selector is configured to select one of the first training data and the second training data based on the operation mode and provide the selected training data to the processing logic.

4. The image sensor according to claim 3, in, The noise level estimator estimates the noise level based on sensing setting information, and determines the operation mode by comparing the noise level with a reference value.

5. The image sensor according to claim 4, in, The sensing setting information includes at least one of an analog gain and an exposure time of the readout circuit.

6. The image sensor according to claim 1, in, The image sensor stores information about defective pixels among a plurality of pixels of the pixel array.

7. The image sensor according to claim 6, in, The image signal processor adjusts the selected training data by setting the weight corresponding to the bad pixel among the weights of the selected training data to a zero value, and performs the deep learning-based image processing based on the adjusted training data.

8. The image sensor according to claim 7, in, The image signal processor updates the selected training data based on the adjusted training data.

9. The image sensor according to claim 1, in, The pixel array includes a quad-Bayer pattern structure, and The image data has the first data pattern corresponding to the quad Bayer pattern structure or the second data pattern corresponding to the Bayer pattern structure.

10. The image sensor according to claim 9, in, The first training data corresponds to the first data pattern, and the second training data corresponds to the second data pattern.

11. An image sensor, include: a sensing core configured to generate image data having a first pattern or image data having a second pattern based on the received optical signal based on an operation mode of the image sensor; a memory storing first training data corresponding to the first pattern and second training data corresponding to the second pattern, wherein the first training data includes a first weight trained based on the first pattern, and the second training data includes a second weight trained based on the second pattern; as well as An image signal processor is configured to select training data from the first training data and the second training data based on a pattern and a noise level of the image data provided from the sensing core, and to perform deep learning-based image processing on the image data based on the selected training data.

12. The image sensor according to claim 11, in, The sensing core comprises: a pixel array configured to convert the optical signal into an electrical signal; and A readout circuit is configured to convert the electrical signal into the image data having the first pattern or the image data having the second pattern based on the operation mode.

13. The image sensor according to claim 12, in, The image signal processor determines a pattern of the image data based on a received mode setting signal or sensing setting information.

14. The image sensor according to claim 12, in, The image signal processor sets a weight corresponding to a bad pixel among a plurality of pixels of the pixel array to a zero value based on information about the bad pixel and performs the deep learning-based image processing.

15. The image sensor according to claim 11, in, The sensing core comprises: The first pixel array and the second pixel array are each configured to convert a received optical signal into an electrical signal; a first readout circuit configured to convert an electrical signal received from the first pixel array into image data; and The second readout circuit is configured to convert the electrical signal received from the second pixel array into image data.

16. The image sensor according to claim 15, in, A pattern structure of the first pixel array and a pattern structure of the second pixel array are different from each other.

17. The image sensor according to claim 15, in, The first training data is determined by training based on image data corresponding to the pattern structure of the first pixel array, and the second training data is determined by training based on image data corresponding to the pattern structure of the second pixel array.

18. An image signal processor, include: processing logic configured to perform deep learning-based image processing on image data output from the image sensor; as well as a pattern determiner configured to provide the processing logic with training data selected from first training data and second training data based on a data pattern and a noise level of the image data, the first training data and the second training data being determined by training based on image data having a first pattern and a second pattern, respectively, wherein the first training data includes a first weight trained based on the first pattern, and the second training data includes a second weight trained based on the second pattern.

19. The image signal processor according to claim 18, in, The mode determiner estimates the noise level based on sensing setting information and selects the training data based on the noise level.

20. The image signal processor of claim 18, further comprising a memory storing the first training data and the second training data.

21. The image signal processor according to claim 18, in, The processing logic includes circuits corresponding to nodes of multiple layers of a deep neural network.

22. The image signal processor according to claim 18, in, The processing logic sets weights corresponding to bad pixels among weights included in the received training data to zero values ​​based on the bad pixel information.

23. An image processing method, the method include: receiving light at the image sensor based on the setting information; generating an image output having a first data pattern or an image output having a second data pattern based on the received light based on an operating mode of the image sensor; estimating a noise level based on the setting information; selecting first training data or second training data from a plurality of training data sets based on a data pattern of the image output and an estimated noise level, wherein the first training data includes first weights trained based on the first data pattern and the second training data includes second weights trained based on the second data pattern; as well as A deep learning process is performed on the image output based on the selected first training data or the second training data to generate a modified image output.

24. The method according to claim 23, further comprising: include: identifying one or more bad pixels of the image sensor; as well as The selected training data is adjusted based on identifying the one or more bad pixels.

25. The method according to claim 23, in, Each training data set of the plurality of training data sets is stored in a separate storage component.

Citation Information

Patent Citations

  • Communication terminal for authentication

    KR1020190068811A

  • Image sensor for outputting rgb bayer signals through internal conversion, and image processing apparatus thereof

    CN102025926A

  • Optical safety monitoring with selective pixel array analysis

    CN105100780A

  • Image signal processor and devices including the same

    CN105991946A

  • Image processing apparatus, image capturing apparatus, image processing method, and program

    US20090003707A1