Machine learning device and image processing device

The machine learning device uses a GAN to train models for converting far-infrared images into visible light images, addressing the challenge of accurate conversion and recognition, enabling clear object detection in challenging conditions.

JP2024138027AInactive Publication Date: 2024-10-07JVC KENWOOD CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2024114622
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-07-18
Publication Date
2024-10-07
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing infrared cameras struggle to accurately convert far-infrared images into visible light images, especially at night, due to the lack of color information and difficulty in recognizing specific objects, and existing methods for improving accuracy are limited.

Method used

A machine learning device using a generative adversarial network (GAN) to train a visible light image generation model and identification model, utilizing far-infrared and visible light images from different time periods to enhance the conversion process, ensuring accurate generation and identification of visible light images from far-infrared images.

Benefits of technology

The solution enables high-accuracy conversion of far-infrared images into visible light images, allowing for clear object recognition and detection, even in conditions where visible light cameras are ineffective, such as at night or in adverse weather.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024138027000001_ABST
    Figure 2024138027000001_ABST
Patent Text Reader

Abstract

To convert a far-infrared image into a visible light image with high accuracy.SOLUTION: A far-infrared image teacher data acquisition unit 20 acquires a far-infrared image in a first predetermined time band. A visible light image teacher data acquisition unit 30 acquires a visible light image in a second predetermined time band. A visible light image generation model learning unit 40 performs machine learning of the far-infrared image in the first predetermined time band and the visible light image in the second predetermined time band as teacher data in an adversarial generative network, and generates a learned generation model 60 for generating a visible light image in the second predetermined time band from a far-infrared image in the first predetermined time band. The visible light image generation model learning unit 40 further generates a learned identification model 70 for identifying whether or not a far-infrared image is a far-infrared image captured in the first predetermined time band by performing machine learning in the adversarial generative network.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for converting a far-infrared image into a visible light image. [Background technology]

[0002] Visible light cameras are weak in fog and haze, and cannot capture images of people or animals at night without a light source. On the other hand, far-infrared cameras are resistant to fog and haze, and can capture people and animals even in places without light sources, such as at night. It is possible to take clear photos, but it is difficult to recognize people and animals.

[0003] At night, when there is no visible light, an infrared camera is used to capture images of objects instead of a visible light camera. However, since far-infrared images do not contain color image information, it is difficult to distinguish specific objects such as people from far-infrared images. Therefore, it is difficult to detect far-infrared images so that they can be easily recognized by the human eye. A conversion to a visual light image is performed.

[0004] In Patent Document 1, a generator predicts the color of a subject from pixel values ​​of an infrared image to create a color map. A color image is generated, and a control unit determines candidate colors based on the confidence level for each color associated with the prediction. An image processing apparatus is disclosed. [Prior art documents] [Patent documents]

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

[0006] To convert an infrared image to a visible light image, we need to calculate color values ​​for the pixel values ​​of the infrared image. It was necessary to specify the location precisely, and there was a limit to how much precision could be improved. Converting the image into a daytime color image is difficult.

[0007] The present invention has been made in view of the above circumstances, and its object is to provide a method for obtaining a far-infrared image with high quality. The present invention provides a technology capable of converting a signal into a visible light image with high accuracy. [Means for solving the problem]

[0008] In order to solve the above problem, a machine learning device according to an embodiment of the present invention is provided that: A far-infrared image teacher data acquisition unit for acquiring a far-infrared image and a visible light image for a second predetermined time period. a visible light image teacher data acquisition unit for acquiring a visible light image, and a far-infrared image and a previous image for the first predetermined time period. The second visible light image for a specific time period is used as training data to perform machine learning using a generative adversarial network. A visible light image for the second predetermined time period is generated from a far-infrared image for the first predetermined time period. and a visible light image generation model learning unit that generates a trained generative model that generates a visible light image generation model.

[0009] Another aspect of the present invention is an image processing device. The device includes a far-infrared detector for acquiring a far-infrared image. an infrared image acquisition unit, and a far-infrared image acquisition unit for acquiring the far-infrared image of a first predetermined time period; A visible light image from a second predetermined time period is used as training data for machine learning using a generative adversarial network. a visible light image generating unit that inputs the generated image data into the generative model to generate a visible light image for a second predetermined time period; The acquired far-infrared image is generated by machine learning using a generative adversarial network. Whether the generated far-infrared image is a far-infrared image taken during the first predetermined time period or not and a far-infrared image recognition unit for inputting the visible light image into a recognition model for identifying the visible light image. The far-infrared image identification unit detects that the far-infrared image was taken during the first predetermined time period. When it is determined that the far-infrared image is a visible light image, the visible light image is generated, and the far-infrared image is is not a far-infrared image taken during the first predetermined time period, Does not generate an image.

[0010] Yet another aspect of the present invention is a machine learning device. a far-infrared image acquisition unit for acquiring the far-infrared image, and The image and the visible light image from a second specified time period are used as training data to machine learn the image using a generative adversarial network. A visible light image generator that generates a visible light image for a second predetermined time period by inputting the learned generative model. and a machine learning unit for learning an object detection model using the generated visible light image as training data. A body detection model learning unit and a machine learning unit that uses a generative adversarial network to machine-learn the generated visible light image. The visible light image generated by learning the image is then used as a discrimination model to discriminate whether the image is normal or not. and a visible light image classification unit for inputting the object detection model. When the generated visible light image is determined to be normal by the unit, When the generated visible light image is determined to be abnormal, In this case, the generated visible light image is not used as the training data.

[0011] Any combination of the above components and the expression of the present invention may be used as a method, an apparatus, a system, a recording medium, Conversions between the body, computer program, etc. are also valid aspects of the present invention. be. Effect of the Invention

