CN104978444B - A kind of method and device of picture combination - Google Patents
A kind of method and device of picture combination Download PDFInfo
- Publication number
- CN104978444B CN104978444B CN201410137404.5A CN201410137404A CN104978444B CN 104978444 B CN104978444 B CN 104978444B CN 201410137404 A CN201410137404 A CN 201410137404A CN 104978444 B CN104978444 B CN 104978444B
- Authority
- CN
- China
- Prior art keywords
- picture
- template
- subregion
- supergraph
- combined
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 239000002131 composite material Substances 0.000 claims description 17
- 230000015572 biosynthetic process Effects 0.000 claims description 9
- 238000010586 diagram Methods 0.000 claims description 9
- 239000004744 fabric Substances 0.000 claims description 4
- 230000001174 ascending effect Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 2
- 238000000465 moulding Methods 0.000 description 2
- 230000002301 combined effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Landscapes
- Editing Of Facsimile Originals (AREA)
- Processing Or Creating Images (AREA)
Abstract
Description
Claims (22)
- A kind of 1. method of picture combination, it is characterised in that including:Obtain the quantity for the picture to be combined;A gang form is chosen from the gang form storehouse pre-established as supergraph template;Wherein, in the supergraph template Including at least one subregion, the quantity for the subregion that the supergraph template includes is less than the quantity of the picture to be combined;Gang form is chosen from the gang form storehouse as subgraph template, using the subgraph template to the supergraph template Subregion be filled so as to formed picture combination layout templates;Wherein, in the supergraph after being filled to the supergraph template The quantity of the total subregion formed in template is equal with the quantity of the picture to be combined;Layout templates are combined according to the picture, the picture to be combined is combined.
- 2. the method for picture combination according to claim 1, it is characterised in that described to be chosen from the gang form storehouse Gang form is filled so as to formation figure as subgraph template using the subgraph template to the subregion of the supergraph template Piece composite configuration template, including:A gang form is chosen from the gang form storehouse as subgraph template;The subregion of wherein described subgraph template Quantity is less than or equal to the quantity and the quantity of the subregion of the supergraph template of the picture to be combined with 1 difference Difference;A sub-regions are chosen from all subregions of the supergraph template, the son using the subgraph template to the selection Region is filled;Record the quantity of the subregion of the supergraph template after the filling, and by the subregion of the supergraph template after the filling Quantity is compared with the quantity of the picture to be combined;If the quantity of the subregion of the supergraph template after the filling is equal to the quantity of the picture to be combined, stop to institute The further filling of supergraph template is stated, so as to form picture combination layout templates;If the quantity of the subregion of the supergraph template after the filling is less than the quantity of the picture to be combined, to the mother Artwork plate is further filled, and new subregion is formed in the supergraph template.
- 3. the method for picture combination according to claim 2, it is characterised in that if the supergraph template after the filling The quantity of subregion be less than the quantity of the picture to be combined, then the supergraph template is further filled, in institute State and new subregion is formed in supergraph template, including:If the quantity of the subregion of the supergraph template after the filling is less than the quantity of the picture to be combined, again in institute State and a gang form is chosen in gang form storehouse as subgraph template, and all sub-districts of the supergraph template after the filling A sub-regions are chosen in domain, the subregion chosen from the supergraph template after the filling is filled out using the subgraph template Fill, new subregion is formed in the subregion of the selection.
- 4. the method for the picture combination according to Claims 2 or 3, it is characterised in that described to utilize the subgraph template pair The subregion of the selection be filled including:The size for the subregion that the subgraph template is scaled into the selection is placed in the subregion of the selection, and makes institute The frame for stating the frame and the subregion of the selection of the subgraph template after scaling coincides;Wherein, the subgraph template In all subregion with the scaling of the subgraph Form board frame and equal proportion scale.
- 5. the method for picture combination according to claim 1, it is characterised in that the supergraph template and subgraph template include The subregion of regular geometry and/or random geometry.
- 6. the method for picture combination according to claim 3, it is characterised in that also include:Gang form is being chosen from the gang form storehouse as subgraph template, using the subgraph template to the supergraph mould During the subregion of plate is filled, filling index is established;Wherein, it is described to index for recording the supergraph after the filling Each sub-regions of template are which time filling to the supergraph template is formed respectively;Choosing a sub-regions in all subregions of the supergraph template after the filling includes:Indexed according to the filling, selection filling number is forward in all subregions of the supergraph template after the filling one Sub-regions, the filling number ascending order arrangement, the area of the forward subregion of filling number are relatively large.
- 7. the method for the picture combination according to claim any one of 1-3, it is characterised in thatWhen being filled using subgraph template to subregion, it is first determined the Aspect Ratio of the subregion to be filled, if described Aspect Ratio is more than first threshold and is less than Second Threshold, then subgraph template is filled into the subregion to be filled, described In subregion more subregions are formed along the broadside of the subregion.
- 8. the method for picture combination according to claim 2, it is characterised in that also include:After each filling forms new subregion, the Aspect Ratio of the new subregion is judged, if the new subregion Aspect Ratio be more than or equal to Second Threshold, then to being discarded when time filling, and re-start and once fill;And/orAfter each filling forms new subregion, the area of the new subregion is judged, if the face of the new subregion Product is less than the 3rd threshold value, then to being discarded when time filling, and re-starts and once fill.
- 9. the method for the picture combination according to claim any one of 1-3, it is characterised in that from the gang form storehouse It is middle selection gang form be used as subgraph template, the subregion of the supergraph template is filled using the subgraph template so that After forming picture combination layout templates, methods described also includes:The picture combination layout templates entirety of the formation is rotated according to predetermined angular;And/orAt least one subregion in the picture combination layout templates of the formation is rotated according to predetermined angular;It is described according to the picture combine layout templates, the picture to be combined is combined including:According to the postrotational picture combination layout templates, the picture to be combined is combined.
- 10. the method for the picture combination according to claim any one of 1-3, it is characterised in that to be combined in the acquisition Picture quantity before, in addition to:According to combination picture corresponding to the picture to be combined described in the generation of the first gang form;User is received by rocking the layout templates adjust instruction that mobile terminal issues;According to the layout templates adjust instruction, random generation picture combination layout templates are selected according to pre-defined rule, triggering is held The operation of the quantity of the row acquisition picture to be combined;Wherein, it is described according to the picture combine layout templates, the picture to be combined is combined including:Layout templates are combined according to the picture, the picture to be combined are combined so as to by the cloth of the combination picture Office's layout corresponding to the first gang form changes over the picture and combines layout corresponding to layout templates.
- 11. the method for picture combination according to claim 10, it is characterised in that the pre-defined rule includes:Random generation picture combination layout templates are selected on the first probability, the picture group prestored is selected on the second probability Layout masterplate is closed, the first described probability and the second probability sum are 1.
- 12. the method for the picture combination according to claim any one of 1-3, it is characterised in that to be combined in the acquisition Picture quantity before, in addition to:According to combination picture corresponding to the picture to be combined described in the generation of the first gang form;Random generation layout templates button is provided;Receive clicking operation of the user to the button;Clicking operation according to user to the button, triggering perform the operation of the quantity of the acquisition picture to be combined;Wherein, it is described according to the picture combine layout templates, the picture to be combined is combined including:Layout templates are combined according to the picture, the picture to be combined are combined so as to by the cloth of the combination picture Office's layout corresponding to the first gang form changes over the picture and combines layout corresponding to layout templates.
- A kind of 13. device of picture combination, it is characterised in that including:Acquiring unit, for obtaining the quantity for the picture to be combined;Template generation unit, for choosing a gang form from the gang form storehouse pre-established as supergraph template, and Gang form is chosen from the gang form storehouse as subgraph template, the son using the subgraph template to the supergraph template Region is filled so as to form picture combination layout templates;Wherein, the supergraph template includes at least one subregion, institute The quantity for stating the subregion that supergraph template includes is less than the quantity of the picture to be combined, and the supergraph template is filled The quantity of the total subregion formed afterwards in the supergraph template is equal with the quantity of the picture to be combined;Assembled unit, for combining layout templates according to the picture, the picture to be combined is combined.
- 14. the device of picture combination according to claim 13, it is characterised in that the template generation unit, including:Template chooses subelement, for choosing a gang form from the gang form storehouse pre-established as subgraph template; The quantity of the subregion of wherein described subgraph template is less than or equal to quantity and the institute of the picture to be combined with 1 difference State the difference of the quantity of the subregion of supergraph template;Subelement is filled, for choosing a sub-regions from all subregions of the supergraph template, and utilizes the subgraph Template is filled to the subregion of the selection;Subelement is recorded, the quantity of the subregion for recording the supergraph template after the filling;Comparing subunit, for the number by the quantity of the subregion of the supergraph template after the filling with the picture to be combined Amount is compared, if the quantity of the subregion of the supergraph template after the filling is equal to the quantity of the picture to be combined, The filling subelement is notified to stop the further filling to the supergraph template;If the sub-district of the supergraph template after the filling The quantity in domain is less than the quantity of the picture to be combined, then notifies the filling subelement further to enter the supergraph template Row filling, new subregion is formed in the supergraph template.
- 15. the device of picture combination according to claim 14, it is characterised in that the filling subelement includes:Zoom module, for subregion that the subgraph template is scaled to the selection size and be placed on the selection In subregion, and the frame of the frame and the subregion of the selection of the subgraph template after the scaling is set to coincide;Its Described in all subregion in subgraph template with the scaling of the subgraph Form board frame and equal proportion scales.
- 16. the device of picture combination according to claim 15, it is characterised in that also include:Generation unit is indexed, for choosing gang form from the gang form storehouse as subgraph template, utilizes the son During artwork plate is filled to the subregion of the supergraph template, filling index is established;Wherein, it is described to index for remembering Each sub-regions for recording the supergraph template after the filling are which time filling to the supergraph template is formed respectively;The filling subelement includes:Subregion chooses module, for being indexed according to the filling, in all subregions of the supergraph template after the filling Choose the forward sub-regions of filling number.
- 17. the device of the picture combination according to any one of claim 13 to 15, it is characterised in that the template generation list Member using subgraph template to subregion when being filled, it is first determined the Aspect Ratio of the subregion to be filled, if the length Wide ratio is more than first threshold and is less than Second Threshold, then subgraph template is filled into the subregion to be filled, so as in institute State in subregion and form more subregions along the broadside of the subregion.
- 18. the device of picture combination according to claim 14, it is characterised in that the filling subelement also includes:First judge module, for after each filling forms new subregion, judging the Aspect Ratio of the new subregion, If the Aspect Ratio of the new subregion is more than or equal to Second Threshold, to being discarded when time filling, and enter again Row is once filled;And/orSecond judge module, for after each filling forms new subregion, the area of the new subregion being judged, if institute The area for stating new subregion is less than the 3rd threshold value, then to being discarded when time filling, and re-starts and once fill.
- 19. the device of the picture combination according to any one of claim 13 to 15, it is characterised in that also include:First rotation control unit, for being combined to the picture of the formation, layout templates are overall to be revolved according to predetermined angular Turn;And/orSecond rotation control unit, at least one subregion in the picture combination layout templates to the formation according to pre- Determine angle to be rotated;The assembled unit includes:First combination subelement, for combining layout templates according to the postrotational picture, the picture to be combined is entered Row combination.
- 20. the device of the picture combination according to any one of claim 13 to 15, it is characterised in that also include:First combination picture generation unit, for the constitutional diagram corresponding to the picture to be combined according to the generation of the first gang form Piece;First instruction reception unit, for receiving user by rocking the layout templates adjust instruction that mobile terminal issues;First instruction execution unit, for according to the layout templates adjust instruction, random generation figure to be selected according to pre-defined rule Piece composite configuration template, triggering perform the operation of the quantity of the acquisition picture to be combined;Wherein, the assembled unit, for combining layout templates according to the picture, the picture to be combined is combined Change over the picture so as to which the layout of the combination picture be laid out corresponding to the first gang form and combine layout templates pair The layout answered.
- 21. the device of picture combination according to claim 20, it is characterised in that the pre-defined rule includes:First Random generation picture combination layout templates are selected on probability, the picture composite configuration mould prestored is selected on the second probability Version, the first described probability and the second probability sum are 1.
- 22. the device of the picture combination according to claim any one of 13-15, it is characterised in that also include:Second combination picture generation unit, for the constitutional diagram corresponding to the picture to be combined according to the generation of the first gang form Piece;Second instruction reception unit, for receiving clicking operation of the user to the random generation layout templates button of offer;Second instruction execution unit, for the clicking operation according to user to the button, triggering performs the acquisition and combined Picture quantity operation;Wherein, the assembled unit, for combining layout templates according to the picture, the picture to be combined is combined Change over the picture so as to which the layout of the combination picture be laid out corresponding to the first gang form and combine layout templates pair The layout answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410137404.5A CN104978444B (en) | 2014-04-04 | 2014-04-04 | A kind of method and device of picture combination |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410137404.5A CN104978444B (en) | 2014-04-04 | 2014-04-04 | A kind of method and device of picture combination |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104978444A CN104978444A (en) | 2015-10-14 |
CN104978444B true CN104978444B (en) | 2018-01-12 |
Family
ID=54274946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410137404.5A Active CN104978444B (en) | 2014-04-04 | 2014-04-04 | A kind of method and device of picture combination |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104978444B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105574909A (en) * | 2014-10-11 | 2016-05-11 | 北京金山安全软件有限公司 | Picture combination template processing method and device and terminal |
CN106023083A (en) * | 2016-05-25 | 2016-10-12 | 北京小米移动软件有限公司 | Method and device for obtaining combined image |
CN106126686B (en) * | 2016-06-29 | 2020-06-05 | 北京金山安全软件有限公司 | Picture combination method and device and electronic equipment |
CN106325708B (en) * | 2016-08-23 | 2019-08-23 | 北京金山安全软件有限公司 | Method, device and equipment for processing preset template of picture |
CN106530233A (en) * | 2016-12-20 | 2017-03-22 | 维沃移动通信有限公司 | Picture splicing method and mobile terminal |
CN107357501B (en) * | 2017-06-21 | 2020-10-23 | 深圳传音通讯有限公司 | Desktop wallpaper updating method and device and terminal |
CN111311694B (en) * | 2018-12-11 | 2023-04-18 | 西安海平方网络科技有限公司 | Material arrangement method and device, computer equipment and storage medium |
CN112884867B (en) * | 2021-03-17 | 2022-03-11 | 杭州太火鸟科技有限公司 | Picture-based combined template generation method, device, equipment and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4555197B2 (en) * | 2005-09-16 | 2010-09-29 | 富士フイルム株式会社 | Image layout apparatus and method, and program |
CN101331522B (en) * | 2005-10-18 | 2012-10-10 | 富士胶片株式会社 | Album creating apparatus |
US20110213795A1 (en) * | 2010-03-01 | 2011-09-01 | Kenneth Kun Lee | Automatic creation of alternative layouts using the same selected photos by applying special filters and/or changing photo locations in relation to creating the photobook |
CN102650985B (en) * | 2011-02-25 | 2014-09-10 | 易搜比控股公司 | Dynamic typesetting method of display menu |
-
2014
- 2014-04-04 CN CN201410137404.5A patent/CN104978444B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104978444A (en) | 2015-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104978444B (en) | A kind of method and device of picture combination | |
US10896478B2 (en) | Image grid with selectively prominent images | |
US9329762B1 (en) | Methods and systems for reversing editing operations in media-rich projects | |
US9507506B2 (en) | Automatic target box in methods and systems for editing content-rich layouts in media-based projects | |
US9219830B1 (en) | Methods and systems for page and spread arrangement in photo-based projects | |
KR101414195B1 (en) | Apparatus, method and computer readable recording medium for arranging a plurality of the items automatically in a space | |
US8990672B1 (en) | Flexible design architecture for designing media-based projects in a network-based platform | |
US8958662B1 (en) | Methods and systems for automating insertion of content into media-based projects | |
CN104978445B (en) | A kind of method and device of picture combination | |
CN110310222A (en) | A kind of image Style Transfer method, apparatus, electronic equipment and storage medium | |
CN105376651B (en) | Method and device for generating video slides | |
CN104917666A (en) | Method of making personalized dynamic expression and device | |
CN103488749A (en) | Network electronic album display method and system | |
CN104765761A (en) | Media data processing method | |
CN104360847A (en) | Method and equipment for processing image | |
CN108986032A (en) | A kind of advertising pictures processing method and processing device | |
CN105045587A (en) | Picture display method and apparatus | |
CN103279902A (en) | Electronic menu display method | |
CN103207725B (en) | Icon conversion method and device | |
CN108804196A (en) | Production method, device and the electronic equipment of multilevel menu | |
WO2023098338A1 (en) | Method, apparatus and device for generating 3d printing file, and storage medium | |
Biehler et al. | 3D Printing with Autodesk: Create and Print 3D Objects with 123D, AutoCAD and Inventor | |
CN110515609B (en) | Application generation method, device, equipment and storage medium | |
CN109300191A (en) | AR model treatment method, apparatus, electronic equipment and readable storage medium storing program for executing | |
CN109499067A (en) | A kind of method for drafting and device, electronic equipment, storage medium of terrain texture |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0070 Applicant after: Beijing Cheetah Network Technology Co.,Ltd. Address before: 100041 Beijing, Shijingshan District Xing Xing street, building 30, No. 3, building 2, A-0070 Applicant before: BEIJING KINGSOFT NETWORK TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20201202 Address after: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing 100123 Patentee after: Beijing LEMI Technology Co.,Ltd. Address before: 100041, No. 3, building 30, 2 Xing Xing street, Beijing, Shijingshan District, A-0070 Patentee before: Beijing Cheetah Network Technology Co.,Ltd. |
|
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230817 Address after: 3870A, 3rd Floor, Building 4, Courtyard 49, Badachu Road, Shijingshan District, Beijing, 100144 Patentee after: Beijing Jupiter Technology Co.,Ltd. Address before: 100123 room 115, area C, 1st floor, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing Patentee before: Beijing LEMI Technology Co.,Ltd. |