CN104392438A - Image comparing method and device - Google Patents

Image comparing method and device Download PDF

Info

Publication number
CN104392438A
CN104392438A CN201410641092.1A CN201410641092A CN104392438A CN 104392438 A CN104392438 A CN 104392438A CN 201410641092 A CN201410641092 A CN 201410641092A CN 104392438 A CN104392438 A CN 104392438A
Authority
CN
China
Prior art keywords
labeled data
data
inconsistent
different information
information
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.)
Pending
Application number
CN201410641092.1A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410641092.1A priority Critical patent/CN104392438A/en
Publication of CN104392438A publication Critical patent/CN104392438A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/30Determination of transform parameters for the alignment of images, i.e. image registration
    • G06T7/32Determination of transform parameters for the alignment of images, i.e. image registration using correlation-based methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30204Marker

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses image comparing method and device. The method comprises the following steps: marking property information in the data information of images to be compared, and obtaining the marking data; comparing the marking data according to predefined data sensitivity; screening to obtain different marking data; displaying the different marking data. With the adoption of the image comparing method and device, the image data can be automatically compared and marked, thus the working efficiency in image comparing can be effectively raised, the labor cost can be decreased, and the data coverage of the image comparing can be expanded.

Description

A kind of image comparison method and device
Technical field
The present invention relates to art of image analysis, specifically, relate to a kind of image comparison method and device.
Background technology
Image comparison contrasts the data content in two width images, and find out the data message that there are differences.But in the face of so careful and work accurately, existing technology is most finds differential position between image and data message by data assistant director with naked eyes.Not only the cycle is long, human cost is high for the artificial image comparison method of this dependence, and the data cover face of image is very limited, generally can only cover the partial data of a few cities, so the efficiency of current image comparison and effect all have greatly improved space.Therefore, a kind of image comparison method and device is needed badly.
Summary of the invention
In order to solve the problem that the cycle is long and human cost is high that can only rely at present and manually carry out image comparison and bring, embodiment of the present invention provides image comparison method and device.
On the one hand, embodiment of the present invention provides a kind of image comparison method, and described method comprises:
The attribute information treated in the data message of the image of contrast carries out marking and obtaining labeled data;
According to predefined data sensitivity, described labeled data is contrasted, filter out inconsistent labeled data; And
Described inconsistent labeled data is shown.
Accordingly, embodiment of the present invention additionally provides a kind of image comparison device, and described device comprises:
Labeling module, carries out marking and obtaining labeled data for the attribute information treated in the data message of the image of contrast;
Screening module, for according to predefined data sensitivity, contrasts described labeled data, filters out inconsistent described labeled data;
Display module, for showing described inconsistent labeled data.
Implement automatic contrast and mark that various embodiment of the present invention can realize view data, effectively improve the work efficiency of image comparison, reduce cost of labor, increase the data cover face can carrying out image comparison.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of a kind of image comparison method according to embodiment of the present invention;
Fig. 2 shows the particular flow sheet of the step S2 of Fig. 1;
Fig. 3 shows the particular flow sheet of the step S3 of Fig. 2;
Fig. 4 is the Organization Chart of a kind of image comparison device according to embodiment of the present invention;
Fig. 5 shows the block diagram of the labeling module 100 shown in Fig. 4;
Fig. 6 shows the block diagram of the screening module 200 shown in Fig. 4;
Fig. 7 shows the block diagram of the display module 300 shown in Fig. 4;
Fig. 8 shows the block diagram of the display unit 330 shown in Fig. 7.
Embodiment
Be described in detail to various aspects of the present invention below in conjunction with the drawings and specific embodiments.Wherein, well-known module, unit and connection each other, link, communication or operation do not illustrate or do not elaborate.Further, described feature, framework or function can combine by any way in one or more embodiments.It will be appreciated by those skilled in the art that following various embodiments are only for illustrating, but not for limiting the scope of the invention.Can also easy understand, the module in each embodiment described herein and shown in the drawings or unit or processing mode can be undertaken combining and designing by various different configuration.
Fig. 1 is the process flow diagram of a kind of image comparison method according to embodiment of the present invention; See Fig. 1, described method comprises the steps:
Step S1, the attribute information treated in the data message of the image of contrast carries out marking and obtaining labeled data;
Step S2, according to predefined data sensitivity, contrasts described labeled data, filters out inconsistent labeled data; And
Step S3, shows described inconsistent labeled data.
Wherein, described to described labeled data carry out contrast can adopt Distributed Calculation rule described labeled data is contrasted.Particularly when contrasting the mark file of large data, mainly based on extra large dupp (hadoop) Distributed Calculation, mark file is made up of text information file and coordinate information file, text message and coordinate information have certain corresponding relation, contrast herein only selects text information file to carry out, simultaneously because bar data every in text information file comprise multiple field, need to select wherein 1 or several field to contrast according to the data sensitivity of user's setting, filter out inconsistent labeled data, and it is preserved.The present invention is not limited thereto, except based on hadoop Distributed Calculation, those skilled in the art can also adopt other Data Comparison modes to contrast labeled data.
By adopting said method, automatic contrast and the mark of view data can be realized, effectively improve the work efficiency of image comparison, reduce cost of labor, increase the data cover face can carrying out image comparison.
Fig. 2 shows the particular flow sheet of the step S2 of Fig. 1; See Fig. 2, according to predefined data sensitivity described in step S2, described labeled data is contrasted, filter out inconsistent labeled data and comprise the steps:
Step S21, according to the appointment classification in described predefined data sensitivity, is set as described sensitive information by other attribute information of specified class described in described labeled data; Wherein, described data sensitivity refers to can be set to sensitive information by one or more attribute information by other attribute information of specified class (such as: unique identifier ID, title, coordinate, telephone number, address, weight etc.) that user sets.
Step S22, contrasts described sensitive information, filters out inconsistent labeled data.
Fig. 3 shows the particular flow sheet of the step S3 of Fig. 2; See Fig. 3, step S3 comprises the steps:
Step S31, the proportion range of the described inconsistent labeled data shown as required, sets described weight threshold;
Step S32, according to described weight threshold, carries out postsearch screening to described inconsistent labeled data, obtains the different information meeting described weight threshold;
Step S33, meets coordinate figure and the weighted value of described different information described in acquisition;
Step S34, according to coordinate figure and the weighted value of the described different information obtained, shows described different information.
Wherein, described weight threshold can be arranged voluntarily, and weighted value (rank) is higher, and the importance representing labeled data is also higher.
It should be noted that, by the render engine of browser, described different information can be shown on a web browser.Due to different information, often quantity is more, consider the experience (i.e. the smoothness of picture dragging) of user, take only to play up the variance data in the visual field herein, and reduce picture by mouse roller, more different information can be shown, the overall distribution situation of different information can be seen like this.
Fig. 4 is the Organization Chart of a kind of image comparison device according to embodiment of the present invention; See Fig. 4, described device comprises:
Labeling module 100, carries out marking and obtaining labeled data for the attribute information treated in the data message of the image of contrast;
Screening module 200, for according to predefined data sensitivity, contrasts described labeled data, filters out inconsistent described labeled data;
Display module 300, for showing described inconsistent labeled data.
By adopting said apparatus, automatic contrast and the mark of view data can be realized, effectively improve the work efficiency of image comparison, reduce cost of labor, increase the data cover face can carrying out image comparison.
Fig. 5 shows the block diagram of the labeling module 100 shown in Fig. 4; See Fig. 5, described labeling module 100 comprises:
Mark unit 110, carries out marking and obtaining labeled data for the attribute information treated in the data message of the image of contrast; And
Acquiring unit 120, for obtaining described labeled data and store.
Wherein, described mark unit 110 to described labeled data carry out contrast can adopt Distributed Calculation rule described labeled data is contrasted.Particularly when contrasting the mark file of large data, mainly based on hadoop Distributed Calculation, mark file is made up of text information file and coordinate information file, text message and coordinate information have certain corresponding relation, contrast herein only selects text information file to carry out, simultaneously because bar data every in text information file comprise multiple field, need to select wherein 1 or several field to contrast according to the data sensitivity of user's setting, filter out inconsistent labeled data, and by acquiring unit 120, it is preserved.
Fig. 6 shows the block diagram of the screening module 200 shown in Fig. 4; See Fig. 6, described screening module 200 comprises:
Setup unit 210, for according to the appointment classification in described predefined data sensitivity, is set as described sensitive information by other attribute information of specified class described in described labeled data; And
Contrast unit 220, for contrasting described sensitive information, filters out inconsistent labeled data.
Wherein, described data sensitivity refers to can be set to sensitive information by one or more attribute information by other attribute information of specified class (such as: unique identifier ID, title, coordinate, telephone number, address, weight etc.) that user sets.
Fig. 7 shows the block diagram of the display module 300 shown in Fig. 4; See Fig. 7, described display module 300 comprises:
Weight threshold unit 310, for the proportion range of described inconsistent labeled data shown as required, sets described weight threshold;
Weight screening unit 320, for according to described weight threshold, carries out postsearch screening to described inconsistent labeled data, obtains the different information meeting described weight threshold; And
Display unit 330, for obtaining coordinate figure and the weighted value of described different information, and according to the coordinate figure of described different information and weighted value, shows described different information.
Wherein, described weight threshold can be arranged voluntarily, and weighted value (rank) is higher, and the importance representing labeled data is also higher.
Fig. 8 shows the block diagram of the display unit 330 shown in Fig. 7; See Fig. 5, described display unit 330 comprises:
Render engine subelement 331, plays up process for the render engine by browser to described different information;
Browser display subelement 332, for playing up the display of the different information after process on a web browser by described.
Wherein, described different information by the render engine of browser, can show on a web browser by render engine subelement 331.Browser display subelement 332 is when showing different information, due to different information, often quantity is more, consider the experience (i.e. the smoothness of picture dragging) of user, take only to play up the variance data in the visual field herein, and reduce picture by mouse roller, more different information can be shown, the overall distribution situation of different information can be seen like this.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode of software combined with hardware platform, can certainly all be implemented by hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, smart mobile phone or the network equipment etc.) perform the method described in some part of each embodiment of the present invention or embodiment.
The term used in instructions of the present invention and wording, just to illustrating, are not meaned and are formed restriction.It will be appreciated by those skilled in the art that under the prerequisite of the ultimate principle not departing from disclosed embodiment, can various change be carried out to each details in above-mentioned embodiment.Therefore, scope of the present invention is only determined by claim, and in the claims, except as otherwise noted, all terms should be understood by the most wide in range rational meaning.

