Infrared image conversion technology based on improved pix2pix
In order to solve the problem of different cost of image acquisition in different light segments,an image con-version method based on pix2pix was proposed.It mainly focuses on the generator and discriminator.In terms of gener-ators,the residual structures generator was used instead of the original U-Net generator to alleviate the gradient vanis-hing problem.Deformable convolution is introduced to improve the generation effect of target edges and small tar-gets.The BAM attention mechanism is introduced to improve the feature extraction ability of the algorithm for the main target in the image to improve the image generation effect.In terms of discriminators:change the number of convolu-tional layers in PatchGAN(the original PatchGAN is 3-layer convolution),and set up a control experiment to find the convolutional layer with the best conversion effect.Some KAIST datasets are selected for training and testing.The ex-perimental results show that the Root Mean Square Error(MSE)of the improved algorithm is reduced by 31.4%and the Structural Similarity(SSIM)is increased by 11.2%,which can better realize the conversion between infrared and visible images.