CN104881844B - Picture combination method and device and terminal equipment - Google Patents

Picture combination method and device and terminal equipment Download PDF

Info

Publication number
CN104881844B
CN104881844B CN201510370005.8A CN201510370005A CN104881844B CN 104881844 B CN104881844 B CN 104881844B CN 201510370005 A CN201510370005 A CN 201510370005A CN 104881844 B CN104881844 B CN 104881844B
Authority
CN
China
Prior art keywords
phase cell
picture
gang form
target phase
selected picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510370005.8A
Other languages
Chinese (zh)
Other versions
CN104881844A (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.)
Beijing Jupiter Technology Co ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201510370005.8A priority Critical patent/CN104881844B/en
Publication of CN104881844A publication Critical patent/CN104881844A/en
Application granted granted Critical
Publication of CN104881844B publication Critical patent/CN104881844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images

Abstract

The invention discloses a method and a device for picture combination and terminal equipment. The method comprises the following steps: judging whether the number of the selected pictures is more than the number of the phase lattices in the selected picture combination template or not; if the number of the selected pictures is more than that of the phase lattices in the selected picture combination template, obtaining pictures with the number equal to that of the phase lattices in the selected picture combination template from the selected pictures; correspondingly filling the acquired picture in the phase lattice of the selected picture combination template; and selecting at least one target phase cell from the selected picture combination template to be divided so as to obtain the first new phase cell for containing the rest pictures and the original pictures in the target phase cell. The invention can realize the arbitrary splicing of the number of pictures and simultaneously ensure the convenience of user adjustment.

Description

