Information processing apparatus, information processing method, and program

The system uses a trained neural network to adjust black floating in input images, addressing inconsistent noise reduction in DNNs by matching learning conditions, thereby effectively reducing noise and suppressing black floating.

JP2024135404APending Publication Date: 2024-10-04CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023046064
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing noise reduction methods using deep neural networks (DNNs) struggle to effectively suppress black floating, which is influenced by temperature changes and individual sensor differences, leading to inconsistent noise reduction performance.

Method used

An information processing device that utilizes a trained neural network to adjust black floating in input images to match the black floating of the image used during learning, incorporating a cloud server for training and an edge device for inference to reduce noise while suppressing black floating.

Benefits of technology

The system effectively reduces noise and suppresses black floating even when the amount of black floating differs from the learning phase, ensuring consistent noise reduction across varying conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135404000001_ABST
    Figure 2024135404000001_ABST
Patent Text Reader

Abstract

To reduce noise while appropriately preventing black floating even when the amount of black floating is different from that during learning.SOLUTION: An information processing apparatus according to the present invention reduces noise by using a learned neural network, and the information processing apparatus has: adjustment means that adjusts black floating of an input image to be closer to black floating of an image used during learning of the neural network; and inference means that executes inference processing on the image after the adjustment performed by the adjustment means by using the neural network that has learned to prevent the black floating.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing technique for reducing noise in a captured image. [Background technology]

[0002] One method for achieving even higher sensitivity in image sensors is to apply analog and digital gains to the image signals output from the image sensor. It is generally known that applying these gains tends to increase the effect of noise.

[0003] In particular, in dark areas of an image captured at high sensitivity, a phenomenon known as black floating occurs, where what should be black becomes brighter and closer to gray due to the influence of noise. The degree of black floating varies due to differences in the amount of noise caused by temperature changes and individual differences in the image sensor. Therefore, Patent Document 1 describes a method of detecting pixels having pixel values ​​below a preset threshold value as black pixels for each frame before applying digital gain. It also discloses a method of suppressing the variation in the amount of black floating by adjusting an offset from the number of black pixels in the current frame and the previous frame.

[0004] It is also known that a deep neural network (DNN) can be used to reduce noise while suppressing black floating in an image. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2018-006765 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, the method disclosed in Patent Document 1 is robust to temperature changes of the same sensor, but it is difficult to cover individual differences of sensors. Therefore, when using DNN to reduce noise, there is a problem that it is specialized for the learned sensor.

[0007] In addition, when using DNNs to reduce noise, if the amount of black floating differs between training and inference, there is a problem that noise cannot be reduced appropriately.

[0008] Therefore, an object of the present invention is to reduce noise while appropriately suppressing the black floating effect even when the amount of black floating effect differs from that during learning. [Means for solving the problem]

[0009] The information processing device of the present invention is an information processing device that reduces noise using a trained neural network, and is characterized by having an adjustment means that adjusts the black floating of an input image to approach the black floating of an image used when training the neural network, and an inference means that performs inference processing on the image adjusted by the adjustment means using the neural network that has been trained to suppress black floating. Effect of the Invention

[0010] According to the technology of the present disclosure, even when the amount of floating black in an image to be processed differs from that during learning, it is possible to appropriately suppress floating black while reducing noise. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 illustrates an example of a configuration of an information processing system. [Diagram 2] 1 is a functional block diagram of an information processing system according to a first embodiment. [Diagram 3] FIG. 2 is a schematic diagram of an input image. [Figure 4] FIG. 1 is a schematic diagram for explaining floating black. [Diagram 5]FIG. 1 is a schematic diagram showing the flow of inference and learning. [Figure 6] FIG. 1 is a schematic diagram showing the structure of a CNN. [Figure 7] FIG. 11 is a schematic diagram showing a flow of a noise adding process. [Figure 8] FIG. 2 is a schematic diagram for explaining the noise reduction processing according to the first embodiment. [Figure 9] 4 is a flowchart of a process in the information processing system according to the first embodiment. [Figure 10] FIG. 11 is a functional block diagram of an information processing system according to a second embodiment. [Figure 11] 11 is a flowchart of a process in an information processing system according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings.