Claims (10)

1. an image comparison method, is characterized in that, described method comprises:
The attribute information treated in the data message of the image of contrast carries out marking and obtaining labeled data;
According to predefined data sensitivity, described labeled data is contrasted, filter out inconsistent labeled data; And
Described inconsistent labeled data is shown.
2. the method for claim 1, is characterized in that, describedly carries out contrast to described labeled data and comprises:
Distributed Calculation rule is adopted to contrast described labeled data.
3. the method for claim 1, is characterized in that, described according to predefined data sensitivity, contrasts described labeled data, filters out inconsistent labeled data and comprises:
According to the appointment classification in described predefined data sensitivity, other attribute information of specified class described in described labeled data is set as described sensitive information;
Described sensitive information is contrasted, filters out inconsistent labeled data.
4. the method for claim 1, is characterized in that, describedly carries out display to described inconsistent labeled data and comprises:
The proportion range of the described inconsistent labeled data shown as required, sets described weight threshold;
According to described weight threshold, postsearch screening is carried out to described inconsistent labeled data, obtain the different information meeting described weight threshold;
Coordinate figure and the weighted value of described different information is met described in acquisition;
According to coordinate figure and the weighted value of the described different information obtained, described different information is shown.
5. method as claimed in claim 4, is characterized in that, carry out display comprise described different information:
By the render engine of browser, by described different information display on a web browser.
6. an image comparison device, is characterized in that, described device comprises:
Labeling module, carries out marking and obtaining labeled data for the attribute information treated in the data message of the image of contrast;
Screening module, for according to predefined data sensitivity, contrasts described labeled data, filters out inconsistent described labeled data;
Display module, for showing described inconsistent labeled data.
7. device as claimed in claim 6, it is characterized in that, described labeling module comprises:
Mark unit, carries out marking and obtaining labeled data for the attribute information treated in the data message of the image of contrast; And
Acquiring unit, for obtaining described labeled data and store.
8. device as claimed in claim 6, it is characterized in that, described screening module comprises:
Setup unit, for according to the appointment classification in described predefined data sensitivity, is set as described sensitive information by other attribute information of specified class described in described labeled data; And
Contrast unit, for contrasting described sensitive information, filters out inconsistent labeled data.
9. device as claimed in claim 6, it is characterized in that, described display module comprises:
Weight threshold unit, for the proportion range of described inconsistent labeled data shown as required, sets described weight threshold;
Weight screening unit, for according to described weight threshold, carries out postsearch screening to described inconsistent labeled data, obtains the different information meeting described weight threshold; And
Display unit, for obtaining coordinate figure and the weighted value of described different information, and according to the coordinate figure of described different information and weighted value, shows described different information.
10. device as claimed in claim 9, it is characterized in that, described display unit comprises:
Render engine subelement, plays up process for the render engine by browser to described different information;
Browser display subelement, for playing up the display of the different information after process on a web browser by described.
CN201410641092.1A 2014-11-13 2014-11-13 Image comparing method and device Pending CN104392438A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410641092.1A CN104392438A (en) 2014-11-13 2014-11-13 Image comparing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410641092.1A CN104392438A (en) 2014-11-13 2014-11-13 Image comparing method and device