A kind of method, apparatus and terminal device of picture combination
Technical field
The present invention relates to image processing field, more particularly to a kind of combination of picture, device and terminal device.
Background technology
With the development and application of Internet technology, interpersonal communication is more and more closer.People are liked at some Share the picture of the life of oneself in social platform (such as microblogging, wechat).Can will be more when the picture of transmission is more Pictures are grouped together into a combination picture, and user can be made to upload a pictures with regard to that can reach the effect of plurality of pictures Fruit.And by the combination to plurality of pictures, the content and visual effect of picture can be enriched.
In the prior art, user can realize that the picture for combining plurality of pictures combines effect by picture mosaic software Fruit, generally, these picture mosaic softwares can provide the user multiple picture gang forms in advance, and every kind of picture gang form all has solid Fixed phase cell number and phase cell arrangement mode, after user have selected some picture combination die version, then each picture can be distinguished It is filled into each phase cell of this picture combination die version, it is achieved thereby that the picture mosaic that multiple pictures are combined into a pictures is imitated Fruit.Moreover, in this manner, the quantity of phase cell is typically limited in picture gang form, user can not arbitrarily press oneself Desired quantity splicing picture.
In addition, in the prior art, these picture mosaic softwares can also typically carry out free jig-saw puzzle, namely user can select to appoint The picture of meaning quantity is placed in viewing area.The size for the picture being placed is zoomed in and out according to certain ratio, this A little pictures are not limited by the grid of picture gang form, and the position for the picture being placed is random.User can be according to the heart Meaning arbitrarily adjusts position, angle and the size of picture.But in this manner, in the case where picture is more, picture Placement seems very chaotic, and user's adjustment is got up also very inconvenient.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is, there is provided a kind of method and device of picture combination, While realizing any splicing of picture number, the convenience of user's adjustment ensure that.
First aspect provides a kind of method of picture combination, including:Judge whether the quantity of selected picture is more than The quantity of phase cell in selected picture gang form;If the quantity of the selected picture is more than selected picture group The quantity of phase cell in shuttering, then the number with phase cell in selected picture gang form is obtained from the selected picture Measure equal picture;The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form;From institute State at least one target phase cell of the selection in selected picture gang form divided with obtain the first new phase cell accommodate it is surplus Original image in remaining picture and the target phase cell.
Alternatively, the picture by the acquisition is correspondingly filled in the phase cell of the selected picture gang form Including:The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form, and by remaining picture The region being shown in outside the selected picture gang form;The choosing from the selected picture gang form Take at least one target phase cell to be divided and accommodated with obtaining the first new phase cell in the remaining picture and the target phase cell Original image the step of include:The one or more remaining picture is moved to the selected picture group by detection user The moving operation of a phase cell in shuttering;According to the moving operation, determine user by one or more residual graph The target phase cell that piece is moved in the selected picture gang form;The target phase cell is divided into multiple first cenotypes Lattice, and one or more residue that picture original in the target phase cell and user are moved in the target phase cell Picture corresponds to be filled into the multiple first new phase cell respectively.
Alternatively, it is described the target phase cell is divided into the multiple first new phase cells to include:By traverse and/or pass through The target phase cell is divided multiple first new phase cells by slitter line.
Alternatively, it is described that the target phase cell is divided into multiple first cenotypes by traverse and/or by slitter line Lattice include:Display target phase cell divides editing interface, and the target phase cell is shown on the target phase cell division editing interface Profile and dividing mode selection option, wherein, dividing mode selection option includes crosscutting option and rip cutting option, when When detecting that user selects the crosscutting option, the profile of the target phase cell is divided into by multiple first cenotypes by traverse Lattice profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile;When detecting When user selects the rip cutting option, the profile of the target phase cell is divided into by the multiple first new phase cell wheels by slitter line Exterior feature, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile.
Alternatively, the dividing mode selection option also includes crosscutting rip cutting and intersects option;It is described by traverse and/or The target phase cell is divided into the multiple first new phase cells by slitter line also includes:In user by two residual graphs described above In the case of the target phase cell that piece is moved in the selected picture gang form, when detect user selection described in When crosscutting rip cutting intersects option, the profile of the target phase cell is divided into by the multiple first new phase cells by traverse and slitter line Profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile.
Alternatively, the traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust institute State position and the slope of traverse or the slitter line.
Alternatively, methods described also includes:If the quantity of the selected picture is not more than selected picture group The quantity of phase cell in shuttering, then the selected picture is correspondingly filled into selected picture gang form with it is described In the equal phase cell of the quantity of selected picture.
Alternatively, at least one target phase cell of selection from the selected picture gang form is divided After obtaining the original image in the first new phase cell remaining picture of receiving and the target phase cell, in addition to:When detecting When user removes one or more picture from the first new phase cell of the target phase cell, the target phase cell is drawn again Get the second new phase cell to accommodate the picture not being moved out of in the target phase cell, wherein the quantity of the second new phase cell with The quantity of the picture not being moved out of is equal.
Alternatively, the region outside the selected picture gang form is under the selected picture gang form Side or the region of top.
Second aspect provides a kind of device of picture combination, including:Judge module, acquisition module, filling module and Division module, the judge module are used to judge whether the quantity of selected picture to be more than in selected picture gang form The quantity of phase cell;The acquisition module is used to be more than in selected picture gang form in the quantity of the selected picture During the quantity of phase cell, obtained from the selected picture equal with the quantity of phase cell in selected picture gang form Picture;The filling module is used for the phase cell that the picture of the acquisition is correspondingly filled in the selected picture gang form In;The division module is used to be divided from least one target phase cell of selection in the selected picture gang form To obtain the original image in the first new phase cell remaining picture of receiving and the target phase cell.
Alternatively, the filling module is specifically used for the picture of the acquisition being correspondingly filled in the selected picture In the phase cell of gang form, and remaining picture is included into the region outside the selected picture gang form;Described stroke Sub-module includes detection unit, determining unit and division unit, and the detection unit is used to detect user by one or more The moving operation for the phase cell that the remaining picture is moved in the selected picture gang form;The determining unit For according to the moving operation, determining that the one or more remaining picture is moved to the selected picture group by user Target phase cell in shuttering;The division unit is used to the target phase cell dividing multiple first new phase cells, and by described in The one or more remaining picture that original picture and user are moved in the target phase cell in target phase cell is right respectively It should be filled into the multiple first new phase cell.
Alternatively, the division unit is specifically used for drawing the target phase cell by traverse and/or by slitter line Divide multiple first new phase cells.
Alternatively, the division unit is specifically used for display target phase cell division editing interface, the target phase cell division The profile and dividing mode selection option of the target phase cell are shown on editing interface, wherein, the dividing mode selection Option includes crosscutting option and rip cutting option, when detecting that user selects the crosscutting option, by traverse by the mesh The profile of mark phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target phase cell It is divided into the multiple first new phase cells;When detecting that user selects the rip cutting option, by slitter line by the target phase cell Profile be divided into the multiple first new phase cell profiles, the target phase cell is divided into according to the multiple first new phase cell profile Multiple first new phase cells.
Alternatively, the dividing mode selection option also includes crosscutting rip cutting and intersects option;The division unit is additionally operable to In the target phase cell that two remaining pictures described above are moved in the selected picture gang form by user In the case of, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by the target phase The profile of lattice is divided into the multiple first new phase cell profiles, divides the target phase cell according to the multiple first new phase cell profile For the multiple first new phase cells.
Alternatively, the traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust institute State position and the slope of traverse or the slitter line.
Alternatively, the filling module is additionally operable to:It is not more than selected picture in the quantity of the selected picture In gang form during the quantity of phase cell, the selected picture is correspondingly filled into selected picture gang form with institute In the equal phase cell of quantity for stating selected picture.
Alternatively, described device also includes weight sub-module, and the heavy sub-module, which is used to work as, detects user from the target When removing one or more picture in the first new phase cell of phase cell, the target phase cell is repartitioned to obtain the second cenotype Lattice are to accommodate the picture not being moved out of in the target phase cell, wherein the quantity of the second new phase cell is not moved out of with described The quantity of picture is equal.
Alternatively, the region outside the selected picture gang form is under the selected picture gang form Side or the region of top.
The third aspect provides a kind of terminal device, including the device described in any of the above-described.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the embodiment of picture combined method one of the present invention;
Fig. 2 is the flow chart of another embodiment of picture combined method of the present invention;
Fig. 3 is the schematic diagram before phase cell extension in picture combined method of the present invention;
Fig. 4 is the schematic diagram that picture is moved to target phase cell in picture combined method of the present invention;
Fig. 5 is the schematic diagram of picture combination method choice traverse of the present invention also slitter line division target phase cell;
Fig. 6 is the schematic diagram after a target phase cell extension in picture combined method of the present invention;
Fig. 7 is the schematic diagram after three target phase cell extensions in picture combined method of the present invention;
Fig. 8 is the structural representation that picture of the present invention combines the unit an embodiment;
Fig. 9 is the structural representation that picture of the present invention combines the unit another embodiment;
Figure 10 is the structural representation of the embodiment of terminal device one of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
It should be noted that the term used in embodiments of the present invention is only merely for the mesh of description specific embodiment , and it is not intended to be limiting the present invention." one of singulative used in the embodiment of the present invention and appended claims Kind ", " described " and "the" are also intended to including most forms, unless context clearly shows that other implications.It is also understood that this Term "and/or" used herein refers to and comprising any or all possible group associated of list items purpose of one or more Close.
Referring to Fig. 1, Fig. 1 is the flow chart of an embodiment of picture combination of the present invention.This method includes:
110:Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form.
Specifically, when user wishes to be combined picture, user selects to be desired with first the picture of combination, and In multiple picture combination die versions one of picture combination die version is selected for these pictures.Wherein, picture includes following at least one :The picture (such as picture in mobile phone memory card, SD card etc.) that user is locally stored, or, the picture in cloud server, Or, the picture (such as picture shared on wechat, QQ, microblogging etc.) in network.Picture combination die version is contained and can accommodated The number of picture and the element such as layout of picture.Moreover, the number for the picture that picture combination die version can accommodate and The layout of picture is realized by phase cell.A phase cell in picture gang form is used to fill a pictures, so, figure The number for the picture that piece combination masterplate can accommodate is the quantity of phase cell, and the layout of picture combination die version is the cloth of phase cell Office.After user have selected picture combination die version, equipment judges whether the quantity of selected picture is more than selected picture The quantity of phase cell in gang form.If the quantity of selected picture is more than the number of phase cell in selected picture gang form Amount, into step 120, if the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form, Into step 150.
120:The picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture.
Specifically, if the quantity of selected picture is more than the quantity of phase cell in selected gang form, obtain The picture equal with the quantity of phase cell in selected picture gang form.It should be noted that acquired picture only need to be with The quantity of phase cell is equal in selected picture gang form, and it is in selected picture to be not required to limit acquired picture Any part picture, alternatively, in embodiments of the present invention, the priority for the picture that can be selected according to user is suitable Sequence, the picture equal with the quantity of phase cell in selected picture gang form is obtained from the picture of user's selection, wherein obtaining The picture taken is the picture of the front of the picture of user's selection.
130:The picture of acquisition is correspondingly filled in the phase cell of selected picture gang form.
Specifically, in previous step, equipment is obtained from selected picture and combined with selected picture The equal picture of the quantity of phase cell in template, hereafter, the picture of acquisition is corresponded and is filled into selected picture combination die In the phase cell of plate, a pictures are filled in each phase cell so as to realize.
140:Divided from least one target phase cell of selection in selected picture gang form to obtain first New phase cell accommodates the original image in remaining picture and target phase cell.
Specifically, in previous step, by the picture equal with the quantity of phase cell in selected picture gang form It is filled into the phase cell of picture combination die version, still, because the quantity of selected picture is more than selected picture combination die The quantity of phase cell in plate, so some selected picture is not yet placed into picture combination die version.Now, from At least one target phase cell of selection in selected picture gang form is divided accommodates residue to obtain the first new phase cell Picture and target phase cell in original image.For example, a remaining picture is moved to one of them by user's instruction equipment During phase cell, the phase cell that picture can be correspondingly moved to by equipment is divided into two the first new phase cells, one of them first new phase cell For accommodating the original image before phase cell divides, another first new phase cell is used to accommodate the remaining picture for being moved to phase cell. When remaining picture is more than one, other remaining pictures also can be moved to other by user according to above-mentioned method not to be had There is the phase cell being divided.If the quantity of remaining picture is especially more, up to even all phase cells are all divided after, also after It is continuous to have remaining picture, then it can will continue remaining picture and be moved in the first new phase cell to continue to divide the first new phase cell Continue remaining picture to accommodate.Then, flow is terminated.
It is understood that here with a mobile pictures to phase cell, and phase cell is divided into two the first new phase cells and is Example, still, in other implementations, more pictures can also be moved simultaneously to phase cell and phase cell is divided into multiple the One new phase cell, is not especially limited herein.
150:Selected picture is correspondingly filled into the number with selected picture of selected picture gang form Measure in equal phase cell, and terminate flow.
Picture mosaic extended method provided by the invention can apply to but be not limited to ios, Android, windows Phone, On the Intelligent mobile equipments such as the mobile phones of the operating systems such as symbian, tablet personal computer, can also be applied to PC (PC, Personal Computer) on.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
Referring to Fig. 2, Fig. 2 is the flow chart of another embodiment of picture combined method of the present invention.This method includes:
210:Judge whether the quantity of selected picture is more than the quantity of phase cell in selected puzzle template.
Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form.
Specifically, when user wishes to be combined picture, user selects to be desired with first the picture of combination, and In multiple picture combination die versions one of picture combination die version is selected for these pictures.Wherein, picture includes following at least one :The picture (such as picture in mobile phone memory card, SD card etc.) that user is locally stored, or, the picture in cloud server, Or, the picture (such as picture shared on wechat, QQ, microblogging etc.) in network.Picture combination die version is contained and can accommodated The number of picture and the element such as layout of picture.Moreover, the number for the picture that picture combination die version can accommodate and The layout of picture is realized by phase cell.A phase cell in picture gang form is used to fill a pictures, so, figure The number for the picture that piece combination masterplate can accommodate is the quantity of phase cell, and the layout of picture combination die version is the cloth of phase cell Office.After user have selected picture combination die version, equipment judges whether the quantity of selected picture is more than selected picture The quantity of phase cell in gang form.If the quantity of selected picture is more than the number of phase cell in selected picture gang form Amount, into step 220, if the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form, Into step 270.
220:The picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture.
Specifically, if the quantity of selected picture is more than the quantity of phase cell in selected gang form, obtain The picture equal with the quantity of phase cell in selected picture gang form.It should be noted that acquired picture only need to be with The quantity of phase cell is equal in selected picture gang form, and it is in selected picture to be not required to limit acquired picture Any part picture.Alternatively, in embodiments of the present invention, the priority for the picture that can be selected according to user is suitable Sequence, the picture equal with the quantity of phase cell in selected picture gang form is obtained from the picture of user's selection, wherein obtaining The picture taken is the picture of the front of the picture of user's selection.
230:The picture of acquisition is correspondingly filled in the phase cell of selected picture gang form, and remaining picture is shown Show the region outside selected picture gang form.
Specifically, in a step 220, equipment obtains and selected picture gang form from selected picture The equal picture of the quantity of middle phase cell, hereafter, the picture of acquisition is corresponded and is filled into selected picture gang form In phase cell, a pictures are filled in each phase cell so as to realize.Because the quantity of selected picture is more than picture combination die The quantity of phase cell in plate, so, the picture of a part has been there remains, now, remaining picture can be temporarily displayed in selected Region outside picture gang form, to facilitate user to operate these remaining pictures accordingly, by these remaining pictures It is added in picture gang form, so as to improve the efficiency of picture combination.Alternatively, selected picture Region outside gang form is the region of the selected picture gang form below or above, of course, selected Region outside picture gang form is the selected picture gang form left or the region of right.For example, such as Fig. 3 institutes Show, user have selected 12 pictures, and it is desirable that this 12 pictures is combined.But the picture combination die version of user's selection Only 9 phase cells.Due to, the quantity of selected picture is more than the quantity of phase cell in selected puzzle template, so, equipment 6 pictures in 12 pictures are corresponding including in the phase cell 310 of selected puzzle template, then, remaining 3 are schemed Piece is shown in the region 320 outside selected picture gang form.
240:The phase that one or more remaining picture is moved in selected picture gang form by detection user The moving operation of lattice.
Specifically, user can select one or more residual graph in the region outside selected picture gang form Piece, and moved by way of dragging in one of phase cell in picture to picture gang form.Certainly, implement in others In mode, after user can also be by clicking on selection picture, click on a target phase cell and move.Terminal device is then accordingly examined Measure the movement for the phase cell that one or more remaining picture is moved in selected picture gang form by detection user Operation.
250:According to moving operation, determine that one or more remaining picture is moved to selected picture combination die by user Target phase cell in plate.
Specifically, when user one or more remaining picture is moved in selected picture gang form wherein one Individual phase cell, and when discharging remaining picture, then it is assumed that this phase cell is target phase cell.
260:Target phase cell is divided into multiple first new phase cells, and picture original in target phase cell and user are moved to One or more remaining picture in target phase cell corresponds to respectively to be filled into the multiple first new phase cells.
Specifically, it is necessary to which target phase cell is divided into the multiple first new phase cells after target phase cell is determined.Dividing When, target phase cell can be divided into multiple first new phase cells by traverse and/or by slitter line.Wherein, traverse or vertical Tangent line includes at least two point of adjustment, and point of adjustment is used for position and the slope for adjusting traverse or slitter line.Certainly, at other Embodiment in, target phase cell can also be divided into by the multiple first new phase cells by parabola or other line styles, this Invention does not limit specifically.
It is that target phase cell is divided into by multiple first cenotypes by traverse, slitter line or transverse and longitudinal tangent line when needing selection During lattice, editing interface can be divided with display target phase cell, wherein, show target phase cell on target phase cell division editing interface The dividing mode of profile and target phase cell selects option, and the dividing mode selection option of target phase cell comprises at least crosscutting choosing Item, rip cutting option, crosscutting rip cutting intersect at least one of option.When detecting that user selects the crosscutting option, pass through The profile of target phase cell is divided into the multiple first new phase cell profiles by traverse, according to the multiple first new phase cell profiles by target phase Lattice are divided into the multiple first new phase cells;When detecting that user selects rip cutting option, by slitter line by the profile of target phase cell The multiple first new phase cell profiles are divided into, target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profiles Lattice;In the situation for the target phase cell that more than two remaining pictures are moved in selected picture gang form by user Under, when detecting that user selects crosscutting rip cutting to intersect option, the profile of target phase cell is divided by traverse and slitter line For the multiple first new phase cell profiles, target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profiles.Its In, the quantity of the first new phase cell is equal to user and remaining picture is moved into the quantity of target phase cell plus original graph in target phase cell The quantity of piece.
When remaining picture is more, user can be by the others in the region outside selected picture gang form Remaining picture is also moved to other phase cells not being divided according to above-mentioned method.If the quantity of remaining picture is special It is more, after up to even all phase cells are all divided, also continue have remaining picture, then can will continue remaining picture and move Move into the first new phase cell and continue remaining picture so that the first new phase cell is continued into division to accommodate.
For example, referring to Fig. 4 to Fig. 6, user's instruction equipment is by the region 320 outside selected picture gang form One remaining picture is moved in the 5th phase cell 310 of picture combination die version, then the 5th phase cell 310 is target phase cell. Now, it is by target by traverse or by slitter line that equipment, which ejects target phase cell division editing interface for user's selection, Phase cell is divided into including the first new phase cell.The profile of target phase cell, crosscutting option are shown on target phase cell division editing interface And rip cutting option.User can select crosscutting option or rip cutting option as needed.
As shown in figure 5, if user have selected crosscutting option, traverse will be shown on target phase cell division editing interface 510 and traverse 510 on three point of adjustment 511, user can adjust traverse 510 to adjust two the by point of adjustment Ratio between one new phase cell.Similarly, will be aobvious on target phase cell division editing interface if user have selected rip cutting option Show three point of adjustment on slitter line 520 and slitter line 520, user can adjust slitter line 520 to adjust by point of adjustment Ratio between two the first new phase cells.It is understood that the quantity of point of adjustment can be configured according to the needs of user, can Be two, three it is even more, do not limit specifically herein.
As shown in fig. 6, after user has selected traverse or slitter line, then equipment by traverse or slitter line by target The profile of phase cell is divided into the multiple first new phase cell profiles, and target phase cell is divided into according to the multiple first new phase cell profiles One new 311 and first new phase cell 313 of phase cell, wherein, the first new phase cell 311 is used to accommodate the picture before the division of target phase cell, the Two new phase cells 313 are used to accommodate the remaining picture for being moved to target phase cell.
As shown in fig. 7, because remaining photograph shares three, so, after first remaining picture is handled, may be used also To handle in the same manner other remaining pictures, until all remaining pictures are all disposed.
It is understood that it is divided into two first to target phase cell, and by target phase cell here with a mobile pictures Exemplified by new phase cell, still, in other implementations, more pictures can also be moved simultaneously to target phase cell and by target Phase cell is divided into the appropriate number of first new phase cell, is not especially limited herein.
270:Selected picture is correspondingly filled into the number with selected picture of selected picture gang form Measure in equal phase cell, and terminate flow.
If it is understood that user want reduce combination picture quantity when, can also will at least partly it is remaining Picture is removed from the first new phase cell, and one or more picture is removed when detecting user from the first new phase cell of target phase cell When, repartitioned to obtain the second new phase cell to target phase cell to accommodate the picture not being moved out of in target phase cell, wherein the The quantity of picture of the quantity of two new phase cells with not being moved out of is equal.
The method of picture combination provided by the invention can apply to but be not limited to ios, Android, windows On the Intelligent mobile equipments such as the mobile phones of the operating systems such as Phone, symbian, tablet personal computer, it can also be applied in PC On (PC, Personal Computer).
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
The above-mentioned method for illustrating the embodiment of the present invention, following for being easy to preferably implement the embodiment of the present invention Such scheme, correspondingly, the relevant device for implementing such scheme for coordinating is also provided below.
Referring to Fig. 8, Fig. 8 is the structural representation that picture of the present invention combines the unit an embodiment.Described device includes: Judge module 810, acquisition module 820, filling module 830 and division module 840.
Judge module 810 is used to judge whether the quantity of selected picture to be more than phase in selected picture gang form The quantity of lattice.
Acquisition module 820 is used for the number for being more than phase cell in selected picture gang form in the quantity of selected picture During amount, the picture equal with the quantity of phase cell in selected picture gang form is obtained from selected picture, or, It is when the quantity of selected picture is not more than the quantity of phase cell in selected picture gang form, selected picture is corresponding It is filled into the phase cell equal with the quantity of selected picture of selected picture gang form.
Filling module 830 is used to correspondingly be filled in the picture of acquisition in the phase cell of selected picture gang form.
Division module 840 is used to be divided from least one target phase cell of selection in selected picture gang form The original image in remaining picture and target phase cell is accommodated with the first new phase cell of acquisition.
Device shown in Fig. 8 can perform each step of the method shown in Fig. 1, referring specifically to Fig. 1 and associated description, Not reinflated description herein.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell Original image.In theory, each phase cell is can be arbitrarily divided into multiple subregional, therefore user can be met to constitutional diagram The requirement of the quantity of piece.It is that original phase cell is extended to be additionally, since when dividing phase cell, but does not change original picture Combine the layout of masterplate, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
Refering to Fig. 9, Fig. 9 is the structural representation that picture of the present invention combines the unit another embodiment.Described device includes: Judge module 910, acquisition module 920, filling module 930, division module 940 and weight sub-module 950.Wherein, division module 940 include detection unit 941, determining unit 942 and division unit 943.
The judge module 910 is used to judge whether the quantity of selected picture is more than selected picture gang form The quantity of middle phase cell.
The acquisition module 920 is used to be more than in selected picture gang form in the quantity of the selected picture During the quantity of phase cell, obtained from the selected picture equal with the quantity of phase cell in selected picture gang form Picture.
The filling module 930 is used to the picture of the acquisition being correspondingly filled in the selected picture gang form Phase cell in.
The division module 940 is used for from least one target phase cell of selection in the selected picture gang form Divided to obtain the original image in the first new phase cell remaining picture of receiving and the target phase cell.
Alternatively, the filling module 930 is described selected specifically for the picture of the acquisition is correspondingly filled in In the phase cell of picture gang form, and remaining picture is included into the region outside the selected picture gang form;Institute Stating division module 940 includes detection unit 941, determining unit 942 and division unit 943, and the detection unit 941 is used to examine Survey the shifting for the phase cell that the one or more remaining picture is moved in the selected picture gang form by user Dynamic operation;The determining unit 942 is used for according to the moving operation, determines that user moves the one or more remaining picture Move to the target phase cell in the selected picture gang form;The division unit 943 is used to draw the target phase cell Divide multiple first new phase cells, and one that picture original in the target phase cell and user are moved in the target phase cell Or multiple described remaining pictures correspond to be filled into the multiple first new phase cell respectively.
Alternatively, the division unit 943 is specifically used for the target phase cell by traverse and/or by slitter line Divide the multiple first new phase cells.
Alternatively, the division unit 943 is specifically used for display target phase cell division editing interface, and the target phase cell is drawn The profile and dividing mode selection option of the target phase cell are shown on lacing editing interface, wherein, the dividing mode choosing Selecting option includes crosscutting option and rip cutting option, when detecting that user selects the crosscutting option, by traverse by described in The profile of target phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target phase Lattice are divided into the multiple first new phase cells;When detecting that user selects the rip cutting option, by slitter line by the target phase The profile of lattice is divided into the multiple first new phase cell profiles, divides the target phase cell according to the multiple first new phase cell profile For the multiple first new phase cells.
Alternatively, the dividing mode selection option also includes crosscutting rip cutting and intersects option;The division unit 943 is also used In the target phase cell that two remaining pictures described above are moved in the selected picture gang form in user In the case of, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by the target The profile of phase cell is divided into the multiple first new phase cell profiles, draws the target phase cell according to the multiple first new phase cell profile It is divided into the multiple first new phase cells.
Alternatively, the traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust institute State position and the slope of traverse or the slitter line.
Alternatively, the filling module 930 is additionally operable to:It is not more than in the quantity of the selected picture and (is less than or waits In) quantity of phase cell in selected picture gang form when, the selected picture is correspondingly filled into selected figure In the phase cell equal with the quantity of the selected picture of piece gang form.
Alternatively, described device also includes weight sub-module 950, and the heavy sub-module 950, which is used to work as, detects user from institute State when removing one or more picture in the first new phase cell of target phase cell, the target phase cell is repartitioned to obtain Two new phase cells to accommodate the picture not being moved out of in the target phase cell, wherein the quantity of the second new phase cell with it is described not by The quantity of the picture of removal is equal.
Alternatively, the region outside the selected picture gang form is under the selected picture gang form Side or the region of top.
Device shown in Fig. 9 can perform each step of the method shown in Fig. 1 and Fig. 2, referring specifically to Fig. 1, Fig. 2 with And associated description, not reinflated description herein.
Refering to Figure 10, Figure 10 is the structural representation of the embodiment of terminal device one of the present invention.In present embodiment,
Terminal device 1000 can include RF (Radio Frequency, radio frequency) circuit 1010, include one or one The memory 1020 of above computer-readable recording medium, input block 1030, display unit 1040, sensor 1050, audio Circuit 1060, WiFi (wireless fidelity, Wireless Fidelity) module 1070, include one or more than one processing The parts such as the processor 1080 and power supply 1090 of core.It will be understood by those skilled in the art that the terminal shown in Figure 10 is set Standby structure does not form the restriction to terminal device, can include than illustrating more or less parts, or some portions of combination Part, or different parts arrangement.Wherein:
RF circuits 1010 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 1080 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 1010 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, It is subscriber identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), double Work device etc..In addition, RF circuits 1010 can also be communicated by radio communication with network and other equipment.The radio communication can be with Using any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, Global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 1020 can be used for storage software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, so as to perform various function application and data processing.Memory 1020 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store the use according to terminal device 1000 Data (such as voice data, phone directory etc.) created etc..Stored in addition, memory 1020 can include high random access Device, nonvolatile memory can also be included, a for example, at least disk memory, flush memory device or other volatibility are consolidated State memory device.Correspondingly, memory 1020 can also include Memory Controller, to provide processor 1080 and input block The access of 1030 pairs of memories 1020.
Input block 1030 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 1030 may include to touch Sensitive surfaces 131 and other input equipments 1032.Touch sensitive surface 1031, also referred to as touch display screen or Trackpad, collect User on or near it touch operation (such as user using any suitable object or annex such as finger, stylus touch-sensitive Operation on surface 1031 or near touch sensitive surface 1031), and corresponding attachment means are driven according to formula set in advance. Optionally, touch sensitive surface 1031 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1080, and can reception processing Order that device 1080 is sent simultaneously is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch sensitive surface 1031.Except touch sensitive surface 1031, input block 1030 can also include other input equipments 1032.Specifically, other input equipments 1032 can include but is not limited to physical keyboard, function key (such as volume control button, Switch key etc.), trace ball, mouse, the one or more in action bars etc..
Display unit 1040 can be used for display by the information of user's input or be supplied to the information and terminal device of user 1000 various graphical user interface, these graphical user interface can be by figure, text, icon, video and its any combination To form.Display unit 1040 may include display panel 1041, optionally, can use LCD (Liquid Crystal Display, liquid crystal display), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) comes Configure display panel 1041.Further, touch sensitive surface 1031 can cover display panel 1041, when touch sensitive surface 1031 detects After touch operation on or near it, processor 1080 is sent to determine the type of touch event, is followed by subsequent processing device 1080 Corresponding visual output is provided on display panel 1041 according to the type of touch event.Although in Fig. 10, touch sensitive surface 1031 realize input and input function with display panel 1041 is the part independent as two, but in some embodiments In, touch sensitive surface 1031 and display panel 1041 can be integrated and realize input and output function.
Terminal device 1000 may also include at least one sensor 1050, for example, optical sensor, motion sensor and its His sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can root The brightness of display panel 1041 is adjusted according to the light and shade of ambient light, proximity transducer can be moved in one's ear in terminal device 1000 When, close display panel 1041 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect each The size of (generally three axles) acceleration, can detect that size and the direction of gravity on direction when static, available for identifying mobile phone The application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of posture, Vibration identification correlation function (such as meter step Device, percussion) etc.;Gyroscope, barometer, hygrometer, thermometer, the infrared ray sensor that can also configure as terminal device 1000 Etc. other sensors, will not be repeated here.
Voicefrequency circuit 1060, loudspeaker 1061, microphone 1062 can provide the audio between user and terminal device 1000 Interface.Electric signal after the voice data received conversion can be transferred to loudspeaker 1061, by loudspeaker by voicefrequency circuit 1060 1061 are converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by audio Circuit 1060 is converted to voice data after receiving, then after voice data output processor 1080 is handled, through RF circuits 1010 with Such as another terminal device is sent to, or voice data is exported to memory 1020 further to handle.Voicefrequency circuit 1060 are also possible that earphone jack, to provide the communication of peripheral hardware earphone and terminal device 1000.
WiFi belongs to short range wireless transmission technology, and terminal device 1000 can help user to receive by WiFi module 1070 Send e-mails, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although figure 10 show WiFi module 1070, but it is understood that, it is simultaneously not belonging to must be configured into for terminal device 1000, completely may be used To be omitted as needed in the essential scope for do not change invention.
Processor 1080 is the control centre of terminal device 1000, utilizes each of various interfaces and connection whole mobile phone Individual part, by running or performing the software program and/or module that are stored in memory 1020, and call and be stored in storage Data in device 1020, the various functions and processing data of terminal device 1000 are performed, so as to carry out integral monitoring to mobile phone.Can Choosing, processor 1080 may include one or more processing cores;Preferably, processor 1080 can integrate application processor and tune Demodulation processor processed, wherein, application processor mainly handles operating system, user interface and application program etc., and modulatedemodulate is mediated Reason device mainly handles radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1080 In.
Terminal device 1000 also includes the power supply 1090 (such as battery) to all parts power supply, it is preferred that power supply can be with It is logically contiguous by power-supply management system and processor 1080, so as to by power-supply management system realize management charging, electric discharge, with And the function such as power managed.Power supply 1090 can also include one or more direct current or AC power, recharging system, The random component such as power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal device 1000 can also include camera, bluetooth module etc., will not be repeated here.
Specifically in the present embodiment, the display unit of terminal device is touch-screen display, and terminal device, which also includes, to be deposited Reservoir, and one or more than one program, one of them or more than one program storage is in memory, and through matching somebody with somebody Put with by one either more than one computing device state one or more than one program bag and contain and be used for what is operated below Instruction:
Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form;
If the quantity of the selected picture is more than the quantity of phase cell in selected picture gang form, from institute State the picture that acquisition is equal with the quantity of phase cell in selected picture gang form in selected picture;
The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form;
Divided from least one target phase cell of selection in the selected picture gang form to obtain first New phase cell accommodates the original image in remaining picture and the target phase cell.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, in the memory of the terminal, also include and be used to perform the instruction that operates below:
The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form, and by residual graph Piece is shown in the region outside the selected picture gang form;
At least one target phase cell of selection from the selected picture gang form is divided to obtain The step of first new phase cell accommodates the original image in the remaining picture and the target phase cell includes:
Detect the one or more remaining picture is moved in the selected picture gang form by user one The moving operation of individual phase cell;
According to the moving operation, determine that the one or more remaining picture is moved to the selected figure by user Target phase cell in piece gang form;
The target phase cell is divided into multiple first new phase cells, and picture original in the target phase cell and user are moved Move to the one or more remaining picture in the target phase cell to correspond to respectively and be filled into the multiple first new phase cell.
In the third the possible embodiment provided based on second of possible embodiment, the terminal Memory in, also include and be used to perform the instruction that operates below:
The target phase cell is divided into multiple first new phase cells by traverse and/or by slitter line.
In the 4th kind of possible embodiment provided based on the third possible embodiment, the terminal Memory in, also include and be used to perform the instruction that operates below:
Display target phase cell divides editing interface, and the target phase cell is shown on the target phase cell division editing interface Profile and dividing mode selection option, wherein, dividing mode selection option includes crosscutting option and rip cutting option,
When detecting that user selects the crosscutting option, the profile of the target phase cell is divided into by traverse more Individual first new phase cell profile, the target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profile Lattice;
When detecting that user selects the rip cutting option, the profile of the target phase cell is divided into by slitter line more Individual first new phase cell profile, the target phase cell is divided into multiple first cenotypes according to the multiple first new phase cell profile Lattice.
In the 5th kind of possible embodiment provided based on the 4th kind of possible embodiment, the terminal Memory in, also include and be used to perform the instruction that operates below:
The dividing mode selection option also includes crosscutting rip cutting and intersects option;
It is described by traverse and/or the target phase cell is divided into by the multiple first new phase cells by slitter line also to wrap Include:
In the mesh that two remaining pictures described above are moved in the selected picture gang form by user In the case of marking phase cell, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by institute The profile for stating target phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target Phase cell is divided into the multiple first new phase cells.
At the third to the 6th kind of possible implementation provided based on the 5th kind of any possible embodiment In mode, in the memory of the terminal, also include and be used to perform the instruction operated below:
The traverse or the slitter line include at least two point of adjustment, and the point of adjustment is used to adjust the traverse Or position and the slope of the slitter line.
In the 7th kind of possible embodiment provided based on the first possible embodiment, the terminal Memory in, also include and be used to perform the instruction that operates below:
, will if the quantity of the selected picture is not more than the quantity of phase cell in selected picture gang form The selected picture is correspondingly filled into the equal with the quantity of the selected picture of selected picture gang form Phase cell in.
In the 8th kind of possible embodiment provided based on second of possible embodiment, the terminal Memory in, also include and be used to perform the instruction that operates below:
When detecting that user removes one or more picture from the first new phase cell of the target phase cell, to the mesh Mark phase cell is repartitioned to obtain the second new phase cell to accommodate the picture not being moved out of in the target phase cell, wherein described the The quantity of two new phase cells is equal with the quantity of the picture not being moved out of.
The 9th kind of possible implementation provided based on second to the 8th kind any possible embodiment In mode, in the memory of the terminal, also include and be used to perform the instruction operated below:
Region outside the selected picture gang form for below the selected picture gang form or on The region of side.
By implementing the embodiment of the present invention, the phase cell of picture combination die version can be extended.When selected picture Quantity more than selected picture gang form phase cell quantity when, by the phase cell with selected picture gang form The equal picture of quantity is correspondingly shown in the phase cell of selected picture gang form, then from selected picture combination die At least one target phase cell of selection in plate is divided to be accommodated in remaining picture and target phase cell with obtaining the first new phase cell Original image.In embodiments of the present invention, can when the picture of user's selection is more than the quantity of phase cell in picture gang form To be divided to one or more of picture gang form phase cell, for accommodating the picture being more than, user couple can be met The requirement of the quantity of combination picture.It is that original phase cell is extended to be additionally, since when dividing phase cell, but is not changed former There is an integral layout of picture combination die version, adjustment is got up very convenient, and overall visual effect can still keep attractive in appearance.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosed power for being only a kind of preferred embodiment of the present invention, the present invention can not being limited with this certainly Sharp scope, one of ordinary skill in the art will appreciate that realizing all or part of flow of above-described embodiment, and weighed according to the present invention Profit requires made equivalent variations, still falls within and invents covered scope.