[0012] According to the present invention, a far-infrared image can be converted into a visible light image with high accuracy. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a configuration diagram of a machine learning device according to a first embodiment. [Diagram 2] FIG. 1 is a configuration diagram of a far-infrared imaging device according to a first embodiment. [Diagram 3] 3(a) and 3(b) are diagrams for explaining the predetermined time period. [Figure 4] 4 is a flowchart illustrating a procedure for machine learning a generation model of a visible light image generation network and a discrimination model of a far-infrared image discrimination network by the machine learning device of FIG. 1. [Diagram 5] 10 is a flowchart for explaining a procedure for converting a far-infrared image into a visible light image by the image processing device of FIG. 2 using a generation model of a visible light image generation network and a discrimination model of a far-infrared image discrimination network. [Figure 6] 6(a) and 6(b) are diagrams for explaining the divided predetermined time periods. [Figure 7] FIG. 11 is a configuration diagram of a machine learning device according to a fourth embodiment. [Figure 8] FIG. 11 is a configuration diagram of a far-infrared imaging device according to a fourth embodiment. [Figure 9] 8 is a flowchart illustrating a procedure for converting a far-infrared image into a visible light image and for machine learning an object detection model by the machine learning device of FIG. 7 using the visible light image as training data. [Figure 10] 9 is a flowchart illustrating a procedure for converting a far-infrared image into a visible light image and detecting an object from the visible light image by the far-infrared imaging device of FIG. 8. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] (Embodiment 1) FIG. 1 is a configuration diagram of a machine learning device 200 according to the first embodiment. The teacher data storage unit 10, the far-infrared image teacher data acquisition unit 20, the visible light image teacher data The apparatus includes an acquisition unit, a visible light image generation model learning unit, and a learned model storage unit. .

[0015] The wavelength range of visible light is 380-780nm, and the wavelength range of far infrared light is 8-15μm. Visible light allows the human eye to see objects such as people, animals, and license plates in detail. Optical cameras are weak at shooting in backlight, fog, and haze, and cannot shoot objects at night without a light source. There are some issues that cannot be addressed.

[0016] On the other hand, far-infrared cameras are resistant to fog and haze, and can capture objects in the dark even in places without light sources, such as at night. However, far-infrared cameras cannot capture detailed images of objects. Therefore, it is difficult to accurately recognize objects, the resolution is low, and there is a lot of distortion. There are issues such as:

[0017] Here, the image taken by the far-infrared imaging device is a far-infrared image, and the image taken by the visible light imaging device is a The image is considered to be a visible light image. It is known that there is a correlation between far-infrared images and visible light images. There are.

[0018] The teacher data storage unit 10 stores a large amount of teacher data of far-infrared images from all time periods. A large amount of training data of visible light images from various time periods is stored.

[0019] The far-infrared image teacher data acquisition unit 20 acquires far-infrared images of a first predetermined time period from the teacher data storage unit 10. The infrared image is acquired as training data and is supplied to the visible light image generation model learning unit 40. The visible light image teacher data acquisition unit 30 acquires the visible light image of the second predetermined time period from the teacher data storage unit 10. The image is acquired as training data and supplied to a visible light image generation model learning unit 40.

[0020] The far-infrared image in the first predetermined time period and the visible light image in the second predetermined time period are taken at different times. Therefore, in general, the composition of the images, i.e. the placement of people and objects in the shots, will vary, but the images will be taken in the same day. The position of the object does not change between the first and second predetermined times. There are also combinations in which the visible light images in the middle zone have the same image composition. The regular time period is nighttime and the second regular time period is daytime.

[0021] The visible light image generation model learning unit 40 derives a second predetermined time from the far-infrared image of the first predetermined time. We generate a trained visible light image generation model that generates visible light images of the first band. Using a far-infrared image taken in a first predetermined time period and a visible light image taken in a second predetermined time period as training data, A visible light image generation network that generates a visible light image when an infrared image is input, and a far-infrared image generation network that generates a visible light image when an infrared image is input. When the image is input, the input far-infrared image is judged to be genuine or fake as a far-infrared image of a first predetermined time period. A far-infrared image classification network that distinguishes objects and a generative adversarial network (GAN) Machine learning using Native Adversarial Networks.

[0022] As a result of training by GAN, a generative model, which is a trained model of a visible light image generation network, was A model 60 and a discrimination model 70 which is a trained model of a far-infrared image discrimination network are The generative model 60 is generated by deriving a possible location of a second predetermined time period from a far-infrared image of a first predetermined time period. This is a trained model of a visible light image generation network that generates visible light images, and the discrimination model 7 0 identifies whether the far-infrared image was taken in a first predetermined time period. This is a trained model of the far-infrared image recognition network. Visible light image generation model training part 4 0 stores the generative model 60 and the discriminative model 70 in the trained model storage unit 50.

[0023] Here, I will explain GAN. GAN is a form of machine learning. GAN is, Generative and discriminative networks are trained in an adversarial manner to improve each other's performance As a result of learning, a trained model of the generative network and a trained model of the discriminative network are generated. You can obtain a trained model of the task.

[0024] When a generative network receives an input signal such as random noise, it generates a trained image feature. It is a neural network that generates new images based on

[0025] A classification network is a network that, when it receives an image, it tries to distinguish whether the input image is a real image (in other words, , target image) or a fake image (in other words, an image generated by a generative network). It is a neural network that identifies whether

[0026] We will explain Pix2Pix and Cycle GAN as GAN learning methods.

[0027] Pix2Pix is ​​a generation network that generates generated image data when input image data is input. The work and the generation network determine whether the input image data is the target image data (i.e., the real image) A classification network that identifies whether the work is generated synthetic image data (i.e., fake). Pix2Pix is ​​a GAN that trains each of these two in an adversarial manner. As a result, we can obtain a set of trained models of generative and discriminative networks. do.

[0028] In Pix2Pix, the input image data in group X and the object image data in group Y are Learn the target image data as one-to-one pairs and convert the features from group X to group Y. (Transformation characteristics) are trained into a generative network.

[0029] In Pix2Pix, the input image data and the target image data that are paired have matching contour information. This is because Pix2Pix predicts the texture information inside the contour. This is because.