[0013] <CNNについて> First, a description will be given of a Convolutional Neural Network (CNN) that is used in general image processing techniques that apply deep learning and that will appear in each of the following embodiments. CNN is a technique that repeats convolution of a filter generated by training with image data, followed by nonlinear calculation. The filter is also called a local receptive field. Image data obtained by convolving the filter with image data and then performing nonlinear calculation is called a feature map. Furthermore, learning is performed using training data (training images or data sets) consisting of pairs of input image data and output image data. Simply put, learning is the generation of filter values ​​that can convert input image data into corresponding output image data with high accuracy from training data. This will be described in detail later.

[0014] When image data has RGB color channels or when a feature map is composed of multiple pieces of image data, the filter used for convolution also has multiple channels accordingly. In other words, a convolution filter is expressed as a four-dimensional array that includes the number of channels in addition to the vertical and horizontal sizes and number of sheets. The process of nonlinear calculation after convolving a filter with image data (or a feature map) is expressed in units of layers, such as the nth layer feature map or the nth layer filter. In addition, for example, a CNN that repeats filter convolution and nonlinear calculation three times has a three-layer network structure. Such nonlinear calculation processing can be formulated as the following equation (1).

[0015]

number

[0016]

Number

[0017] As networks using CNN, ResNet in the field of image recognition and its application RED-Net in the field of super-resolution are well-known. In both cases, by stacking multiple layers of CNN and performing convolution of filters multiple times, the accuracy of processing is improved. For example, ResNet features a network structure with a path that shortcuts the convolutional layer, thereby realizing a multi-layer network of 152 layers and achieving high-precision recognition approaching the human recognition rate. The reason why the processing accuracy is improved by multi-layer CNN is simply that by repeating the non-linear operation multiple times, the non-linear relationship between the input and output can be expressed.

[0018] <Learning of CNN> Next, the learning of CNN will be explained. The learning of CNN is generally performed by minimizing the objective function expressed by the following formula (3) for the training data consisting of a pair of input training image (student image) data and corresponding output training image (teacher image) data.

[0019]

Number

[0020]

number

[0021]

number

[0022] [Embodiment 1] In this embodiment, a method is described for reducing noise while appropriately suppressing black floating for input images that experience black floating different from that during learning, using a trained neural network (hereinafter also referred to as a trained model) obtained by learning to reduce noise.

[0023] <Example of information processing system configuration> Fig. 1 is a diagram showing an example of a hardware configuration of an information processing system according to this embodiment. In the information processing system shown in Fig. 1, a cloud server 200 and an edge device 100 are connected via the Internet. The cloud server 200 is responsible for generating training data and training to reduce noise (hereinafter, NR training), and the edge device 100 is responsible for inference processing to reduce noise using a trained model (hereinafter, NR inference).

[0024] <Edge device hardware configuration> The edge device 100 of this embodiment is an information processing device that performs NR inference on RAW image data (Bayer array) input from an imaging device using a trained model provided by a cloud server 200. A user reduces noise in the RAW image data by using an image processing application installed in the edge device 100. The edge device 100 has a CPU 101, a RAM 102, a ROM 103, a large-capacity storage device 104, a general-purpose interface (I / F) 105, and a network I / F 106, and each component is connected to each other by a system bus 107. The edge device 100 is also connected to the imaging device 10, the input device 20, the external storage device 30, and the display device 40 via the general-purpose I / F 105.

