CN106909275A - picture processing method and device - Google Patents

picture processing method and device Download PDF

Info

Publication number
CN106909275A
CN106909275A CN201710129608.8A CN201710129608A CN106909275A CN 106909275 A CN106909275 A CN 106909275A CN 201710129608 A CN201710129608 A CN 201710129608A CN 106909275 A CN106909275 A CN 106909275A
Authority
CN
China
Prior art keywords
sprite
picture
new
instruction
postrotational
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.)
Pending
Application number
CN201710129608.8A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710129608.8A priority Critical patent/CN106909275A/en
Publication of CN106909275A publication Critical patent/CN106909275A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of picture processing method and device, and methods described includes:Receive and divide instruction, positional information is included in the division instruction;According to the positional information, current picture is divided at least two sprites, the current picture includes multiple first object things;Each described sprite is entered into line translation according to preset rules, new picture is formed, to change the position of multiple first object things.Methods described causes that the change that shifts gears of first object object location in picture is more, further when being eliminated according to elimination rule, can produce more versions, increased interest so that Consumer's Experience is improved.

Description

Picture processing method and device
Technical field
The present invention relates to computer application field, in particular to a kind of picture processing method and device.
Background technology
At present, it is the object in picture is many according to the method that certain rule is eliminated, but because picture in itself will not Change, cause the version of middle target object location also relatively simple, it is interesting relatively low.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of picture processing method and device, above-mentioned to solve Problem.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiment of the invention provides a kind of picture processing method, methods described includes:Division is received to refer to Order, positional information is included in the division instruction;According to the positional information, current picture is divided at least two sons and is drawn Face, the current picture includes multiple first object things;Each described sprite is entered into line translation according to preset rules, is formed New picture, to change the position of multiple first object things.
Second aspect, the embodiment of the invention provides a kind of image processing device, and described device includes:Receiver module, uses Instruction is divided in receiving, positional information is included in the division instruction;Division module, for according to the positional information, ought Preceding picture is divided at least two sprites, and the current picture includes multiple first object things;Conversion module, for by respectively The individual sprite enters line translation according to preset rules, new picture is formed, to change the position of multiple first object things.
Compared with prior art, a kind of picture processing method provided in an embodiment of the present invention and device, are divided by receiving Instruction, according to the positional information divided in instruction, at least two sprites is divided into by current picture, is wrapped in the current picture Multiple first object things are included, each described sprite is entered into line translation according to preset rules, new picture is formed, to change multiple The position of the first object thing, this mode so that the change that shifts gears of first object object location is more in picture, further When being eliminated according to elimination rule, more versions can be produced, increased interest so that Consumer's Experience is carried It is high.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be attached to what is used needed for embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the structured flowchart of user terminal provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart of picture processing method that first embodiment of the invention is provided.
Fig. 3 is a kind of step S400 flow charts in a kind of picture processing method that first embodiment of the invention is provided.
Fig. 4 is a kind of schematic diagram of picture segmentation that first embodiment of the invention is provided.
Fig. 5 is the schematic diagram of another picture segmentation that first embodiment of the invention is provided.
Fig. 6 is another step S400 flow charts in a kind of picture processing method that first embodiment of the invention is provided.
Fig. 7 is a kind of schematic diagram of internal symmetry line that first embodiment of the invention is provided.
Fig. 8 is the schematic diagram of a kind of new picture that first embodiment of the invention is provided.
Fig. 9 is the first schematic diagram that a kind of current picture that first embodiment of the invention is provided is changed.
Figure 10 is the second schematic diagram that a kind of current picture that first embodiment of the invention is provided is changed.
Figure 11 is the 3rd schematic diagram that a kind of current picture that first embodiment of the invention is provided is changed.
Figure 12 is the 4th schematic diagram that a kind of current picture that first embodiment of the invention is provided is changed.
Figure 13 is the first schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 14 is the second schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 15 is the 3rd schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 16 is the 4th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 17 is the 5th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 18 is another step S400 flow charts in a kind of picture processing method that first embodiment of the invention is provided.
Figure 19 is the first schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 20 is the second schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 21 is the 3rd schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 22 is the 4th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 23 is the 5th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 24 is the first schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 25 is the second schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 26 is the 3rd schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 27 is the 4th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 28 is the 5th schematic diagram that another current picture that first embodiment of the invention is provided is changed.
Figure 29 is that a kind of current picture comprising the second object that first embodiment of the invention is provided is changed One schematic diagram.
Figure 30 is that a kind of current picture comprising the second object that first embodiment of the invention is provided is changed Two schematic diagrames.
Figure 31 is that a kind of current picture comprising the second object that first embodiment of the invention is provided is changed Three schematic diagrames.
Figure 32 is the first schematic diagram that a kind of irregular current picture that first embodiment of the invention is provided is changed.
Figure 33 is the second schematic diagram that a kind of irregular current picture that first embodiment of the invention is provided is changed.
Figure 34 is a kind of structured flowchart of image processing device that second embodiment of the invention is provided.
Specific embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of selected embodiment of the invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi It is defined in individual accompanying drawing, then it need not be further defined and explained in subsequent accompanying drawing.Meanwhile, of the invention In description, term " first ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Fig. 1 shows a kind of structured flowchart of the user terminal 100 that can be applied in the embodiment of the present invention.As shown in figure 1, User terminal 100 includes memory 102, storage control 104, one or more (one is only shown in figure) processors 106, outer If interface 108, radio-frequency module 110, audio-frequency module 112, Touch Screen 114 etc..These components are total by one or more communication Line/holding wire 116 is mutually communicated.
Memory 102 can be used for store software program and module, such as the picture processing method in the embodiment of the present invention with And the corresponding programmed instruction/module of device, processor 106 is by running software program and mould of the storage in memory 102 Block, so that various function application and data processing are performed, such as picture processing method provided in an embodiment of the present invention.
Memory 102 may include high speed random access memory, may also include nonvolatile memory, such as one or more magnetic Property storage device, flash memory or other non-volatile solid state memories.Processor 106 and other possible components are to storage The access of device 102 can be carried out under the control of storage control 104.
Various input/output devices are coupled to processor 106 and memory 102 by Peripheral Interface 108.In some implementations In example, Peripheral Interface 108, processor 106 and storage control 104 can be realized in one single chip.In some other reality In example, they can be realized by independent chip respectively.
Radio-frequency module 110 is used to receive and send electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, so that with Communication network or other equipment are communicated.
Audio-frequency module 112 provides a user with COBBAIF, and it may include one or more microphones, one or more raises Sound device and voicefrequency circuit.
Touch Screen 114 provides an output and inputting interface simultaneously between user terminal 100 and user.Specifically, Touch Screen 114 shows video frequency output to user, and the content of these video frequency outputs may include word, figure, video and its any Combination.
It is appreciated that the structure shown in Fig. 1 be only illustrate, user terminal 100 may also include it is more more than shown in Fig. 1 or Less component, or with the configuration different from shown in Fig. 1.Each component shown in Fig. 1 can using hardware, software or its Combination is realized.
Fig. 2 shows a kind of flow chart of picture processing method that first embodiment of the invention is provided, and refers to Fig. 2, should Data processing method is run in above-mentioned user terminal, and the method includes:
Step S200, is received and divides instruction, and positional information is included in the division instruction.
The implementation method of division instruction can have various.The division instruction in the positional information, can according to The demand at family is configured.
Fig. 4 is referred to, used as a kind of implementation method, user can send division and refer to by the Touch screen of user terminal Order, division instruction can be point that user is drawn by the Touch screen of user terminal in certain position of current picture Secant.
Certainly, the implementation method for dividing instruction is not limited to the mode of cut-off rule, or by user input position Coordinate is put to determine to divide the mode for instructing.
Further, it is contemplated that the interest of dividing mode, a series of restrictive condition can be set, it is default when meeting During restrictive condition, just receive and divide instruction.Therefore the implementation method of step S200 includes:When meeting second and being pre-conditioned, connect Receive and divide instruction, positional information is included in the division instruction.
As a kind of implementation method, when the first object position in picture before is according to the quantity of the default elimination for eliminating rule Or number of times is eliminated when reaching predetermined threshold value, receive and divide instruction.
Further, can also be when the first object position being used in display picture on current picture eliminates rule according to default The quantity of elimination then or when eliminating number of times and reaching the full lattice of progress bar of predetermined threshold value, receives and divides instruction.
Step S300, according to the positional information, at least two sprites, the current picture is divided into by current picture Include multiple first object things.
As a kind of implementation method, Fig. 4 is referred to, it is assumed that current picture is the picture of the row of 8 row 8, each First object thing (not used in Fig. 4) can be set in lattice, if the positional information for dividing instruction is the midpoint of the first row, It is, with the position as starting point, to be divided from top to bottom to divide instruction, and two sprites are formed after being divided according to division instruction, It is as shown in Figure 4 the first sprite (shown in Fig. 4 for the left side 4 row form sprite) and the second sprite (is shown in Fig. 4 The row of the left side 4 form sprite).
As another embodiment, Fig. 5 is referred to, if as shown in figure 5, the positional information for dividing instruction is first row Midpoint, it is, with the position as starting point, to be divided from left to right to divide instruction, and two sons are formed after being divided according to division instruction Picture is as shown in Figure 5 the 3rd sprite (being that 4 rows form sprite above shown in Fig. 5) and the 4th sprite (in Fig. 5 It show following 4 row and forms sprite).
Step S400, line translation is entered by each described sprite according to preset rules, new picture is formed, to change multiple The position of the first object thing.
As a kind of implementation method, Fig. 3 is referred to, step S400 can include:
Step S411, obtains the corresponding internal symmetry line of each described sprite.
Refer to Fig. 7, it is assumed that current picture forms the first sprite and the second sprite after being divided as shown in Figure 7, Now, the internal symmetry line of the first sprite be by first sprite be divided into symmetrical line (shown in Fig. 7 be the 2nd Line between row and the 3rd row), the internal symmetry line of the second sprite is that second sprite is divided into symmetrical line (being the line between the 6th row and the 7th row shown in Fig. 7).
Step S412, respectively centered on the internal symmetry line of sprite each described, respectively by each son After the subregion of the internal symmetry line both sides of picture itself carries out mirror image switch, each new sprite is formed.
Fig. 8 is referred to, the first sprite is entered the subregion of its internal symmetry line both sides centered on its internal symmetry line Row mirror image switch, will region (row 1, the row 2) mirror image switch on its internal symmetry line left side formed (row 2, row 1) to the right, will Region (row 3, row 4) mirror image switch on the right of its internal symmetry line is formed (row 4, row 3) to the right, and is ultimately formed such as Fig. 8 institutes New the first sprite (row 4, row 3, row 2, row 1) for showing.
Similarly, new the second sprite (row 8, row 7, row 6, row 5) is formed after the upset of the second sprite.
Step S413, each described new sprite is merged, and forms new picture.
Fig. 8 is referred to, the first new sprite is merged with the second new sprite, form new picture as shown in Figure 8 Face (region 4, region 3, region 2, region 1, region 8, region 7, region 6, region 5).
As another embodiment, Fig. 6 is referred to, step S400 can include:
Step S421,180 degree is rotated in a first direction by first sprite, forms postrotational first sprite.
Wherein, the implementation method of the first direction has a lot, for example, level is turned left, level is turned right, straight up, vertically To inferior.
Step S422,180 degree is rotated in a second direction by second sprite, forms postrotational second sprite.
Wherein, the implementation method of the second direction has a lot, for example, level is turned left, level is turned right, straight up, vertically To inferior.
Further, the second direction and first direction can be rightabouts.If for example, the first direction be level to A left side, then second direction be level to the right;If the first direction is for straight up, the second direction is for straight down.
Step S423, postrotational first sprite and postrotational second sprite are merged, and form new Picture.
Illustrated with two specific embodiments below.
Fig. 9 to Figure 12 is referred to, horizontally left direction rotates 180 degree by first sprite, is formed postrotational First sprite, by second sprite, horizontally right direction rotates 180 degree, forms postrotational second sprite, and Postrotational first sprite and postrotational second sprite are merged, during rotation, can be formed Such as the interface as shown in Figure 10 to Figure 11, it is also possible to increase the interest of user, Consumer's Experience is lifted.
Refer to Figure 13 to Figure 17, it is assumed that it is that 4 rows form sprite, the second son above shown in Figure 13 that the first sprite is It is that following 4 row forms sprite shown in Figure 13 that picture is, first sprite is rotated into 180 degree along direction straight up, Postrotational first sprite is formed, second sprite is rotated into 180 degree along vertically downward direction, form postrotational the Two sprites, and postrotational first sprite and postrotational second sprite are merged, in the process of rotation In, can be formed such as the interface as shown in Figure 15 to Figure 16, it is also possible to increase the interest of user, lift Consumer's Experience.
Used as a kind of implementation method again, each described sprite includes many sub-regions, each described subregion pair respectively A figure layer is answered, Figure 18 is referred to, step S400 can include:
Step S431, changes figure layer and the movement of each described sprite its own each subregion for including respectively The position of each subregion, forms each new sprite respectively.
Refer to Figure 19 to Figure 23, as a kind of implementation method, in original state, each sprite include each The subregion is in same figure layer, it is assumed that figure layer during original state is 0.As shown in figure 19, the first sprite for (region 1, Region 2, region 3, region 4), the second sprite be (region 5, region 6, region 7, region 8), in original state, region 1 to Region 8 is in figure layer 0.Figure 20 to Figure 21 is referred to, by taking the first sprite as an example, the figure layer in the region 4 in the first sprite Change first, be changed into figure layer 1, and region 3 is moved into the lower section of region 4 by the position in region 3 to region 1 to right translation (as shown in figure 20);Then region 4 is translated to the left in figure layer 1, and the figure layer in region 3 is changed, be changed into figure layer 1, Now, region 4 and region 3 are in same figure layer 1, and region 2 and region 1 are translated to the right in figure layer 0, by region 2 The lower section of region 3 is moved to, the like, by constantly changing the figure layer and translation regional of regional, most institute at last There is region to move in figure layer 1 (as shown in figure 22).Similarly, the second sprite also carries out aforesaid operations simultaneously, this time no longer Repeat.Further, then will be moved into figure layer 1 each sub-regions figure layer and all return to figure layer 0 (as shown in figure 23).
Figure 24 to Figure 28 is referred to, used as a kind of implementation method, as shown in figure 24, the first sprite is (region 1, region 2, region 3, region 4), the second sprite is (region 5, region 6, region 7, region 8), in original state, region 1 to region 8 are in figure layer 0.Figure 25 to Figure 26 is referred to, by taking the first sprite as an example, the figure layer in the region 4 in the first sprite is first Change, be changed into figure layer 1, and the position in region 3 to region 1 is translated downwards, region 3 is moved into the lower section of region 4 (as schemed Shown in 25);Then region 4 is translated up in figure layer 1, and the figure layer in region 3 is changed, be changed into figure layer 1, now, region 4 And region 3 is in same figure layer 1, and region 2 and region 1 are translated downwards in figure layer 0, region 2 is moved under region 3 Side, the like, by constantly changing the figure layer and translation regional of regional, most all regions move at last In figure layer 1 (as shown in figure 27).Similarly, the second sprite also carries out aforesaid operations simultaneously, and this is repeated no more.Further, The figure layer of each sub-regions of figure layer 1 is will be moved into again and all returns to figure layer 0 (as shown in figure 28).
Step S432, each described new sprite is merged, and forms new picture.
It is understood that be changed in this way, user can see target position caused by the change of figure layer The change of position, further increases interest, improves Consumer's Experience.
Further, as a kind of implementation method, the current picture includes the second object, forms new described After picture, the method can also include:Judge whether position of second object in the new picture meets One is pre-conditioned, if so, then removing second object from the new picture.
Figure 29 to Figure 31 is referred to, as shown in Figure 29, circular the second object in current picture of black, black star Shape is first object thing, and the default rule that eliminates is:When there are continuous three adjacent first object things, by this continuous three first Object is removed simultaneously.First pre-conditioned is:When the second object be located at current picture in last column when, then by this second Object is removed from current picture.30 to Figure 31 is referred to, by after the treatment of above-mentioned picture, foring new picture, now Judged according to above-mentioned elimination rule, occurred in that continuously three first object things, met and eliminate rule, can be disappeared Remove;Further, judge whether the position of second object in the new picture meets first pre-conditioned, i.e., the Whether two objects are located at the last column in new picture, if so, then by second object from the new picture Remove.By examples detailed above it can be found that by after picture change, will be unsatisfactory for originally the default picture for eliminating rule become in order to Meet the default picture for eliminating rule, increased interest so that Consumer's Experience is lifted.
Figure 32 to Figure 33 is referred to, as a kind of implementation method, if preset rules are when appearance target as shown in figure 32 During picture, then the operation of next step can be carried out.If current picture is the picture as shown in 33, changed according to above-mentioned picture, Target picture as shown in figure 32 can then be formed, that is to say, that may need the complicated and multiple change could to be formed originally Target picture, by the present embodiment provide picture processing method after become and can be easily formed, increased interest so that user Experience is improved.
Picture processing method provided in an embodiment of the present invention, instruction is divided by receiving, according to the position divided in instruction Information, at least two sprites are divided into by current picture, and the current picture includes multiple first object things, by each institute State sprite and enter line translation according to preset rules, form new picture, it is this to change the position of multiple first object things Mode so that the change that shifts gears of first object object location is more in picture, further when being eliminated according to elimination rule, More versions can be produced, interest is increased so that Consumer's Experience is improved.
Figure 34 is referred to, is the high-level schematic functional block diagram of the image processing device 500 that second embodiment of the invention is provided.Institute Stating image processing device 500 includes receiver module 510, division module 520, conversion module 530.
Receiver module 510, instruction is divided for receiving, and positional information is included in the division instruction.
Division module 520, it is described for according to the positional information, current picture being divided into at least two sprites Current picture includes multiple first object things.
Conversion module 530, for each described sprite to be entered into line translation according to preset rules, forms new picture, with Change the position of multiple first object things.
As a kind of implementation method, the conversion module 530, specifically for obtaining the corresponding inside of each described sprite Line of symmetry;Respectively centered on the internal symmetry line of sprite each described, respectively by each described sprite itself After the subregion of the internal symmetry line both sides carries out mirror image switch, each new sprite is formed;By each new son Picture merges, and forms new picture.
Used as another embodiment, the sprite is two, and respectively the first sprite and the second sprite are described Conversion module 530, specifically for first sprite is rotated in a first direction into 180 degree, forms postrotational first son and draws Face;Second sprite is rotated in a second direction into 180 degree, postrotational second sprite is formed;Will be described postrotational First sprite and postrotational second sprite merge, and form new picture.
Used as another implementation method, each described sprite includes many sub-regions, each described subregion pair respectively Answer a figure layer, the conversion module 530, specifically for change respectively each described sprite its own include each described in The position of the figure layer of subregion and mobile each subregion, forms each new sprite respectively;Each is described new Sprite merges, and forms new picture.
Each module can be that now, above-mentioned each module can be stored in user terminal 100 by software code realization above In memory 102.Each module can equally be realized by hardware such as IC chip above.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
The technique effect and preceding method of the image processing device that the embodiment of the present invention is provided, its realization principle and generation Embodiment is identical, is to briefly describe, and device embodiment part does not refer to part, refers in corresponding in preceding method embodiment Hold.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it is also possible to pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show the device of multiple embodiments of the invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent one the one of module, program segment or code Part a, part for the module, program segment or code is used to realize holding for the logic function for specifying comprising one or more Row instruction.It should also be noted that at some as in the implementation replaced, the function of being marked in square frame can also be being different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of the square frame in individual square frame and block diagram and/or flow chart, can use the function or the special base of action for performing regulation Realized in the system of hardware, or can be realized with the combination of computer instruction with specialized hardware.
In addition, each functional module in each embodiment of the invention can integrate to form an independent portion Divide, or modules individualism, it is also possible to which two or more modules are integrated to form an independent part.
If the function is to realize in the form of software function module and as independent production marketing or when using, can be with Storage is in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are used to so that a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.Need It is noted that herein, such as first and 3rd or the like relational terms be used merely to an entity or operation Made a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating any this Actual relation or order.And, term " including ", "comprising" or its any other variant be intended to nonexcludability Comprising so that process, method, article or equipment including a series of key elements not only include those key elements, but also wrapping Include other key elements being not expressly set out, or also include for this process, method, article or equipment is intrinsic wants Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, article or the equipment of element.
The preferred embodiments of the present invention are the foregoing is only, is not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.It is all within the spirit and principles in the present invention, made any repair Change, equivalent, improvement etc., should be included within the scope of the present invention.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, then it is not required in subsequent accompanying drawing It is further defined and is explained.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of picture processing method, it is characterised in that methods described includes:
Receive and divide instruction, positional information is included in the division instruction;
According to the positional information, current picture is divided at least two sprites, the current picture includes multiple the One object;
Each described sprite is entered into line translation according to preset rules, new picture is formed, to change multiple first objects The position of thing.
2. method according to claim 1, it is characterised in that described that each described sprite is carried out according to preset rules Conversion, forms new picture, including:
Obtain the corresponding internal symmetry line of each described sprite;
Respectively centered on the internal symmetry line of sprite each described, respectively by described in each described sprite itself After the subregion of internal symmetry line both sides carries out mirror image switch, each new sprite is formed;
Each described new sprite is merged, new picture is formed.
3. method according to claim 1, it is characterised in that the sprite is two, respectively the first sprite and Second sprite, it is described that each described sprite is entered into line translation according to preset rules, new picture is formed, including:
First sprite is rotated in a first direction 180 degree, postrotational first sprite is formed;
Second sprite is rotated in a second direction into 180 degree, postrotational second sprite is formed;
Postrotational first sprite and postrotational second sprite are merged, new picture is formed.
4. method according to claim 1, it is characterised in that each described sprite includes many sub-regions respectively, often One figure layer of the individual subregion correspondence, it is described that each described sprite is entered into line translation according to preset rules, form new picture Face, including:
Change the figure layer and mobile each described sub-district of its own each subregion for including of each described sprite respectively The position in domain, forms each new sprite respectively;
Each described new sprite is merged, new picture is formed.
5. method according to claim 1, it is characterised in that the current picture includes the second object, described Formed after new picture, methods described also includes:
Judge whether position of second object in the new picture meets first pre-conditioned, if so, then by institute The second object is stated to be removed from the new picture.
6. method according to claim 1, it is characterised in that the reception divides instruction, described division include in instruction Positional information, including:
If satisfaction second is pre-conditioned, receives and divide instruction, the division includes positional information in instructing.
7. a kind of image processing device, it is characterised in that described device includes:
Receiver module, instruction is divided for receiving, and positional information is included in the division instruction;
Division module, for according to the positional information, current picture being divided into at least two sprites, the current picture Include multiple first object things;
Conversion module, for each described sprite to be entered into line translation according to preset rules, forms new picture, to change multiple The position of the first object thing.
8. device according to claim 7, it is characterised in that the conversion module, specifically for obtaining each described son The corresponding internal symmetry line of picture;Respectively centered on the internal symmetry line of sprite each described, respectively by each institute After stating the subregion of the internal symmetry line both sides of sprite itself and carrying out mirror image switch, each new sprite is formed;Will Each described new sprite merges, and forms new picture.
9. device according to claim 7, it is characterised in that the sprite is two, respectively the first sprite and Second sprite, the conversion module, specifically for first sprite is rotated in a first direction into 180 degree, forms rotation The first sprite afterwards;Second sprite is rotated in a second direction into 180 degree, postrotational second sprite is formed;Will Postrotational first sprite and postrotational second sprite merge, and form new picture.
10. device according to claim 7, it is characterised in that each described sprite includes many sub-regions respectively, often One figure layer of the individual subregion correspondence, the conversion module, specifically for changing each described sprite respectively, its own is wrapped The position of the figure layer of each subregion for including and mobile each subregion, forms each new sprite respectively;Will Each described new sprite merges, and forms new picture.
CN201710129608.8A 2017-03-06 2017-03-06 picture processing method and device Pending CN106909275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710129608.8A CN106909275A (en) 2017-03-06 2017-03-06 picture processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710129608.8A CN106909275A (en) 2017-03-06 2017-03-06 picture processing method and device

