The invention proposes a
small sample image generation method based on semantic
mask reconstruction and category
semantic learning, and relates to the technical field of
image processing, and the method comprises the steps: S1, constructing a
network model comprising a generator and a
discriminator based on a LoFGAN network; s2, extracting depth features of the input image by using a generator, and fusing the depth features of the input image into depth semantic features through local
feature fusion; s3, semantic
mask reconstruction is carried out on the depth semantic features, and a corresponding image is generated through a decoder; s4, sending a
real image and a corresponding image generated by the decoder into a
discriminator to
train the
network model; s5, inputting the
small sample image into the trained
network model to obtain a generated image similar to the input image; according to the method, the extraction precision of the
semantic information can be effectively enhanced, the understanding ability of the generation model for a complex semantic scene is improved, and the fidelity and definition of the image are improved.