[0025] The CPU 101 executes a program stored in the ROM 103 using the RAM 102 as a work memory, and controls each component of the edge device 100 via the system bus 107. The large-capacity storage device 104 is, for example, an HDD or SSD, and stores various data handled by the edge device 100. The CPU 101 writes data to the large-capacity storage device 104 and reads data stored in the large-capacity storage device 104 via the system bus 107. The general-purpose I / F 105 is, for example, a serial bus interface such as USB, IEEE1394, or HDMI (registered trademark). The edge device 100 acquires data from an external storage device 30 (for example, various storage media such as a memory card, a CF card, an SD card, or a USB memory) via the general-purpose I / F 105. The edge device 100 also accepts user instructions from an input device 20 such as a mouse or a keyboard via the general-purpose I / F 105. Furthermore, the edge device 100 outputs image data processed by the CPU 101 to the display device 40 (for example, various image display devices such as a liquid crystal display) via the general-purpose I / F 105. Furthermore, the edge device 100 acquires data of a captured image (RAW image) to be subjected to noise reduction processing from the imaging device 10, which is an imaging device, via the general-purpose I / F 105. The network I / F 106 is an interface for connecting to the Internet. The edge device 100 accesses the cloud server 200 by an installed web browser and acquires network parameters for NR inference.

[0026] <Cloud server hardware configuration> The cloud server 200 of this embodiment is a server device that provides cloud services on the Internet. More specifically, the cloud server 200 generates learning data and performs NR learning, and provides a learned model that stores network parameters and a network structure as a result of learning, in response to a request from the edge device 100. The cloud server 200 has a CPU 201, a ROM 202, a RAM 203, a mass storage device 204, and a network I / F 205, and each component is connected to each other by a system bus 206. The CPU 201 reads out a control program stored in the ROM 202 and executes various processes to control the overall operation. The RAM 203 is used as a temporary storage area such as a main memory and a work area of ​​the CPU 201. The mass storage device 204 is a large-capacity secondary storage device such as an HDD or SSD that stores image data and various programs. The network I / F 205 is an interface for connecting to the Internet, and provides the above-mentioned learned model in response to a request from a web browser of the edge device 100.

[0027] Although there are other components of the edge device 100 and the cloud server 200 than those described above, they are not the main focus of the present invention, and therefore will not be described here. In the present embodiment, it is assumed that the cloud server 200 generates learning data and performs NR learning, and the learned model, which is the learning result, is downloaded to the edge device 100, and NR inference is performed on the RAW image data. However, the above system configuration is merely an example, and is not limited thereto. For example, the functions of the cloud server 200 may be subdivided, and the generation of learning data and the NR learning may be performed by separate devices. Furthermore, the imaging device 10, which has both the functions of the edge device 100 and the cloud server 200, may be configured to perform all of the generation of learning data, NR learning, and NR inference.

[0028] <System Functional Blocks> Next, functional blocks of the entire information processing system in this embodiment will be described with reference to Fig. 2. As shown in Fig. 2, the edge device 100 has a first adjustment unit 111, an inference NR unit 114, and a second adjustment unit 115, and the first adjustment unit 111 has an inference black floating amount calculation unit 112 and an adjustment amount calculation unit 113.

[0029] The cloud server 200 also includes a noise adding unit 211, a learning-time black floating calculation unit 212, and a learning unit 213. The learning unit 213 includes a learning NR unit 214, an error calculation unit 215, and a model update unit 216.

[0030] The configuration shown in FIG. 2 can be modified or changed as appropriate. For example, one functional unit may be divided into multiple functional units, or two or more functional units may be integrated into one functional unit. The configuration shown in FIG. 2 may be realized by two or more devices. In this case, the devices are connected via a circuit or a wired or wireless network, and can realize each process described below by performing cooperative operations through data communication with each other.

[0031] First, each functional block of the edge device 100 will be described in detail.

[0032] The first adjustment unit 111 acquires the input image 116, and adjusts the offset of the input image 116 using the amount of floating black calculated from the OB region.

[0033] Here, the optical black area (OB area) refers to an area of ​​the image sensor that is shielded from light by a metal film, etc. The OB area and black floating are important items in the present invention, so each will be described in detail.

[0034] In general, in an image sensor, a photodiode built on a silicon substrate is irradiated with light, and electrons inside the silicon excited by the light energy are read out as an image signal. Due to such characteristics, when no light is input to the photodiode, it is desirable that the signal level of the image signal read out from the photodiode is 0. Note that when no light is input to the photodiode, the signal level of the image signal read out from the photodiode corresponds to the black level.

