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

Method and device for storing and retrieving feature values

A technique of eigenvalue and retrieval time, applied in the field of image processing

Active Publication Date: 2021-02-02
ZHEJIANG DAHUA TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a feature value storage and retrieval method and device to solve the problem that there is no batch storage and retrieval method suitable for dynamic library scenarios and static library scenarios in the prior art

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
  • Method and device for storing and retrieving feature values
  • Method and device for storing and retrieving feature values
  • Method and device for storing and retrieving feature values

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] figure 1 A schematic diagram of the characteristic value storage process provided by the embodiment of the present invention, the process includes the following steps:

[0073] S101: Perform feature value extraction on an image to obtain feature values ​​corresponding to the image.

[0074] The feature value storage method provided by the embodiment of the present invention is applied to an electronic device, and the electronic device may be a PC, a personal computer, or the like.

[0075] The electronic device uses a feature extraction algorithm to extract the feature value of the image, and expresses each image as a fixed-length feature value. Wherein, the process of extracting the feature value of the image to obtain the feature value corresponding to the image belongs to the prior art, and the process will not be repeated here.

[0076] S102: For the file to be written in the feature value in the database corresponding to the current scene, judge whether the file ...

Embodiment 2

[0085] In order to facilitate the retrieval of feature values ​​for the static library scene and the dynamic library scene respectively, on the basis of the above-mentioned embodiments, in the embodiment of the present invention, according to the order in which the feature values ​​are written, the search is assigned to the feature value Identification includes:

[0086] If the current scene is a static library scene, assign corresponding retrieval values ​​to the feature values ​​according to the number of feature values ​​written in the database;

[0087] If the current scene is a dynamic library scene, assign a corresponding retrieval time point to the feature value according to the time when the feature value is written.

[0088] If the current scene is a static library scene, according to the order in which the feature values ​​are written, the search identifier assigned to the feature value is the search value. Before assigning the corresponding retrieval value to the f...

Embodiment 3

[0093] In order to facilitate judging whether the file is full, on the basis of the above embodiments, in the embodiment of the present invention, the judging whether the file is full includes:

[0094]According to the recorded state of the file, it is judged whether the state is a full state.

[0095] For each file in the database, the electronic device records the state of the file, that is, the state of whether the file is full. When writing the feature value, if the status of the file to be written into the feature value is full, it is determined that the file is full. If the state of the file to be written with the characteristic value is not full, it is determined that the file is not full.

[0096] In the embodiment of the present invention, the status identification of the file being filled and the status identification of the file not being filled can be set in advance, for example, the status identification of the file not being filled is preset as 0, and the status...

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 method and device for storing and retrieving feature values. The method includes: extracting feature values ​​from images to obtain feature values; judging whether the file is full for a file to be written with feature values, and if not , write the feature value into the file; if yes, create a new file, write the feature value into the newly created file; assign a search identifier to the feature value according to the order in which the feature value is written. Since in the embodiment of the present invention, after the feature value corresponding to the image is determined, the feature value is written into the file, and the feature value is assigned a search identifier according to the order in which the feature value is written, and when the feature value is retrieved later, it can , input the search identification range information to retrieve the corresponding file, the feature value in the file is the retrieved feature value, and realize the batch search of the feature value. Therefore, it is suitable for batch storage and retrieval of dynamic library scenarios and static library scenarios.

Description

technical field [0001] The invention relates to the technical field of image processing, in particular to a feature value storage and retrieval method and device. Background technique [0002] In recent years, with the development of information technology and network, high-definition cameras can be seen everywhere in work and life, and the number of image processing is increasing at an alarming rate. How to obtain effective information from massive image data better and faster is particularly important. [0003] A common practice in the field of image processing is to first extract the eigenvalues ​​of the image to represent the image, thereby representing the image as a corresponding eigenvalue, and then storing the eigenvalue in the database. When performing image retrieval, the image is retrieved by comparing it in the database based on the feature values ​​of the image to be retrieved. In the prior art, it is only applied to the scene of retrieving a certain image. ...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F16/53
Inventor 薛志云杨莉
Owner ZHEJIANG DAHUA 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