CN103324817A - Image processing method and electronic equipment - Google Patents

Image processing method and electronic equipment Download PDF

Info

Publication number
CN103324817A
CN103324817A CN2012100742106A CN201210074210A CN103324817A CN 103324817 A CN103324817 A CN 103324817A CN 2012100742106 A CN2012100742106 A CN 2012100742106A CN 201210074210 A CN201210074210 A CN 201210074210A CN 103324817 A CN103324817 A CN 103324817A
Authority
CN
China
Prior art keywords
image
subimage
strategy
rearranged
order strategy
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
CN2012100742106A
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2012100742106A priority Critical patent/CN103324817A/en
Publication of CN103324817A publication Critical patent/CN103324817A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Editing Of Facsimile Originals (AREA)

Abstract

The embodiment of the invention provides an image processing method and electronic equipment, relates to the field of computers, and aims to change a fixed background of a jigsaw puzzle into a dynamic background, so as to improve the entertainment. The method comprises the following steps: collecting a first image; dividing the first image into N first sub-images according to a dividing strategy, wherein N is an integer and larger than 2; rearranging the N first sub-images according to a first arranging strategy, so as to generate a second image, wherein the second image is different from the first image; displaying the second image; collecting a third image; dividing the third image into N second sub-images according to the dividing strategy; rearranging the N second sub-images according to the first arranging strategy, so as to generate a fourth image, wherein the fourth image is different from the third image; displaying the fourth image. The embodiment of the invention is used for providing a dynamic background for the jigsaw puzzle.

Description