[0035] However, even when light incident on a photodiode is completely blocked, the signal read from the photodiode may not be 0. As a specific example, the signal read from the photodiode may not be 0 due to the influence of dark current or read noise. This dark current and read noise change from moment to moment depending on, for example, the temperature and power supply state, and therefore it is difficult to measure them in advance.

[0036] In consideration of such a situation, an image sensor is provided with an area called an OB (Optical Black) area, which is light-shielded by a metal film or the like, in the vicinity of an open area (hereinafter referred to as an effective pixel area). FIG. 3 shows an input image 116 obtained by such an image sensor. 301 is the OB area, and 302 is the effective pixel area. By analyzing the pixel values ​​of the OB area 301, it becomes possible to recognize an offset including the influence of dark current and readout noise in a state where no light is incident. That is, by subtracting the offset from the pixel values ​​of the effective pixel area 302, the black level can be corrected to 0. In practice, a preset value is input as the offset, and this set value is often subtracted.

[0037] Next, the black floating phenomenon will be explained using Fig. 4. Fig. 4(A) shows the distribution of pixel values ​​in the OB region when shooting under conditions where digital gain is not applied, and the rectangular image is an example of the OB region. The horizontal axis represents the pixel value of each pixel in the OB region, and the vertical axis represents the probability density. Also, due to the influence of dark current and readout noise, the distribution is such that the values ​​accumulate near the offset.

[0038] On the other hand, Fig. 4(B) shows the distribution of pixel values ​​in the OB region when digital gain is applied under the conditions of Fig. 4(A), and the rectangular image is an example of the OB region. Compared to Fig. 4(A), the distribution becomes wider as the value becomes more negative, but in reality, due to hardware limitations, negative values ​​cannot be held, so negative values ​​are clipped to 0 as shown in Fig. 4(C). This causes the average value, which was originally near the offset, to shift in the positive direction. As a result, "black" cannot be displayed correctly, and the image becomes brighter, as shown in the rectangular image in Fig. 4(C). This is called "floating black."

[0039] The above is a detailed explanation of the OB area and black floating.

[0040] Returning to the description of the first adjustment unit 111, in this embodiment, a RAW image in which each pixel has a pixel value corresponding to one of RGB colors is used as the input image 116. In the following description, it is assumed that the RAW image is captured using a Bayer array color filter in which each pixel has information for one color.

[0041] The black floating amount calculation unit 112 acquires the input image 116 and the OB parameters 117, and calculates the amount of black floating in the OB region of the input image 116. The OB parameters 117 store the coordinates of the OB region and a preset offset. The black floating amount is calculated from the difference between the average value of all pixels included in the OB region and the offset.

[0042] The adjustment amount calculation unit 113 adjusts the offset of the input image 116. Specifically, the offset of the input image 116 calculated by the inference-time black float amount calculation unit 112 is subtracted from the black float suppression amount (described in detail later) stored in the trained model 220 to obtain a difference value, and the difference value is added to the input image 116. If this difference value is positive, that is, if the black float suppression amount is greater than the black float amount of the input image 116, the offset of the input image 116 is adjusted to be larger. Conversely, if the difference value is negative, that is, if the black float suppression amount is smaller than the black float amount of the input image 116, the offset of the input image 116 is adjusted to be smaller. In other words, the black float of the input image and the black float of the image used when training the trained model are adjusted to be approximately the same, or at least to be close to each other.

[0043] The training NR unit 114 uses the trained model 220 received from the cloud server to perform NR inference to reduce noise in the adjusted input image data 116. The NR inference will be described in detail with reference to FIG. 5(A).

[0044] The NR unit 114 inputs the input image 116 to the CNN 501, repeats the convolution operation and nonlinear operation by the filters according to the formulas (1) and (2) multiple times, and outputs the inference result 502. FIG. 6 is a diagram for explaining the structure of the CNN 501. Hereinafter, the CNN will be described in detail with reference to FIG. 6. The CNN 501 is composed of multiple filters 601 that perform the operation of the above-mentioned formula (1). First, the input image 116 is input to the CNN 501. Next, the filters 601 are sequentially applied to the input image 116 to calculate a feature map (not shown). Then, the result of applying the last filter 601 becomes the inference result 502.

