Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Image Hash code training model algorithm and classification learning method based on binary weight

Active Publication Date: 2018-09-18
CHENGDU KOALA URAN TECH CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The purpose of the present invention is to solve the problems of existing image classification algorithms in large-scale image data sets, such as excessive memory usage, high computational overhead, and poor classification results, and provide a method that can be used in various image categories and high-latitude scenes. Under the image classification, improve the performance of the algorithm on large-scale data sets, an image hash code training model and classification learning method based on binary weights that are accurate, efficient, fast and low memory consumption

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
  • Image Hash code training model algorithm and classification learning method based on binary weight
  • Image Hash code training model algorithm and classification learning method based on binary weight
  • Image Hash code training model algorithm and classification learning method based on binary weight

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] A hash code image training model algorithm based on binary weights, the algorithm includes the following steps:

[0068] Step 1.1. Select the exponential loss function as the loss function used, and the formula of the objective equation is:

[0069]

[0070]

[0071] Let the generated image binary code be b i is the original training dataset middle x i For the corresponding r-bit binary code, let a linear hash equation be:

[0072] b=sgn(P T x)

[0073] here P is the image hash transpose matrix; T is the transpose symbol; d is the dimension of image x; r is the hash code length;

[0074] The binary code of the classifier is w.

[0075] Step 1.2: Perform unified learning on the classifier obtained in step 1.1 and the binary code of the training image feature, update the hash code of the training image feature and the binary code of the classifier, optimize the objective equation of the loss function selected in step 1.1, and get optimized After the imag...

Embodiment 2

[0106] On the basis of Embodiment 1, different loss functions are selected, and the steps of a hash code image training model algorithm based on binary weights are as follows:

[0107] Step 1.1. Select a simple linear loss function as the loss function used, and the formula of the objective equation is:

[0108]

[0109]

[0110] Let the generated image binary code be b i is the original training dataset middle x i For the corresponding r-bit binary code, let a linear hash equation be:

[0111] b=sgn(P T x)

[0112] here P is the image hash transpose matrix; T is the transpose symbol; d is the dimension of image x; r is the hash code length;

[0113] The binary code of the classifier is w.

[0114] Step 1.2: Perform unified learning on the classifier obtained in step 1.1 and the binary code of the training image feature, update the hash code of the training image feature and the binary code of the classifier, optimize the objective equation of the loss functio...

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 Hash code image training model based on binary weight, and a model algorithm comprises the steps: selecting a loss function, determining a target equation, and performing binary coding of a classifier and training image features; performing unified learning of a binary code, updating the binary code, and optimizing the loss function; and deducing the Hash code training model. The invention also discloses a classification learning method employing the Hash code image training model based on binary weight, and the method comprises the steps: obtaining a Hash code of a to-be-searched image through the Hash code training model based on binary weight, and solving Hamming distances between the Hash code and a classifier binary code; searching in the minimum Hamming distance from the Hamming distances, and obtaining the classifier corresponding to the minimum Hamming distance, wherein the classifier is the category to which the to-be-searched image belongs. The method can be used for the image classification for various types of images in high-latitude scenes, improves the performance of an algorithm in a large-scale data set, is precise, efficient and quick, andis small in consumption of the memory.

Description

technical field [0001] The invention belongs to the field of image classification methods, and in particular relates to a binary weight-based image hash code training model and a classification learning method. Background technique [0002] In recent years, due to the explosive growth of the number of digital images and the substantial improvement of image quality, the problem of large-scale visual recognition has attracted great research enthusiasm from academia and industry. The classification problem of images with tens of thousands of categories usually uses conventional classifiers for heavy calculations, such as k-nearest neighbors or k-NN, and support vector machines or SVM. In multi-class image recognition problems, a large number of classifiers produces huge computational and memory overheads, and a large number of classifiers will lead to a surge in complexity during the model training and deployment stages. Imagine that there are C categories, and each category h...

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): G06K9/62
CPCG06F18/22G06F18/214
Inventor 沈复民
Owner CHENGDU KOALA URAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products