CN106227818A - A kind of abnormal image data process and search method - Google Patents

A kind of abnormal image data process and search method Download PDF

Info

Publication number
CN106227818A
CN106227818A CN201610586482.2A CN201610586482A CN106227818A CN 106227818 A CN106227818 A CN 106227818A CN 201610586482 A CN201610586482 A CN 201610586482A CN 106227818 A CN106227818 A CN 106227818A
Authority
CN
China
Prior art keywords
abnormal
image
abnormal image
feature
image data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN201610586482.2A
Other languages
Chinese (zh)
Inventor
黎海纤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201610586482.2A priority Critical patent/CN106227818A/en
Publication of CN106227818A publication Critical patent/CN106227818A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a kind of abnormal image data to process and search method, it is characterized in that, processing and image retrieval including abnormal image data, abnormal image data processing method comprises the following steps: (1) abnormal image detection device generates an abnormal image generation message incoming abnormal data collection and treatment device when abnormal image being detected;(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to abnormal image instance properties information and abnormal Producing reason, search measure definition storehouse device, is found for the measure definition information of this exception.

Description

A kind of abnormal image data process and search method
Technical field
The present invention relates to field of image search, be specifically related to a kind of abnormal image data and process and search method.
Background technology
Along with the rise of the technology such as mobile Internet, Internet of Things, in global range, data volume rapidly increases, big data age Oneself is through arriving.Along with the generation of big data, it plays extremely important effect in modern society and economic activity.
When processing view data, many abnormal images can be run into, how it be processed and retrieval is a great problem.
Large-scale data gives traditional multimedia research, and the application and the research that are based especially on image bring new challenge And opportunity.
Summary of the invention
For the problems referred to above, the present invention provides a kind of abnormal image data to process and search method.
The purpose of the present invention realizes by the following technical solutions:
A kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data and image is examined Rope, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
The invention have the benefit that the utilization by key word and labelling, in advance data base is divided into multiple subnumber According to storehouse, first retrieve in the subdata base that degree of association is high during retrieval, decrease amount of calculation, improve arithmetic speed;Based on When word bag represents image, it is proposed that weighting represents and First look similarity, decreases time overhead;Feature based combination table Diagram as time, make use of the space inclusion relation between local feature, propose to combine relevant local feature to increase Its visual expression ability strong;This feature combination not only has good yardstick and rotational invariance, but also can natural land productivity Carry out local geometric verification with the relative position information between each characteristic element, reject erroneous matching that may be present, to improve The accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased the precision of retrieval.
Accompanying drawing explanation
The invention will be further described to utilize accompanying drawing, but the embodiment in accompanying drawing does not constitute any limit to the present invention System, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to obtain according to the following drawings Other accompanying drawing.
Fig. 1 is that a kind of abnormal image data process and the schematic diagram of search method.
Detailed description of the invention
The invention will be further described with the following Examples.
Embodiment 1: a kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data And image retrieval, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
Preferably, it is characterized in that, image retrieval is realized by following steps:
(1) obtained information data by Cloud Server, after image information and non-image information are classified, be stored into respectively In image data base and non-picture data storehouse, and the identical image information in source and non-image information are marked;
(2) non-picture data storehouse is divided into multiple first subdata base according to multiple key words set in advance, simultaneously According to described key word, non-image information is classified, be stored into respectively in described first subdata base of correspondence, do not mate Non-image information to key word is individually divided into a class;
(3) image data base is divided into multiple second subdata base according to described key word, and to image information according to Identical non-image information of originating with it is classified, and is stored into respectively in corresponding described second subdata base, identical without source The image information of labelling, or the non-image information of its correspondence do not matches the image information of key word and is individually divided into a class;
(4) when user input key word retrieve time, according to the phase of key word and the key word set in advance of input Guan Du sequence is retrieved successively in each first numerical data base and the second subdata base respectively, and exports view data respectively Retrieval result with non-picture data;The image retrieval of each second subdata base additionally provides by input inquiry image Ip Retrieving the function of similar image, this function is realized by following steps:
(1-1) use SIFT feature that image local area is described;
(1 2) graphical representation based on word bag:
A. use and based on word bag model, local feature is quantified, if the sample being made up of M local feature vectors Space X={ x1,…,xM, to generate initial visual code book without monitor mode quick clustering, use arest neighbors strategy to set up local Feature xjWith the mapping relations of corresponding vision word, j=1 ..., M;
B. set in codebook space and comprise N number of vision word, then any image is expressed as higher-dimension sparse vector { w1,…,wN, wiThe weights of expression vision word i, i=1 ..., N;
w i = t i p t i - t i p × 1 f i
In formula,Represent the number of times that in this image, vision word i occurs, tiRepresent that in image data base, vision word i goes out Existing total degree, fiRepresent the picture number comprising vision word i in image data base;
To weight wiIt is normalized, orderiδi=1, the now higher-dimension sparse vector table of any image It is shown as { δ1,…,δN};
C. for any two width image p and q, define First look similarity S between two width images (p, q):
S ( p , q ) = 1 Σ i = 1 N ( t i p t i - t i p × 1 f i Σ i t i p t i - t i p × 1 f i - t i q t i - t i q × 1 f i Σ i t i q t i - t i q × 1 f i ) 2
S (p, q) the biggest, show two width images closer to.
Preferably, it is characterized in that, step (4) also includes:
The graphical representation of (1 3) feature based combination:
A, by comprise a main feature with large scale and by this main feature space cover several have relatively The set of the elemental characteristic of little yardstick is defined as feature combination, given any image P, extracts its feature combination of sets comprisedWherein, Cl=(Zl,Yl);
In formula, ClRepresent the l feature combination, ZlIt is the main feature of the l feature combination, YlIt is the l feature combination One group element feature, ZlAnd YlMeet 0.02 × a (P) < a (Zk),a(Yl) < 0.2 × a (P), and YlCorresponding local space district Territory is completely by main feature ClLocal space cover, a () represent cover area of space area;
B, for any two feature combine Cf(Zf,Yf) and Cg(Zg,Yg), define the second vision phase of two feature combinations Seemingly spend R:
As cos (Zf, Zg) > T1Time:
R(Cf,Cg)=1{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
Work as T1≥cos(Zf, Zg) > T2Time:
R(Cf,Cg)=0.5{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
As cos (Zf, Zg)≤T2Time:
R(Cf,Cg)=0
In formula, T1=(0.8,1), T1=(0.5,0.8], cos () represents the cosine similarity of two features, Yfi It is YfIn element, YgiIt is YgIn element, { (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1Represent YfAnd YgIn The elemental characteristic number of coupling;
(1 4) image retrieval: for given query image Ip, first extract its feature combination of sets, by each feature Main Feature Mapping, to vision word, finds out database images I comprising this vision wordq, calculate it similar to query image Degree distance, by by similarity distance with setting threshold ratio relatively, completing image retrieval;
Described similarity distance uses below equation to calculate:
D=S (Ip,Iq)×maxR(Ip,Iq)
Wherein, (p q) represents the First look measuring similarity of two width images, maxR (I to Sp,Iq) represent two width images The combination of all features carry out the maximum of the second vision similarity tolerance.
A kind of abnormal image data at the present embodiment process and in search method, by key word and the utilization of labelling, In advance data base is divided into multiple subdata base, first retrieves in the subdata base that degree of association is high during retrieval, decrease Amount of calculation, improves arithmetic speed;When representing image based on word bag, it is proposed that weighting represents and First look similarity, subtracts Lack time overhead;Feature based combination table diagram as time, make use of the space inclusion relation between local feature, propose phase The local feature closed is combined to strengthen its visual expression ability;This feature combination not only has good yardstick and rotation Invariance, but also can naturally utilize the relative position information between each characteristic element to carry out local geometric verification, reject Erroneous matching that may be present, to improve the accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased inspection The precision of rope;T1=0.95, T2=0.78, retrieval precision improves 50%, and retrieval rate improves 1%.
Embodiment 2: a kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data And image retrieval, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
Preferably, it is characterized in that, image retrieval is realized by following steps:
(1) obtained information data by Cloud Server, after image information and non-image information are classified, be stored into respectively In image data base and non-picture data storehouse, and the identical image information in source and non-image information are marked;
(2) non-picture data storehouse is divided into multiple first subdata base according to multiple key words set in advance, simultaneously According to described key word, non-image information is classified, be stored into respectively in described first subdata base of correspondence, do not mate Non-image information to key word is individually divided into a class;
(3) image data base is divided into multiple second subdata base according to described key word, and to image information according to Identical non-image information of originating with it is classified, and is stored into respectively in corresponding described second subdata base, identical without source The image information of labelling, or the non-image information of its correspondence do not matches the image information of key word and is individually divided into a class;
(4) when user input key word retrieve time, according to the phase of key word and the key word set in advance of input Guan Du sequence is retrieved successively in each first numerical data base and the second subdata base respectively, and exports view data respectively Retrieval result with non-picture data;The image retrieval of each second subdata base additionally provides by input inquiry image Ip Retrieving the function of similar image, this function is realized by following steps:
(1-1) use SIFT feature that image local area is described;
(1 2) graphical representation based on word bag:
A. use and based on word bag model, local feature is quantified, if the sample being made up of M local feature vectors Space X={ x1,…,xM, to generate initial visual code book without monitor mode quick clustering, use arest neighbors strategy to set up local Feature xlWith the mapping relations of corresponding vision word, j=1 ..., M;
B. set in codebook space and comprise N number of vision word, then any image is expressed as higher-dimension sparse vector { w1,…,wN, wiThe weights of expression vision word i, i=1 ..., N;
w i = t i p t i - t i p × 1 f i
In formula,Represent the number of times that in this image, vision word i occurs, tiRepresent that in image data base, vision word i goes out Existing total degree, fiRepresent the picture number comprising vision word i in image data base;
To weight wiIt is normalized, orderiδi=1, the now higher-dimension sparse vector table of any image It is shown as { δ1,…,δN};
C. for any two width image p and q, define First look similarity S between two width images (p, q):
S ( p , q ) = 1 Σ i = 1 N ( t i p t i - t i p × 1 f i Σ i t i p t i - t i p × 1 f i - t i q t i - t i q × 1 f i Σ i t i q t i - t i q × 1 f i ) 2
S (p, q) the biggest, show two width images closer to.
Preferably, it is characterized in that, step (4) also includes:
The graphical representation of (1 3) feature based combination:
A, by comprise a main feature with large scale and by this main feature space cover several have relatively The set of the elemental characteristic of little yardstick is defined as feature combination, given any image P, extracts its feature combination of sets comprisedWherein, Cl=(Zl,Yl);
In formula, ClRepresent the l feature combination, ZlIt is the main feature of the l feature combination, YlIt is the l feature combination One group element feature, ZlAnd YlMeet 0.02 × a (P) < a (Zl),a(Yl) < 0.2 × a (P), and YlCorresponding local space district Territory is completely by main feature ClLocal space cover, a () represent cover area of space area;
B, for any two feature combine Cf(Zf,Yf) and Cg(Zg,Yg), define the second vision phase of two feature combinations Seemingly spend R:
As cos (Zf, Zg) > T1Time:
R(Cf,Cg)=1{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
Work as T1≥cos(Zf, Zg) > T2Time:
R(Cf,Cg)=0.5{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) < Y1}
As cos (Zf, Zg)≤T2Time:
R(Cf,Cg)=0
In formula, T1=(0.8,1), T1=(0.5,0.8], cos () represents the cosine similarity of two features, Yfi It is YfIn element, YgiIt is YgIn element, { (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1Represent YfAnd YgIn The elemental characteristic number of coupling;
(1 4) image retrieval: for given query image Ip, first extract its feature combination of sets, by each feature Main Feature Mapping, to vision word, finds out database images I comprising this vision wordq, calculate it similar to query image Degree distance, by by similarity distance with setting threshold ratio relatively, completing image retrieval;
Described similarity distance uses below equation to calculate:
D=S (Ip,Iq)×maxR(Ip,Iq)
Wherein, (p q) represents the First look measuring similarity of two width images, maxR (I to Sp,Iq) represent two width images The combination of all features carry out the maximum of the second vision similarity tolerance.
A kind of abnormal image data at the present embodiment process and in search method, by key word and the utilization of labelling, In advance data base is divided into multiple subdata base, first retrieves in the subdata base that degree of association is high during retrieval, decrease Amount of calculation, improves arithmetic speed;When representing image based on word bag, it is proposed that weighting represents and First look similarity, subtracts Lack time overhead;Feature based combination table diagram as time, make use of the space inclusion relation between local feature, propose phase The local feature closed is combined to strengthen its visual expression ability;This feature combination not only has good yardstick and rotation Invariance, but also can naturally utilize the relative position information between each characteristic element to carry out local geometric verification, reject Erroneous matching that may be present, to improve the accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased inspection The precision of rope;T1=0.95, T2=0.78, retrieval precision improves 50%, and retrieval rate improves 1%.
Embodiment 3: a kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data And image retrieval, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
Preferably, it is characterized in that, image retrieval is realized by following steps:
(1) obtained information data by Cloud Server, after image information and non-image information are classified, be stored into respectively In image data base and non-picture data storehouse, and the identical image information in source and non-image information are marked;
(2) non-picture data storehouse is divided into multiple first subdata base according to multiple key words set in advance, simultaneously According to described key word, non-image information is classified, be stored into respectively in described first subdata base of correspondence, do not mate Non-image information to key word is individually divided into a class;
(3) image data base is divided into multiple second subdata base according to described key word, and to image information according to Identical non-image information of originating with it is classified, and is stored into respectively in corresponding described second subdata base, identical without source The image information of labelling, or the non-image information of its correspondence do not matches the image information of key word and is individually divided into a class;
(4) when user input key word retrieve time, according to the phase of key word and the key word set in advance of input Guan Du sequence is retrieved successively in each first numerical data base and the second subdata base respectively, and exports view data respectively Retrieval result with non-picture data;The image retrieval of each second subdata base additionally provides by input inquiry image Ip Retrieving the function of similar image, this function is realized by following steps:
(1-1) use SIFT feature that image local area is described;
(1 2) graphical representation based on word bag:
A. use and based on word bag model, local feature is quantified, if the sample being made up of M local feature vectors Space X={ x1,…,xM, to generate initial visual code book without monitor mode quick clustering, use arest neighbors strategy to set up local Feature xjWith the mapping relations of corresponding vision word, j=1 ..., M;
B. set in codebook space and comprise N number of vision word, then any image is expressed as higher-dimension sparse vector { w1,…,wN, wiThe weights of expression vision word i, i=1 ..., N;
w i = t i p t i - t i p × 1 f i
In formula,Represent the number of times that in this image, vision word i occurs, tiRepresent that in image data base, vision word i goes out Existing total degree, fiRepresent the picture number comprising vision word i in image data base;
To weight wiIt is normalized, orderiδi=1, the now higher-dimension sparse vector table of any image It is shown as { δ1,…,δN};
C. for any two width image p and q, define First look similarity S between two width images (p, q):
S ( p , q ) = 1 Σ i = 1 N ( t i p t i - t i p × 1 f i Σ i t i p t i - t i p × 1 f i - t i q t i - t i q × 1 f i Σ i t i q t i - t i q × 1 f i ) 2
S (p, q) the biggest, show two width images closer to.
Preferably, it is characterized in that, step (4) also includes:
The graphical representation of (1 3) feature based combination:
A, by comprise a main feature with large scale and by this main feature space cover several have relatively The set of the elemental characteristic of little yardstick is defined as feature combination, given any image P, extracts its feature combination of sets comprisedWherein, Cl=(Zl,Yl);
In formula, ClRepresent the l feature combination, ZlIt is the main feature of the l feature combination, YlIt is the l feature combination One group element feature, ZlAnd YlMeet 0.02 × a (P) < a (Zl),a(Yl) < 0.2 × a (P), and YlCorresponding local space district Territory is completely by main feature ClLocal space cover, a () represent cover area of space area;
B, for any two feature combine Cf(Zf,Yf) and Cg(Zg,Yg), define the second vision phase of two feature combinations Seemingly spend R:
As cos (Zf, Zg) > T1Time:
R(Cf,Cg)=1{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
Work as T1≥cos(Zf, Zg) > T2Time:
R(Cf,Cg)=0.5{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
As cos (Zf, Zg)≤T2Time:
R(Cf,Cg)=0
In formula, T1=(0.8,1), T1=(0.5,0.8], cos () represents the cosine similarity of two features, Yfi It is YfIn element, YgiIt is YgIn element, { (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1Represent YfAnd YgIn The elemental characteristic number of coupling;
(1 4) image retrieval: for given query image Ip, first extract its feature combination of sets, by each feature Main Feature Mapping, to vision word, finds out database images I comprising this vision wordq, calculate it similar to query image Degree distance, by by similarity distance with setting threshold ratio relatively, completing image retrieval;
Described similarity distance uses below equation to calculate:
D=S (Ip,Iq)×maxR(Ip,Iq)
Wherein, (p q) represents the First look measuring similarity of two width images, maxR (I to Sp,Iq) represent two width images The combination of all features carry out the maximum of the second vision similarity tolerance.
A kind of abnormal image data at the present embodiment process and in search method, by key word and the utilization of labelling, In advance data base is divided into multiple subdata base, first retrieves in the subdata base that degree of association is high during retrieval, decrease Amount of calculation, improves arithmetic speed;When representing image based on word bag, it is proposed that weighting represents and First look similarity, subtracts Lack time overhead;Feature based combination table diagram as time, make use of the space inclusion relation between local feature, propose phase The local feature closed is combined to strengthen its visual expression ability;This feature combination not only has good yardstick and rotation Invariance, but also can naturally utilize the relative position information between each characteristic element to carry out local geometric verification, reject Erroneous matching that may be present, to improve the accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased inspection The precision of rope;T1=0.95, T2=0.78, retrieval precision improves 50%, and retrieval rate improves 1%.
Embodiment 4: a kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data And image retrieval, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
Preferably, it is characterized in that, image retrieval is realized by following steps:
(1) obtained information data by Cloud Server, after image information and non-image information are classified, be stored into respectively In image data base and non-picture data storehouse, and the identical image information in source and non-image information are marked;
(2) non-picture data storehouse is divided into multiple first subdata base according to multiple key words set in advance, simultaneously According to described key word, non-image information is classified, be stored into respectively in described first subdata base of correspondence, do not mate Non-image information to key word is individually divided into a class;
(3) image data base is divided into multiple second subdata base according to described key word, and to image information according to Identical non-image information of originating with it is classified, and is stored into respectively in corresponding described second subdata base, identical without source The image information of labelling, or the non-image information of its correspondence do not matches the image information of key word and is individually divided into a class;
(4) when user input key word retrieve time, according to the phase of key word and the key word set in advance of input Guan Du sequence is retrieved successively in each first numerical data base and the second subdata base respectively, and exports view data respectively Retrieval result with non-picture data;The image retrieval of each second subdata base additionally provides by input inquiry image Ip Retrieving the function of similar image, this function is realized by following steps:
(1-1) use SIFT feature that image local area is described;
(1 2) graphical representation based on word bag:
A. use and based on word bag model, local feature is quantified, if the sample being made up of M local feature vectors Space X={ x1,…,xM, to generate initial visual code book without monitor mode quick clustering, use arest neighbors strategy to set up local Feature xjWith the mapping relations of corresponding vision word, j=1 ..., M;
B. set in codebook space and comprise N number of vision word, then any image is expressed as higher-dimension sparse vector { w1,…,wN, wiThe weights of expression vision word i, i=1 ..., N;
w i = t i p t i - t i p × 1 f i
In formula,Represent the number of times that in this image, vision word i occurs, tiRepresent that in image data base, vision word i goes out Existing total degree, fiRepresent the picture number comprising vision word i in image data base;
To weight wiIt is normalized, orderiδi=1, the now higher-dimension sparse vector table of any image It is shown as { δ1,…,δN};
C. for any two width image p and q, define First look similarity S between two width images (p, q):
S ( p , q ) = 1 Σ i = 1 N ( t i p t i - t i p × 1 f i Σ i t i p t i - t i p × 1 f i - t i q t i - t i q × 1 f i Σ i t i q t i - t i q × 1 f i ) 2
S (p, q) the biggest, show two width images closer to.
Preferably, it is characterized in that, step (4) also includes:
The graphical representation of (1 3) feature based combination:
A, by comprise a main feature with large scale and by this main feature space cover several have relatively The set of the elemental characteristic of little yardstick is defined as feature combination, given any image P, extracts its feature combination of sets comprisedWherein, Cl=(Zl,Yl);
In formula, ClRepresent the l feature combination, ZlIt is the main feature of the l feature combination, YlIt is the l feature combination One group element feature, ZlAnd YlMeet 0.02 × a (P) < a (Zl),a(Yl) < 0.2 × a (P), and YlCorresponding local space district Territory is completely by main feature ClLocal space cover, a () represent cover area of space area;
B, for any two feature combine Cf(Zf,Yf) and Cg(Zg,Yg), define the second vision phase of two feature combinations Seemingly spend R:
As cos (Zf, Zg) > T1Time:
R(Cf,Cg)=1{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
Work as T1≥cos(Zf, Zg) > T2Time:
R(Cf,Cg)=0.5{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
As cos (Zf, Zg)≤T2Time:
R(Cf,Cg)=0
In formula, T1=(0.8,1), T1=(0.5,0.8], cos () represents the cosine similarity of two features, Yfi It is YfIn element, YgiIt is YgIn element, { (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1Represent YfAnd YgIn The elemental characteristic number of coupling;
(1 4) image retrieval: for given query image Ip, first extract its feature combination of sets, by each feature Main Feature Mapping, to vision word, finds out database images I comprising this vision wordq, calculate it similar to query image Degree distance, by by similarity distance with setting threshold ratio relatively, completing image retrieval;
Described similarity distance uses below equation to calculate:
D=S (Ip,Iq)×maxR(Ip,Iq)
Wherein, (p q) represents the First look measuring similarity of two width images, maxR (I to Sp,Iq) represent two width images The combination of all features carry out the maximum of the second vision similarity tolerance.
A kind of abnormal image data at the present embodiment process and in search method, by key word and the utilization of labelling, In advance data base is divided into multiple subdata base, first retrieves in the subdata base that degree of association is high during retrieval, decrease Amount of calculation, improves arithmetic speed;When representing image based on word bag, it is proposed that weighting represents and First look similarity, subtracts Lack time overhead;Feature based combination table diagram as time, make use of the space inclusion relation between local feature, propose phase The local feature closed is combined to strengthen its visual expression ability;This feature combination not only has good yardstick and rotation Invariance, but also can naturally utilize the relative position information between each characteristic element to carry out local geometric verification, reject Erroneous matching that may be present, to improve the accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased inspection The precision of rope;T1=0.95, T2=0.78, retrieval precision improves 50%, and retrieval rate improves 1%.
Embodiment 5: a kind of abnormal image data process and search method, it is characterized in that, process including abnormal image data And image retrieval, abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming exception of generation message when abnormal image being detected Data collection process device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, according to Abnormal Map As instance properties information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition letter of this exception Breath.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure definition storehouse uses oneself Abnormal image feature is analyzed by learning functionality, then in measure definition storehouse, automatically generates the measure for this type of exception.
Preferably, it is characterized in that, abnormal image data processing method is further comprising the steps of: measure performs supplement device and holds Measure produced by row abnormal data collection and treatment device.
Preferably, it is characterized in that, image retrieval is realized by following steps:
(1) obtained information data by Cloud Server, after image information and non-image information are classified, be stored into respectively In image data base and non-picture data storehouse, and the identical image information in source and non-image information are marked;
(2) non-picture data storehouse is divided into multiple first subdata base according to multiple key words set in advance, simultaneously According to described key word, non-image information is classified, be stored into respectively in described first subdata base of correspondence, do not mate Non-image information to key word is individually divided into a class;
(3) image data base is divided into multiple second subdata base according to described key word, and to image information according to Identical non-image information of originating with it is classified, and is stored into respectively in corresponding described second subdata base, identical without source The image information of labelling, or the non-image information of its correspondence do not matches the image information of key word and is individually divided into a class;
(4) when user input key word retrieve time, according to the phase of key word and the key word set in advance of input Guan Du sequence is retrieved successively in each first numerical data base and the second subdata base respectively, and exports view data respectively Retrieval result with non-picture data;The image retrieval of each second subdata base additionally provides by input inquiry image Ip Retrieving the function of similar image, this function is realized by following steps:
(1-1) use SIFT feature that image local area is described;
(1 2) graphical representation based on word bag:
A. use and based on word bag model, local feature is quantified, if the sample being made up of M local feature vectors Space X={ x1,…,xM, to generate initial visual code book without monitor mode quick clustering, use arest neighbors strategy to set up local Feature xjWith the mapping relations of corresponding vision word, j=1 ..., M;
B. set in codebook space and comprise N number of vision word, then any image is expressed as higher-dimension sparse vector { w1..., wN, wiThe weights of expression vision word i, i=1 ..., N;
w i = t i p t i - t i p × 1 f i
In formula,Represent the number of times that in this image, vision word i occurs, tiRepresent that in image data base, vision word i goes out Existing total degree, fiRepresent the picture number comprising vision word i in image data base;
To weight wiIt is normalized, orderiδi=1, the now higher-dimension sparse vector table of any image It is shown as { δ1,…,δN};
C. for any two width image p and q, define First look similarity S between two width images (p, q):
S ( p , q ) = 1 Σ i = 1 N ( t i p t i - t i p × 1 f i Σ i t i p t i - t i p × 1 f i - t i q t i - t i q × 1 f i Σ i t i q t i - t i q × 1 f i ) 2
S (p, q) the biggest, show two width images closer to.
Preferably, it is characterized in that, step (4) also includes:
The graphical representation of (1 3) feature based combination:
A, by comprise a main feature with large scale and by this main feature space cover several have relatively The set of the elemental characteristic of little yardstick is defined as feature combination, given any image P, extracts its feature combination of sets comprisedWherein, Cl=(Zl,Yl);
In formula, ClRepresent the l feature combination, ZlIt is the main feature of the l feature combination, YlIt is the l feature combination One group element feature, ZlAnd YlMeet 0.02 × a (P) < a (Zl),a(Yl) < 0.2 × a (P), and YlCorresponding local space district Territory is completely by main feature ClLocal space cover, a () represent cover area of space area;
B, for any two feature combine Cf(Zf,Yf) and Cg(Zg,Yg), define the second vision phase of two feature combinations Seemingly spend R:
As cos (Zf, Zg) > T1Time:
R(Cf,Cg)=1{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
Work as T1≥cos(Zf, Zg) > T2Time:
R(Cf,Cg)=0.5{ (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1}
As cos (Zf, Zg)≤T2Time:
R(Cf,Cg)=0
In formula, T1=(0.8,1), T1=(0.5,0.8], cos () represents the cosine similarity of two features, Yfi It is YfIn element, YgiIt is YgIn element, { (Yfi,Ygj)|Yfi∈Yf,Ygj∈Yg,cos(Yf, Yg) > T1Represent YfAnd YgIn The elemental characteristic number of coupling;
(1 4) image retrieval: for given query image Ip, first extract its feature combination of sets, by each feature Main Feature Mapping, to vision word, finds out database images I comprising this vision wordq, calculate it similar to query image Degree distance, by by similarity distance with setting threshold ratio relatively, completing image retrieval;
Described similarity distance uses below equation to calculate:
D=S (Ip,Iq)×maxR(Ip,Iq)
Wherein, (p q) represents the First look measuring similarity of two width images, maxR (I to Sp,Iq) represent two width images The combination of all features carry out the maximum of the second vision similarity tolerance.
A kind of abnormal image data at the present embodiment process and in search method, by key word and the utilization of labelling, In advance data base is divided into multiple subdata base, first retrieves in the subdata base that degree of association is high during retrieval, decrease Amount of calculation, improves arithmetic speed;When representing image based on word bag, it is proposed that weighting represents and First look similarity, subtracts Lack time overhead;Feature based combination table diagram as time, make use of the space inclusion relation between local feature, propose phase The local feature closed is combined to strengthen its visual expression ability;This feature combination not only has good yardstick and rotation Invariance, but also can naturally utilize the relative position information between each characteristic element to carry out local geometric verification, reject Erroneous matching that may be present, to improve the accuracy rate of image retrieval;Characteristic quantification and combinational expression have been significantly increased inspection The precision of rope;T1=0.95, T2=0.78, retrieval precision improves 50%, and retrieval rate improves 1%.
Last it should be noted that, above example is only in order to illustrate technical scheme, rather than the present invention is protected Protecting the restriction of scope, although having made to explain to the present invention with reference to preferred embodiment, those of ordinary skill in the art should Work as understanding, technical scheme can be modified or equivalent, without deviating from the reality of technical solution of the present invention Matter and scope.

Claims (3)

1. abnormal image data process and a search method, it is characterized in that, process and image retrieval including abnormal image data, Abnormal image data processing method comprises the following steps:
(1) abnormal image detection device generates an abnormal image incoming abnormal data of generation message when abnormal image being detected Collection and treatment device;
(2) abnormal data collection and treatment device is according to the mark of abnormal image, generates abnormal image example, real according to abnormal image Example attribute information and abnormal Producing reason, search measure definition storehouse device, it is found for the measure definition information of this exception.
A kind of abnormal image data the most according to claim 1 process and search method, it is characterized in that, abnormal image data Processing method is further comprising the steps of: measure definition storehouse uses self-teaching function to be analyzed abnormal image feature, then In measure definition storehouse, automatically generate the measure for this type of exception.
A kind of abnormal image data the most according to claim 2 process and search method, it is characterized in that, abnormal image data Processing method is further comprising the steps of: measure performs supplement device and performs measure produced by abnormal data collection and treatment device.
CN201610586482.2A 2016-07-22 2016-07-22 A kind of abnormal image data process and search method Withdrawn CN106227818A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610586482.2A CN106227818A (en) 2016-07-22 2016-07-22 A kind of abnormal image data process and search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610586482.2A CN106227818A (en) 2016-07-22 2016-07-22 A kind of abnormal image data process and search method

Publications (1)

Publication Number Publication Date
CN106227818A true CN106227818A (en) 2016-12-14

Family

ID=57531473

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610586482.2A Withdrawn CN106227818A (en) 2016-07-22 2016-07-22 A kind of abnormal image data process and search method

Country Status (1)

Country Link
CN (1) CN106227818A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103073A (en) * 2017-04-21 2017-08-29 北京恒冠网络数据处理有限公司 A kind of image indexing system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103073A (en) * 2017-04-21 2017-08-29 北京恒冠网络数据处理有限公司 A kind of image indexing system

Similar Documents

Publication Publication Date Title
CN107577990A (en) A kind of extensive face identification method for accelerating retrieval based on GPU
CN107122375A (en) The recognition methods of image subject based on characteristics of image
CN103810299A (en) Image retrieval method on basis of multi-feature fusion
CN102750347B (en) Method for reordering image or video search
CN111143672B (en) Knowledge graph-based professional speciality scholars recommendation method
CN105593851A (en) A method and an apparatus for tracking microblog messages for relevancy to an entity identifiable by an associated text and an image
CN107291895B (en) Quick hierarchical document query method
Zeng et al. Curvature bag of words model for shape recognition
CN106203165B (en) Information big data analysis method for supporting based on credible cloud computing
CN104361059B (en) A kind of harmful information identification and Web page classification method based on multi-instance learning
CN104156413A (en) Trademark density based personalized trademark matching recognition method
CN106156333A (en) A kind of improvement list class collaborative filtering method of mosaic society information
CN107122411A (en) A kind of collaborative filtering recommending method based on discrete multi views Hash
CN102129477A (en) Multimode-combined image reordering method
CN107491729A (en) The Handwritten Digit Recognition method of convolutional neural networks based on cosine similarity activation
CN103218825A (en) Quick detection method of spatio-temporal interest points with invariable scale
CN106095791A (en) A kind of abstract sample information searching system based on context and abstract sample characteristics method for expressing thereof
CN105843925A (en) Similar image searching method based on improvement of BOW algorithm
An et al. Hypergraph propagation and community selection for objects retrieval
CN103345511B (en) A kind of remote sensing image retrieval method based on sparse expression
CN103744958B (en) A kind of Web page classification method based on Distributed Calculation
CN106156349A (en) Image search method based on information security
CN112445976A (en) City address positioning method based on congestion index map
CN106227818A (en) A kind of abnormal image data process and search method
CN106294550A (en) A kind of remote sensing images intelligent search method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C04 Withdrawal of patent application after publication (patent law 2001)
WW01 Invention patent application withdrawn after publication

Application publication date: 20161214