[0045] The second adjustment unit 115 adjusts the offset for the inference result 502 and outputs the output image 118. Specifically, the difference calculated by the adjustment amount calculation unit 113 is subtracted from the noise-reduced image. The reason for performing this process is to avoid affecting subsequent image processing, such as gamma correction and white balance correction. Normally, gamma correction, white balance correction, and the like are performed after subtracting the offset originally set in the input image 116. Therefore, if the offset deviates from the original value at this time, the correction cannot be performed appropriately.

[0046] Next, each functional block of the cloud server 200 will be described in detail. As shown in FIG. 7, the noise adding unit 211 adds noise to a teacher image extracted from a teacher image group 217 using a noise characteristic analysis result 218 of an imaging device to generate a student image. Then, a pair of the teacher image and the student image is used as learning data. At this time, the student image is clipped at 0 so as not to be affected by noise and have negative values, so that black floating occurs. The teacher image group 217 stores various types of image data, such as nature photos including landscapes or animals, portraits or sports photos, and artificial object photos such as architecture and products. In this embodiment, RAW image data is used in which each pixel has a pixel value corresponding to one of the RGB colors, as in the input image 116. In addition, the noise characteristic analysis result 218 includes, for example, the amount of noise for each sensitivity generated by a sensor built into the camera. By using these recorded data, it is possible to estimate the amount of noise generated for each shooting condition. In other words, by adding noise estimated under a certain shooting condition to teacher image data, an image equivalent to the image obtained at the time of shooting can be generated.

[0047] The learning-time black floating calculation unit 212 calculates the amount of black floating from the student image generated by the noise addition unit 211. Specifically, the amount of black floating is calculated from a student image generated by adding noise to a teacher image in which all pixels have the same pixel value as the offset. The amount of black floating is the difference between the average value of all pixels of the student image and the offset.

[0048] The learning unit 213 initializes the weights of the CNN using the received network parameters 219, and then performs NR learning using the learning data generated by the noise adding unit 211. The NR learning is performed by a learning NR unit 214, an error calculation unit 215, and a model update unit 216, and will be described in detail with reference to FIG. 5(B).

[0049] The learning NR unit 214 receives the learning data 503 from the noise adding unit 211, and reduces noise in the student image 504. Specifically, the student image 504 is first input to the CNN 501, and the convolution operation and nonlinear operation using the filter according to the formulas (1) and (2) are repeated multiple times to output the learning result.

[0050] At this time, not only the amount of noise reduction but also the amount of black floating suppression is learned. The black floating suppression amount is the amount by which the pixel value that has shifted due to black floating is adjusted to the vicinity of the set offset. It is the amount that determines how much to add or subtract from the offset of the input image 116. The black floating suppression amount will be described in detail below with reference to FIG. 8. FIG. 8(A) is a reprint of FIG. 4(C). When noise reduction is performed on an OB region where black floating occurs, it would normally converge to a value slightly shifted from the offset in the positive direction, and black floating would remain. However, if learning is done not only to reduce noise but also to suppress black floating, this can be resolved.

[0051] A pre-trained model is used to perform inference on a black image to which a pre-prepared offset and digital gain have been applied, and the difference in the average value of the entire image before and after inference is the amount of black float suppression. The black arrow pointing to the left in Figure 8(B) represents the amount of black float suppression.

[0052] Next, the error calculation unit 215 inputs the teacher image 505 and the learning result 506 to Loss 507 and calculates the error therebetween. Here, the teacher image 504, the student image 505, and the learning result 506 all have the same number of pixels. Finally, the model update unit 216 inputs the calculated error to Update 508, and updates the network parameters related to the CNN 501 so as to reduce the error.

[0053] In addition, the CNN used in the training NR unit 214 is the same neural network as the CNN used in the inference NR unit 114.

[0054] <Processing flow of the entire system> Next, various processes performed in the information processing system of this embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart showing the flow of processes in the information processing system. Each functional unit shown in Fig. 2 is realized by CPU 101 executing a computer program corresponding to each functional unit. However, all or part of the functional units shown in Fig. 2 may be implemented in hardware. Below, the description will be given along with the flow in Fig. 9. In the following description, the symbol "S" means step.