Claims (19)

  1. A kind of 1. method of picture combination, it is characterised in that including:
    Judge whether the quantity of selected picture is more than the quantity of phase cell in selected picture gang form;
    If the quantity of the selected picture is more than the quantity of phase cell in selected picture gang form, from the quilt The picture equal with the quantity of phase cell in selected picture gang form is obtained in the picture of selection;
    The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form;
    Divided from least one target phase cell of selection in the selected picture gang form to obtain the first cenotype Lattice accommodate the original image in remaining picture and the target phase cell.
  2. 2. the method as described in claim 1, it is characterised in that the picture by the acquisition is correspondingly filled in described selected The phase cell for the picture gang form selected includes:
    The picture of the acquisition is correspondingly filled in the phase cell of the selected picture gang form, and remaining picture is shown Show the region outside the selected picture gang form;
    At least one target phase cell of selection from the selected picture gang form is divided to obtain first The step of new phase cell accommodates the original image in the remaining picture and the target phase cell includes:
    The phase that the one or more remaining picture is moved in the selected picture gang form by detection user The moving operation of lattice;
    According to the moving operation, determine that the one or more remaining picture is moved to the selected picture group by user Target phase cell in shuttering;
    The target phase cell is divided into multiple first new phase cells, and picture original in the target phase cell and user are moved to The one or more remaining picture in the target phase cell corresponds to respectively to be filled into the multiple first new phase cell.
  3. 3. method as claimed in claim 2, it is characterised in that described that the target phase cell is divided into the multiple first new phase cells Including:
    The target phase cell is divided into multiple first new phase cells by traverse and/or by slitter line.
  4. 4. method as claimed in claim 3, it is characterised in that it is described by traverse and/or by slitter line by the mesh Mark phase cell, which is divided into the multiple first new phase cells, to be included:
    Display target phase cell divides editing interface, and the wheel of the target phase cell is shown on the target phase cell division editing interface Wide and dividing mode selection option, wherein, the dividing mode selection option includes crosscutting option and rip cutting option,
    When detecting that user selects the crosscutting option, the profile of the target phase cell is divided into multiple the by traverse One new phase cell profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile;
    When detecting that user selects the rip cutting option, the profile of the target phase cell is divided into multiple the by slitter line One new phase cell profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile.
  5. 5. method as claimed in claim 4, it is characterised in that the dividing mode selection option also includes crosscutting rip cutting and intersected Option;
    It is described by traverse and/or the target phase cell is divided into by the multiple first new phase cells by slitter line also to include:
    In the target phase that two remaining pictures described above are moved in the selected picture gang form by user In the case of lattice, when detecting that user's selection crosscutting rip cutting intersects option, by traverse and slitter line by the mesh The profile of mark phase cell is divided into the multiple first new phase cell profiles, according to the multiple first new phase cell profile by the target phase cell It is divided into the multiple first new phase cells.
  6. 6. method as claimed in claim 3, it is characterised in that the traverse or the slitter line include at least two regulations Point, the point of adjustment are used for position and the slope for adjusting the traverse or the slitter line.
  7. 7. the method as described in claim 1, it is characterised in that methods described also includes:
    If the quantity of the selected picture is not more than the quantity of phase cell in selected picture gang form, by described in Selected picture is correspondingly filled into the phase equal with the quantity of the selected picture of selected picture gang form In lattice.
  8. 8. method as claimed in claim 2, it is characterised in that the selection from the selected picture gang form At least one target phase cell is divided original in the first new phase cell remaining picture of receiving and the target phase cell to obtain After picture, in addition to:
    When detecting that user removes one or more picture from the first new phase cell of the target phase cell, to the target phase Lattice are repartitioned to obtain the second new phase cell to accommodate the picture not being moved out of in the target phase cell, wherein described second is new The quantity of phase cell is equal with the quantity of the picture not being moved out of.
  9. 9. according to the method any one of claim 2-8, it is characterised in that the selected picture gang form it Outer region is the region of the selected picture gang form below or above.
  10. A kind of 10. device of picture combination, it is characterised in that including:Judge module, acquisition module, filling module and division Module,
    The judge module is used to judge whether the quantity of selected picture to be more than phase cell in selected picture gang form Quantity;
    The acquisition module is used to be more than phase cell in selected picture gang form in the quantity of the selected picture During quantity, the picture equal with the quantity of phase cell in selected picture gang form is obtained from the selected picture;
    The filling module is used for the phase cell that the picture of the acquisition is correspondingly filled in the selected picture gang form In;
    The division module is used to be drawn from least one target phase cell of selection in the selected picture gang form Divide to obtain the original image in the first new phase cell remaining picture of receiving and the target phase cell.
  11. 11. device as claimed in claim 10, it is characterised in that the filling module is specifically used for the picture of the acquisition It is corresponding to be filled in the phase cell of the selected picture gang form, and remaining picture is included in the selected picture Region outside gang form;
    The division module includes detection unit, determining unit and division unit,
    The one or more remaining picture is moved to the selected picture group by the detection unit for detecting user The moving operation of a phase cell in shuttering;
    The determining unit is used for according to the moving operation, determines that the one or more remaining picture is moved to institute by user State the target phase cell in selected picture gang form;
    The division unit is used to the target phase cell dividing multiple first new phase cells, and will be original in the target phase cell The one or more remaining picture that picture and user are moved in the target phase cell respectively correspond to be filled into it is the multiple In first new phase cell.
  12. 12. device as claimed in claim 11, it is characterised in that the division unit is specifically used for:By traverse and/or The target phase cell is divided by multiple first new phase cells by slitter line.
  13. 13. device as claimed in claim 12, it is characterised in that the division unit is specifically used for:
    Display target phase cell divides editing interface, and the wheel of the target phase cell is shown on the target phase cell division editing interface Wide and dividing mode selection option, wherein, the dividing mode selection option includes crosscutting option and rip cutting option;
    When detecting that user selects the crosscutting option, the profile of the target phase cell is divided into multiple the by traverse One new phase cell profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile;
    When detecting that user selects the rip cutting option, the profile of the target phase cell is divided into multiple the by slitter line One new phase cell profile, the target phase cell is divided into the multiple first new phase cells according to the multiple first new phase cell profile.
  14. 14. device as claimed in claim 13, it is characterised in that the dividing mode selection option also includes crosscutting rip cutting and handed over Pitch option;
    The division unit is additionally operable to that two remaining pictures described above are moved into the selected picture combination in user In the case of a target phase cell in template, when detecting that user's selection crosscutting rip cutting intersects option, by crosscutting The profile of the target phase cell is divided into the multiple first new phase cell profiles by line and slitter line, according to the multiple first new phase cell The target phase cell is divided into the multiple first new phase cells by profile.
  15. 15. device as claimed in claim 12, it is characterised in that the traverse or the slitter line include at least two and adjusted Node, the point of adjustment are used for position and the slope for adjusting the traverse or the slitter line.
  16. 16. device as claimed in claim 10, it is characterised in that the filling module is additionally operable to:In the selected figure When the quantity of piece is not more than the quantity of phase cell in selected picture gang form, the selected picture is correspondingly filled into In the phase cell equal with the quantity of the selected picture of selected picture gang form.
  17. 17. device as claimed in claim 11, it is characterised in that described device also includes weight sub-module, the heavy sub-module For when detecting that user removes one or more picture from the first new phase cell of the target phase cell, to the target phase Lattice are repartitioned to obtain the second new phase cell to accommodate the picture not being moved out of in the target phase cell, wherein described second is new The quantity of phase cell is equal with the quantity of the picture not being moved out of.
  18. 18. according to the device any one of claim 11-17, it is characterised in that the selected picture combination die Region outside plate is the region of the selected picture gang form below or above.
  19. 19. a kind of terminal device, it is characterised in that including the device any one of claim 10-18.