A kind of image processing method and electronic equipment
Technical field
The present invention relates to computer realm, relate in particular to a kind of image processing method and electronic equipment.
Background technology
Present picture arrangement game is mostly based on the fixed background pattern, the user can only use single background patterns when picture mosaic, also have some picture arrangement games based on optional background patterns, the user can be set as the picture mosaic background patterns with the local picture in the equipment, like this, the user just can use different background patterns, makes background patterns no longer single.But no matter picture arrangement game of the prior art is based on the fixed background pattern and also is based on optional background patterns, all belongs to the static background picture mosaic, so interest is lower, recreational poor.
Summary of the invention
Embodiments of the invention provide a kind of image processing method and electronic equipment, can make the background of picture arrangement game become dynamic background by fixed background, have improved recreational.
Embodiments of the invention adopt following technical scheme:
On the one hand, provide a kind of image processing method, comprising:
Gather the first image;
According to partition strategy described the first image is divided into N the first subimage, N is the integer greater than 2;
According to the first order strategy, described N the first subimage rearranged, generate the second image, described the first image is different with described the second image;
Show described the second image;
Gather the 3rd image;
According to described partition strategy described the 3rd image is divided into N the second subimage;
According to described first order strategy, described N the second subimage rearranged, generate the 4th image, described the 3rd image is different with described the 4th image;
Show described the 4th image.
On the other hand, provide a kind of electronic equipment, comprising:
Image acquisition units is used for gathering the first image;
Image division unit is used for according to partition strategy described the first image being divided into N the first subimage, and N is the integer greater than 2;
The image arrangement units is used for according to the first order strategy, and described N the first subimage rearranged, and generates the second image, and described the first image is different with described the second image;
Display unit is used for showing described the second image;
Described image acquisition units also is used for gathering the 3rd image;
Described image division unit also is used for according to described partition strategy described the 3rd image being divided into N the second subimage;
Described image arrangement units also is used for according to described first order strategy, and described N the second subimage rearranged, and generates the 4th image, and described the 3rd image is different with described the 4th image;
Described display unit also is used for showing described the 4th image.
Embodiments of the invention provide a kind of image processing method and electronic equipment, take pattern by the Real-time Collection camera, and repartition the arrangement image that gathers according to strategy, then be presented on the screen, and then make the background of picture arrangement game become dynamic background by fixed background, improved recreational.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The schematic flow sheet one of the image processing method that Fig. 1 provides for the embodiment of the invention;
The schematic flow sheet two of the image processing method that Fig. 2 provides for the embodiment of the invention;
Schematic diagram before the screen divider of the image processing method that Fig. 3 provides for the embodiment of the invention;
Effect schematic diagram after the screen divider of the image processing method that Fig. 4 provides for the embodiment of the invention;
The structural representation one of the electronic equipment that Fig. 5 provides for the embodiment of the invention;
The structural representation two of the electronic equipment that Fig. 6 provides for the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
The embodiment of the invention provides a kind of image processing method, as shown in Figure 1, comprising:
S101, collection the first image.
S102, according to partition strategy the first image is divided into N the first subimage, N is the integer greater than 2.
S103, according to the first order strategy, N the first subimage is rearranged, generate the second image, the first image is different with the second image.
S104, demonstration the second image.
S105, collection the 3rd image.
S106, according to partition strategy the 3rd image is divided into N the second subimage.
S107, according to the first order strategy, N the second subimage is rearranged, generate the 4th image, the 3rd image is different with the 4th image.
S108, demonstration the 4th image.
Wherein, above-mentioned the first image can be understood as the first two field picture of collection, the 3rd image can be understood as the second two field picture, the second image is the image after the first two field picture of collection rearranges through said method, the 4th image is the image after the second two field picture of collection rearranges through said method, certainly, the 3rd two field picture, the 4th two field picture etc. can also be arranged, the background that is presented at like this on the screen is exactly dynamic.
Embodiments of the invention provide a kind of image processing method, take pattern by the Real-time Collection camera, and repartition the arrangement image that gathers according to strategy, then be presented on the screen, and then make the background of picture arrangement game become dynamic background by fixed background, improved recreational.
Embodiment two
The image processing method that the embodiment of the invention provides as shown in Figure 2, comprising:
S201, collection the first image, exemplary, this first image can be the first two field picture.
S202, according to partition strategy the first image is divided into N the first subimage, N is the integer greater than 2.
S203, according to the first order strategy, N the first subimage is rearranged, generate the second image, the first image is different with the second image.
Concrete, at first, the viewing area of screen is divided into N shows subregion, each shows the piece of subregion in just can corresponding picture arrangement game, N is the integer greater than 2, wherein the concrete value of N can allow the user arrange voluntarily as required, for example, and in picture arrangement game, can be according to the number of game adjusting of difficulty N, the value of N is larger, and the piece number of picture mosaic is just more, and corresponding difficulty is just higher.
Then, N position that shows subregion rearranged according to the first order strategy, this first order strategy can be fixed policy, all arrange N initial position that shows subregion according to this strategy when enabling game at every turn, also can be randomized policy, namely above-mentioned N initial position that shows subregion of each startup game be all different.
N the first subimage of ready-portioned the first two field picture before is presented at respectively on N the demonstration subregion that has rearranged the position, generates the second image.
Exemplary, as shown in Figure 3, according to partition strategy screen divider is 35 and shows subregion, then rearrange according to initial first order strategy and show subregion 1-35, effect after the arrangement as shown in Figure 4, at last the N number of sub images is presented on the reposition that shows subregion 1-35, just can reaches the purpose of upsetting image.
S204, demonstration the second image.
S205, collection the 3rd image, the 3rd image can be the second two field picture.
S206, according to partition strategy the 3rd image is divided into N the second subimage.
S207, according to the first order strategy, N the second subimage is rearranged, generate the 4th image, the 3rd image is different with the 4th image.
Concrete, N the first subimage of ready-portioned the first two field picture before is presented at respectively on N the demonstration subregion that has rearranged the position among the step S203, generate the second image.
S208, demonstration the 4th image.
Certainly, can also gather the 3rd two field picture, the 4th two field picture etc., as long as the game unlatching just can gather all the time image and be presented on the display screen by above-mentioned method, by ceaselessly gathering image and update displayed at image on screen, the background that makes game is exactly dynamic like this.
Further, when user's operation was arrived in equipment Inspection, for example, the user began picture arrangement game, has moved some pieces, namely behind the position of a certain demonstration subregion, also comprises:
S209, the first order strategy is changed into the second order strategy.
Because the user has changed the position that shows subregion, become the second order strategy so arrange strategy by initial first order strategy.
S210, according to the second order strategy, N the second subimage is rearranged, generate the 5th image.
Concrete, after the operation that detects the user, stop the collection of image, individual the second subimage of the N of up-to-date the 3rd image that collects is rearranged according to the second order strategy, generate the 5th image;
S211, demonstration the 5th image, and keep the 5th image until again detect user's operation.
Perhaps, S212, the 6th image of up-to-date collection is divided into N the 3rd subimage according to partition strategy.
Continue afterwards the collection of image in the operation that detects the user, but since generally the speed of image acquisition about per second 30 frames, so this moment, the up-to-date image that collects was the 3rd above-mentioned image no longer just, so the up-to-date image that collects may be afterwards the 6th images of some frames, then the 6th image is divided into N the 3rd subimage according to partition strategy.
S213, according to the second order strategy, N the 3rd subimage is rearranged, generate the 7th image, the 6th image is different with the 7th image.
S214, demonstration the 7th image, and keep the 7th image until again detect user's operation.
The embodiment of the invention also provides a kind of image processing method, after gathering the first image, first image that will collect according to above-mentioned partition strategy is divided into the N number of sub images, then this N number of sub images is rearranged into the second new image according to initial first order strategy, the user can carry out picture arrangement game at this second image, when the user can't recover original the first image, the unlatching camera just can make picture mosaic automatically revert to the first image according to the appearance Resurvey image of the first image.
Embodiments of the invention provide a kind of image processing method, take pattern by the Real-time Collection camera, and repartition the arrangement image that gathers according to strategy, then be presented on the screen, and then make the background of picture arrangement game become dynamic background by fixed background, improved recreational.
Embodiment three
The embodiment of the invention provides a kind of electronic equipment 1, as shown in Figure 5, comprising:
Image acquisition units 11 is used for gathering the first image.
Image division unit 12 is used for according to partition strategy the first image being divided into N the first subimage, and N is the integer greater than 2.
Image arrangement units 13 is used for according to the first order strategy, and N the first subimage rearranged, and generates the second image, and the first image is different with the second image.
Display unit 14 is used for showing the second image.
Image acquisition units 11 also is used for gathering the 3rd image.
Image division unit 12 also is used for according to partition strategy the 3rd image being divided into N the second subimage.
Image arrangement units 13 also is used for according to the first order strategy, and N the second subimage rearranged, and generates the 4th image, and the 3rd image is different with the 4th image.
Display unit 14 also is used for showing the 4th image.
Further, as shown in Figure 6, electronic equipment 1 also comprises:
Monitoring means 15 for detection of after user's operation, is changed into the second order strategy with the first order strategy.
After the first order strategy was changed into the second order strategy, image arrangement units 13 also was used for according to the second order strategy, and N the second subimage rearranged, and generated the 5th image.
Display unit 14 also is used for showing the 5th image, and keeps the 5th image until again detect user's operation.
Wherein, image arrangement units 13 specifically is used for:
The viewing area of screen is divided into N demonstration subregion.
N position that shows subregion rearranged according to the first order strategy.
N the first subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates the second image;
Perhaps, N the second subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates the 4th image.
Embodiments of the invention provide a kind of electronic equipment, take pattern by the Real-time Collection camera, and repartition the arrangement image that gathers according to strategy, then be presented on the screen, and then make the background of picture arrangement game become dynamic background by fixed background, improved recreational.
The all or part of step of realization said method embodiment can be finished by the relevant hardware of programmed instruction, and aforesaid program can be stored in the computer read/write memory medium, and this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The above; be the specific embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, all should be encompassed within protection scope of the present invention.
Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.