[0055] First, an example of NR learning will be described with reference to FIG.

[0056] In S901, a group of teacher images 217 and a result of analysis of noise characteristics of the imaging device 218 are input to the cloud server 200. The teacher images are RAW images of a Bayer array, and are obtained by capturing images using the imaging device 10, for example. This is not limiting, and images captured using the imaging device 10 may be uploaded as they are, or images may be stored in a HDD or the like and then uploaded.

[0057] The data of the teacher image group 217 input to the cloud server 200 and the noise characteristic analysis result 218 of the imaging device are sent to the degradation adding unit 211 .

[0058] In S902, the noise adding unit 211 adds noise to the teacher images using the teacher image group 217 input in S901 and the noise characteristic analysis result 218 of the imaging device to generate student images, and generates a learning data set that pairs these images. At this time, the noise is added in a preset order or in a random order.

[0059] In S903, the learning-time black level calculation unit 212 calculates the amount of black level from the student image generated in S902.

[0060] In S904, network parameters to be applied to the CNN for NR learning are input to the cloud server 200. The network parameters include initial values ​​of the neural network parameters, and hyperparameters indicating the structure and optimization method of the neural network. The input network parameters are sent to the learning unit 213.

[0061] In S905, the training NR unit 214 initializes the weights of the CNN using the received network parameters, and then reduces the noise in the student image generated in S902 to obtain a training result.

[0062] In S906, the error calculation unit 215 calculates the error between the learning result and the teacher image in accordance with the loss function shown in equation (3).

[0063] In S907, the model update unit 216 updates the network parameters so as to reduce the error obtained in S906, as described above.

[0064] In S908, the learning unit 213 determines whether or not to end the learning. For example, the learning unit 213 can determine to end the learning when the number of updates of the network parameters reaches a predetermined number. If the learning is not to be ended, the process returns to S905, and learning is performed using other learning data.

[0065] Next, an example of NR inference will be described with reference to FIG.

[0066] In S909, the trained model 220 trained by the cloud server 200, the OB parameters for calculating the amount of false black, and a RAW image in a Bayer array that is the subject of NR inference are input to the edge device 100 as the input image 116. For example, this RAW image may be directly input after being captured by the imaging device 10, or may be read out after being captured in advance and stored in the large-capacity storage device 104. The trained model 220 is sent to the adjustment amount calculation unit 113 and the NR unit 114, and the input image 116 and the OB parameters 117 are both sent to the inference-time false black calculation unit 112.

[0067] In S910, the inference time black level calculation unit 112 calculates the amount of black level from the OB region of the input image .

[0068] In S911, the adjustment amount calculation unit 113 calculates the difference between the amount of black floating calculated in S910 and the amount of black floating suppression stored in the trained model 220 acquired in S909.

[0069] In S912, the adjustment amount calculation unit 113 adds the difference value calculated in S911 to the input image .

[0070] In S913, the NR unit 114 performs NR inference to reduce noise in the input image 116 using the trained model 220, and obtains an inference result. At this time, the existing network parameters are initialized with the updated network parameters received from the cloud server 200. In this way, the input image 116 is input to the CNN to which the updated network parameters are applied, and NR inference is performed.

[0071] In S914, the second adjustment unit 115 subtracts the difference value calculated in S911 from the inference result obtained in S913. In this way, the result in which noise is reduced while black floating is suppressed is output as the output image 118.

[0072] The above is the overall flow of the processing performed in the information processing system of this embodiment. As a result, when a trained model obtained by training noise reduction is used, noise can be appropriately reduced even for an input image in which black floating occurs differently from that at the time of training.

[0073] Although the learning data is generated in S902, it may be generated later. Specifically, it may be configured to generate a student image corresponding to a teacher image in the subsequent NR learning.

[0074] In this embodiment, learning is performed from scratch using data of a group of teacher images prepared in advance, but the processing of this embodiment may be performed based on learned network parameters.

[0075] In this embodiment, a RAW image captured using a Bayer color filter has been described, but other color filter arrays may be used. Also, the data format of the image is not limited to a RAW image, and may be, for example, a demosaiced RGB image.