CN201510370005.8A 2015-06-29 2015-06-29 Picture combination method and device and terminal equipment Active CN104881844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510370005.8A CN104881844B (en) 2015-06-29 2015-06-29 Picture combination method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510370005.8A CN104881844B (en) 2015-06-29 2015-06-29 Picture combination method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN104881844A CN104881844A (en) 2015-09-02
CN104881844B true CN104881844B (en) 2017-12-29

Family

ID=53949330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510370005.8A Active CN104881844B (en) 2015-06-29 2015-06-29 Picture combination method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN104881844B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572295A (en) * 2015-10-13 2017-04-19 阿里巴巴集团控股有限公司 Image processing method and device
CN105975612A (en) * 2016-05-18 2016-09-28 北京金山安全软件有限公司 Picture processing method, device and equipment
CN106126686B (en) * 2016-06-29 2020-06-05 北京金山安全软件有限公司 Picture combination method and device and electronic equipment
CN106611404A (en) * 2016-11-22 2017-05-03 维沃移动通信有限公司 Puzzle template selecting method and mobile terminal
CN106530233A (en) * 2016-12-20 2017-03-22 维沃移动通信有限公司 Picture splicing method and mobile terminal
CN107622518B (en) * 2017-09-20 2019-10-29 Oppo广东移动通信有限公司 Picture synthetic method, device, equipment and storage medium
CN109241304B (en) * 2018-08-16 2021-12-03 广州视源电子科技股份有限公司 Picture processing method, device and equipment
CN111127595B (en) * 2019-12-19 2023-11-03 维沃移动通信有限公司 Image processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103197850A (en) * 2011-09-30 2013-07-10 索尼公司 Information processing apparatus, information processing method, and computer readable medium
US8504932B2 (en) * 2006-04-13 2013-08-06 Shutterfly, Inc. Image collage builder
CN104221356A (en) * 2012-03-06 2014-12-17 苹果公司 Application for creating photo albums
CN104243846A (en) * 2013-06-19 2014-12-24 北京千橡网景科技发展有限公司 Image stitching method and device
CN104504651A (en) * 2015-01-22 2015-04-08 网易(杭州)网络有限公司 Preview generation method and device
CN104603733A (en) * 2012-08-28 2015-05-06 三星电子株式会社 User terminal apparatus and controlling method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7573486B2 (en) * 2003-08-18 2009-08-11 LumaPix Inc. Method and system for automatic generation of image distributions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504932B2 (en) * 2006-04-13 2013-08-06 Shutterfly, Inc. Image collage builder
CN103197850A (en) * 2011-09-30 2013-07-10 索尼公司 Information processing apparatus, information processing method, and computer readable medium
CN104221356A (en) * 2012-03-06 2014-12-17 苹果公司 Application for creating photo albums
CN104603733A (en) * 2012-08-28 2015-05-06 三星电子株式会社 User terminal apparatus and controlling method thereof
CN104243846A (en) * 2013-06-19 2014-12-24 北京千橡网景科技发展有限公司 Image stitching method and device
CN104504651A (en) * 2015-01-22 2015-04-08 网易(杭州)网络有限公司 Preview generation method and device

