CN101739697B - Synthesis method of picture mosaic pattern and system therefor - Google Patents

Synthesis method of picture mosaic pattern and system therefor Download PDF

Info

Publication number
CN101739697B
CN101739697B CN2008101791014A CN200810179101A CN101739697B CN 101739697 B CN101739697 B CN 101739697B CN 2008101791014 A CN2008101791014 A CN 2008101791014A CN 200810179101 A CN200810179101 A CN 200810179101A CN 101739697 B CN101739697 B CN 101739697B
Authority
CN
China
Prior art keywords
mosaic
primary image
image material
unit lattice
original
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.)
Expired - Fee Related
Application number
CN2008101791014A
Other languages
Chinese (zh)
Other versions
CN101739697A (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.)
Chongqing Tang Valley Technology Co., Ltd.
Original Assignee
王源源
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 王源源 filed Critical 王源源
Priority to CN2008101791014A priority Critical patent/CN101739697B/en
Publication of CN101739697A publication Critical patent/CN101739697A/en
Application granted granted Critical
Publication of CN101739697B publication Critical patent/CN101739697B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a synthesis method of an image mosaic puzzle and a system therefor. The method comprises the following steps: searching and obtaining combination of an original cell and basic image materials of which characteristic parameters satisfy the preset condition according to each basic image material name which is built in advance and a first corresponding relation of the corresponding characteristic information, each original cell name obtained by dividing an original image in advance and a second corresponding relation of the position and characteristic information; building a mosaic puzzle data table which includes the name and position information of the original cell and the basic image material name corresponding to the original cell; reading the basic image material according to the mosaic puzzle data table, drawing the read basic image material to the corresponding position in the mosaic product image, and generating the image mosaic puzzle.

Description

