Sketch image retrieval method based on joint space attention and metric learning

An image retrieval and metric learning technology, applied in the field of sketch image retrieval based on spatial attention and metric learning, can solve the problems of not further exploring the intrinsic relationship between edge maps and natural images, and the dispersion of intra-class distribution, so as to reduce storage space and query. The time required for the process, the effect of reducing the domain difference, and increasing the proportion

Pending Publication Date: 2022-03-15
TIANJIN UNIV
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are two problems to be improved in the above deep learning-based sketch image retrieval methods: First, most methods only use the edge map as an intermediate modality to reduce the domain difference between sketches and natural images, and do not further explore the edge map. Intrinsic relationship with natural images, such as the two have consistent key regions in space; second, image retrieval problems require compact intra-class coding, and the above-mentioned triplet-based methods do not solve the intra-class distribution caused by invalid triplets. scattered problems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Sketch image retrieval method based on joint space attention and metric learning
  • Sketch image retrieval method based on joint space attention and metric learning
  • Sketch image retrieval method based on joint space attention and metric learning

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the purpose, technical solution and advantages of the present invention clearer, the implementation manners of the present invention will be further described in detail below.

[0037] In order to achieve high-performance sketch image retrieval, an embodiment of the present invention proposes a sketch image retrieval method based on joint spatial attention and metric learning. For the implementation process, see figure 1 , including the following steps:

[0038] Step (1) acquires sketch and natural image data.

[0039] Step (2) Randomly sample to construct triplets.

[0040] Step (3) extracts edge maps from natural images and preprocesses all training images.

[0041] Step (4) constructs a semi-heterogeneous retrieval network based on joint spatial attention.

[0042] Step (5) Design and train the loss function for the retrieval network.

[0043] Step (6) pre-encodes the natural images in the gallery, and stores the natural images and their encoding...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a sketch image retrieval method based on joint spatial attention and metric learning. The method comprises the following implementation steps: extracting an edge image from a natural image; forming a training set in a triple form by the sketch, the natural image and the edge image according to category correlation; preprocessing the training set image; constructing a retrieval network with a joint space attention module and an auxiliary classifier; training a retrieval network by adopting cross entropy classification loss, triple loss and intra-class distance constraint loss; after training is completed, discrete codes of the image library images are calculated through the retrieval network, retrieval results are obtained according to inverted sorting of Hamming distances between the discrete codes and query sketch codes, and natural images related to the retrieval intention of the user can be retrieved through the simple freehand sketch.

Description

technical field [0001] The invention relates to the fields of image processing technology and deep learning technology, in particular to a sketch image retrieval method based on spatial attention and metric learning. Background technique [0002] Content-based image retrieval methods require users to provide accurate relevant natural images for retrieval, which limits their application scenarios. Hand-drawn sketch is an intuitive form of retrieval output, and it is easy to obtain now that touch-screen devices are popular, and can express users' specific retrieval intentions without restriction. Therefore, the sketch image retrieval algorithm has a wide range of application values. [0003] Yu et al. [1] Inspired by AlexNet, a deep learning model Skech-a-Net suitable for sketch recognition is designed. A larger convolution kernel is used to enable the network to learn the features of sketches. A multi-scale network fusion method is used to fuse sketch features of various sca...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F16/532G06F16/55G06N3/04G06N3/08
CPCG06F16/532G06F16/55G06N3/08G06N3/045
Inventor 于凌志李岳楠
Owner TIANJIN UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products