Publications (1)

Publication Number Publication Date
CN104392438A true CN104392438A (en) 2015-03-04

Family

ID=52610336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410641092.1A Pending CN104392438A (en) 2014-11-13 2014-11-13 Image comparing method and device

Country Status (1)

Country Link
CN (1) CN104392438A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6226407B1 (en) * 1998-03-18 2001-05-01 Microsoft Corporation Method and apparatus for analyzing computer screens
CN102929999A (en) * 2012-10-25 2013-02-13 北京数码大方科技股份有限公司 Method and device for comparing similarities and differences of data
CN103235825A (en) * 2013-05-08 2013-08-07 重庆大学 Method used for designing large-quantity face recognition search engine and based on Hadoop cloud computing frame
CN103853734A (en) * 2012-11-30 2014-06-11 苏州利驰电子商务有限公司 Drawing content difference comparison method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6226407B1 (en) * 1998-03-18 2001-05-01 Microsoft Corporation Method and apparatus for analyzing computer screens
CN102929999A (en) * 2012-10-25 2013-02-13 北京数码大方科技股份有限公司 Method and device for comparing similarities and differences of data
CN103853734A (en) * 2012-11-30 2014-06-11 苏州利驰电子商务有限公司 Drawing content difference comparison method and system
CN103235825A (en) * 2013-05-08 2013-08-07 重庆大学 Method used for designing large-quantity face recognition search engine and based on Hadoop cloud computing frame