The synthetic method and the system of the picture mosaic of a kind of image mosaic
Technical field
The present invention relates to a kind of data processing technique, particularly relate to the synthetic method and the system of a kind of image mosaic picture mosaic.
Background technology
Mosaic (mosaic) original meaning is: inlays, and mosaic pattern, mosaic technology also refers to use the works that this technology is accomplished.Mosaic is risen in ancient Greek, and the most frequently used black of early stage Greek marble mosaic comes collocation each other with white.Develop into Greece's mosaic epoch in late period, the artist begins littler splinter of stone is embedded on the big blueprint in order more diversification to enrich its works, accomplishes a width of cloth mosaic.
In the whole process of using the picture mosaic of mosaic technology mosaic works image mosaic, two width of cloth figure and primary image material are formed by being mutually related as follows.
Wherein a secondary figure is the original graph that need carry out mosaic processing, and it is cut apart according to splitting scheme, and each minimum unit of cutting apart generation is the original unit lattice.
The primary image material is a piece image, and the primary image material of some constitutes the primary image material database.
The mosaic works figure that an other width of cloth figure is a sky is used for drawing the mosaic works with it as painting canvas.Figure is cut apart according to the splitting scheme identical with original graph with the mosaic works, and each minimum unit of cutting apart generation is called the productive unit lattice.
When one of them original unit lattice of original graph are carried out mosaic processing; Need in the primary image material database, find the primary image material that has highest similarity with these original unit lattice, and be plotted to after this primary image material handled among the mosaic works figure position that should the original unit lattice.
In final works; The pattern of each cell all is the some primary image materials in the primary image material database; See that from afar whole works is exactly an original graph through the design sketch after the mosaic processing,, can see that then whole works is made up of some meticulous little pictures nearby from seeing.This design sketch is called the picture mosaic of image mosaic.
In the prior art, the deficiency that has following several respects:
In the prior art; Owing to do not set up original unit lattice title and its positional information in original graph and the mapping table of corresponding primary image material title, therefore be merely able to each the original unit lattice in the whole original graph of single treatment, for it searches the highest characteristic information of similarity; And be kept among the mosaic works figure; So just having caused to work as needs the original graph of processing very big, when having surpassed the performance range of computing machine, can not accomplish the digital mosaic processing to this original graph.
Further; Owing to possibly there be difference between the characteristic information of original unit lattice and primary image material such as gray scale etc., for example, when the gray-scale value of original unit lattice is 50; And the gray-scale value of primary image material is 60; Under all very high situation of other characteristic information similarities, in the prior art, the gray-scale value of primary image material is not made any modification; Promptly can not solve the difference problem between the characteristic information of original unit lattice and primary image material, cause the match colors degree of color and original graph of mosaic picture mosaic of generation not high.
In addition; In the prior art; Owing to possibly exist the characteristic information of a plurality of original unit lattice more approaching in certain zone in original graph; When searching the highest characteristic information of similarity, all select identical primary image material, this just causes occurring among the mosaic works figure large-area image and repeats.
In some cases; Hope is used all primary image materials in a secondary mosaic picture mosaic that generates; For example, what constitute the primary image material is all student at schools' of a school individual photo, and original graph is the main teaching building photo of school; The creator hopes that all students' of this school photograph can both appear in the original graph, and prior art might not satisfy all student's images and all appears among the mosaic works figure.
In the prior art; Owing to only need satisfy the highest condition of characteristic information similarity, and adopt the way of sequential processes, thereby the works creating out; Have clear regularity choosing of primary image material, cause the mosaic picture mosaic to seem too mechanical stiff on the whole.
Summary of the invention
In view of this; The embodiment of the invention provides the synthetic method of a kind of image mosaic picture mosaic, utilizes this method, and can guarantee to work as needs the original graph of processing very big; When having surpassed the performance range of computing machine, still can accomplish image mosaic processing to this original graph.
For realizing above-mentioned purpose, the invention provides the synthetic method of a kind of image mosaic picture mosaic, this method comprises:
Computer software is searched and the highest picture material unit of original unit lattice characteristic information similarity according to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance;
Set up mosaic picture mosaic tables of data; Wherein comprise the corresponding productive unit case of mosaic works figure and put information; Original unit lattice title that this productive unit lattice are corresponding and positional information thereof and characteristic information, the picture material unit title of highest similarity is arranged with these original unit lattice; Search and the highest primary image material of original unit lattice characteristic information similarity, and it is inserted mosaic picture mosaic tables of data;
Read corresponding primary image material, it is plotted to the correspondence position among the mosaic works figure.
Preferably, also comprise in the said mosaic picture mosaic tables of data:
The image adjustment parameter.
Preferably, saidly also comprise after inserting mosaic picture mosaic tables of data:
Calculate the adjusting parameter and the preservation that can make this picture material obtain highest similarity.
Preferably, said reading also comprises after the corresponding primary image material:
Overturn according to regulating parameter
And/or
Cutting
And/or
The stretching convergent-divergent
And/or
Rotation
And/or
Toner image is handled and is made it reach the highest with the similarity of corresponding original unit.
Preferably, said this mosaic picture mosaic tables of data is also preserved:
Color adaptation parameter, this color adaptation parameter are based on that the difference of the optional amplitude of accommodation and original unit lattice and picture material cell colors value, shading value, gray scale, profile etc. calculates;
Image manipulation parameter, this parameter are specified operation that the respective image material is carried out, are included but not limited to upset, rotation, cutting, stretching.
Preferably, saidly also comprise after searching the highest original unit lattice of characteristic information similarity and primary image material:
Regulate this primary image material in advance according to said color adaptation parameter, make it more near the characteristic information of original unit lattice;
Also comprise in the search procedure:
Said picture material unit is carried out multi-angle rotation/upset, confirm the characteristic information under each condition, calculate and the highest rotation/upset result of original unit lattice characteristic information similarity, participate in searching as the similarity of this picture material unit with this result.
Preferably, said specifically being embodied as of the highest original unit lattice of characteristic information similarity and primary image material of searching:
Successively and/or each primary image material of picked at random, search the highest original unit lattice of characteristic information similarity.
Preferably, said specifically being embodied as of the highest original unit lattice of characteristic information similarity and primary image material of searching:
Successively and/or picked at random original unit lattice, search the highest picture material unit of characteristic information similarity.
Preferably, also comprise:
Usage count table in picture material unit is set in advance, limits the maximum times that each picture material unit uses.
Preferably, saidly search the highest original unit lattice of characteristic information similarity and the primary image material also comprises:
Setting the follow-up primary image material that finds must not be positioned within a certain particular distance with the primary image material that had before found.
Preferably, also comprise:
The passage template is set in advance, original graph is divided into different zones, specify the use zone of specific image material unit;
And/or
The passage template is set in advance, original graph is divided into different zones, specify the processing order of specific original unit lattice;
And/or
The passage template is set in advance, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice
Preferably, said color adaptation parameter regulation is not only limited to:
Color also comprises color range, shading value, upset, rotation.
Said searching and specifically being embodied as of the highest picture material unit of original unit lattice characteristic information similarity:
For the original unit lattice are searched the picture material unit of characteristic information similarity in a certain diversity factor scope, picture material unit of picked at random and take its diversity factor in searching the picture material unit that obtains.
The synthesis system of a kind of image mosaic picture mosaic comprises:
Search the unit: be used for computer software according to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance, search and the highest picture material unit of original unit lattice characteristic information similarity;
Create, fill in the unit: be used to set up mosaic picture mosaic tables of data; Wherein comprise the corresponding productive unit case of mosaic works figure and put information; Original unit lattice title that this productive unit lattice are corresponding and positional information thereof and characteristic information, the picture material unit title of highest similarity is arranged with these original unit lattice; Search and the highest primary image material of original unit lattice characteristic information similarity, and it is inserted mosaic picture mosaic tables of data;
Generation unit: be used to read corresponding primary image material, it is plotted to the correspondence position among the mosaic works figure.
It is thus clear that, in the present invention,, can fast each primary image be plotted in the position of the corresponding productive unit lattice of original unit lattice owing to created mosaic picture mosaic tables of data, generate the picture mosaic of image mosaic.
In the present invention, add the color adaptation parameter primary image material is carried out parameter regulation, make the image mosaic picture mosaic that generates have higher color reduction degree.
In the present invention, through a primary image material usage count table is set, the maximum times that limits each primary image material use can avoid a primary image material by continuous being applied in the zone, thereby has also just avoided dull repetition.
In the present invention; Must not be positioned within a certain particular distance with the primary image material that had before found through setting the follow-up primary image material that finds; Can avoid a primary image material by continuous being applied in the zone, thereby also just avoid dull repetition.
In the present invention, choose each primary image material successively,, thereby guarantee that all primary image materials all are used for the primary image material is searched the highest original unit lattice of characteristic information similarity.
In the present invention, through the passage template is set, the image mosaic picture mosaic of generation can make some primary image material only appear at some or certain several zone in, thereby the mosaic picture mosaic more has levels on the whole.
Description of drawings
Fig. 1 is the process flow diagram of the embodiment of the invention one;
Fig. 2 is the process flow diagram of the embodiment of the invention two;
Fig. 3 is the process flow diagram of the embodiment of the invention three;
Fig. 4 is the process flow diagram of the embodiment of the invention four;
Fig. 5 is the process flow diagram of the embodiment of the invention five;
Fig. 6 is the process flow diagram of the embodiment of the invention six;
Fig. 7 is the system construction drawing of the embodiment of the invention.
Embodiment
The invention provides the synthetic method and the system of the picture mosaic of a kind of image mosaic,, can fast each primary image be plotted in the position of the corresponding productive unit lattice of original unit lattice, generate the picture mosaic of image mosaic owing to created mosaic picture mosaic tables of data.
Below in conjunction with accompanying drawing and specific embodiment the present invention is elaborated.
As shown in Figure 1, the embodiment of the invention one provides the synthetic method of a kind of image mosaic picture mosaic.
Step 101: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 1.
Table 1
Title Characteristic information
A11 Yellow, bright
A12 Pink colour, soft
Wherein, the quantity of said primary image material can be got 1000, can also get the primary image material of other quantity, can satisfy the picture mosaic of generation mosaic as long as guarantee the primary image material of these quantity.In addition, because the reproducibility of computer picture, even picture material quantity also can generate the mosaic picture mosaic less than generation unit lattice quantity.
Need to prove that the characteristic information of original cell includes but is not limited among the present invention comprises: parameters such as the positional information at original unit lattice place, color value, shading value, gray scale, profile.The characteristic information of primary image material includes but is not limited to and comprises: parameters such as the positional information at primary image material place, color value, shading value, gray scale, profile.
Step 102: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 2.
Table 2
Title The position Characteristic information
B11 First row, the first row crossover location Yellow, bright
B12 The first row secondary series crossover location Pink colour, soft
The said original graph of cutting apart is that original graph is cut apart according to splitting scheme, and each minimum unit of cutting apart generation is the original unit lattice.Described splitting scheme can be cut apart according to kinds of schemes such as rectangular block, triangle, rhombus, hexagons decorating painting canvas.
Wherein, the no sequencing of step 101 and step 102 also can carry out simultaneously.
Step 103: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Preferably, said establishment mosaic works figure also comprises the size of setting mosaic works figure, can set size and original graph measure-alike of mosaic works figure, also can set mosaic works figure and original graph and be certain scaling.
Step 104: search the highest original unit lattice of characteristic information similarity and primary image material; Set up mosaic picture mosaic tables of data; Said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Table 3
Original unit lattice title The original unit case is put Corresponding basic picture material
B11 First row, the first row crossover location A11
B12 The first row secondary series crossover location A12
Preferably, obtain the original unit lattice successively and/or at random, for each original unit lattice are searched the highest primary image material of characteristic information similarity.
Step 105: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice, generates the picture mosaic of image mosaic.
Step above repeating, original unit lattice all in original graph have all carried out mosaic processing.See from afar, whole works figure be by original graph through the design sketch after the mosaic processing, from seeing, can see that then whole works is made up of some meticulous little pictures nearby.Claim that this design sketch is the picture mosaic of image mosaic.
Above the embodiment introduction of summarizing the synthetic method of a kind of image mosaic picture mosaic, second following embodiment makes the image mosaic picture mosaic that generates have higher color reduction degree from the angle that adds the color adaptation parameter, as shown in Figure 2.
Step 201: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 4.
Except including parameters such as positional information, color value, shading value, gray scale, profile, also include the color adaptation parameter of color value, shading value, gray scale, profile etc. in the described characteristic information.
Table 4
Title Characteristic information
A11 Yellow, bright, gray scale 60
A12 Pink colour, soft, gray scale 60
Step 202: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 5.
Except including parameters such as positional information, color value, shading value, gray scale, profile, also include the color adaptation parameter of color value, shading value, gray scale, profile etc. in the described characteristic information.
Table 5
Title The position Characteristic information
B11 First row, the first row crossover location Yellow, bright, gray scale 50
B12 The first row secondary series crossover location Pink colour, soft, gray scale 50
Step 203: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Step 204: search the highest original unit lattice of characteristic information similarity and primary image material; Set up mosaic picture mosaic tables of data; Said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Step 205:, make it more meet the characteristic information of original unit lattice according to this primary image material of said color adaptation parameter regulation.
For example, shown in table 4 and table 5, because the difference of existence such as gray scale etc. between the characteristic information of original unit lattice and primary image material; When the gray-scale value of original unit lattice is 50; And the gray-scale value of primary image material is 60, under all very high situation of other characteristic information similarities, and graphical treatment primary image material; Its gray-scale value is adjusted to 50, makes original unit lattice and primary image material that higher characteristic information similarity arranged.
Step 206: according to mosaic picture mosaic tables of data; Each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice; Generate the picture mosaic of image mosaic, comprise the primary image material of regulating through color parameter in said each primary image material.
Present embodiment can guarantee to generate the very high image mosaic picture mosaic of color reduction degree.
In practical application, possibly there is such situation; Form by all students' of some schools photo such as the primary image material database; When generating a certain image mosaic picture mosaic; The photo of hoping all students all is used once at least, and the embodiment of the invention three proposes to this problem.
As shown in Figure 3, the embodiment of the invention three provides the synthetic method of a kind of image mosaic picture mosaic.
Step 301: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 1.
Step 302: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 2.
Step 303: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Step 304: for each primary image material is searched the highest original unit lattice of characteristic information similarity; Set up mosaic picture mosaic tables of data; Said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Step 305: after the primary image material in all primary image material databases is all selected for use, search the highest primary image material of characteristic information similarity, set up mosaic picture mosaic tables of data for remaining original unit lattice.
Step 306: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice, generates the picture mosaic of image mosaic.
Present embodiment can guarantee that all primary image materials all are used, and following embodiment then can avoid some primary image material to use and too much cause large-area image repetition among the mosaic works figure, and is as shown in Figure 4.
Step 401: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 1.
Step 402: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 2.
Step 403: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Step 404: search the highest original unit lattice of characteristic information similarity and primary image material; Primary image material usage count table is set; Limit the access times of each primary image material; Set up mosaic picture mosaic tables of data, said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Concrete; Primary image material usage count table is set; Limit the maximum times that each primary image material uses; Just increase the access times of this primary image material when choosing this primary image material, if surpass the maximum times that limits, then this primary image material does not satisfy search condition in follow-up search procedure at every turn.
Step 405: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice, generates the picture mosaic of image mosaic.
Because this method is provided with primary image material usage count table, thereby can control the access times of primary image material, avoid some primary image material by too frequent use, the mosaic picture mosaic of generation large-area image just can not occur and repeat.
Following embodiment five also can avoid some primary image material by too frequent use.
As shown in Figure 5, the embodiment of the invention five provides the synthetic method of a kind of image mosaic picture mosaic.
Step 501: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 1.
Step 502: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 2.
Step 503: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Step 504: search the highest original unit lattice of characteristic information similarity and primary image material; And set the follow-up primary image material that finds and to be positioned within a certain particular distance with the elementary cell that had before found; Set up mosaic picture mosaic tables of data; Said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Concrete; When searching with the highest primary image material of some original unit lattice characteristic information similarities; Except to search for the highest primary image material of this original unit lattice characteristic information similarity; Also should search for the primary image material that has before been found out in the mosaic picture mosaic tables of data; If the primary image material that this finds and the primary image material that had before been found out within the distance of setting, then with the highest primary image material of this original unit lattice characteristic information similarity be judged as unavailable, search again.
Step 505: according to mosaic picture mosaic tables of data; For each primary image material search with its characteristic information have highest similarity and with the primary image material that had before found original unit lattice in the distance of setting not; Each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice, generates the picture mosaic of image mosaic.
Owing to might exist the characteristic information of a plurality of original unit lattice more approaching in certain zone in original graph; All select identical primary image material; This just causes large-area image to repeat; Use this method can avoid a primary image material, thereby also just avoided dull repetition by continuous being applied in the zone.
Except the foregoing description; Carrying out the corresponding primary image material of original unit lattice when searching; The diversity factor of characteristic information similarity can also be set for each original unit lattice according to the characteristic information similarity; Thereby for each original unit lattice search the characteristic information similarity in a certain diversity factor scope, quantity available is more than or equal to 1 primary image material; From search the primary image material that obtains, select a primary image material at random,, and take this diversity factor as the corresponding primary image material of corresponding original unit lattice.
As shown in Figure 6, the embodiment of the invention six provides the synthetic method of a kind of image mosaic picture mosaic.
Step 601: the primary image material of choosing some in advance constitutes the primary image material database, confirms the title and the characteristic information thereof of each primary image material, and is as shown in table 1.
Step 602: cut apart original graph in advance, be each original unit lattice name, confirm the position and the characteristic information thereof of original unit lattice, as shown in table 2.
Step 603: create mosaic works figure, adopt the splitting scheme identical to cut apart these mosaic works figure, make that the position of productive unit lattice is corresponding one by one with the position of original unit lattice with cutting apart original graph.
Step 604: the passage template is set, original graph is divided into different zones, specify the use zone of specific primary image material.
Preferably, the passage template is set in advance, original graph is divided into different zones, specify the processing order of specific original unit lattice.
Preferably, the passage template is set in advance, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice.
Said passage template is divided into different zones with original graph, and said passage template can be the code that raster pattern, polar plot or a section can mosaic works figures.This passage template has been specified the use zone of specific primary image material.The different corresponding different primary image materials in use zone.
For example, original graph is divided into several zones, in certain zone, can only uses the specific a part of primary image material in the primary image material database with certain passage template.
Step 605: according to the passage template that is provided with; The zones of different of corresponding original graph; In the specific primary image material of formulating, search the highest original unit lattice of characteristic information similarity and primary image material, set up mosaic picture mosaic tables of data; Said mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and said primary image material, and is as shown in table 3.
Step 606: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of the corresponding productive unit lattice of said original unit lattice, generates the picture mosaic of image mosaic.
Because present embodiment is provided with the passage template, the image mosaic picture mosaic of generation can make some primary image material only appear at some or certain several zone in, thereby the mosaic picture mosaic more has levels on the whole.
Above-mentioned each embodiment is the introduction of method, introduces the synthesis system of a kind of image mosaic picture mosaic below.
As shown in Figure 7, the embodiment of the invention seven provides the synthesis system of a kind of image mosaic picture mosaic.
Search unit 701: be used for computer software according to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance, search and the highest picture material unit of original unit lattice characteristic information similarity;
Create, fill in unit 702: be used to set up mosaic picture mosaic tables of data; Wherein comprise the corresponding productive unit case of mosaic works figure and put information; Original unit lattice title that this productive unit lattice are corresponding and positional information thereof and characteristic information, the picture material unit title of highest similarity is arranged with these original unit lattice; Search and the highest primary image material of original unit lattice characteristic information similarity, and it is inserted mosaic picture mosaic tables of data;
Generation unit 703: be used to read corresponding primary image material, it is plotted to the correspondence position among the mosaic works figure.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All any modifications of within spirit of the present invention and principle, being done, be equal to replacement, improvement etc., all be included in protection scope of the present invention.