[0076] In this embodiment, an example in which the input image has an OB area has been described. However, for an image that does not have an OB area, the amount of black floating is calculated from an image captured in a dark room or with a lens cap attached to block light (light-blocking capture).

[0077] In this embodiment, an example in which the second adjustment unit performs offset adjustment after NR inference has been described, but this is a process that is performed so as not to affect the image processing at the subsequent stage. However, if the image processing at the subsequent stage is performed taking into account the adjusted offset, the process by the second adjustment unit may be skipped.

[0078] [Embodiment 2] In the first embodiment, a mode of appropriately reducing noise for an input image in which a black floating phenomenon different from that at the time of learning occurs when a trained model obtained by training noise reduction is used is described. In this embodiment, a method of reducing noise while suppressing black floating even when there is no information at the time of training of the trained model is described. Note that this embodiment is described on the premise that the trained model is a model that reduces noise. Also, a description of contents common to the first embodiment, such as the basic configuration of the information processing system, will be omitted, and the following description will focus on the differences.

[0079] Fig. 10 is a block diagram showing the functional configuration of the entire information processing system according to this embodiment. As shown in Fig. 10, the edge device 1000 has a first adjustment unit 1011, an NR unit 1015, and a second adjustment unit 1016, and the first adjustment unit 1011 has a black float amount calculation unit 1012, a black float suppression amount calculation unit 1013, and an adjustment amount calculation unit 1014.

[0080] Each functional block of the edge device 1000 will be described in detail below.

[0081] The first adjustment unit 1011 acquires the input image 1017 and adjusts the offset of the input image 1017 using the amount of black floating calculated from the OB region and the amount of black floating suppression of the trained model 2011 received from the cloud server 2000.

[0082] The black level calculation unit 1012 performs the same processing as the inference time black level calculation unit 112 in the first embodiment.

[0083] The black float suppression amount calculation unit 1013 calculates the black float suppression amount from the acquired trained model 2011. Specifically, an image in which all pixels have the same pixel value as the offset of the input image 1017 is first prepared, and noise is added to the image. Next, NR inference is performed on the image to which noise has been added, using the trained model 2011. Then, the difference between the average values ​​of all pixels in the image before inference and the image after inference is calculated, and this is set as the black float suppression amount.

[0084] It is also possible to repeat this series of processes in multiple patterns by changing the amount of added noise, calculating the amount of black float suppression each time, and creating a lookup table (LUT) of the amount of noise and the amount of black float suppression.In that case, when using the same trained model, there is no need to calculate a new amount of black float suppression, and it is sufficient to refer to the LUT.

[0085] The adjustment amount calculation unit 1014 performs the same process as the adjustment amount calculation unit 113 of the first embodiment, but differs only in that the black float suppression amount calculated by the black float suppression amount calculation unit 1013 is used.

[0086] The NR unit 1015 performs the same processing as the inference NR unit 114 in the first embodiment.

[0087] The second adjustment unit 1016 performs the same processing as the second adjustment unit 115 in the first embodiment.

[0088] <Processing flow of the entire system> Next, various processes performed in the information processing system of this embodiment will be described with reference to Fig. 11. Fig. 11 is a flowchart showing the flow of processes in the information processing system. Each functional unit shown in Fig. 11 is realized by CPU 101 executing a computer program corresponding to each functional unit.

[0089] The flow of processing performed by the edge device 1000 in this embodiment will be described below with reference to the flowchart in FIG.

[0090] In S1101, a trained model 2011 trained in the cloud server 2000, OB parameters for calculating the amount of false black, and a RAW image in a Bayer array that is the subject of NR inference are input to the edge device 100 as an input image 1017. The trained model 2011 is sent to a false black suppression amount calculation unit 1013 and an NR unit 1015, and the input image 1017 and the OB parameters 1018 are both sent to a false black amount calculation unit 1012.

[0091] In S1102 , the black floating amount calculation unit 1012 calculates the black floating amount from the OB region of the input image 1017 .