[0030] The input image data of group X is applied to the trained model of the generative network that has learned the conversion characteristics. Given the input, the generative network generates generated image data with the features of group Y. do.

[0031] Here, the generation network is a recognition network that recognizes the generated image data as genuine. The discriminative network is trained to discriminate between the generated neural networks and the generative network. The images are trained adversarially against each other to identify them as fake.

[0032] Cycle GAN is a generative network that generates target image data when input image data is input. network and whether the input image data is the target image data (i.e., real) or the generated network. Identification network that identifies whether the image data is generated by the network (i.e., fake) Cycle GAN is a GAN that trains two adversarial neural networks, one for each task. As a result of training, we obtain two sets of trained models, a generative network and a discriminative network. This can be done.

[0033] In Cycle GAN, the input image data in group X and the input image data in group Y are The target image data is trained by Ampere, and the features (transformation) that transform from group X to group Y are obtained. While training the first generative network on the input image data in group Y, The target image data in group X and group Y are learned by Ampere. The second generative network is trained to learn the features (transformation characteristics) that transform the input signal into the input signal X.

[0034] Furthermore, the first generative network that learned the conversion characteristics from group X to group Y , input image data of group X and generate image data having the characteristics of group Y. This generated image data is then processed by the first image processing unit that has learned the conversion characteristics from group Y to group X. The generated image data is input to the generative network of group X. In parallel, we train the transformation characteristic from group Y to group X. The second generative network learns the properties of the input image data of group Y, and the group Generate generated image data having the characteristics of group X. This generated image data is The first generative network learns the transformation characteristics from group Y to group Y, and the resulting The generated image data is trained to return to the input image data of group Y. In other words, Cycle GAN is trained taking into account the mutual conversion between group X and group Y. The higher the correlation between group X and group Y, the more effective the conversion.