Claims (13)

1. the synthetic method of image mosaic picture mosaic is characterized in that, comprising:
According to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance, search the highest original unit lattice of characteristic information similarity and primary image material; Perhaps,
According to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance; For each original unit lattice search the characteristic information similarity in a diversity factor scope, quantity available is more than or equal to 1 primary image material; From search the primary image material that obtains, select a primary image material at random, as the corresponding primary image material of corresponding original unit lattice;
Set up mosaic picture mosaic tables of data, said mosaic picture mosaic tables of data comprises that the corresponding productive unit case of mosaic works figure puts information, the corresponding primary image material title of original unit lattice title, positional information and this original unit lattice that the productive unit lattice are corresponding;
According to mosaic picture mosaic tables of data, read the primary image material, the primary image material that reads is plotted to the correspondence position among the mosaic works figure, generate the picture mosaic of image mosaic.
2. method according to claim 1 is characterized in that, also comprises in the said mosaic picture mosaic tables of data:
The image adjustment parameter.
3. method according to claim 2 is characterized in that, the said primary image material that reads also comprises afterwards:
Overturn according to regulating parameter
And/or
Cutting
And/or
Stretch
And/or
Convergent-divergent
And/or
Rotation
And/or
Toner image is handled and is made it reach the highest with the similarity of corresponding original unit.
4. method according to claim 1 is characterized in that, said mosaic picture mosaic tables of data is also preserved:
Color adaptation parameter, this color adaptation parameter are based on that the difference of the amplitude of accommodation and original unit lattice and picture material cell colors value, shading value, gray scale, profile calculates;
Image manipulation parameter, this parameter are specified operation that the respective image material is carried out, are included but not limited to upset, rotation, cutting, stretching.
5. method according to claim 4 is characterized in that, after finding said original unit lattice and primary image material, also comprises:
According to the characteristic information of primary image material and original unit lattice, calculate the color adaptation parameter, make it more near the characteristic information of original unit lattice so that regulate the primary image material;
Also comprise in the search procedure:
Said picture material unit is carried out multi-angle rotation/upset, confirm the characteristic information under each condition, calculate and the highest rotation/upset result of original unit lattice characteristic information similarity, participate in searching as the similarity of this picture material unit with this result.
6. method according to claim 1 is characterized in that, said specifically being embodied as of the highest original unit lattice of characteristic information similarity and primary image material of searching:
Successively or each primary image material of picked at random, search the highest original unit lattice of characteristic information similarity.
7. method according to claim 1 is characterized in that, said specifically being embodied as of the highest original unit lattice of characteristic information similarity and primary image material of searching:
Successively or picked at random original unit lattice, search the highest picture material unit of characteristic information similarity.
8. method according to claim 1 is characterized in that, also comprises:
Usage count table in picture material unit is set in advance, limits the maximum times that each picture material unit uses.
9. method according to claim 1 is characterized in that, saidly searches the highest original unit lattice of characteristic information similarity and the primary image material also comprises:
Setting the follow-up primary image material that finds must not be positioned within a certain particular distance with the primary image material that had before found.
10. method according to claim 1 is characterized in that, also comprises:
The passage template is set in advance, original graph is divided into different zones, specify the use zone of specific image material unit;
And/or
The passage template is set in advance, original graph is divided into different zones, specify the processing order of specific original unit lattice;
And/or
The passage template is set in advance, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice.
11. method according to claim 1; It is characterized in that; Read between primary image material and the said drafting and further comprise: according to the color adaptation parameter of the corresponding original unit lattice of primary image material; Regulate said primary image material, make it more meet the characteristic information of original unit lattice.
12. according to claim 6 or 7 described methods, it is characterized in that, saidly search the highest original unit lattice of characteristic information similarity and the primary image material also comprises:
The access times of judging the picture material unit that finds do not surpass preset maximum times; Perhaps,
Distance between picture material unit that judgement finds and the picture material unit that finds before is within the distance of setting; Perhaps,
Judge that the picture material unit that finds is the corresponding corresponding picture material unit of passage template, original unit lattice place.
13. the synthesis system of image mosaic picture mosaic is characterized in that, comprising:
Search the unit: be used for cutting apart according to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, in advance second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information, search the highest original unit lattice of characteristic information similarity and primary image material; Perhaps; According to first corresponding relation of each primary image material title set up in advance and characteristic of correspondence information thereof, cut apart second corresponding relation of each original unit lattice title that original graph obtains and position thereof, characteristic information in advance; For each original unit lattice search the characteristic information similarity in a diversity factor scope, quantity available is more than or equal to 1 primary image material; From search the primary image material that obtains, select a primary image material at random, as the corresponding primary image material of corresponding original unit lattice;
Create, fill in the unit: be used to set up mosaic picture mosaic tables of data, said mosaic picture mosaic tables of data comprises that the corresponding productive unit case of mosaic works figure puts information, the corresponding primary image material title of original unit lattice title, positional information and this original unit lattice that the productive unit lattice are corresponding;
Generation unit: be used for reading the primary image material, the primary image material that reads is plotted to the correspondence position among the mosaic works figure, generate the picture mosaic of image mosaic according to mosaic picture mosaic tables of data.
CN2008101791014A 2008-11-25 2008-11-25 Synthesis method of picture mosaic pattern and system therefor Expired - Fee Related CN101739697B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101791014A CN101739697B (en) 2008-11-25 2008-11-25 Synthesis method of picture mosaic pattern and system therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101791014A CN101739697B (en) 2008-11-25 2008-11-25 Synthesis method of picture mosaic pattern and system therefor