Similar Documents

Publication Publication Date Title
CN104216976B (en) A kind of mobile terminal picture grouping inspection method and system
CN104424261B (en) Information displaying method based on electronic map and device
CN105653636A (en) Information processing method and apparatus as well as information processing apparatus
CN105468142A (en) Interaction method and system based on augmented reality technique, and terminal
CN106155496A (en) A kind of information displaying method and device
CN106575360A (en) Enhanced recognition of charted data
KR102135477B1 (en) Method and system for image automatic classification
US9606975B2 (en) Apparatus and method for automatically generating visual annotation based on visual language
CN104866522A (en) Method and device for providing answer information for questioner
CN106648319A (en) Operation method and apparatus used for mind map
CN104715449A (en) Method and device for generating mosaic image
CN104156356B (en) Personalized Navigation page generation method and device
CN103366186A (en) Method and apparatus for dynamically changing terminal background
CN104504096B (en) A kind of information transferring method and web page browsing device of inter-network page
CN105843816A (en) Method and device for determining display information of picture
CN104915354A (en) Multimedia file pushing method and device
CN104063444A (en) Method and device for generating thumbnail
CN104735339A (en) Automatic adjusting method and electronic equipment
CN105117399A (en) Image search method and device
CN103226824A (en) Video retargeting system for maintaining visual saliency
CN107636646A (en) Facility grappling is carried out using the imaging of geo-location
CN111382223B (en) Electronic map display method, terminal and electronic equipment
KR101664941B1 (en) Detection Method for Influential Areas in Twitter using Local Indicators of Spatial Association
CN106372158A (en) Method and device for processing user behavior data
CN103853347B (en) Information release method based on gravity sensing horizontal screen display of mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150304