Claims (10)

1. an image processing method is characterized in that, comprising:
Gather the first image;
According to partition strategy described the first image is divided into N the first subimage, N is the integer greater than 2;
According to the first order strategy, described N the first subimage rearranged, generate the second image, described the first image is different with described the second image;
Show described the second image;
Gather the 3rd image;
According to described partition strategy described the 3rd image is divided into N the second subimage;
According to described first order strategy, described N the second subimage rearranged, generate the 4th image, described the 3rd image is different with described the 4th image;
Show described the 4th image.
2. image processing method according to claim 1 is characterized in that, also comprises:
After detecting user's operation, described first order strategy is changed into the second order strategy;
According to described second order strategy, described N the second subimage rearranged, generate the 5th image;
Show described the 5th image, and keep described the 5th image until again detect user's operation.
3. image processing method according to claim 1 is characterized in that, also comprises:
After detecting user's operation, described first order strategy is changed into the second order strategy;
The 6th image of up-to-date collection is divided into N the 3rd subimage according to partition strategy;
According to described second order strategy, described N the 3rd subimage rearranged, generate the 7th image, described the 6th image is different with described the 7th image;
Show described the 7th image, and keep described the 7th image until again detect user's operation.
4. according to claim 1 to the described image processing method of 3 any one, it is characterized in that, described according to the first order strategy, described N the first subimage rearranged, generate the second image and comprise:
The viewing area of screen is divided into N demonstration subregion;
Described N position that shows subregion rearranged according to described first order strategy;
Described N the first subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates described the second image.
5. according to claim 1 to the described image processing method of 3 any one, it is characterized in that described the first image and described the second image different comprising:
At least two positions of the first subimage in described the first image are different with the position in described the second image.
6. according to claim 1 to the described image processing method of 3 any one, it is characterized in that, described according to described first order strategy, described N the second subimage rearranged, generate the 4th image and comprise:
The viewing area of screen is divided into N demonstration subregion;
Described N position that shows subregion rearranged according to described first order strategy;
Described N the second subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates described the 4th image.
7. according to claim 1 to the described image processing method of 3 any one, it is characterized in that described the 3rd image and described the 4th image different comprising:
At least two positions of the second subimage in described the 3rd image are different with the position in described the 4th image.
8. an electronic equipment is characterized in that, comprising:
Image acquisition units is used for gathering the first image;
Image division unit is used for according to partition strategy described the first image being divided into N the first subimage, and N is the integer greater than 2;
The image arrangement units is used for according to the first order strategy, and described N the first subimage rearranged, and generates the second image, and described the first image is different with described the second image;
Display unit is used for showing described the second image;
Described image acquisition units also is used for gathering the 3rd image;
Described image division unit also is used for according to described partition strategy described the 3rd image being divided into N the second subimage;
Described image arrangement units also is used for according to described first order strategy, and described N the second subimage rearranged, and generates the 4th image, and described the 3rd image is different with described the 4th image;
Described display unit also is used for showing described the 4th image.
9. electronic equipment according to claim 8 is characterized in that, also comprises:
Monitoring means for detection of after user's operation, is changed into the second order strategy with described first order strategy;
After described first order strategy was changed into the second order strategy, described image arrangement units also was used for according to described second order strategy, and described N the second subimage rearranged, and generated the 5th image;
Described display unit also is used for showing the 5th image, and keeps described the 5th image until again detect user's operation; Or
After described first order strategy was changed into the second order strategy, described division unit also was used for the 6th image of up-to-date collection is divided into N the 3rd subimage according to partition strategy;
Described image arrangement units also is used for according to described second order strategy, and described N the 3rd subimage rearranged, and generates the 7th image, and described the 6th image is different with described the 7th image.
10. electronic equipment according to claim 8 is characterized in that, described image arrangement units specifically is used for:
The viewing area of screen is divided into N demonstration subregion;
Described N position that shows subregion rearranged according to described first order strategy;
Described N the first subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates described the second image; Or
Described N the second subimage is presented at respectively on N the demonstration subregion that has rearranged the position, generates described the 4th image.
CN2012100742106A 2012-03-19 2012-03-19 Image processing method and electronic equipment Pending CN103324817A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012100742106A CN103324817A (en) 2012-03-19 2012-03-19 Image processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100742106A CN103324817A (en) 2012-03-19 2012-03-19 Image processing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN103324817A true CN103324817A (en) 2013-09-25