Also Published As

Publication number Publication date
CN104881844A (en) 2015-09-02

Similar Documents

Publication Publication Date Title
CN104881844B (en) Picture combination method and device and terminal equipment
CN103488403B (en) interface layout switching method, device and mobile terminal
CN104102419B (en) Page display method, device and terminal device
CN106357897B (en) The acquisition methods and device of drop information
CN103472971B (en) A kind of method, device and the terminal device of setting acquisition parameters
CN105005457A (en) Geographical location display method and apparatus
CN104519404B (en) The player method and device of graphic interchange format file
CN103390034B (en) Method, device, terminal and the server of picture presentation
CN104571979B (en) A kind of method and apparatus for realizing split view
CN104519262B (en) Obtain the method, apparatus and terminal of video data
CN110796725B (en) Data rendering method, device, terminal and storage medium
CN104021129B (en) Show the method and terminal of group picture
CN105022616A (en) Method and device for generating web page
CN105094809A (en) Combined picture layout modification method and device and terminal equipment
US20160292946A1 (en) Method and apparatus for collecting statistics on network information
JP2016511875A (en) Image thumbnail generation method, apparatus, terminal, program, and recording medium
CN104679381A (en) Method and device for switching chat box
CN104090879A (en) Picture sharing method, device and system
CN105447124A (en) Virtual article sharing method and device
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN107436948A (en) File search method, device and terminal
CN104252508A (en) Multimedia file search method, device and terminal equipment
CN106445304A (en) Application icon management method and mobile terminal
CN105487770A (en) Picture sending method and device
CN103399657A (en) Mouse pointer control method, device and terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20201126

Address after: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing

Patentee after: Beijing LEMI Technology Co.,Ltd.

Address before: 100085 Beijing City, Haidian District Road 33, two floor East Xiaoying

Patentee before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230823

Address after: 100000 3870A, 3rd Floor, Building 4, No. 49 Badachu Road, Shijingshan District, Beijing

Patentee after: Beijing Jupiter Technology Co.,Ltd.

Address before: Room 115, area C, 1 / F, building 8, yard 1, yaojiayuan South Road, Chaoyang District, Beijing

Patentee before: Beijing LEMI Technology Co.,Ltd.

TR01 Transfer of patent right