Publications (2)

Publication Number Publication Date
CN101739697A CN101739697A (en) 2010-06-16
CN101739697B true CN101739697B (en) 2012-01-04

Family

ID=42463147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101791014A Expired - Fee Related CN101739697B (en) 2008-11-25 2008-11-25 Synthesis method of picture mosaic pattern and system therefor

Country Status (1)

Country Link
CN (1) CN101739697B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194241B (en) * 2011-04-28 2013-07-10 西安交通大学 Internet-based design method of artistic picture splicing system
JP5113930B1 (en) * 2011-06-24 2013-01-09 楽天株式会社 Image providing apparatus, image processing method, image processing program, and recording medium
CN102831593A (en) * 2012-07-23 2012-12-19 陈华 Digital picture splicing system and method for carrying out mosaic picture splicing by using system
CN102930289B (en) * 2012-09-28 2015-05-06 清华大学 Method for generating mosaic picture
CN102930571B (en) * 2012-10-09 2016-01-20 清华大学 The generation method of character mosaic picture
CN102930522B (en) * 2012-11-12 2015-11-25 北京奇虎科技有限公司 A kind of apparatus and method realizing picture splicing
CN103268601B (en) * 2013-05-19 2016-05-25 周万杰 For picture mosaic code printing method and the system thereof of mosaic packaging
CN104536728B (en) * 2014-12-01 2017-12-22 苏州乐米信息科技有限公司 Mobile phone games light weight method
CN105892839B (en) * 2015-01-26 2019-10-08 腾讯科技(深圳)有限公司 A kind of screenshot processing method and device based on instant messaging tools
CN104715449A (en) * 2015-03-31 2015-06-17 百度在线网络技术(北京)有限公司 Method and device for generating mosaic image
CN106469460B (en) * 2015-08-14 2019-07-23 阿里巴巴集团控股有限公司 The method and apparatus and electronic equipment that mosaic image generates
CN105678714B (en) * 2016-02-05 2020-12-29 网易传媒科技(北京)有限公司 Image processing method and device
CN107767340A (en) * 2017-10-26 2018-03-06 厦门理工学院 The synthesis preparation method of electronic photo
CN109816753B (en) * 2019-01-09 2022-10-21 亮风台(上海)信息科技有限公司 Method and equipment for carrying out real-time dynamic configuration on photo wall
CN110084746A (en) * 2019-03-14 2019-08-02 合肥磐石自动化科技有限公司 A kind of knowledge figure pattern splicing method of mosaic machine people
CN111353532A (en) * 2020-02-26 2020-06-30 北京三快在线科技有限公司 Image generation method and device, computer-readable storage medium and electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124385A (en) * 1994-12-08 1996-06-12 联华电子股份有限公司 Image synthetic method and its equipment by mosaic effect treatment
CN1167958A (en) * 1996-06-10 1997-12-17 联华电子股份有限公司 Apparatus and method for producing mosaic image

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124385A (en) * 1994-12-08 1996-06-12 联华电子股份有限公司 Image synthetic method and its equipment by mosaic effect treatment
CN1167958A (en) * 1996-06-10 1997-12-17 联华电子股份有限公司 Apparatus and method for producing mosaic image

Also Published As

Publication number Publication date
CN101739697A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
CN101739697B (en) Synthesis method of picture mosaic pattern and system therefor
Wang et al. Data-driven image color theme enhancement
Iqbal et al. Feature integration, multi-image queries and relevance feedback in image retrieval
CN103176960A (en) Photo automatic typesetting method based on genetic relationship
CN104504429B (en) two-dimensional code generation method and device
CN108470318A (en) The three-dimensional grid doubly time series model method positioned based on grouping strategy and neighborhood relationships
CN1107281C (en) Matrix generator capable of generating matrix of character composition factor with linked stroke
CN101734077B (en) Production method of mosaic decoration works and system thereof
Ono et al. Figure pattern creation support for escher-like tiling by interactive genetic algorithms
US20230045937A1 (en) Generative system for the creation of digital images for printing on design surfaces
CN107391613A (en) A kind of automatic disambiguation method of more documents of industry security theme and device
Fu et al. Whale optimization algorithm for flexible flow shop scheduling with setup times
KR20180089096A (en) Learning apparatus for intelligent computer programing language and learning method using the same
CN1129093C (en) Method for generating three-D graphics
Qian et al. Constructive steganography by tangles
CN110223217A (en) A kind of planar design automatic addition decorative element information processing system and method
CN102542522B (en) Color separating method and system
CN106412590B (en) A kind of image processing method and device
CN109509249A (en) A kind of virtual scene light source intelligent generation method based on component
CN111667564B (en) Texture data processing method and device, electronic equipment and storage medium
CN111985489B (en) Night lamplight and flame classification discrimination algorithm combining target tracking and motion analysis
KR102655432B1 (en) Device and method for drawing object extraction using machine learning
WO2003103342A3 (en) Control of a linear lighting array
KR101021173B1 (en) Apparatus and method for creating mosaic image based on amdamento
Mustamin et al. Transforming Tradition: Utilizing MUNIT for Sasirangan Fabric’s Color Pattern Generation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20170222

Address after: 408499 Chongqing City Nanchuan Dongcheng subdistrict office police road No. 3 6 floor

Patentee after: Chongqing Tang Valley Technology Co., Ltd.

Address before: 100085 Beijing, Haidian District, on the top of the 10 Street International Building, No. 5, No. 718

Patentee before: Wang Yuanyuan

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120104

Termination date: 20181125