[0035] Here, the first classification network is provided with a generated image data generated by the first generation network. The image data of group Y and the image data of group Y are input to the first classification network. Whether the image is real (i.e., the image data of group Y) or fake (i.e., the image data of the first generating network The system is trained to distinguish whether the image is generated by the AI ​​or not.

[0036] In addition, the second classification network is provided with generated image data generated by the second generation network. The image data of group X and the image data of group X are input, and the image input to the second classification network is Either real (i.e., image data of group X) or fake (i.e., the second generation network The system is trained to identify whether the image is generated by the computer or not.

[0037] Here, the first generating network performs a first identification that the generated generated image data is genuine. The network is trained to identify them.

[0038] In addition, the second generating network uses the second identification network to determine whether the generated image data is genuine. The network learns to identify the

[0039] In Cycle GAN, the input image data and the target image data are parallel, and the contour information is The information does not need to match. This is because Cycle GAN predicts the contour while This is because the internal texture information is predicted.

[0040] The input image of group X is applied to the trained model of the first generative network that has learned the transformation characteristics. Given the input data, the generative network generates generated image data with the features of group Y. Generate.

[0041] The input image of group Y is applied to the trained model of the second generative network that has learned the transformation characteristics. Given the input data, the generative network generates generated image data with the features of group X. Generate.

[0042] As described above, Pix2Pix and Cycle GAN can extract group X images from group X. It is possible to train a generative network to generate images with the features of group Y.

[0043] For example, let the images of group X be edge images of a bag, and the images of group Y be photo images of the bag. In this case, a generative network is trained to output a photographic image when an edge image is input. It is possible to do so.

[0044] In the first embodiment, a Cycle GAN is used as the GAN. In the GAN description, group X is the far-infrared image and group Y is the visible light image. be.

[0045] FIG. 2 is a configuration diagram of a far-infrared imaging device 300 according to the first embodiment. The apparatus 300 includes a trained model storage unit 50, an image processing device 100, and an image display unit 110. The image processing device 100 includes a far-infrared image acquisition unit 80, a far-infrared image identification unit 85, and and a visible light image generating unit 90. The trained model storage unit 50 stores the trained model shown in FIG. The configuration of the storage unit 50 is the same as that of the visible light image generation model learning unit 40. A generative model 60, which is a trained model of the optical image generation network, and a far-infrared image recognition network A discrimination model 70, which is a trained model of the network, is stored.

[0046] The far-infrared image acquisition unit 80 acquires the far-infrared image captured by the far-infrared imaging device 300. The far-infrared image discrimination unit 85 obtains the far-infrared image and supplies it to the far-infrared image discrimination unit 85. The far-infrared image acquired by the acquisition unit 80 is read out from the trained model storage unit 50. The far-infrared image is input to the identification model 70 and acquired during a first predetermined time period. The far-infrared image discrimination unit 85 discriminates whether the acquired far-infrared image is a line image or not. If the image is a far-infrared image captured during a first predetermined time period, the image is supplied to the visible light image generating unit 90. If the acquired far-infrared image is not a far-infrared image taken during the first predetermined time period, a visible light It is not supplied to the image generating unit 90.

[0047] The visible light image generating unit 90 converts the far-infrared image provided by the far-infrared image identifying unit 85 into The generated image is input to the generation model 60 read from the trained model storage unit 50 to generate a visible light image. As a result, the visible light image generating unit 90 generates a far-infrared image by the far-infrared image identifying unit 85. If the image is determined to be a far-infrared image taken during the first predetermined time period, a visible light image is generated. When it is determined that the far-infrared image is not a far-infrared image taken during the first predetermined time period, , and does not produce a visible light image.

[0048] Here, as described above, the generative model 60 is generated by calculating the far-infrared image of the first predetermined time period and the far-infrared image of the second predetermined time period. Visible light imagery generated by machine learning using a generative adversarial network using images of visible light over a certain time period as training data. A trained model of an image generation network that generates a second image from a first far-infrared image of a given time period. A visible light image for a given time period is generated.

[0049] The image display unit 110 displays the visible light image generated by the visible light image generating unit 90 . The image display unit 110 displays the far-infrared image acquired by the far-infrared image acquisition unit 80. The image display unit 110 may display either a far-infrared image or a visible light image, It is possible to display both far-infrared and visible light images, or to display a combination of far-infrared and visible light images. It may be shown.

[0050] As mentioned above, in situations where a visible light camera cannot capture an object, such as backlight, fog, haze, or night, Then, a far-infrared camera that can take a vague picture of the object captures the outline of the object, A visible light image generation network trained with GAN from far-infrared images containing the captured object. In this way, the far-infrared image can be used to generate detailed images of the object. It is possible to obtain a visible light image that allows the object to be clearly and in detail even when viewed from a distance.

[0051] More specifically, a visible light image generation network that generates a visible light image when a far-infrared image is input is used. The system generates a generative model 60, which is a trained model of the network. Far-infrared images taken during times when it is not bright or detailed (such as nighttime) By inputting the generative model 60, the object can be captured clearly or in detail using a visible light camera. Visible light imaging that allows objects to be clearly and in detail identified even during times when it is not possible to see the surrounding area. An image can be obtained.

[0052] In addition, when a far-infrared image is input, the input far-infrared image is converted into far-infrared images during a first predetermined time period. This is a trained model of a far-infrared image recognition network that distinguishes whether an image is an image or not. The model 70 is generated. The model 70 is used to identify the image as a far-infrared image taken in a first predetermined time period. The high-precision far-infrared images, which are distinguished by the difference in the visible light image generation network, are trained models. The visible light image generation network is provided to the generative model 60. The visible light image generation network uses the trained far-infrared image and If the probability density distribution of the features is similar to that of a far-infrared image, it can be converted to a visible light image with high accuracy. can be done.

[0053] 3(a) and 3(b) are diagrams for explaining a predetermined time period. The first predetermined time period is night. The first predetermined time period is a daytime period, and the second predetermined time period is a daytime period. The daytime period may be from 9:00 to 15:00, and the nighttime period may be from 21:00 to 3:00 the next day. Thus, the daytime period may be from 6:00 to 18:00, and the nighttime period may be from 18:00 to 6:00 the next day.

[0054] Visible light cameras can capture people and other objects clearly during the day, but at night At night, however, far-infrared cameras cannot capture people or other objects clearly. Even at this time, it is difficult to capture the detailed texture of objects such as people. The shape can be clearly photographed.

[0055] Therefore, the first predetermined time period is a time period during which the object can be clearly photographed by a visible light camera. The second predetermined time period is a time period in which the object cannot be clearly photographed by the visible light camera. It is.

[0056] In addition, visible light images taken by a visible light camera can be captured not only depending on the time of day, but also on the season and weather. By limiting the location and other factors, the quality of the visible light images used as training data can be improved. For example, visible light images taken on a sunny day in March and images taken on a specific floor can be Visible light images are taken using a visible light camera. Visible light images are taken depending on the time of day, season, etc. It is preferable to select the conditions such as weather and location so that the amount of visible light falls within a predetermined range. stomach.

[0057] On the other hand, far-infrared images taken by far-infrared cameras are similarly sensitive not only to time of day, but also to the following: By limiting the season, weather, location, etc., the quality of the far-infrared images used as training data can be improved. It is possible to improve the quality of images captured by a far-infrared camera. It is preferable to select the time period, season, weather, location, and other conditions so that the temperature falls within a predetermined range. stomach.

[0058] In this way, by using visible light images and far-infrared images limited to the time of day, season, weather, and location, By training with GAN, a highly accurate visible light image generation network and a far-infrared image recognition network can be developed. It is possible to generate a trained model of the network.

[0059] FIG. 4 shows a generation model of a visible light image generation network generated by the machine learning device 200 of FIG. The procedure for machine learning the model 60 and the recognition model 70 of the far-infrared image recognition network is explained. In this example, the first predetermined time period is nighttime, and the second predetermined time period is nighttime. The period will be explained assuming daytime.

[0060] The far-infrared image teacher data acquisition unit 20 acquires nighttime far-infrared images from the teacher data storage unit 10. The visible light image teacher data acquisition unit 30 acquires the daytime visible light image teacher data from the teacher data storage unit 10 (S10). A visible light image is acquired (S20).

[0061] The visible light image generation model learning unit 40 uses nighttime far-infrared images and daytime visible light images as training data. By using machine learning with GAN as a learning algorithm, we can generate daytime visible light images from nighttime far-infrared images. A generative model 60 is generated (S30).

[0062] The visible light image generation model learning unit 40 uses nighttime far-infrared images and daytime visible light images as training data. By using GAN machine learning, the far-infrared image is captured as a far-infrared image taken at night. In this example, after S30, a classification model 70 is generated to classify whether the Although S40 is illustrated as being executed, generally in GAN, S30 and S40 are executed mutually. It is executed repeatedly.

[0063] FIG. 5 shows a visible light image generation network generated by the far-infrared imaging device 300 of FIG. Using the model 60 and the identification model 70 of the far-infrared image identification network, 1 is a flowchart for explaining a procedure for converting a pixel value into a visible light image. The first predetermined time period is assumed to be nighttime, and the second predetermined time period is assumed to be daytime.

[0064] A far-infrared image captured by the far-infrared imaging device 300 is input (S50).

[0065] Using a classification model70 trained by machine learning using GAN, the input far-infrared image is taken at night. Then, it is determined whether the image is a far-infrared image captured by the camera (S60).

[0066] If the input far-infrared image is a far-infrared image taken at night (Y in S70), Proceed to step S80, and it is determined that the input far-infrared image is not a far-infrared image taken at night. If so (N in S70), end the process.

[0067] A generative model machine-learned by GAN using nighttime far-infrared images and daytime visible light images as training data. The input far-infrared image is converted into a daytime visible light image using the digital camera 60 (S80).

[0068] The generated daytime visible light image is output (S90). The output daytime visible light image is used for object detection. It is used in situations such as going out.

[0069] According to the first embodiment, a nighttime far-infrared image and a daytime visible light image are used as training data, and a far-infrared A visible light image generation network that generates visible light images from infrared images is trained using GAN, and a far-infrared The external light image is converted into a visible light image using a generative model of a visible light image generation network trained with GAN. By switching between the two, you can get clear images day or night.

[0070] A trained visible light image generation network that generates visible light images when a far-infrared image is input. By installing the generative model 60, which is a model for generating images, in the far-infrared imaging device 300, The far-infrared imaging device 300 is capable of recognizing people and animals as if they were visible light images. It can be achieved.

[0071] In addition, when a far-infrared image is input, the input far-infrared image is converted into far-infrared images during a first predetermined time period. This is a trained model of a far-infrared image recognition network that distinguishes whether an image is an image or not. By mounting the model 70 on the far-infrared imaging device 300, a visible light image is generated by the generated model 60. The accuracy of image generation can be improved.

[0072] (Variation 1) The machine learning device 200 according to the first embodiment includes training data and a visible light image generation model learning unit 4. Since the configuration and operation of the second predetermined time t0 are different from those of the first modification, only the differences will be described. The teacher data of the visible light image in the intermediate time period is the same as the teacher data of the far-infrared image in the first predetermined time period. The images are taken of the same object at the same time and have the same composition. The far-infrared image taken at the first predetermined time period and the The visible light images for the two predetermined time periods form a pair. Therefore, the visible light image generation model learning unit 40 ,We use Pix2Pix as a learning method for GAN.

[0073] The visible light image generation model learning unit 40 compares the teacher data of the far-infrared image in the first predetermined time period with the first 2. Pair the training data of visible light images from a specific time period and use Pix2Pix for machine learning. A trained visible light image generation network that generates visible light images when a far-infrared image is input In the above explanation of Pix2Pix, Group X is the far infrared image and group Y is the visible light image.

[0074] In addition, the visible light image generation model learning unit 40 detects whether the input far-infrared image is within a first predetermined time period. A trained model of a far-infrared image classification network that distinguishes whether or not a far-infrared image is In the above description of Pix2Pix, the group Y is Group X is the visible light image.

[0075] It is important to prepare a large number of images taken of the same subject in the same location with the same composition. If possible, a visible light image generation network that generates a visible light image when a far-infrared image is input. This can improve the accuracy of generating a visible light image by the generation model 60.

[0076] (Variation 2) The machine learning device 200 according to the first embodiment includes training data and a visible light image generation model learning unit 4. Since the configuration and operation of Modification 2 are different from those of Modification 1, only the differences will be described. The training data is obtained by analyzing the same object in the same location as the training data of the far-infrared image in the first predetermined time period. These are visible light images taken at the same time of day with floodlight so that they have the same composition.

[0077] The visible light image generation model learning unit 40 compares the teacher data of the far-infrared image in the first predetermined time period with the first 1) Training data of visible light images projected during a specific time period is paired and machine learning is performed using GAN Then, we trained a visible light image generation network that generates a visible light image when a far-infrared image is input. A generative model 60, which is a finished model, is generated.

[0078] Here, Pix2Pix may be used as the GAN. In this case, the teacher data of the far-infrared image and the teacher data of the visible light image should be taken at the same time as much as possible. This is because the training data for the far-infrared image is taken immediately before the light is projected, and the training data for the visible light image is taken immediately before the light is projected. The master data can be obtained by taking a picture immediately after the light is projected. In the light, group X is the far-infrared image and group Y is the visible light image.

[0079] A large number of images taken at almost the same time, in the same place, of the same subject with the same composition If this is possible, a visible light image generator can be used to generate a visible light image by inputting a far-infrared image. The accuracy of generating visible light images by the generation model 60 of the generation network can be improved. .

[0080] (Embodiment 2) In the second embodiment, at least one of the first and second predetermined time periods is set to a plurality of time periods. The visible light image generation model learning unit 40 creates a generation model 6 for each divided time period. 0 and the discrimination model 70, and the far-infrared image discrimination unit 85 and the visible light image generation unit 90 The system switches between the generative model 60 and the discriminative model 70 depending on the time of day.

[0081] 6(a) and 6(b) are diagrams for explaining the divided predetermined time periods. The time period is a nighttime period, and the second predetermined time period is a daytime period. As shown in FIG. Alternatively, the nighttime period may be divided into two periods with different characteristics of far-infrared images. The image identification unit 85 switches the identification model 70 according to the time period during which the far-infrared image was captured. By using it in combination, the accuracy of identification can be improved.

[0082] As shown in Fig. 6(b), the daytime period is divided into three time periods with different characteristics of visible light images. Alternatively, the nighttime period may be divided into two periods with different characteristics of far-infrared images. The image discrimination unit 85 and the visible light image generation unit 90 select the discrimination model 70 and generation model 70 that are appropriate for the shooting time period. By switching between the use of 60, the accuracy of identification and generation can be improved, while the visible light generated It is possible to diversify images.

[0083] In addition, the time period is the same as in the first embodiment, but the classification model 70 is different for each season, weather, and location. By preparing the generative model 60, the accuracy of the far-infrared image discrimination unit 85 and the visible light image generation unit 90 can be improved. The degree may be improved.

[0084] (Embodiment 3) The machine learning device 200 according to the third embodiment is configured and operated by the visible light image training data acquisition unit 30. However, it differs from the machine learning device 200 of the first embodiment, and the rest of the configuration and operation are the same. Descriptions of configurations and operations common to the first embodiment will be omitted as appropriate.

[0085] Visible light cameras can take clear images of people and license plates on clear daytime hours. However, images that have not been anonymized and that show license plates may be subject to personal information protection measures. Therefore, in the machine learning device 200 according to the third embodiment, Visible light images that have been concealed so that they cannot be recognized are used as training data.

[0086] The visible light image teacher data acquisition unit 30 of the machine learning device 200 acquires the visible light image teacher data from the teacher data storage unit 10. The acquired visible light image is concealed so that the specified object cannot be recognized, and the specified object is The visible light image generation model is trained using teacher data of visible light images that have been anonymized so that they cannot be recognized. The information is supplied to section 40.

[0087] The visible light image generation model learning unit 40, like the first embodiment, A trained visible light image generation model is generated to generate a visible light image for a second predetermined time period from the line image. However, the visible light images used for learning as training data cannot recognize the specified object. Therefore, the visible light image generation network generated as a result of learning is The generative model 60 of the image is concealed so that the far-infrared image cannot be recognized as a specific object. This converts the image into a visible light image. Personal information is protected at night and during the day, and portrait rights are protected. This allows for a clear, easily viewable image to be obtained.

[0088] In the image processing device 100, the visible light image generating unit 90 generates a far-infrared image using the generation model 60. When a visible light image is generated from the image, the visible light image is concealed so that the specified object cannot be recognized. Since the generated visible light image is a light image, there is no need to conceal the specified object in the generated visible light image. It is.

[0089] The specified object is the object of personal information protection and portrait right protection, and an example of such object is a human face. The target object is a human face, a head, or a license plate of a car or motorcycle. The head, including the number plate of the car or motorcycle, etc., Any object is sufficient. In order to strongly protect rights, the specified object should be a person's whole body, a car, or a bicycle. It can also be used as a whole.

[0090] The pixel values ​​in the area of ​​the predetermined object are replaced with a predetermined pixel value (e.g., black) to determine whether the predetermined object is recognized. Here, the pixel values ​​of a given object are replaced with a given pixel value. However, it is sufficient if the specified object cannot be recognized. For example, computer graphics (CG) Alternatively, the pixel values ​​of each image may be changed to red, blue, green, or other colors. You can change it to something like:

[0091] The determination of whether or not the predetermined object can be recognized is performed, for example, by Another method is to use a trained object recognition model trained on a given A person may visually determine whether or not the object can be recognized.

[0092] (Variation 1) As another example of a concealment process for making a predetermined object unrecognizable, a predetermined Define a size where the object cannot be accurately identified, and all the objects are Only visible light images that are equal to or smaller than a predefined size are used as training data. Confidentiality processing may be performed.

[0093] (Variation 2) As another example of a concealment process for preventing a predetermined object from being recognized, If the size of the object is equal to or larger than a certain size defined in In other words, a concealment process may be performed so that the predetermined object cannot be recognized.

[0094] In the third embodiment and its modified example, the far-infrared image and the predetermined object are not recognized. The concealed visible light image is used as training data to train the GAN to create a far-infrared image. When the user inputs a visible light image, a hidden visible light image is generated so that the specified object cannot be recognized. We will create a trained model of the optical image generation network. This will enable us to protect personal information and portraits. It is possible to generate a visible light image that is easy to see except for a specified object while complying with copyright protection. .

[0095] In addition, the visible light images generated by GAN are pseudo images generated from the features of learned images. Therefore, it is easy to make the predetermined object anonymous.

[0096] In addition, by pre-training a trained model of the visible light image generation network, During operation, no concealment processing of the specified objects is required.

[0097] (Embodiment 4) Far-infrared cameras are resistant to fog and haze, and can capture people and animals in a blur even in places without light sources, such as at night. However, far-infrared cameras are not capable of capturing detailed images of people, animals, and other objects. Since it is not possible to capture images in a wide angle and there is no color information, the accuracy of object detection and recognition is low. In the fourth embodiment, a visible light image generating network that generates a visible light image from a far-infrared image is used. The network learns the algorithm and generates a visible light image from a far-infrared image using a generative model of the visible light image generation network. The accuracy of object detection is improved by detecting objects in visible light images generated from the real object.

[0098] FIG. 7 is a configuration diagram of a machine learning device 400 according to the fourth embodiment. The image processing device 100, the teacher data storage unit 120, the object detection model learning unit 130, and and an object detection model storage unit 140. The image processing device 100 includes a far-infrared image acquisition unit 80. , a visible light image generating unit 90, and a visible light image identifying unit 95. In this embodiment, in addition to the machine learning device 400, the machine learning device 200 in FIG.

[0099] In the fourth embodiment, the visible light image generation model learning unit 40 in FIG. 1 detects far-infrared light in a first predetermined time period. Using the outside light image and the visible light image in the second predetermined time period as training data, the far-infrared image is input. A visible light image generation network that generates a visible light image based on a visible light image and The visible light image is then used to identify whether the visible light image is genuine or fake as a visible light image for a second predetermined time period. The classification network is machine-learned using GAN.

[0100] As a result of training by GAN, a generative model, which is a trained model of a visible light image generation network, was The model 60 and the discrimination model 75, which is a trained model of the visible light image discrimination network, are generated. The generative model 60 is generated by deriving the visible light image in the second predetermined time period from the far-infrared image in the first predetermined time period. This is a trained model of a visible light image generation network that generates light images, and the discrimination model 75 identifies whether a visible light image is genuine or fake as a visible light image captured during a first predetermined time period. This is a trained model of a visible light image recognition network. Visible light image generation model training unit 40 The generated model 60 is a trained model of a visible light image generation network, and the visible light image A discrimination model 75, which is a trained model of the discrimination network, is stored in the trained model storage unit 50. The visible light image generation model learning unit 40 stores the generation model 60 in the visible light image generation unit 90. The visible light image generation model learning unit 40 also supplies the discrimination model 75 to the visible light image discrimination unit 40. It is supplied to another section 95.

[0101] The far-infrared image acquisition unit 80 acquires a far-infrared image and supplies it to the visible light image generation unit 90. .

[0102] The visible light image generating unit 90 converts the far-infrared image provided by the far-infrared image acquiring unit 80 into a visible light image. The visible light image is generated by inputting the image to a generative model, which is a trained model of the visible light image generation network. The generated visible light image is supplied to the visible light image discrimination unit 95.

[0103] The visible light image discrimination unit 95 discriminates the visible light image provided by the visible light image generation unit 90 from the visible light image The input visible light image is input to a discrimination model, which is a trained model of the image discrimination network. The image is classified as genuine or fake, and the visible light image that is classified as genuine is stored in the teacher data storage unit 12. 0, and visible light images identified as fake are not stored in the teacher data storage unit 120. Here, if the input visible light image is identified as genuine, If the input visible light image is identified as a fake, the input The resulting visible light image is determined to be abnormal.

[0104] The teacher data storage unit 120 stores one or more of the following in the input visible light image: For an object, a tag (e.g. object name) and the position of its bounding box For example, if 1000 objects are stored, When the data is accumulated, the generation of the training data is completed, and the object detection model training unit 130 is instructed to start training. Here, examples of tags to be added to objects include human faces, pedestrians, cars, and bicycles. etc.

[0105] The object detection model learning unit 130 detects whether sufficient training data has been accumulated in the training data storage unit 120. When the instruction to start learning is received, the learning process starts using the teacher data stored in the teacher data storage unit 120. Here, the object detection model is machine-learned by using the above. A representative model, Convolutional Neural Network (CNN), We use YOLO (You Only Look Once) which uses the network. The unit 130 stores the machine-learned object detection model in the object detection model storage unit 140.

[0106] FIG. 8 is a configuration diagram of a far-infrared imaging device 500 according to the fourth embodiment. The device 500 includes an image processing device 100, an object detection model storage unit 140, an object detection unit 150, and and an image display unit 160. The image processing device 100 processes the image of the machine learning device 400 in FIG. Similar to the processing device 100, a far-infrared image acquisition unit 80, a visible light image generation unit 90, and a visible light The object detection model storage unit 140 includes the object detection model storage unit 1 shown in FIG. 40 and the object detection model learned by the object detection model learning unit 130. is stored.

[0107] The far-infrared image acquisition unit 80 acquires the far-infrared image captured by the far-infrared imaging device 500. and supplies it to the visible light image generating unit 90.

[0108] The visible light image generating unit 90 converts the far-infrared image provided by the far-infrared image acquiring unit 80 into a visible light image. The visible light image is generated by inputting the image to a generative model, which is a trained model of the visible light image generation network. The generated visible light image is supplied to the visible light image discrimination unit 95.

[0109] The visible light image discrimination unit 95 discriminates the visible light image provided by the visible light image generation unit 90 from the visible light image The input visible light image is input to a discrimination model, which is a trained model of the image discrimination network. The image is identified as being genuine or fake, and the visible light image that is identified as being genuine is provided to the object detection unit 150. and any visible light images identified as fake are not provided to the object detection unit 150.

[0110] The object detection unit 150 detects the input visible light image by comparing it with the object detection model stored in the object detection model storage unit 140. The input is then fed into an object detection model to detect objects in a visible light image. The captured visible light image and the detected object information are provided to the image display unit 160. The display unit 160 combines the visible light image, the tag, and the bounding box and displays them on the screen. do.

[0111] As mentioned above, in situations where a visible light camera cannot capture an object, such as backlight, fog, haze, or night, Then, a far-infrared camera that can take a vague picture of the object captures the outline of the object, A visible light image generation network trained with GAN from far-infrared images containing the captured object. This allows the generation of detailed parts of the object using far-infrared images. Even with such a large amount of data, object recognition and detection can be performed with high accuracy.

[0112] FIG. 9 shows a case where a far-infrared image is converted into a visible light image by the machine learning device 400 of FIG. A flow chart explaining the steps to machine-learn an object detection model using visual light images as training data In this example, the first predetermined time period is nighttime, and the second predetermined time period is daytime. This will be explained as follows.

[0113] The far-infrared image acquisition unit 80 receives a far-infrared image (S100).

[0114] The visible light image generating unit 90 generates a GA image by using the nighttime far-infrared image and the daytime visible light image as training data. Using a generative model of a visible light image generation network trained by machine learning on N, the input far-infrared The outside light image is converted into a daytime visible light image (S110).

[0115] The visible light image classification unit 95 is a classification network for visible light image classification that is machine-learned by GAN. Using the model, it is determined whether the converted daytime visible light image is normal (S120). If the converted daytime visible light image is normal (Y in S130), proceed to step S140. If the converted daytime visible light image is not normal (N in S130), go to step S100. return.

[0116] The visible light image classification unit 95 uses the daytime visible light images determined to be normal as training data. The result is stored in the data storage unit 120 (S140).

[0117] The object detection model learning unit 130 uses daytime visible light images accumulated as training data to An object detection model is machine-learned (S150).

[0118] FIG. 10 shows a case where a far-infrared image is converted into a visible light image by the far-infrared imaging device 500 shown in FIG. 1 is a flowchart illustrating a procedure for detecting an object from a visible light image.

[0119] The far-infrared image acquisition unit 80 acquires the far-infrared image captured by the far-infrared imaging device 500. (S200).

[0120] The visible light image generating unit 90 generates a GA image by using the nighttime far-infrared image and the daytime visible light image as training data. Using a generative model of a visible light image generation network trained by machine learning on N, the input far-infrared The outside light image is converted into a daytime visible light image (S210).

[0121] The visible light image classification unit 95 is a classification network for visible light image classification that is machine-learned by GAN. Using the model, it is determined whether the converted daytime visible light image is normal (S220). If the converted daytime visible light image is normal (Y in S230), proceed to step S240. If the converted daytime visible light image is not normal (N in S230), go to step S200. return.

[0122] The object detection unit 150 uses the object detection model to extract an object from the daytime visible light image determined to be normal. The image display unit 160 detects an object in the daytime visible light image (S240). The object is displayed (S250).

[0123] (Variation 1) In the fourth embodiment, the image processing device 100 is provided with a visible light image discrimination unit 95. The image classification unit 95 may be omitted. A visible light image discrimination unit 95 may be installed, and the image processing device 100 of the far-infrared imaging device 500 The visible light image discrimination unit 95 may be provided only in the first region.

[0124] (Variation 2) In the far-infrared imaging device 500 of FIG. 8, the visible light image discrimination unit 95 discriminated the image as genuine. The object detection unit 150 detects an object only from the visible light image, but the visible light image discrimination unit 95 The object detection unit 150 may also detect an object from the visible light image that is identified as an object. The threshold value B of the reliability of the object detection when the visible light image discrimination unit 95 discriminates that the object is a fake is set as The threshold value A is set higher than the threshold value A of the reliability of the object detection when the optical image discrimination unit 95 discriminates the object as genuine. In other words, if the visible light image discrimination unit 95 discriminates that the object is a fake, the reliability of the object detection is lower than the threshold. If the value is not higher than value B (> A), the object is not considered to have been detected. It is possible to increase the recall rate while increasing the matching rate.

[0125] In addition, when a high reproducibility is required, the visible light image discrimination unit 95 discriminates that the image is a fake. The threshold value B of the reliability of the object detection in the case where the visible light image recognition unit 95 recognizes the object as genuine is When a high accuracy is required, the difference between the threshold A of the object detection confidence level is reduced. The threshold value B of the reliability of object detection when the recognition unit 95 recognizes it as a fake and the visible light image recognition unit 95 may be identified as genuine, the difference between the threshold A of the confidence level of the object detection may be increased.

[0126] In addition, when the visible light image discrimination unit 95 outputs the probability of authenticity, the probability of authenticity is The higher the threshold, the lower the confidence threshold for object detection. The lower the probability that the object is real, the lower the object detection confidence threshold. The reliability of the object detection may be determined by the number of detected objects in a certain area. is an evaluation value of the probability that the object is included.

[0127] According to the fourth embodiment, it is possible to accurately recognize an object from a far-infrared image, which is difficult to do. It is easy to accurately recognize objects by generating visible light images, and then performing object recognition and object detection. This enables highly accurate object recognition and detection even for far-infrared images. do.

[0128] In addition, the object detection network is adapted according to the classification results of the trained model of the classification network. By training, we can train the object detection network to improve its accuracy. can.

[0129] In addition, the object detection network is trained based on the classification results of the classification network. By making more inferences, the accuracy of the object detection network can be improved. The confidence threshold for object detection is changed according to the classification probability of the trained model of the classification network. This makes it possible to easily accommodate a variety of applications.

[0130] In addition, visible light cameras are no longer necessary, and object recognition and detection can be performed with high accuracy using only far-infrared cameras. This is suitable for making the device smaller and lighter.

[0131] The image processing device 100, the machine learning device 200, the far-infrared imaging device 300, and the machine learning device 200 described above The various processes of the machine learning device 400 and the far-infrared imaging device 500 are performed by a CPU, a memory, etc. It can be realized as a hardware device, and also as a ROM (read only memory). firmware stored in a hard disk drive (memory only) or flash memory, The firmware program can also be used to implement the above. The software program is provided by recording it on a computer-readable recording medium. It can be transmitted to and from a server via a wired or wireless network, or over terrestrial Alternatively, it is possible to transmit and receive the signal as a data broadcast of a satellite digital broadcast.

[0132] The present invention has been described above based on the embodiments. The embodiments are merely examples, and each of the structures The fact that various modifications are possible in the combination of components and each treatment process, and that such modifications It will be understood by those skilled in the art that such modifications are also within the scope of the present invention. [Explanation of symbols]

[0133] 10 Teacher data storage unit, 20 Far-infrared image teacher data acquisition unit, 30 Visible light image Image training data acquisition unit, 40 visible light image generation model learning unit, 50 learned model storage unit memory unit, 60 generative model, 70 discriminative model, 80 far-infrared image acquisition unit, 85 Far-infrared image identification unit, 90 Visible light image generation unit, 95 Visible light image identification unit, 10 0 image processing device, 110 image display unit, 120 teacher data storage unit, 130 object Object detection model learning unit, 140 Object detection model storage unit, 150 Object detection unit, 16 0 Image display unit, 200 Machine learning device, 300 Far-infrared imaging device, 400 Machine learning device, 500 far-infrared imaging device.

Claims

1. an infrared image acquisition unit that acquires an infrared image; a visible light image generation unit that generates a visible light image for the second predetermined time period by inputting the infrared image into a generation model that has been machine-learned using the infrared image for the first predetermined time period and the visible light image for the second predetermined time period as training data, 2. An image processing apparatus according to claim 1, wherein the first predetermined time period is nighttime, and the second predetermined time period is daytime.

2. an infrared image acquisition unit that acquires an infrared image; a visible light image generation unit that generates a visible light image for the second predetermined time period by inputting the infrared image into a generation model that has been machine-learned using the infrared image for the first predetermined time period and the visible light image for the second predetermined time period as training data; an infrared image identification unit that identifies whether the infrared image is an infrared image captured during the first predetermined time period; The visible light image generation unit generates the visible light image when the infrared image identification unit identifies the infrared image as an infrared image taken during the first specified time period.

3. An infrared image acquisition step of acquiring an infrared image; a visible light image generating step of inputting the infrared image into a generation model that has been machine-learned using an infrared image in a first predetermined time period and a visible light image in a second predetermined time period as training data, to generate a visible light image in the second predetermined time period, 11. An image processing method according to claim 10, wherein the first predetermined time period is nighttime and the second predetermined time period is daytime.

4. An infrared image acquisition step of acquiring an infrared image; a visible light image generating step of inputting the infrared image into a generative model that has been machine-learned using the infrared image in the first predetermined time period and the visible light image in the second predetermined time period as training data, to generate a visible light image in the second predetermined time period; 2. An image processing program, comprising: a computer program product for processing an image based on the first predetermined time period;

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, and program

    JP2016122905A

  • Image processing apparatus, image processing method, and program

    JP2019046276A

  • Image processing device, image processing method, and program

    US20200193569A1