[0092] In S1103, the black level reduction amount calculation unit 1013 calculates the black level reduction amount of the trained model 2011.

[0093] In S1104, the adjustment amount calculation unit 1014 calculates the difference between the amount of black floating calculated in S1102 and the amount of black floating suppression calculated in S1103.

[0094] In S1105, the adjustment amount calculation unit 1014 adds the difference value calculated in S1104 to the input image 1017.

[0095] In S1106, the NR unit 1015 performs NR inference to reduce noise in the input image 1017 using the trained model 2011, and obtains an inference result.

[0096] In S1107, the second adjustment unit 1016 subtracts the difference value calculated in S1104 from the inference result obtained in S1106. As a result, a result in which noise is reduced while black floating is suppressed is output as the output image 1019.

[0097] The above is the overall flow of the processing performed by the information processing system of this embodiment. As a result, even if there is no learning information such as the amount of black float suppression of the learned model, it is possible to reduce noise while suppressing black float.

[0098] [Variations] In the first and second embodiments, an example of adjusting the offset of an input image based on the amount of floating black of the input image and the amount of floating black suppression of the learned model has been described. Once the offset is adjusted, the same adjustment value can be used to some extent. However, if the imaging device is used for a long time, the temperature of the sensor rises and the amount of noise and floating black fluctuates, making it necessary to readjust the offset. Therefore, a function of notifying the timing of the readjustment of the offset may be provided. The timing of the readjustment may be when the amount of floating black exceeds a preset threshold value or when a certain amount of time has passed since the inference process started. Then, the readjustment may be performed at regular intervals. Alternatively, the offset may be automatically readjusted upon receiving a notification. This makes it possible to appropriately reduce noise while suppressing floating black even when the amount of floating black fluctuates.

[0099] The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) for realizing one or more functions. [Explanation of symbols]

[0100] 113 Adjustment amount calculation section 321 NR section for inference

Claims

1. An information processing device that reduces noise using a trained neural network, an adjustment means for adjusting a black level of an input image so that the black level of the input image approaches that of an image used when the neural network is trained; an inference means for performing inference processing on the image adjusted by the adjustment means using the neural network that has been trained to suppress black floating; 13. An information processing device comprising:

2. 2. The information processing apparatus according to claim 1, wherein the adjustment means calculates the difference between an amount of black floating obtained from an optical black region of the input image and an amount of black floating suppression by the neural network.

3. 2. The information processing apparatus according to claim 1, wherein the adjustment means calculates the amount of black floating from a difference between an amount of black floating obtained from an image photographed under dark conditions and an amount of black floating suppression by the neural network.

4. 4. The information processing apparatus according to claim 2, wherein the adjustment means adds the difference to the input image.

5. 2 . The information processing apparatus according to claim 1 , wherein the difference takes a positive value when the black float suppression amount is greater than the black float amount, and takes a negative value when the black float suppression amount is smaller than the black float amount.

6. 4. The information processing apparatus according to claim 2, wherein the adjustment means subtracts the difference from the image after noise reduction.

7. 2. The information processing apparatus according to claim 1, wherein the adjustment means calculates the black level of the input image at a preset timing.

8. 8. The information processing apparatus according to claim 7, wherein the timing is at regular intervals after the inference process is started, or when the degree of black floating exceeds a preset threshold value.

9. 4. The information processing apparatus according to claim 2, wherein the neural network stores the amount of black floating for each sensitivity when the input image is captured.

10. 4. The information processing apparatus according to claim 2, wherein the amount of suppression of black floating is calculated from a difference between an average value of an image photographed under dark conditions and an average value of an image obtained by reducing noise of the image photographed under dark conditions using the neural network.

11. A program for causing a computer to function as each of the means of the information processing device according to claim 1.

12. An information processing method for reducing noise using a trained neural network, comprising: an adjustment step of adjusting a black level of an input image so that the black level of the input image approaches that of an image used when training the neural network; an inference step of performing inference processing on the image adjusted by the adjustment means using the neural network that has been trained to suppress black floating; 13. An information processing method comprising:

Citation Information

Patent Citations

  • Infrared radiator

    JP1988006765A