Family

ID=49193559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100742106A Pending CN103324817A (en) 2012-03-19 2012-03-19 Image processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103324817A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151322A (en) * 2018-09-30 2019-01-04 联想(北京)有限公司 A kind of image processing method and electronic equipment
CN112007359A (en) * 2020-08-24 2020-12-01 杭州睿琪软件有限公司 Image display method, readable storage medium and computer equipment
WO2022037484A1 (en) * 2020-08-21 2022-02-24 北京字节跳动网络技术有限公司 Image processing method and apparatus, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1145039A (en) * 1994-04-08 1997-03-12 埃维尔施·J·韦纳 Puzzle device
CN1372219A (en) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 Method for automatic changing picture piecing game
CN1581198A (en) * 2003-08-01 2005-02-16 明基电通股份有限公司 Method for making dynamic picture-arrangement game and method thereof
CN102158638A (en) * 2010-02-11 2011-08-17 北京华旗资讯数码科技有限公司 Digital camera with game interaction function and game interaction method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1145039A (en) * 1994-04-08 1997-03-12 埃维尔施·J·韦纳 Puzzle device
CN1372219A (en) * 2001-02-23 2002-10-02 无敌科技(西安)有限公司 Method for automatic changing picture piecing game
CN1581198A (en) * 2003-08-01 2005-02-16 明基电通股份有限公司 Method for making dynamic picture-arrangement game and method thereof
CN102158638A (en) * 2010-02-11 2011-08-17 北京华旗资讯数码科技有限公司 Digital camera with game interaction function and game interaction method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JEAN-PHILIPPE SARDA: "《Mozzle Lite 版本1.2.3(App Store)》", 21 October 2011 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151322A (en) * 2018-09-30 2019-01-04 联想(北京)有限公司 A kind of image processing method and electronic equipment
WO2022037484A1 (en) * 2020-08-21 2022-02-24 北京字节跳动网络技术有限公司 Image processing method and apparatus, device and storage medium
CN112007359A (en) * 2020-08-24 2020-12-01 杭州睿琪软件有限公司 Image display method, readable storage medium and computer equipment
CN112007359B (en) * 2020-08-24 2023-12-15 杭州睿琪软件有限公司 Image display method, readable storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN105094346B (en) A kind of information processing method, terminal and computer storage media
CN102053786A (en) Information processing device, image display method, and computer program
US20120032988A1 (en) Display control apparatus that displays list of images onto display unit, display control method, and storage medium storing control program therefor
CN103677498A (en) Icon sorting and displaying method and terminal equipment
CN106598465A (en) Control method, device and equipment based on virtual rocker
CN102819400A (en) Desktop system, interface interaction method and interface interaction device of mobile terminal
CN104751507B (en) Graphical content rendering intent and device
JP2009508224A5 (en)
CN106030485A (en) Graphical user interface with unfolding panel
CN102945563A (en) Showing and interacting system and method for panoramic videos
CN103440319A (en) Historical information dynamic display method and system
JP2007080231A5 (en)
CN103324817A (en) Image processing method and electronic equipment
CN105631923A (en) Rendering method and device
CN102869078B (en) Method for simulating transparent screen and mobile terminal
CN108803965A (en) Show method, apparatus, terminal and the storage medium of icon
CN111228801A (en) Rendering method and device of game scene, storage medium and processor
CN109324734A (en) Page display method, device and electronic equipment
CN101656037B (en) Method for displaying large-format picture on small screen equipment and small screen equipment
CN102610142A (en) Three-dimensional roaming and knowledge point learning and showing method of interactive intelligent transformer substation
CN102568443B (en) Digital image scaling method
CN103761253A (en) Display system and display method for cartoon
CN103577059A (en) User interface presenting method and electronic device
CN106998489B (en) A kind of focus is crossed the border searching method and device
CN104423919A (en) Image processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130925