CN104238892A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN104238892A
CN104238892A CN201410488511.2A CN201410488511A CN104238892A CN 104238892 A CN104238892 A CN 104238892A CN 201410488511 A CN201410488511 A CN 201410488511A CN 104238892 A CN104238892 A CN 104238892A
Authority
CN
China
Prior art keywords
image
feature image
fisrt feature
background image
layer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410488511.2A
Other languages
Chinese (zh)
Other versions
CN104238892B (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.)
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 CN201410488511.2A priority Critical patent/CN104238892B/en
Publication of CN104238892A publication Critical patent/CN104238892A/en
Application granted granted Critical
Publication of CN104238892B publication Critical patent/CN104238892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Image Processing (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses an information processing method and electronic equipment. The method is applied to the electronic equipment, and comprises the following steps of acquiring a first background image, wherein the first background image at least comprises a first feature image with a first feature and a second feature image with a second feature, and the first feature image and the second feature image have a first relative location relation; detecting a preset operation; acquiring the first feature image and the second feature image of the first background image; keeping the first feature of the first feature image and the second feature of the second feature image unchanged, changing the relative location relation of the first feature image and the second feature image, and generating a second background image, wherein a first feature image and a second feature image in the second background image have a second relative location relation. Through the technical scheme, the relative location relation of the feature images is changed for composition again, and the technical problem that the electronic equipment cannot change the composition of desktop wallpaper in the prior art is solved.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to electronic technology field, particularly a kind of information processing method and electronic equipment.
Background technology
Along with the development of science and technology, the various functions of electronic equipment significantly improves, intelligent requirements is also progressively met, electronic equipment starts to focus on further bringing various, personalized experience to user, such as: provide polytype desktop wallpaper such as dynamic, static to user.
Nowadays, be no matter on computers or on smart mobile phone, the desktop wallpaper that user can share, maybe by good image recommendation to the friend of surrounding.Desktop wallpaper on computer desktop, can pass to smart mobile phone by data line and be set to the desktop wallpaper of mobile phone; Desktop wallpaper on mobile phone, can pass to another smart mobile phone by bluetooth and be set to the desktop wallpaper of another smart mobile phone.
But present inventor, in the process realizing technical scheme in the embodiment of the present application, finds that prior art exists following technical matters:
Screen size between electronic equipment and electronic equipment is not quite similar, require to be not quite similar to the composition of desktop wallpaper, such as: the image for a length breadth ratio being a display screen horizontal composition of 3:4 is very beautiful as its desktop wallpaper, but the image of this horizontal composition uncomfortable unification length breadth ratio is the display screen of 3:2.Due to, electronic equipment, when the image being not suitable for own display screen size is set to desktop wallpaper, cannot change the composition of desktop wallpaper, simply can only stretch or zoom operations, image composition is still not suitable for this electronic equipment to image.Visible, in prior art there is the technical matters that cannot change the composition of desktop wallpaper in electronic equipment.
Summary of the invention
The embodiment of the present invention provides a kind of information processing method and electronic equipment, there is the technical matters that cannot change the composition of desktop wallpaper, increasing the scope of application of desktop wallpaper for solving electronic equipment in prior art.
The embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and described method comprises:
Obtain the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detect acquisition one predetermined registration operation;
Obtain the described fisrt feature image on described first background image and described second feature image;
Keep the second feature of the fisrt feature of described fisrt feature image and second feature image constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
Optionally, described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.
Optionally, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
Optionally, the relative position relation of described change described fisrt feature image and described second feature image, generates the second background image, specifically comprises:
Obtain the dimensional parameters of the display unit of described electronic equipment;
Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
Optionally, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image;
The relative position relation of described change described fisrt feature image and described second feature image, to described second place relation, generates the second background image, is specially:
Change in described property parameters the location field of the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
Optionally, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, the relative position relation of described change described fisrt feature image and described second feature image is to described second place relation, generate the second background image, specifically comprise:
Obtain the first layer residing for described fisrt feature image needing to change, and/or the second layer residing for second feature image;
According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer;
Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
Optionally, when described first background image comprises one deck layer, the relative position relation of described change described fisrt feature image and described second feature image, to described second place relation, generates the second background image, specifically comprises:
Intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image;
According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area;
Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
Optionally, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.
The embodiment of the present application also provides a kind of electronic equipment, comprising:
First acquiring unit, for obtaining the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detecting unit, for detecting acquisition one predetermined registration operation;
Second acquisition unit, for obtaining described fisrt feature image on described first background image and described second feature image;
Generation unit, second feature for the fisrt feature and second feature image that keep described fisrt feature image is constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
Optionally, described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.
Optionally, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
Optionally, described generation unit, specifically for:
Obtain the dimensional parameters of the display unit of described electronic equipment;
Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
Optionally, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image;
Described generation unit, specifically for changing in described property parameters the location field of the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
Optionally, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, described generation unit, specifically for:
Obtain the first layer residing for described fisrt feature image needing to change, and/or the second layer residing for second feature image;
According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer;
Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
Optionally, when described first background image comprises one deck layer, described generation unit, specifically for:
Intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image;
According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area;
Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
Optionally, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.
Above-mentioned one or more technical scheme in the embodiment of the present application, at least has one or more technique effects following:
1, the embodiment of the present application comprises the first background image of fisrt feature image and second feature image by obtaining, when predetermined registration operation being detected, obtain fisrt feature image and the second feature image of background image, and when keeping the feature invariant of characteristic image, change fisrt feature image and second feature image relative position relation, generate the second background image, thus change the composition of desktop wallpaper, solve electronic equipment in prior art and there is the technical matters that cannot change the composition of desktop wallpaper, make desktop wallpaper can be suitable for the electronic equipment of different display size, and then add the desktop wallpaper scope of application.
2, the embodiment of the present application is by obtaining the dimensional parameters of the display unit of electronic equipment, according to the dimensional parameters determination fisrt feature image of display unit and the second place relation of second feature image, to generate the second background image that relative display unit has better composition, improve the image quality of the desktop wallpaper of electronic equipment.
3, the embodiment of the present application is when the relative position changing fisrt feature image and second feature image generates the second background image, change fisrt feature image and/or the relative position of second feature image in respective layer, then upgrade each layer and generate the second background image, decrease the calculated amount of wallpaper composition, improve the efficiency of generation second background image.
Accompanying drawing explanation
The schematic flow sheet of a kind of information processing method that Fig. 1 provides for the embodiment of the present application one;
The schematic diagram of generation second background image that Fig. 2 provides for the embodiment of the present application one;
The schematic diagram generating the second background image in mode one that Fig. 3 provides for the embodiment of the present application one;
The schematic diagram generating the second background image in mode two that Fig. 4 provides for the embodiment of the present application one;
The schematic diagram of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present application two.
Embodiment
In the technical scheme that the embodiment of the present application provides, by obtaining the first background image comprising fisrt feature image and second feature image, when predetermined registration operation being detected, obtain fisrt feature image and the second feature image of background image, and when keeping the feature invariant of characteristic image, change fisrt feature image and second feature image relative position relation, generate the second background image, thus change the composition of desktop wallpaper, solve electronic equipment in prior art and there is the technical matters that cannot change the composition of desktop wallpaper, make desktop wallpaper can be suitable for the electronic equipment of different display size, and then add the desktop wallpaper scope of application.
Below in conjunction with accompanying drawing, the main of the embodiment of the present application technical scheme is realized principle, embodiment and be explained in detail the beneficial effect that should be able to reach.
Embodiment one
Please refer to Fig. 1, the embodiment of the present application provides a kind of information processing method, is applied to an electronic equipment, and described method comprises:
Step 101: obtain the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Step 102: detect acquisition one predetermined registration operation;
Step 103: obtain the described fisrt feature image on described first background image and described second feature image;
Step 104: keep the second feature of the fisrt feature of described fisrt feature image and second feature image constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
In specific implementation process, the length and width ratio that the information processing method that the embodiment of the present application provides can be applied to display unit is greater than the electronic equipment setting threshold value.Wherein, setting threshold value can be more than or equal to 1 threshold value, namely the length of electronic equipment display unit is greater than width, as electronic equipments such as mobile phone, iPad mini.Below for mobile phone, the information processing method that the embodiment of the present application provides is described in detail.
Step 101 obtains the first background image, specifically can obtain the electronic equipment image that user chooses under the background mode arranging a graphical interaction interface, wherein, graphical interaction interface is the desktop of electronic equipment, includes the shortcut icon of multiple application program and desktop background and desktop wallpaper.First background image at least includes the fisrt feature image with fisrt feature and the second feature image with second feature, and the third feature image of background as fisrt feature image and second feature image.Wherein, fisrt feature and second feature are the characteristic element of relative self background of first background image (i.e. third feature image).Such as: the first background image that a Zhang Fei bird circles in the air in blue sky and white cloud, so flying bird and white clouds are the characteristic element in the background blue sky of this image relative, and fisrt feature can be flying bird, second feature can be white clouds; Again such as: the smiling face under a sun, fisrt feature can be then the sun, second feature can be then smiling face, and the fisrt feature image with the sun is point-blank with the first relative position relation of the characteristic image with smiling face.After step 101, execution step 102 is received.
Step 102 obtains a predetermined registration operation, and this predetermined registration operation is the operation for reconstructing current the first selected background image that electronic equipment is preset.This predetermined registration operation can operate for user's waggle electronic equipment, the operation of drawing a circle on the first background image, the operation of double-clicking the first background image, click the first background image the operation etc. of reconstruction buttons on the display region.When obtaining predetermined registration operation, as: user click the first background image institute reconstruction buttons on the display region time, continue execution step 103.
Step 103 obtains fisrt feature image on the first background image and second feature image.Concrete, electronic equipment can obtain fisrt feature image on the first background image and second feature image by the method such as image recognition, Image Edge-Detection.In addition, when the first background image has the property parameters of flag sign figure, electronic equipment can also obtain the image of property parameters mark as fisrt feature image and second feature image.After acquisition fisrt feature image and second feature image, continue to perform step 104.
Step 104 keep fisrt feature and second feature constant, change the relative position relation of fisrt feature image and second feature image, generate the second background image.Concrete, the second background image is the background image at a graphical interaction interface of electronic equipment display, and wherein, graphical interaction interface also includes the shortcut icon be presented on the second background image, and namely the second background image is the desktop wallpaper of electronic equipment.
In specific implementation process, change the relative position relation of fisrt feature image and second feature image, when generating the second background image, specifically first can obtain the dimensional parameters of the display unit of electronic equipment; Then, according to the dimensional parameters determination fisrt feature image of display unit and the second place relation of the second picture in picture picture, and the relative position relation changing fisrt feature image and second feature image is to second place relation, generates the second background image.Please refer to Fig. 2, such as: the fisrt feature image obtaining the first background image is the sun, second feature image is smiling face, fisrt feature image and second feature image are point-blank, electronic equipment obtains the dimensional parameters of display unit: length breadth ratio is 4:3, the preset table that electronic equipment searches dimensional parameters and feature locations relation determines that for length breadth ratio be the display unit of 4:3, the second place relational assumption of fisrt feature image and second feature image is upper and lower relation, so electronic equipment keep the sun and smiling face constant, change the relative position relation of the fisrt feature image with the sun and the second feature image with smiling face to upper and lower relation, generate the second background image.
In the embodiment of the present application, go back first background image of providing package containing a property parameters, this property parameters comprises the location field of the relative position relation characterizing fisrt feature image and second feature image.For this reason, electronic equipment is changing the relative position relation of fisrt feature image and second feature image to second place relation, when generating the second background image, specifically can change in property parameters the location field of the relative position relation characterizing fisrt feature image and second feature image, thus the relative position relation of change fisrt feature image and second feature image is to second place relation, generates the second background image.
Further, the embodiment of the present application also the first background image property parameters in, set up a description document, this description document is the position, size, rotation etc. that the display screen of different size describes each feature that wallpaper comprises.Electronic equipment can obtain the position, size, rotation etc. of each feature corresponding with the size of current display unit from description document, then changes corresponding location field, size field, rotation field to generate the second background image.
In specific implementation process, the embodiment of the present application also provides the following two kinds to generate the mode of the second background image:
Mode one: when the first background image comprises one deck layer, change the relative position relation of fisrt feature image and second feature image to second place relation, generate the second background image, specifically first can intercept fisrt feature image and/or second feature image, wherein, fisrt feature image is in the first area of the first background image, and second feature image is at the second area of the first background image.
Due to the intercepting of fisrt feature image and/or second feature image, the first area of the first background image and/or second area is made to occur that pixel lacks, in order to fill up the pixel of disappearance, when electronic equipment has intercepted fisrt feature image, electronic equipment, according to pixel adjacent with first area on the first background image, carries out pixel filling to first area; When electronic equipment has intercepted second feature image, electronic equipment, according to pixel adjacent with second area on the first background image, has carried out pixel filling to second area; When electronic equipment has intercepted fisrt feature image and second feature image, electronic equipment carries out pixel filling according to the pixel adjacent with first area to first area, and carries out pixel filling according to the pixel adjacent with second area to second area.Concrete, electronic equipment is when carrying out pixel and filling, the methods such as Scanning-line Filling algorithm, seed fill algorithm, edge marking filling, method of weighted mean Image Fusion can be adopted to carry out pixel filling, make fill formed image and side images basically identical.
Further, after completing pixel and filling, fisrt feature image is covered in the 3rd region of the first background image, and/or second feature image is covered in the 4th region of the first background image, the relative position relation of fisrt feature image and second feature image is made to change to described second place relation, to generate the second background image.Concrete, when electronic equipment has only intercepted fisrt feature image, fisrt feature image has been covered in the 3rd region between the second area at second feature image place with second place relation by electronic equipment; When electronic equipment has only intercepted second feature image, second feature image has been covered in the 4th region between the first area at fisrt feature image place with second place relation by electronic equipment; When electronic equipment has intercepted fisrt feature image and second feature image, electronic equipment first determines the 3rd region and the 4th region with second place relation in the first background image, then fisrt feature image is covered in the 3rd region, second feature image is covered in the 4th region, make the relative position relation of fisrt feature image and second feature image change to described second place relation.
Please refer to Fig. 3, such as: suppose that the first background image only has a layer, fisrt feature image A is positioned at the first area of the first background image, second feature image B is positioned at the second area of the first background image, to the position relationship longitudinal axis positions changed into residing for fisrt feature image A of the fisrt feature image A be positioned on same ordinate point and second feature image B is positioned on the longitudinal axis positions residing for second feature image B, so electronic equipment can intercept the fisrt feature image A of first area, then edge marking filling is adopted in the first region, pixel filling is carried out to first area, then fisrt feature image A is covered in pixel filled after the 3rd region of the first background image, to generate the second background image, as point (x will be positioned at, y) the fisrt feature image A at place covers point (x, y+5) place keeps second place relation with the second feature image being in point (x-5, y).According to same reason, electronic equipment separately can also intercept second feature image, or intercepts fisrt feature image and second feature image, then carries out pixel and to fill and characteristic image covers and then generation the second background image.
Mode two: when the first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, change the relative position relation of fisrt feature image and second feature image to second place relation, generate the second background image, specifically first can obtain the first layer residing for fisrt feature image needing to change, and/or the second layer residing for second feature image; Then, according to second place relation, change fisrt feature image and obtain the 3rd layer in the position of the first layer, and/or change second feature image in the position of the second layer acquisition the 4th layer; Then, the first layer is updated to the 3rd layer and/or the second layer is updated to the 4th image, generates the second background image.
Please refer to Fig. 4, such as: suppose that the first background image comprises 3 layer, fisrt feature image A is positioned in the first layer 1, second feature image B is positioned in the second layer 2, third feature image (i.e. the image background of the first background image self) is positioned on Background From Layer 0, to the position relationship longitudinal axis positions changed into residing for fisrt feature image A of the fisrt feature image A be positioned on same ordinate point and second feature image B is positioned on the longitudinal axis positions residing for second feature image B, so electronic equipment can obtain the fisrt feature image A in layer 1, then in the first layer 1, the direction that fisrt feature image A increases along the longitudinal axis is moved, as by fisrt feature image A from point (x, y) place move to point (x, y+5) place obtains the 3rd layer 3, vicissitudinous layer in final updating first background image, namely replace the first layer 1 by the 3rd layer 3 thus generate the second background image.Certainly, the characteristic image position in one or more layer can be changed according to different second place relations, then the layer after change is replaced former layer to obtain the second background image, specific implementation process is identical with above-mentioned example principles, just describes no longer one by one at this.
In mode two, when the relative position changing fisrt feature image and second feature image generates the second background image, change fisrt feature image and/or the relative position of second feature image in respective layer, then upgrade each layer and generate the second background image, ensure that the integrality of each layer, avoid calculating and the process of pixel filling, decrease the calculated amount of wallpaper composition, improve the efficiency of generation second background image.
In the above-described embodiments, the embodiment of the present application comprises the first background image of fisrt feature image and second feature image by obtaining, when predetermined registration operation being detected, obtain fisrt feature image and the second feature image of background image, and when keeping the feature invariant of characteristic image, change fisrt feature image and second feature image relative position relation, generate the second background image, thus change the composition of desktop wallpaper, solve electronic equipment in prior art and there is the technical matters that cannot change the composition of desktop wallpaper, make desktop wallpaper can be suitable for the electronic equipment of different display size, and then add the desktop wallpaper scope of application.And, by obtaining the dimensional parameters of the display unit of electronic equipment, according to the dimensional parameters determination fisrt feature image of display unit and the second place relation of second feature image, to generate the second background image that relative display unit has better composition, improve the image quality of the desktop wallpaper of electronic equipment.
Embodiment two
Please refer to Fig. 5, the embodiment of the present application provides a kind of electronic equipment, comprising:
First acquiring unit 501, for obtaining the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detecting unit 502, for detecting acquisition one predetermined registration operation;
Second acquisition unit 503, for obtaining described fisrt feature image on described first background image and described second feature image;
Generation unit 504, second feature for the fisrt feature and second feature image that keep described fisrt feature image is constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
In specific implementation process, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.Described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.Further, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
In specific implementation process, described generation unit 504 is specifically for the dimensional parameters obtaining the display unit of described electronic equipment; Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
In specific implementation process, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image; Described generation unit 504, specifically for changing in described property parameters the location field of the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
In specific implementation process, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, described generation unit 504, specifically for: obtain the first layer residing for the described fisrt feature image needing change, and/or the second layer residing for second feature image; According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer; Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
In specific implementation process, when described first background image comprises one deck layer, described generation unit 504, specifically for: intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image; According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area; Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
By the one or more technical schemes in the embodiment of the present application, following one or more technique effect can be realized:
1, the embodiment of the present application comprises the first background image of fisrt feature image and second feature image by obtaining, when predetermined registration operation being detected, obtain fisrt feature image and the second feature image of background image, and when keeping the feature invariant of characteristic image, change fisrt feature image and second feature image relative position relation, generate the second background image, thus change the composition of desktop wallpaper, solve electronic equipment in prior art and there is the technical matters that cannot change the composition of desktop wallpaper, make desktop wallpaper can be suitable for the electronic equipment of different display size, and then add the desktop wallpaper scope of application.
2, the embodiment of the present application is by obtaining the dimensional parameters of the display unit of electronic equipment, according to the dimensional parameters determination fisrt feature image of display unit and the second place relation of second feature image, to generate the second background image that relative display unit has better composition, improve the image quality of the desktop wallpaper of electronic equipment.
3, the embodiment of the present application is when the relative position changing fisrt feature image and second feature image generates the second background image, change fisrt feature image and/or the relative position of second feature image in respective layer, then upgrade each layer and generate the second background image, decrease the calculated amount of wallpaper composition, improve the efficiency of generation second background image.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Specifically, the computer program instructions that information processing method in the embodiment of the present application is corresponding can be stored in CD, hard disk, on the storage mediums such as USB flash disk, when the computer program instructions corresponding with this information processing method in storage medium is read by an electronic equipment or be performed, comprise the steps:
Obtain the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detect acquisition one predetermined registration operation;
Obtain the described fisrt feature image on described first background image and described second feature image;
Keep the second feature of the fisrt feature of described fisrt feature image and second feature image constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
Optionally, described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.
Optionally, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
Optionally, the relative position relation of described change described fisrt feature image and described second feature image, generates the second background image, specifically comprises: the dimensional parameters obtaining the display unit of described electronic equipment; Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
Optionally, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image; The relative position relation of described change described fisrt feature image and described second feature image is to described second place relation, generate the second background image, be specially: the location field changing in described property parameters the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
Optionally, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, the relative position relation of described change described fisrt feature image and described second feature image is to described second place relation, generate the second background image, specifically comprise: obtain the first layer residing for described fisrt feature image that needs change, and/or the second layer residing for second feature image; According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer; Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
Optionally, when described first background image comprises one deck layer, the relative position relation of described change described fisrt feature image and described second feature image is to described second place relation, generate the second background image, specifically comprise: intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image; According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area;
Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
Optionally, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (16)

1. an information processing method, is applied to an electronic equipment, and described method comprises:
Obtain the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detect acquisition one predetermined registration operation;
Obtain the described fisrt feature image on described first background image and described second feature image;
Keep the second feature of the fisrt feature of described fisrt feature image and second feature image constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
2. the method for claim 1, it is characterized in that, described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.
3. the method for claim 1, is characterized in that, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
4. the method as described in as arbitrary in claims 1 to 3, it is characterized in that, the relative position relation of described change described fisrt feature image and described second feature image, generates the second background image, specifically comprises:
Obtain the dimensional parameters of the display unit of described electronic equipment;
Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
5. method as claimed in claim 4, it is characterized in that, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image;
The relative position relation of described change described fisrt feature image and described second feature image, to described second place relation, generates the second background image, is specially:
Change in described property parameters the location field of the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
6. method as claimed in claim 4, it is characterized in that, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, the relative position relation of described change described fisrt feature image and described second feature image, to described second place relation, generates the second background image, specifically comprises:
Obtain the first layer residing for described fisrt feature image needing to change, and/or the second layer residing for second feature image;
According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer;
Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
7. method as claimed in claim 4, it is characterized in that, when described first background image comprises one deck layer, the relative position relation of described change described fisrt feature image and described second feature image is to described second place relation, generate the second background image, specifically comprise:
Intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image;
According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area;
Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
8. the method for claim 1, is characterized in that, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.
9. an electronic equipment, comprising:
First acquiring unit, for obtaining the first background image, described first background image at least comprises the fisrt feature image with fisrt feature and the second feature image with second feature, described fisrt feature image and described second feature image have the first relative position relation;
Detecting unit, for detecting acquisition one predetermined registration operation;
Second acquisition unit, for obtaining described fisrt feature image on described first background image and described second feature image;
Generation unit, second feature for the fisrt feature and second feature image that keep described fisrt feature image is constant, change the relative position relation of described fisrt feature image and described second feature image, generate the second background image, fisrt feature image described in wherein said second background image and described second feature image have the second relative position relation.
10. electronic equipment as claimed in claim 9, it is characterized in that, described second background image is the background image at a graphical interaction interface of described electronic equipment display, and wherein said graphical interaction interface also includes the shortcut icon be presented on described second background image.
11. electronic equipments as claimed in claim 9, is characterized in that, described first background image also comprises the third feature image of the background as described fisrt feature image and described second feature image.
12. as arbitrary in claim 9 ~ 11 as described in electronic equipment, it is characterized in that, described generation unit, specifically for:
Obtain the dimensional parameters of the display unit of described electronic equipment;
Determine described second place relation according to described dimensional parameters, and change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate the second background image.
13. electronic equipments as claimed in claim 12, it is characterized in that, described first background image comprises a property parameters, and described property parameters comprises the location field of the relative position relation characterizing described fisrt feature image and described second feature image;
Described generation unit, specifically for changing in described property parameters the location field of the relative position relation characterizing described fisrt feature image and described second feature image, to change the relative position relation of described fisrt feature image and described second feature image to described second place relation, generate described second background image.
14. electronic equipments as claimed in claim 12, is characterized in that, when described first background image comprises n layer layer, n be more than or equal to 2 integer, when each characteristic image occupies one deck layer, described generation unit, specifically for:
Obtain the first layer residing for described fisrt feature image needing to change, and/or the second layer residing for second feature image;
According to described second place relation, change described fisrt feature image and obtain the 3rd layer in the position of described first layer, and/or change described second feature image in the position of described second layer acquisition the 4th layer;
Described first layer is updated to described 3rd layer and/or described second layer is updated to described 4th image, generates described second background image.
15. electronic equipments as claimed in claim 12, is characterized in that, when described first background image comprises one deck layer, and described generation unit, specifically for:
Intercept institute's fisrt feature image and/or described second feature image, wherein, described fisrt feature image is in the first area of described first background image, and described second feature image is at the second area of described first background image;
According to pixel adjacent with described first area on described first background image, pixel filling is carried out to described first area; And/or according to pixel adjacent with described second area on described first background image, pixel filling is carried out to described second area;
Described fisrt feature image is covered in the 3rd region of described first background image, and/or described second feature image is covered in the 4th region of described first background image, the relative position relation of described fisrt feature image and described second feature image is made to change to described second place relation, to generate described second background image.
16. electronic equipments as claimed in claim 9, it is characterized in that, the length and width ratio of the display unit of described electronic equipment is greater than setting threshold value.
CN201410488511.2A 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment Active CN104238892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410488511.2A CN104238892B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410488511.2A CN104238892B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104238892A true CN104238892A (en) 2014-12-24
CN104238892B CN104238892B (en) 2018-06-01

Family

ID=52227085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410488511.2A Active CN104238892B (en) 2014-09-22 2014-09-22 A kind of information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104238892B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461439A (en) * 2014-12-29 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105912189A (en) * 2016-03-29 2016-08-31 乐视控股(北京)有限公司 Method and device for arranging desktop icons
CN107211056A (en) * 2015-01-30 2017-09-26 华为技术有限公司 The control method and terminal of a kind of terminal wallpaper
CN108270978A (en) * 2016-12-30 2018-07-10 纳恩博(北京)科技有限公司 A kind of image processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573689A (en) * 2003-06-18 2005-02-02 Lg电子株式会社 Method for controlling display mode in portable computer
CN101483719A (en) * 2008-01-10 2009-07-15 株式会社尼康 Information displaying apparatus
CN103164119A (en) * 2013-02-25 2013-06-19 东莞宇龙通信科技有限公司 Communication terminal and self-adaption display method of images
CN103826061A (en) * 2014-02-20 2014-05-28 联想(北京)有限公司 Information processing method and electronic device
CN103870124A (en) * 2014-03-03 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1573689A (en) * 2003-06-18 2005-02-02 Lg电子株式会社 Method for controlling display mode in portable computer
CN101483719A (en) * 2008-01-10 2009-07-15 株式会社尼康 Information displaying apparatus
CN103164119A (en) * 2013-02-25 2013-06-19 东莞宇龙通信科技有限公司 Communication terminal and self-adaption display method of images
CN103826061A (en) * 2014-02-20 2014-05-28 联想(北京)有限公司 Information processing method and electronic device
CN103870124A (en) * 2014-03-03 2014-06-18 联想(北京)有限公司 Information processing method and electronic equipment
CN103945121A (en) * 2014-03-24 2014-07-23 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461439A (en) * 2014-12-29 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN104461439B (en) * 2014-12-29 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107211056A (en) * 2015-01-30 2017-09-26 华为技术有限公司 The control method and terminal of a kind of terminal wallpaper
CN107211056B (en) * 2015-01-30 2020-04-03 华为技术有限公司 Terminal wallpaper control method and terminal
CN105912189A (en) * 2016-03-29 2016-08-31 乐视控股(北京)有限公司 Method and device for arranging desktop icons
CN108270978A (en) * 2016-12-30 2018-07-10 纳恩博(北京)科技有限公司 A kind of image processing method and device

Also Published As

Publication number Publication date
CN104238892B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
CN107016924B (en) Tile map generation method, updating method and updating device in virtual map
US9396530B2 (en) Low memory content aware image modification
CN104038807B (en) A kind of figure layer mixed method and device based on OpenGL
KR101636808B1 (en) Dynamic graphical interface shadows
US9202309B2 (en) Methods and apparatus for digital stereo drawing
CN110738722B (en) Thermodynamic diagram texture generation method, device and equipment
CN110392904B (en) Method for dynamic image color remapping using alpha blending
CN106658139B (en) Focus control method and device
CN111583379B (en) Virtual model rendering method and device, storage medium and electronic equipment
CN104238892A (en) Information processing method and electronic equipment
US9996961B2 (en) Method and apparatus for generating a composite image based on an ambient occlusion
CN105574931A (en) Electronic map road drawing method and device
CN111450529A (en) Game map acquisition method and device, storage medium and electronic device
KR20160046574A (en) Graphic processing unit, graphic processing system comprising the same, antialiasing method using the same
CN114742931A (en) Method and device for rendering image, electronic equipment and storage medium
CN104991695A (en) Information processing method and electronic equipment
CN108010095B (en) Texture synthesis method, device and equipment
CN108280887B (en) Shadow map determination method and device
CN109658495B (en) Rendering method and device for ambient light shielding effect and electronic equipment
US10109102B2 (en) Rendering an infinite plane
CN110992438B (en) Picture editing method and device
WO2018175299A1 (en) System and method for rendering shadows for a virtual environment
AU2017212441B2 (en) Haptic correlated graphic effects
US20140354627A1 (en) Rendering a 3d shape
CN104360854A (en) Information 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
GR01 Patent grant
GR01 Patent grant