CN103377473B - A kind of image rearrangement and device - Google Patents

A kind of image rearrangement and device Download PDF

Info

Publication number
CN103377473B
CN103377473B CN201210115756.1A CN201210115756A CN103377473B CN 103377473 B CN103377473 B CN 103377473B CN 201210115756 A CN201210115756 A CN 201210115756A CN 103377473 B CN103377473 B CN 103377473B
Authority
CN
China
Prior art keywords
picture
characteristic value
target photo
value
reference base
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.)
Active
Application number
CN201210115756.1A
Other languages
Chinese (zh)
Other versions
CN103377473A (en
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.)
Shenzhen Shiji Guangsu Information Technology Co Ltd
Original Assignee
Shenzhen Shiji Guangsu Information 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 Shenzhen Shiji Guangsu Information Technology Co Ltd filed Critical Shenzhen Shiji Guangsu Information Technology Co Ltd
Priority to CN201210115756.1A priority Critical patent/CN103377473B/en
Publication of CN103377473A publication Critical patent/CN103377473A/en
Application granted granted Critical
Publication of CN103377473B publication Critical patent/CN103377473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Image Analysis (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method and apparatus of image re-scheduling, this method, including:Obtain Target Photo and the characteristic value of at least one reference base picture;According to the characteristic value of acquisition, judge whether the Target Photo is both greater than predetermined threshold value with the characteristic value diversity factor of each reference base picture;If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;Otherwise, it determines the Target Photo is repeated with the reference base picture, and abandon the Target Photo.The method provided using the present invention, can improve the utilization ratio of system resource.

Description

A kind of image rearrangement and device
Technical field
The present invention relates to network technique field, more particularly to a kind of image rearrangement and device.
Background technology
With the development of Internet technology, it is the most frequently used that web search has become people's browse network, acquisition information One of means, and the search of network picture is a very important part in web search.
User terminal is when carrying out the search of picture, and server can search for related picture according to the search keyword of user File, and search result is supplied to user terminal.However, often having substantial amounts of repeated picture in search result. Image re-scheduling is exactly to exclude the repetitive picture in picture search result.The image rearrangement that prior art is used, is usually first The data code of picture file is obtained, is then compared, for data code identical picture file, only retains therein one Individual picture file, and other picture files are excluded.
However, it is found by the inventors that, at least there are the following problems for prior art:When carrying out picture file search, search knot Content often occurs closely in fruit, but incomplete same search result again, according to the method for prior art, exclude Data code identical search result, can not exclude the close search result of these contents, this causes search result still So there is the invalid information largely repeated, waste substantial amounts of system resource.
The content of the invention
It is an object of the invention to provide a kind of image rearrangement and device, to improve the utilization ratio of system resource, Therefore, the embodiment of the present invention is adopted the following technical scheme that:
A kind of method of image re-scheduling, including:
Obtain Target Photo and the characteristic value of at least one reference base picture;
According to the characteristic value of acquisition, judge the Target Photo whether with the characteristic value diversity factor of each reference base picture all More than predetermined threshold value;
If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;It is no Then, determine that the Target Photo is repeated with the reference base picture, and abandon the Target Photo.
A kind of device of image re-scheduling, including:
Acquisition module, the characteristic value for obtaining Target Photo and at least one reference base picture;
Re-scheduling module, for the characteristic value according to acquisition, judge the Target Photo whether with each reference base picture Characteristic value diversity factor is both greater than predetermined threshold value;
If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;It is no Then, determine that the Target Photo is repeated with the reference base picture, and abandon the Target Photo.
The above embodiment of the present invention, obtains Target Photo and the characteristic value of at least one reference base picture, according to acquisition The characteristic value, judges whether the Target Photo is both greater than predetermined threshold value with the characteristic value diversity factor of each reference base picture;If It is, it is determined that the Target Photo is not repeated with the reference base picture, and retains the Target Photo;Otherwise, it determines the mesh Piece of marking on a map is repeated with the reference base picture, and abandons the Target Photo.It is thus possible to reduce the possibility of repetitive picture appearance, Improve the utilization ratio of system resource.
Brief description of the drawings
Fig. 1 is one of schematic flow sheet of image rearrangement provided in an embodiment of the present invention;
Fig. 2 is one of schematic diagram of application example of image rearrangement provided in an embodiment of the present invention;
Fig. 3 is the two of the schematic flow sheet of image rearrangement provided in an embodiment of the present invention;
Fig. 4 is the two of the schematic diagram of the application example of image rearrangement provided in an embodiment of the present invention;
Fig. 5 is the structural representation of image re-scheduling device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the present invention, clear, complete description is carried out to the technical scheme in the present invention, is shown So, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the implementation in the present invention Example, all other embodiment that those of ordinary skill in the art are obtained on the premise of creative work is not made all belongs to In the scope of protection of the invention.
As shown in figure 1, the flow of the method for image re-scheduling provided in an embodiment of the present invention, specifically includes following steps:
Step 101, server obtains Target Photo and the characteristic value of at least one reference base picture.
When user user terminal input search keyword, and click on beginning search button when, terminal will be searched for accordingly Keyword is sent to server, and server then carries out corresponding picture searching according to search keyword.When searching second figure During piece, image re-scheduling processing just is carried out using the second pictures as Target Photo, reference base picture now is first searched Pictures.When searching three pictures, image re-scheduling processing, base now are carried out using the 3rd pictures as Target Photo Quasi- picture can be the first pictures and the second pictures (if the second pictures are not excluded).In this manner, often search Rope is to a pictures, then using this picture as Target Photo, and is used as base using the picture remained is handled by re-scheduling before Quasi- picture (can be the whole pictures retained before, can also as the case may be selected section picture), is arrived to new search Picture carries out image re-scheduling processing.
Specifically, server can be empty in pre-set color according to pixel in picture (including Target Photo and reference base picture) Between in different components intensity, determine the characteristic value of picture.Color space is by multiple passages (generally three or four) group Into each passage correspondence one is used to describe the parameter that pixel shows feature, for the pixel in picture, by each The corresponding parameter of passage carries out corresponding value, it may be determined that the display characteristic of pixel, and the corresponding parameter of each passage can be described as The component (or display component) of the pixel is shown, corresponding value can be described as the intensity of the component (between usually 0-255 One numerical value).Pixel color therein can be divided into multiple components according to different color spaces per pictures.Example Such as, most common RGB (Red Green Blue, RGB) color space, R (red), G (green), B are divided into by color space Pixel in (indigo plant) three passages, the picture defined according to RGB color is by tri- components of R, G, B according to different intensity Composition.In another example, HSV (Hue Saturation Value, color, saturation degree, lightness) color space divides color space For H (color), S (saturation degree), three passages of V (lightness), according to the pixel in the picture of hsv color definition space by H, S, Tri- components of V are constituted according to different intensity.
It is pointed out that pre-set color space can arbitrarily be selected as the case may be, Target Photo and reference base picture Identical pre-set color space is selected, with the intensity according to pixel different components in the pre-set color space, it is determined that figure The characteristic value of piece.
It is preferred that, the characteristic value of picture can be determined in accordance with the following steps.
Step one, server can be directed to the different passages in pre-set color space, be drawn respectively on picture by preset rules Separate at least one region.Wherein, the shape in region can be square, circular or other shapes, and the quantity in region can be any, There may be gap between region, can also be overlapping.
For example, as shown in Fig. 2 picture can be marked off into 4 × 4 blockages on G passages, by picture on R passages 3 × 3 blockages are marked off, picture is marked off into 2 × 2 blockages in channel B.
During image re-scheduling is carried out, Target Photo uses identical preset rules dividing regions with each reference base picture Domain.Specifically, can be in Target Photo and division numbers identical region, the size of each corresponding region, center in reference base picture Position is identical, so divides, for the different picture of size (resolution ratio), even if image content is identical, can also be identified For unduplicated picture.Alternatively, it is also possible at the picture zoning different to size, divide the region of identical quantity Meanwhile, according to the ratio of two pictures sizes, the size of corresponding region is subjected to equal proportion scaling, so divided, for size Different and image content very close to picture, it will be identified as the picture repeated.For example, Target Photo size is 20 × 20 Pixel, reference base picture size is 40 × 40, at coordinate (5,5) place centered on certain region in Target Photo, and radius is 5 circle At coordinate (10,10) place centered on corresponding region is answered in region, reference base picture, radius is 10 border circular areas.
When different passages are respectively the different Color Channel (passages of corresponding color parameter, for example, in RGB color R, G, channel B correspond to different color parameters respectively, it is possible to be referred to as Color Channel) when, it is higher for visual sensitivity The corresponding Color Channel of color, the region quantity divided on picture is more.For example, the visual sensitivity of green is higher than red Visual sensitivity, the visual sensitivity of red visual sensitivity higher than blueness, then can on G passages zoning number Amount is most, and the quantity of zoning is taken second place on R passages, and channel B is third.
Step 2, server determines the feature of the picture according to the intensity of respective component in each region on different passages Value.Wherein, in region certain component intensity, can be the summation or average value of the intensity of each pixel component in region.
Specifically, the characteristic value determination process of picture can surface current journey as follows, below in conjunction with the example of RGB color It is described in detail.
Step a, for each passage, according to the intensity of respective component in each region, determines average strength.
For example, on G passages, N is marked off in picturegIndividual lattice, for each lattice, is calculated in the range of it respectively The intensity summation of the green component of all pixels, result of calculation is designated as G respectively1, G2, G3..., GNg;On R passages, drawn in picture Separate NrIndividual grid, for each lattice, calculates the intensity summation of the red component of all pixels in the range of it respectively, calculates As a result R is designated as respectively1, R2, R3..., RNr;On R passages, N is marked off in picturebIndividual grid, for each lattice, difference The intensity summation of the blue component of all pixels in the range of it is calculated, result of calculation is designated as B respectively1, B2, B3..., BNb
Average strength is that the intensity on the average value of respective component intensity in each region on the passage, each passage is put down Average, is the summation of respective component intensity in all regions on the passage, divided by zoning number, R, G, in channel B Average strength can be respectively:
Step b, according to the intensity of respective component in each region on each passage, determines intensity overall average.
Intensity overall average can for the intensity of respective component in all regions on all passages summation, it is divided by all logical The summation of the number of regions divided on road, is specifically as follows:
Following c, Step d, are the processes that previously obtained average strength is carried out to binary conversion treatment.
Step c, for each passage, the intensity of respective component in each region is compared with average strength, if less than Average strength, it is determined that the characteristic value in the region is 0, otherwise, it determines the characteristic value in the region is 1.The characteristic value in each region It can be obtained according to such as minor function:
Step d, the average strength of each passage is compared with intensity overall average, if less than intensity overall average, then The characteristic value for determining the passage is 0, otherwise, it determines the characteristic value of the passage is 1.The characteristic value of each passage can be according to following letter Number is obtained:
Step e, on each passage in the characteristic value in each region and the characteristic value of each passage, acquisition preset number (assuming that For p) characteristic value, and the characteristic value of the preset number is sequentially connected with to the feature for obtaining the picture according to preset order Value.For example, obtaining characteristic value f1, f2..., fp, then it be sequentially merged into the binary number of one p according to formula below F。
Above-mentioned preset number can arbitrarily be set as the case may be, but be set for Target Photo and reference base picture Identical preset number, i.e. Target Photo are identical with the characteristic value digit of reference base picture.Above-mentioned preset order can be according to specific Situation is arbitrarily set, but to set identical preset order for Target Photo and reference base picture.
The calculating of above-mentioned average strength and intensity overall average, is only that by taking arithmetic average as an example, can also use several The calculations such as what average value, median, mode are obtained.
Step 102, server is according to the characteristic value of acquisition, judge Target Photo whether the feature value difference with each reference base picture Different degree is both greater than predetermined threshold value, if it is, performing step 103, otherwise, performs step 104.Wherein, Target Photo and benchmark The characteristic value diversity factor of picture, can be Target Photo characteristic value and reference base picture characteristic value Hamming distances.
It is preferred that, in order to improve treatment effeciency, above-mentioned deterministic process can be carried out by way of setting up Hash bucket, such as Shown in Fig. 3, specific handling process is as follows:
Step 1021, by point of the feature value division of picture (including Target Photo and each reference base picture) for preset group number Group.Wherein, preset group number is more than predetermined threshold value.The length being respectively grouped can be selected arbitrarily as the case may be;The number of packet Mesh can also be selected arbitrarily as the case may be, as long as more than predetermined threshold value, and no more than the digit of picture feature value.Target figure Piece and each reference base picture will be grouped in the same fashion.
It is preferred that, in order to improve treatment effeciency, preset group number can add 1 for predetermined threshold value, the packet of digit identical Number is at least preset group number and subtracts 1.For example, setting characteristic value F digit as p, predetermined threshold value is q, and characteristic value F is divided into q+ 1 packet, and the digit of preceding q packet is w, w can be rounded by p/ (q+1) Jia 1 and obtains, and last digit being grouped is p- Wq, a kind of in particular cases p-wq is equally likely to w, and at this moment the digit of all packets is all w.
Step 1022, as shown in figure 4, for each packet, using the characteristic value fragment in packet as key, and will remove Characteristic value after this feature value fragment sets up Hash bucket, and will each be grouped corresponding Hash bucket composition Hash bucket as value Set.The Hash bucket set of q+1 packet can be denoted as H={ H1, H2, H3..., Hq+1}。
Step 1023, the key in the packets corresponding with each reference base picture of the key in each packet of Target Photo is compared Compared with, and identical key is judged whether, if it is present performing step 1024, otherwise perform step 1026.
Step 1024, judge whether the corresponding value of identical key Hamming distances are less than or equal to predetermined threshold value, such as Fruit is then to perform step 1025, if the corresponding value of all identical key Hamming distances are both greater than predetermined threshold value, hold Row step 1026.
Step 1025, the characteristic value diversity factor no more than predetermined threshold value of Target Photo and corresponding reference base picture is determined.
Step 1026, the characteristic value diversity factor both greater than predetermined threshold value of Target Photo and each reference base picture is determined.
For example, the key during can first Target Photo characteristic value first be grouped is grouped with each reference base picture characteristic value first In key compare, if not having identical key, the key in second packet is compared, by that analogy, if finding phase With key, it is determined that the corresponding value of two identical key Hamming distances, if less than or equal to threshold value q, then illustrate target The Hamming distances of picture reference base picture corresponding with the key are less than threshold value q, if greater than threshold value q, then continue to search for identical Key, if all values corresponding to identical key found Hamming distances both greater than q, or would not do not find identical Key, then illustrate that Target Photo and the Hamming distances person of each reference base picture are more than threshold value q.
Step 103, server determines that Target Photo is not repeated with reference base picture, and retains this Target Photo.Target Photo Do not repeated with the sufficiently high explanation Target Photo of characteristic value diversity factor of each reference base picture with reference base picture, it is possible to by target Picture is remained into search result, is sent to terminal.Moreover, server can increase to this Target Photo in reference base picture, During re-scheduling for next pictures judges.Server can using by re-scheduling handle the picture as reference base picture, Therefrom reference base picture can be used as by selected section picture
Step 104, server determines that the Target Photo and the reference base picture are repeated, and abandons the Target Photo, Carry out the re-scheduling processing of next Target Photo.The characteristic value diversity factor of Target Photo and reference base picture is not high enough, illustrates with being somebody's turn to do Reference base picture is quite similar, and Target Photo is considered as repetitive picture, can be abandoned, is not put into search result.
In embodiments of the invention, server obtains the characteristic value of Target Photo and at least one reference base picture, according to obtaining The characteristic value taken, and judge whether the Target Photo is both greater than default threshold with the characteristic value diversity factor of each reference base picture Value;If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;Otherwise, it determines The Target Photo is repeated with the reference base picture, and abandons the Target Photo.It is thus possible to reduce repetitive picture appearance May, improve the utilization ratio of system resource.
Based on identical technical concept, the embodiment of the present invention additionally provides a kind of image re-scheduling device, as shown in figure 5, bag Include:
Acquisition module 510, the characteristic value for obtaining Target Photo and at least one reference base picture;
Re-scheduling module 520, for the characteristic value according to acquisition, judge the Target Photo whether with each reference base picture Characteristic value diversity factor be both greater than predetermined threshold value;
If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;It is no Then, determine that the Target Photo is repeated with the reference base picture, and abandon the Target Photo.
It is preferred that, the acquisition module 510, specifically for:
According to the intensity of the different components in pre-set color space of pixel in picture, the characteristic value of picture is determined;Wherein, The picture includes the Target Photo and each reference base picture.
It is preferred that, the acquisition module 510, specifically for:
For the different passages in the pre-set color space, at least one area is respectively divided out on picture by preset rules Domain;
According to the intensity of respective component in each region on different passages, the characteristic value of the picture is determined.
It is preferred that, the passage is specially Color Channel;
The acquisition module 510, specifically for for the corresponding Color Channel of the higher color of visual sensitivity, in picture The region quantity of upper division is more.
It is preferred that, the acquisition module 510, specifically for:
For each passage, according to the intensity of respective component in each region, average strength is determined;And according on each passage The intensity of respective component in each region, determines intensity overall average;
For each passage, the intensity of respective component in each region is compared with average strength, it is flat if less than intensity Average, it is determined that the characteristic value in the region is 0, otherwise, it determines the characteristic value in the region is 1;
The average strength of each passage is compared with the intensity overall average, if less than intensity overall average, then really The characteristic value of the fixed passage is 0, otherwise, it determines the characteristic value of the passage is 1;
On each passage in the characteristic value in each region and the characteristic value of each passage, the characteristic value of preset number is obtained, and will The characteristic value of the preset number is sequentially connected with the characteristic value for obtaining the picture according to preset order, and this feature value is binary system Number.
It is preferred that, the Target Photo and the characteristic value diversity factor of the reference base picture, specially described Target Photo The Hamming distances of characteristic value and the characteristic value of the reference base picture.
It is preferred that, the re-scheduling module 520, specifically for:
By the packet that the feature value division of picture is preset group number, wherein, the preset group number is more than described default Threshold value, the picture includes the Target Photo and each reference base picture;
For each packet, using the characteristic value fragment in packet as key, and the feature after this feature value fragment will be removed Value sets up Hash bucket, and will each be grouped corresponding Hash bucket composition Hash bucket set as value;
Key in key in each packet of Target Photo packets corresponding with each reference base picture is compared;If deposited In identical key, then judge whether the corresponding value of identical key Hamming distances are less than or equal to the default threshold Value;If it is, determining that the Target Photo is not more than the predetermined threshold value with the characteristic value diversity factor of corresponding reference base picture; If there is no identical key, or, the corresponding value of all identical key Hamming distances are both greater than the default threshold Value, it is determined that the Target Photo and the characteristic value diversity factor of each reference base picture are both greater than the predetermined threshold value.
It is preferred that,
The preset group number is specially that the predetermined threshold value plus 1;
The number of digit identical packet is at least the preset group number and subtracts 1.
In embodiments of the invention, server obtains the characteristic value of Target Photo and at least one reference base picture, according to obtaining The characteristic value taken, and judge whether the Target Photo is both greater than default threshold with the characteristic value diversity factor of each reference base picture Value;If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;Otherwise, it determines The Target Photo is repeated with the reference base picture, and abandons the Target Photo.It is thus possible to reduce repetitive picture appearance May, improve the utilization ratio of system resource.
It will be appreciated by those skilled in the art that the module in device in embodiment can be divided according to embodiment description It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
The embodiments of the present invention are for illustration only, and the quality of embodiment is not represented.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by Software adds the mode of required general hardware platform to realize, naturally it is also possible to which by hardware, but in many cases, the former is more Good embodiment.Understood based on such, what technical scheme substantially contributed to prior art in other words Part can be embodied in the form of software product, and the computer software product is stored in a storage medium, if including Dry instruction is to cause a station terminal equipment (can be mobile phone, personal computer, server, or network equipment etc.) to perform sheet Invent the method described in each embodiment.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should Depending on protection scope of the present invention.

Claims (14)

1. a kind of method of image re-scheduling, it is characterised in that including:
Obtain Target Photo and the characteristic value of at least one reference base picture;Wherein, for the different components of color space, by picture Mark off at least one region, the characteristic value according to pixel in picture on different components in each region respective component it is strong Degree determination is obtained, including:
For each passage, according to the intensity of respective component in each region, average strength is determined;And according to each passage Shang Ge areas The intensity of respective component in domain, determines intensity overall average;
For each passage, the intensity of respective component in each region is compared with average strength, if less than average strength, The characteristic value for then determining the region is 0, otherwise, it determines the characteristic value in the region is 1;
The average strength of each passage is compared with the intensity overall average, if less than intensity overall average, it is determined that should The characteristic value of passage is 0, otherwise, it determines the characteristic value of the passage is 1;
On each passage in the characteristic value in each region and the characteristic value of each passage, the characteristic value of preset number is obtained, and will be described The characteristic value of preset number is sequentially connected with the characteristic value for obtaining the picture according to preset order, and this feature value is binary number;
According to the characteristic value of acquisition, judge whether the Target Photo is both greater than with the characteristic value diversity factor of each reference base picture Predetermined threshold value;
If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;Otherwise, really The fixed Target Photo is repeated with the reference base picture, and abandons the Target Photo.
2. the method as described in claim 1, it is characterised in that the method for obtaining the characteristic value of picture, is specially:
According to the intensity of the different components in pre-set color space of pixel in picture, the characteristic value of picture is determined;Wherein, it is described Picture includes the Target Photo and each reference base picture.
3. method as claimed in claim 2, it is characterised in that
For the different passages in the pre-set color space, at least one region is respectively divided out on picture by preset rules;
According to the intensity of respective component in each region on different passages, the characteristic value of the picture is determined.
4. method as claimed in claim 3, it is characterised in that
The passage is specially Color Channel;
Color Channel corresponding for the higher color of visual sensitivity, the region quantity divided on picture is more.
5. the method as described in claim 1, it is characterised in that the Target Photo and the characteristic value difference of the reference base picture Degree, the Hamming distances of the characteristic value of specially described Target Photo and the characteristic value of the reference base picture.
6. method as claimed in claim 5, it is characterised in that the characteristic value according to acquisition, judges the target Whether picture is both greater than predetermined threshold value with the characteristic value diversity factor of each reference base picture, is specially:
By the packet that the feature value division of picture is preset group number, wherein, the preset group number is more than the predetermined threshold value, The picture includes the Target Photo and each reference base picture;
For each packet, using the characteristic value fragment in packet as key, and make the characteristic value after this feature value fragment is removed For value, Hash bucket is set up, and will each be grouped corresponding Hash bucket composition Hash bucket set;
Key in key in each packet of Target Photo packets corresponding with each reference base picture is compared;If there is phase Same key, then judge whether the corresponding value of identical key Hamming distances are less than or equal to the predetermined threshold value;Such as It is really, it is determined that the Target Photo is not more than the predetermined threshold value with the characteristic value diversity factor of corresponding reference base picture;If In the absence of identical key, or, the corresponding value of all identical key Hamming distances are both greater than the predetermined threshold value, then Determine that the Target Photo and the characteristic value diversity factor of each reference base picture are both greater than the predetermined threshold value.
7. method as claimed in claim 6, it is characterised in that
The preset group number is specially that the predetermined threshold value plus 1;
The number of digit identical packet is at least the preset group number and subtracts 1.
8. a kind of device of image re-scheduling, it is characterised in that including:
Acquisition module, the characteristic value for obtaining Target Photo and at least one reference base picture;Wherein, for color space not Same component, at least one region, the characteristic value each region on different components according to pixel in picture are marked off by picture The intensity of middle respective component determines to obtain;
The acquisition module specifically for:For each passage, according to the intensity of respective component in each region, determine that intensity is averaged Value;And according to the intensity of respective component in each region on each passage, determine intensity overall average;For each passage, Jiang Gequ The intensity of respective component is compared with average strength in domain, if less than average strength, it is determined that the characteristic value in the region is 0, otherwise, it determines the characteristic value in the region is 1;The average strength of each passage is compared with the intensity overall average, if Less than intensity overall average, it is determined that the characteristic value of the passage is 0, otherwise, it determines the characteristic value of the passage is 1;In each passage In the characteristic value in upper each region and the characteristic value of each passage, the characteristic value of preset number is obtained, and by the spy of the preset number Value indicative is sequentially connected with the characteristic value for obtaining the picture according to preset order, and this feature value is binary number;
Re-scheduling module, for the characteristic value according to acquisition, judge the Target Photo whether the feature with each reference base picture Value diversity factor is both greater than predetermined threshold value;
If it is, determining that the Target Photo is not repeated with the reference base picture, and retain the Target Photo;Otherwise, really The fixed Target Photo is repeated with the reference base picture, and abandons the Target Photo.
9. device as claimed in claim 8, it is characterised in that the acquisition module, specifically for:
According to the intensity of the different components in pre-set color space of pixel in picture, the characteristic value of picture is determined;Wherein, it is described Picture includes the Target Photo and each reference base picture.
10. device as claimed in claim 9, it is characterised in that the acquisition module, specifically for:
For the different passages in the pre-set color space, at least one region is respectively divided out on picture by preset rules;
According to the intensity of respective component in each region on different passages, the characteristic value of the picture is determined.
11. device as claimed in claim 10, it is characterised in that the passage is specially Color Channel;
The acquisition module, specifically for for the corresponding Color Channel of the higher color of visual sensitivity, being divided on picture Region quantity it is more.
12. device as claimed in claim 8, it is characterised in that the Target Photo and the feature value difference of the reference base picture Different degree, the Hamming distances of the characteristic value of specially described Target Photo and the characteristic value of the reference base picture.
13. device as claimed in claim 12, it is characterised in that the re-scheduling module, specifically for:
By the packet that the feature value division of picture is preset group number, wherein, the preset group number is more than the predetermined threshold value, The picture includes the Target Photo and each reference base picture;
For each packet, using the characteristic value fragment in packet as key, and make the characteristic value after this feature value fragment is removed For value, Hash bucket is set up, and will each be grouped corresponding Hash bucket composition Hash bucket set;
Key in key in each packet of Target Photo packets corresponding with each reference base picture is compared;If there is phase Same key, then judge whether the corresponding value of identical key Hamming distances are less than or equal to the predetermined threshold value;Such as It is really, it is determined that the Target Photo is not more than the predetermined threshold value with the characteristic value diversity factor of corresponding reference base picture;If In the absence of identical key, or, the corresponding value of all identical key Hamming distances are both greater than the predetermined threshold value, then Determine that the Target Photo and the characteristic value diversity factor of each reference base picture are both greater than the predetermined threshold value.
14. device as claimed in claim 13, it is characterised in that
The preset group number is specially that the predetermined threshold value plus 1;
The number of digit identical packet is at least the preset group number and subtracts 1.
CN201210115756.1A 2012-04-19 2012-04-19 A kind of image rearrangement and device Active CN103377473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210115756.1A CN103377473B (en) 2012-04-19 2012-04-19 A kind of image rearrangement and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210115756.1A CN103377473B (en) 2012-04-19 2012-04-19 A kind of image rearrangement and device

Publications (2)

Publication Number Publication Date
CN103377473A CN103377473A (en) 2013-10-30
CN103377473B true CN103377473B (en) 2017-10-24

Family

ID=49462541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210115756.1A Active CN103377473B (en) 2012-04-19 2012-04-19 A kind of image rearrangement and device

Country Status (1)

Country Link
CN (1) CN103377473B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6786984B2 (en) * 2016-09-16 2020-11-18 オムロン株式会社 Program processing equipment and programs
CN107169057B (en) * 2017-04-27 2022-04-05 腾讯科技(深圳)有限公司 Method and device for detecting repeated pictures
CN110430424B (en) * 2019-07-03 2020-12-04 北京达佳互联信息技术有限公司 FOV testing method and device, storage medium and electronic equipment
CN113435515B (en) * 2021-06-29 2023-12-19 青岛海尔科技有限公司 Picture identification method and device, storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1385329A2 (en) * 2002-07-27 2004-01-28 Samsung Electronics Co., Ltd. Document content classification
CN101403703A (en) * 2008-11-07 2009-04-08 清华大学 Real-time detection method for foreign fiber in lint
CN101441771A (en) * 2008-12-19 2009-05-27 中国科学技术大学 Video fire hazard smoke detecting method based on color saturation degree and movement mode
CN101989302A (en) * 2010-10-22 2011-03-23 西安交通大学 Multilayer bitmap color feature-based image retrieval method
EP2390838A1 (en) * 2009-01-23 2011-11-30 Nec Corporation Image identifier extracting apparatus
CN102349091A (en) * 2009-03-13 2012-02-08 日本电气株式会社 Image identifier matching device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576896A (en) * 2008-05-09 2009-11-11 鸿富锦精密工业(深圳)有限公司 Retrieval system and retrieval method for similar pictures
CN101290634B (en) * 2008-06-03 2010-07-28 北京搜狗科技发展有限公司 Method for recognizing repeated miniature, device and its uses in search engine
CN101539930B (en) * 2009-04-21 2011-06-15 武汉大学 Search method of related feedback images
JP5521436B2 (en) * 2009-08-19 2014-06-11 ソニー株式会社 Moving image recording apparatus, moving image recording method and program
CN101706793B (en) * 2009-11-16 2012-09-26 中兴通讯股份有限公司 Method and device for searching picture
CN102033937A (en) * 2010-12-20 2011-04-27 百度在线网络技术(北京)有限公司 Method and system for displaying video search result
CN102306287B (en) * 2011-08-24 2017-10-10 百度在线网络技术(北京)有限公司 A kind of method and equipment for identifying a sensitive image

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1385329A2 (en) * 2002-07-27 2004-01-28 Samsung Electronics Co., Ltd. Document content classification
CN101403703A (en) * 2008-11-07 2009-04-08 清华大学 Real-time detection method for foreign fiber in lint
CN101441771A (en) * 2008-12-19 2009-05-27 中国科学技术大学 Video fire hazard smoke detecting method based on color saturation degree and movement mode
EP2390838A1 (en) * 2009-01-23 2011-11-30 Nec Corporation Image identifier extracting apparatus
CN102349091A (en) * 2009-03-13 2012-02-08 日本电气株式会社 Image identifier matching device
CN101989302A (en) * 2010-10-22 2011-03-23 西安交通大学 Multilayer bitmap color feature-based image retrieval method

Also Published As

Publication number Publication date
CN103377473A (en) 2013-10-30

Similar Documents

Publication Publication Date Title
US9280949B2 (en) Color selection interface
CN103377473B (en) A kind of image rearrangement and device
US9633448B1 (en) Hue-based color naming for an image
US20180025002A1 (en) Hue-based color naming for an image
CN104536771B (en) According to the icon sequencing display method and system of Icon Color
CN104866755B (en) Setting method and device for background picture of application program unlocking interface and electronic equipment
CN102663786A (en) Layer superposition method and mobile terminal employing the same
CN107633252A (en) Skin color detection method, device and storage medium
CN104574358B (en) From the method and apparatus for focusing heap image progress scene cut
CN107610131A (en) A kind of image cropping method and image cropping device
CN109166159A (en) Obtain the method, apparatus and terminal of the dominant hue of image
WO2023046112A1 (en) Document image enhancement method and apparatus, and electronic device
CN108230243A (en) One kind is based on salient region detection model background-blurring method
CN108304839A (en) A kind of image processing method and device
CN108665413A (en) A kind of image adaptive amplification method, readable storage medium storing program for executing and terminal
CN110503704A (en) Building method, device and the electronic equipment of three components
CN107507158A (en) A kind of image processing method and device
CN104796682B (en) Color enhancement method and apparatus in picture signal
CN113870100A (en) Image processing method and electronic device
CN113284063A (en) Image processing method, image processing apparatus, electronic device, and readable storage medium
CN107341835A (en) Image processing method, device, electronic equipment and computer-readable recording medium
CN103325101B (en) The extracting method of color property and device
CN112419218A (en) Image processing method and device and electronic equipment
US20120008859A1 (en) Reducing Erroneous Colors in Edge Areas with Chromatic Abberation
CN110215693A (en) The method and device of image procossing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: SHENZHEN SHIJI LIGHT SPEED INFORMATION TECHNOLOGY

Free format text: FORMER OWNER: TENGXUN SCI-TECH (SHENZHEN) CO., LTD.

Effective date: 20131016

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518057 SHENZHEN, GUANGDONG PROVINCE TO: 518044 SHENZHEN, GUANGDONG PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20131016

Address after: A Tencent Building in Shenzhen Nanshan District City, Guangdong streets in Guangdong province science and technology 518044 16

Applicant after: Shenzhen Shiji Guangsu Information Technology Co., Ltd.

Address before: Shenzhen Futian District City, Guangdong province 518057 Zhenxing Road, SEG Science Park 2 East Room 403

Applicant before: Tencent Technology (Shenzhen) Co., Ltd.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant