CN101739697A - Synthesis method of picture mosaic pattern and system therefor - Google Patents
Synthesis method of picture mosaic pattern and system therefor Download PDFInfo
- Publication number
- CN101739697A CN101739697A CN200810179101A CN200810179101A CN101739697A CN 101739697 A CN101739697 A CN 101739697A CN 200810179101 A CN200810179101 A CN 200810179101A CN 200810179101 A CN200810179101 A CN 200810179101A CN 101739697 A CN101739697 A CN 101739697A
- Authority
- CN
- China
- Prior art keywords
- mosaic
- unit lattice
- original
- primary image
- characteristic information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001308 synthesis method Methods 0.000 title abstract 2
- 239000000463 material Substances 0.000 claims abstract description 196
- 238000000034 method Methods 0.000 claims description 29
- 230000006978 adaptation Effects 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 13
- 238000010189 synthetic method Methods 0.000 claims description 11
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000003786 synthesis reaction Methods 0.000 claims description 4
- 239000003086 colorant Substances 0.000 claims description 3
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 230000004308 accommodation Effects 0.000 claims description 2
- 238000004321 preservation Methods 0.000 claims description 2
- 238000004519 manufacturing process Methods 0.000 abstract 2
- 238000010586 diagram Methods 0.000 description 6
- 238000013461 design Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 239000004744 fabric Substances 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000010422 painting Methods 0.000 description 2
- 206010027336 Menstruation delayed Diseases 0.000 description 1
- 206010041662 Splinter Diseases 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 239000004579 marble Substances 0.000 description 1
- 238000012163 sequencing technique Methods 0.000 description 1
- 239000004575 stone Substances 0.000 description 1
Images
Landscapes
- Processing Or Creating Images (AREA)
- Image Analysis (AREA)
Abstract
The invention discloses a synthesis method of picture mosaic pattern and a system therefor; the system comprises the following steps: the computer software obtains names and positions of original cells, second congruent relationship of feature information according to preset name of each basic picture material and corresponding first congruent relationship of feature information thereof; searches picture material units with the highest similarity to the feature information of the original cells; establishes mosaic pattern data sheet including production cell position information corresponding to a mosaic picture works, name, position information and feature information of original cells corresponding to the production cell and name of the picture material units with the highest similarity to the original cells, searches the basic picture material with the highest similarity to the feature information of the original cells and fills the basic picture material into the mosaic pattern data sheet, reads corresponding basic picture material and draws the basic picture material to corresponding position thereof in the mosaic picture works.
Description
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 finished.Mosaic is risen in ancient Greek, and the most frequently used black of early stage Greek marble mosaic is arranged in pairs or groups mutually 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, finishes a width of cloth mosaic.
In the whole process of using the picture mosaic of mosaic technology mosaic works image mosaic, form by following two width of cloth figure and the primary image material of being mutually related.
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 from nearby.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 finish the digital mosaic processing to this original graph.
Further, owing to may 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 the color of mosaic picture mosaic of generation and original graph not high.
In addition, in the prior art, owing to may 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, original graph is the main teaching building photo of school, the creator wishes 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 finish image mosaic processing to this original graph.
For achieving the above object, 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, the productive unit case that wherein comprises mosaic works figure correspondence is put information, the original unit lattice title of this productive unit lattice correspondence 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 correspondence position among the mosaic works figure.
Preferably, also comprise in the described mosaic picture mosaic tables of data:
The image adjustment parameter.
Preferably, describedly 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, described 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, described 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, describedly 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 described color adaptation parameter, make it more near the characteristic information of original unit lattice;
Also comprise in the search procedure:
Described picture material unit is carried out multi-angle rotation/upset, determine 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, described specific implementation of searching the highest original unit lattice of characteristic information similarity and primary image material is:
Successively and/or each primary image material of picked at random, search the highest original unit lattice of characteristic information similarity.
Preferably, described specific implementation of searching the highest original unit lattice of characteristic information similarity and primary image material is:
Successively and/or picked at random original unit lattice, search the highest picture material unit of characteristic information similarity.
Preferably, also comprise:
Set in advance picture material unit usage count table, limit the maximum times that each picture material unit uses.
Preferably, describedly 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 specific distance with the primary image material that had before found.
Preferably, also comprise:
Set in advance the passage template, original graph is divided into different zones, specify the use zone of specific image material unit;
And/or
Set in advance the passage template, original graph is divided into different zones, specify the processing order of specific original unit lattice;
And/or
Set in advance the passage template, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice
Preferably, described color adaptation parameter regulation is not only limited to:
Color also comprises color range, shading value, upset, rotation.
Described specific implementation of searching with the highest picture material unit of original unit lattice characteristic information similarity is:
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, the productive unit case that wherein comprises mosaic works figure correspondence is put information, the original unit lattice title of this productive unit lattice correspondence 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 correspondence position among the mosaic works figure.
As seen, in the present invention, owing to created mosaic picture mosaic tables of data, can fast each primary image be plotted in the position of productive unit lattice of original unit lattice correspondence, 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, by 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 specific distance with the primary image material that had before found by 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, by 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, owing to created mosaic picture mosaic tables of data, can fast each primary image be plotted in the position of productive unit lattice of original unit lattice correspondence, generate the picture mosaic of image mosaic.
Below in conjunction with drawings and the specific embodiments 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, determines 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 described 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, determine 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 described 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 multiple 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, described establishment mosaic works figure also comprises the size of setting mosaic works figure, can set the measure-alike of the size of mosaic works figure and original graph, 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, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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 productive unit lattice of described original unit lattice correspondence, 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 nearby, can see that then whole works is made up of some meticulous little pictures.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 the following examples make 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, determines 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, determine 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, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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 described 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 be arranged.
Step 206: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of productive unit lattice of described original unit lattice correspondence, generate the picture mosaic of image mosaic, comprise the primary image material of regulating through color parameter in described each primary image material.
Present embodiment can guarantee to generate the very high image mosaic picture mosaic of color reduction degree.
May there be such situation in actual applications, 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 wishing all students all is used once at least, and the embodiment of the invention three proposes at 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, determines 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, determine 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, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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, 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 productive unit lattice of described original unit lattice correspondence, generates the picture mosaic of image mosaic.
Present embodiment can guarantee that all primary image materials all are used, and the following examples then can be avoided some primary image material to use and too much cause large-area image repetition among the mosaic works figure, as shown in Figure 4.
Step 401: the primary image material of choosing some in advance constitutes the primary image material database, determines 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, determine 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, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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 at every turn, if surpass the maximum times that limits, then this primary image material does not satisfy search condition in follow-up search procedure.
Step 405: according to mosaic picture mosaic tables of data, each primary image material is plotted in the position of productive unit lattice of described original unit lattice correspondence, 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.
The following examples 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, determines 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, determine 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 specific distance with the elementary cell that had before found, set up mosaic picture mosaic tables of data, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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 primary image material that this finds and the previous primary image material that has been found out are 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 productive unit lattice of described original unit lattice correspondence, 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, as the primary image material of corresponding original unit lattice correspondence, and take this diversity factor.
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, determines 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, determine 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, set in advance the passage template, original graph is divided into different zones, specify the processing order of specific original unit lattice.
Preferably, set in advance the passage template, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice.
Described passage template is divided into different zones with original graph, and described 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, described mosaic picture mosaic tables of data comprises the corresponding relation of the title of original unit lattice title, positional information and described 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 productive unit lattice of described original unit lattice correspondence, 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, the productive unit case that wherein comprises mosaic works figure correspondence is put information, the original unit lattice title of this productive unit lattice correspondence 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 correspondence position among the mosaic works figure.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.All any modifications of being done within the spirit and principles in the present invention, be equal to replacement, improvement etc., all be included in protection scope of the present invention.
Claims (14)
1. the synthetic method of image mosaic picture mosaic is characterized in that, comprising:
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, the productive unit case that wherein comprises mosaic works figure correspondence is put information, the original unit lattice title of this productive unit lattice correspondence 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 correspondence position among the mosaic works figure.
2. method according to claim 1 is characterized in that, also comprises in the described mosaic picture mosaic tables of data:
The image adjustment parameter.
3. method according to claim 2 is characterized in that, describedly also comprises after inserting mosaic picture mosaic tables of data:
Calculate the adjusting parameter and the preservation that can make this picture material obtain highest similarity.
4. method according to claim 3 is characterized in that, described 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.
5. method according to claim 1 is characterized in that, described 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.
6. method according to claim 1 is characterized in that, describedly also comprises after searching the highest original unit lattice of characteristic information similarity and primary image material:
Regulate this primary image material in advance according to described color adaptation parameter, make it more near the characteristic information of original unit lattice;
Also comprise in the search procedure:
Described picture material unit is carried out multi-angle rotation/upset, determine 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.
7. method according to claim 1 is characterized in that, described specific implementation of searching the highest original unit lattice of characteristic information similarity and primary image material is:
Successively and/or each primary image material of picked at random, search the highest original unit lattice of characteristic information similarity.
8. method according to claim 1 is characterized in that, described specific implementation of searching the highest original unit lattice of characteristic information similarity and primary image material is:
Successively and/or picked at random original unit lattice, search the highest picture material unit of characteristic information similarity.
9. method according to claim 1 is characterized in that, also comprises:
Set in advance picture material unit usage count table, limit the maximum times that each picture material unit uses.
10. method according to claim 1 is characterized in that, describedly 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 specific distance with the primary image material that had before found.
11. method according to claim 1 is characterized in that, also comprises:
Set in advance the passage template, original graph is divided into different zones, specify the use zone of specific image material unit;
And/or
Set in advance the passage template, original graph is divided into different zones, specify the processing order of specific original unit lattice;
And/or
Set in advance the passage template, original graph is divided into different zones, specify the adjusting parameter of specific original unit lattice.
12. method according to claim 1 is characterized in that, described color adaptation parameter regulation is not only limited to:
Color also comprises color range, shading value, upset, rotation.
13. method according to claim 1 is characterized in that, described specific implementation of searching with the highest picture material unit of original unit lattice characteristic information similarity is:
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.
14. the synthesis system of image mosaic picture mosaic is characterized in that, comprising:
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, the productive unit case that wherein comprises mosaic works figure correspondence is put information, the original unit lattice title of this productive unit lattice correspondence 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 correspondence position among the mosaic works figure.
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 true CN101739697A (en) | 2010-06-16 |
CN101739697B 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) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102194241A (en) * | 2011-04-28 | 2011-09-21 | 西安交通大学 | Internet-based design method of artistic picture splicing system |
CN102831593A (en) * | 2012-07-23 | 2012-12-19 | 陈华 | Digital picture splicing system and method for carrying out mosaic picture splicing by using system |
CN102930289A (en) * | 2012-09-28 | 2013-02-13 | 清华大学 | Method for generating mosaic picture |
CN102930571A (en) * | 2012-10-09 | 2013-02-13 | 清华大学 | Generation method for character photomosaic |
CN103189895A (en) * | 2011-06-24 | 2013-07-03 | 乐天株式会社 | Image providing device, image processing method, image processing program, and recording medium |
CN103268601A (en) * | 2013-05-19 | 2013-08-28 | 周万杰 | Picture splicing marking method and system for mosaic packaging |
CN104536728A (en) * | 2014-12-01 | 2015-04-22 | 苏州乐米信息科技有限公司 | Lightweight method for mobile game |
CN104715449A (en) * | 2015-03-31 | 2015-06-17 | 百度在线网络技术(北京)有限公司 | Method and device for generating mosaic image |
CN105046678A (en) * | 2012-11-12 | 2015-11-11 | 北京奇虎科技有限公司 | Apparatus and method for implementing picture stitching and picture processing system |
CN105678714A (en) * | 2016-02-05 | 2016-06-15 | 网易传媒科技(北京)有限公司 | Image processing method and device |
CN105892839A (en) * | 2015-01-26 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Screenshot processing method and device based on instant communication tool |
CN106469460A (en) * | 2015-08-14 | 2017-03-01 | 阿里巴巴集团控股有限公司 | Method and apparatus and electronic equipment that mosaic image generates |
CN107767340A (en) * | 2017-10-26 | 2018-03-06 | 厦门理工学院 | The synthesis preparation method of electronic photo |
CN109816753A (en) * | 2019-01-09 | 2019-05-28 | 亮风台(上海)信息科技有限公司 | It is a kind of for carrying out the method and apparatus of the real-time dynamic configuration of 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 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1103477C (en) * | 1994-12-08 | 2003-03-19 | 联华电子股份有限公司 | Image synthetic method and its equipment by mosaic effect treatment |
CN1114174C (en) * | 1996-06-10 | 2003-07-09 | 联华电子股份有限公司 | Apparatus and method for producing mosaic image |
-
2008
- 2008-11-25 CN CN2008101791014A patent/CN101739697B/en not_active Expired - Fee Related
Cited By (26)
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 |
CN102194241A (en) * | 2011-04-28 | 2011-09-21 | 西安交通大学 | Internet-based design method of artistic picture splicing system |
CN103189895A (en) * | 2011-06-24 | 2013-07-03 | 乐天株式会社 | Image providing device, image processing method, image processing program, and recording medium |
CN103189895B (en) * | 2011-06-24 | 2016-09-07 | 乐天株式会社 | Image providing device, image processing method |
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 |
CN102930289A (en) * | 2012-09-28 | 2013-02-13 | 清华大学 | Method for generating mosaic picture |
CN102930571A (en) * | 2012-10-09 | 2013-02-13 | 清华大学 | Generation method for character photomosaic |
CN105046678A (en) * | 2012-11-12 | 2015-11-11 | 北京奇虎科技有限公司 | Apparatus and method for implementing picture stitching and picture processing system |
CN105046678B (en) * | 2012-11-12 | 2018-05-18 | 北京奇虎科技有限公司 | A kind of device, method and picture processing system for realizing picture splicing |
CN103268601B (en) * | 2013-05-19 | 2016-05-25 | 周万杰 | For picture mosaic code printing method and the system thereof of mosaic packaging |
CN103268601A (en) * | 2013-05-19 | 2013-08-28 | 周万杰 | Picture splicing marking method and system for mosaic packaging |
CN104536728A (en) * | 2014-12-01 | 2015-04-22 | 苏州乐米信息科技有限公司 | Lightweight method for mobile game |
CN104536728B (en) * | 2014-12-01 | 2017-12-22 | 苏州乐米信息科技有限公司 | Mobile phone games light weight method |
CN105892839A (en) * | 2015-01-26 | 2016-08-24 | 腾讯科技(深圳)有限公司 | Screenshot processing method and device based on instant communication tool |
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 |
WO2016155382A1 (en) * | 2015-03-31 | 2016-10-06 | 百度在线网络技术(北京)有限公司 | Mosaic image generation method and device |
CN106469460B (en) * | 2015-08-14 | 2019-07-23 | 阿里巴巴集团控股有限公司 | The method and apparatus and electronic equipment that mosaic image generates |
CN106469460A (en) * | 2015-08-14 | 2017-03-01 | 阿里巴巴集团控股有限公司 | Method and apparatus and electronic equipment that mosaic image generates |
CN105678714A (en) * | 2016-02-05 | 2016-06-15 | 网易传媒科技(北京)有限公司 | Image processing method and device |
CN107767340A (en) * | 2017-10-26 | 2018-03-06 | 厦门理工学院 | The synthesis preparation method of electronic photo |
CN109816753A (en) * | 2019-01-09 | 2019-05-28 | 亮风台(上海)信息科技有限公司 | It is a kind of for carrying out the method and apparatus of the real-time dynamic configuration of photo wall |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN101739697B (en) | 2012-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101739697B (en) | Synthesis method of picture mosaic pattern and system therefor | |
CN111540024A (en) | Model rendering method and device, electronic equipment and storage medium | |
CN101796538A (en) | With the arranging graphic object on the page that is controlled at based on relative area | |
CN105761202B (en) | A kind of color image color moving method | |
López et al. | Performance evaluation of soft color texture descriptors for surface grading using experimental design and logistic regression | |
CN103176960A (en) | Photo automatic typesetting method based on genetic relationship | |
CN101734077B (en) | Production method of mosaic decoration works and system thereof | |
CN104504429B (en) | two-dimensional code generation method and device | |
JPH08137908A (en) | Method and device for retrieving picture | |
CN112991402B (en) | Wen Wudian cloud registration method and system based on improved differential evolution algorithm | |
US20230045937A1 (en) | Generative system for the creation of digital images for printing on design surfaces | |
CN1129093C (en) | Method for generating three-D graphics | |
Fu et al. | Whale optimization algorithm for flexible flow shop scheduling with setup times | |
CN110223217A (en) | A kind of planar design automatic addition decorative element information processing system and method | |
CN102542522B (en) | Color separating method and system | |
Qian et al. | Constructive steganography by tangles | |
CN114425657B (en) | Method for marking color picture by laser | |
CN110175952A (en) | A kind of automatic generation method and device of the jade machining path based on target detection | |
CN111667564B (en) | Texture data processing method and device, electronic equipment and storage medium | |
CN106412590B (en) | A kind of image processing method and device | |
CN111062921B (en) | Ceramic tile inspection method for plane design drawing | |
CN109509249A (en) | A kind of virtual scene light source intelligent generation method based on component | |
JP2001092805A (en) | Device and method for generating analytical mesh and recording medium | |
JP4608237B2 (en) | Contour processing method | |
JP2939624B2 (en) | High-speed hidden line processing method |
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 |
Granted publication date: 20120104 Termination date: 20181125 |
|
CF01 | Termination of patent right due to non-payment of annual fee |