Publications (1)

Publication Number Publication Date
CN106909275A true CN106909275A (en) 2017-06-30

Family

ID=59185983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710129608.8A Pending CN106909275A (en) 2017-03-06 2017-03-06 picture processing method and device

Country Status (1)

Country Link
CN (1) CN106909275A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294548A (en) * 2020-02-20 2020-06-16 深圳市鹏创软件有限公司 Picture turning method, device, equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1111464A (en) * 1993-06-30 1995-11-08 世嘉企业股份有限公司 Image processing device and method therefor, and electronic device having image processing device
CN1738367A (en) * 2004-08-16 2006-02-22 威盛电子股份有限公司 Image switching method and device
WO2014041194A1 (en) * 2012-09-17 2014-03-20 King.Com Limited A method for implementing a computer game
CN105307738A (en) * 2013-02-19 2016-02-03 大卫·瓦勒斯 Systems and methods for a token match game

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1111464A (en) * 1993-06-30 1995-11-08 世嘉企业股份有限公司 Image processing device and method therefor, and electronic device having image processing device
CN1738367A (en) * 2004-08-16 2006-02-22 威盛电子股份有限公司 Image switching method and device
WO2014041194A1 (en) * 2012-09-17 2014-03-20 King.Com Limited A method for implementing a computer game
CN105307738A (en) * 2013-02-19 2016-02-03 大卫·瓦勒斯 Systems and methods for a token match game

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294548A (en) * 2020-02-20 2020-06-16 深圳市鹏创软件有限公司 Picture turning method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108282686A (en) Video pictures processing method, device and electronic equipment
CN106658139B (en) Focus control method and device
CN112288665A (en) Image fusion method and device, storage medium and electronic equipment
CN107463331A (en) Gesture path analogy method, device and electronic equipment
CN105095721A (en) Fingerprint authentication display device and method
CN107944478A (en) Image-recognizing method, system and electronic equipment
CN107147940A (en) Method, device, electronic equipment and the storage medium of content carousel
CN104658030A (en) Secondary image mixing method and apparatus
CN106354366A (en) Method for treating desktop icons arrangement and device thereof
CN106156237A (en) Information processing method, information processor and subscriber equipment
CN107203434A (en) A kind of texture shared method, device and computer-readable recording medium
CN104657668A (en) Terminal
CN109658501B (en) Image processing method, image processing device and terminal equipment
CN107071386A (en) Recognize the method and device of 3D format videos
CN104503662B (en) A kind of generation method and device of the geometric profile of desktop elements
CN106909275A (en) picture processing method and device
CN107168996A (en) A kind of multimedia promotion method of third party and device
CN106874012A (en) Theme background method to set up, device and electronic equipment
CN107730467A (en) Display method, device, equipment and storage medium
CN113835806A (en) Page layout method and device, electronic equipment and storage medium
CN106998489B (en) A kind of focus is crossed the border searching method and device
CN107179931A (en) Installation kit packaging method, apparatus and system
CN106454314A (en) Panoramic video decoding method and device
CN108012171A (en) Wireless same screen method and system
CN114495190B (en) Training method of face-changing network model, image face-changing method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned

Effective date of abandoning: 20200721

AD01 Patent right deemed abandoned