CN106980449A - Image switches the rendering method and device of transition effect - Google Patents

Image switches the rendering method and device of transition effect Download PDF

Info

Publication number
CN106980449A
CN106980449A CN201710209175.7A CN201710209175A CN106980449A CN 106980449 A CN106980449 A CN 106980449A CN 201710209175 A CN201710209175 A CN 201710209175A CN 106980449 A CN106980449 A CN 106980449A
Authority
CN
China
Prior art keywords
image
transition
frame
picture element
per
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
CN201710209175.7A
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710209175.7A priority Critical patent/CN106980449A/en
Publication of CN106980449A publication Critical patent/CN106980449A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The disclosure provides the rendering method and device that a kind of image switches transition effect, and methods described includes:When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image are obtained, the First Transition image is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;Obtain per the corresponding picture element matrix of frame First Transition image;Obtained based on the display parameters and the picture element matrix per the corresponding image output data of frame First Transition image;When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows described per frame First Transition image one by one, so that the transition effect of first process is presented.The disclosure can be optimized to above-mentioned handoff procedure, made the handoff procedure more flexibility, simplified cumbersome optimization process, improve optimization efficiency.

Description

Image switches the rendering method and device of transition effect
Technical field
This disclosure relates to computer software technical field, the rendering method of more particularly to a kind of image switching transition effect and Device.
Background technology
At present, continuing to develop with electronic technology, various electronic equipments are widely used in the life of people, a lot Electronic equipment being capable of display image.Therefore, album function is provided with some electronic equipments.In user's Album for glancing over pictures, typically Image viewing interface can be entered first, the thumbnail of image is shown in image viewing interface.User can be according to thumbnail Understand the general contents of image, and select to want the target image that browses, clicking on the thumbnail of target image can be displayed in full screen The browse graph of target image.At present, it is usually that thumbnail is directly switched into browse graph, the mistake of switching after thumbnail is clicked on Journey does not have transition, more stiff., can be using opengl frameworks to above-mentioned switching in order to increase the flexibility of above-mentioned handoff procedure Process optimizes processing, still, and the process of optimization processing is cumbersome, less efficient.
The content of the invention
In order to solve the above-mentioned technical problem, the disclosure provides the rendering method and device that a kind of image switches transition effect.
According to the first aspect of the embodiment of the present disclosure there is provided the rendering method that a kind of image switches transition effect, including:
When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image are obtained, it is described First Transition image is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;
Obtain per the corresponding picture element matrix of frame First Transition image;
The corresponding image output number per frame First Transition image is obtained based on the display parameters and the picture element matrix According to;
When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows one by one Show described per frame First Transition image, so that the transition effect of first process is presented.
Optionally, the display parameters obtained per frame First Transition image, including:
The display parameters of the thumbnail image are obtained as the first parameter;
The display parameters of the image browsing are obtained as the second parameter;
The display parameters per frame First Transition image are determined according to predetermined rule, make the display of every frame First Transition image Parameter is between first parameter and second parameter.
Optionally, the display parameters include:The location parameter and dimensional parameters of image.
Optionally, the display parameters also include:The efficacy parameter of image.
Optionally, it is described to obtain per the corresponding picture element matrix of frame First Transition image, including:
Obtain the picture element matrix of the image browsing;
Obtain default one group of first transition matrix;
The picture element matrix of the image browsing is multiplied with each first transition matrix respectively, to obtain every frame first The corresponding picture element matrix of transfer image acquisition.
Optionally, the picture element matrix for obtaining the image browsing, including:
Obtain the picture element matrix of the thumbnail image;
Obtain default second transition matrix;
The picture element matrix of the thumbnail image is multiplied with second transition matrix, the pixel of the image browsing is obtained Matrix.
Optionally, it is described to obtain corresponding per frame First Transition image based on the display parameters and the picture element matrix Image output data, including:
Determined according to the display parameters per the corresponding viewing area of frame First Transition image;
The viewing area is determined according to the corresponding viewing area of every frame First Transition image and the picture element matrix The corresponding display information of pixel, to obtain the corresponding image output data of every frame First Transition image.
Optionally, methods described also includes:
When detecting the instruction for the list interface for returning to thumbnail image, obtain per the corresponding image of the transfer image acquisition of frame second Output data, second transfer image acquisition shows for transition during switching to the second of the thumbnail image from the image browsing The image shown;
When switching to the thumbnail image from the image browsing, according to described per the corresponding figure of the transfer image acquisition of frame second As output data, transition shows described per the transfer image acquisition of frame second one by one, so that the transition effect of the second process is presented.
According to the second aspect of the embodiment of the present disclosure there is provided the presentation device that a kind of image switches transition effect, including:
First acquisition module, is configured as detecting for when checking instruction of thumbnail image, obtains per the mistake of frame first The display parameters of image are crossed, the First Transition image is the first mistake that corresponding image browsing is switched to from the thumbnail image The image that transition is shown in journey;
Second acquisition module, is configured as obtaining the corresponding picture element matrix of every frame First Transition image;
3rd acquisition module, is configured as obtaining per frame First Transition based on the display parameters and the picture element matrix The corresponding image output data of image;
First output module, is configured as when switching to corresponding image browsing from the thumbnail image, according to described Transition shows described per frame First Transition image to image output data one by one, so that the transition effect of first process is presented.
Optionally, first acquisition module includes:
First acquisition submodule, is configured as obtaining the display parameters of the thumbnail image as the first parameter;
Second acquisition submodule, is configured as obtaining the display parameters of the image browsing as the second parameter;
Determination sub-module, is configured as determining the display parameters of every frame First Transition image according to predetermined rule, makes every The display parameters of frame First Transition image are between first parameter and second parameter.
Optionally, the display parameters include:The location parameter and dimensional parameters of image.
Optionally, the display parameters also include:The efficacy parameter of image.
Optionally, second acquisition module includes:
3rd acquisition submodule, is configured as obtaining the picture element matrix of the image browsing;
4th acquisition submodule, is configured as obtaining default one group of first transition matrix;
Calculating sub module, be configured as by the picture element matrix of the image browsing respectively with each first transition matrix It is multiplied, to obtain the corresponding picture element matrix of every frame First Transition image.
Optionally, the 3rd acquisition submodule is configured to:
Obtain the picture element matrix of the thumbnail image;
Obtain default second transition matrix;
The picture element matrix of the thumbnail image is multiplied with second transition matrix, the pixel of the image browsing is obtained Matrix.
Optionally, the 3rd acquisition module includes:
Region determination sub-module, is configured as being determined per the corresponding display of frame First Transition image according to the display parameters Region;
Data determination sub-module, is configured as according to per the corresponding viewing area of frame First Transition image and the pixel Matrix determines the corresponding display information of the pixel of the viewing area, defeated to obtain the corresponding image of every frame First Transition image Go out data.
Optionally, described device also includes:
4th acquisition module, is configured as, when detecting the instruction for the list interface for returning to thumbnail image, obtaining per frame The corresponding image output data of second transfer image acquisition, second transfer image acquisition is to switch to the breviary from the image browsing The image that transition is shown during the second of image;
Second output module, is configured as when switching to the thumbnail image from the image browsing, according to described every Transition shows described per the transfer image acquisition of frame second to the corresponding image output data of the transfer image acquisition of frame second one by one, so that the second mistake is presented The transition effect of journey.
According to the third aspect of the embodiment of the present disclosure there is provided the presentation device that a kind of image switches transition effect, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image are obtained, it is described First Transition image is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;
Obtain per the corresponding picture element matrix of frame First Transition image;
The corresponding image output number per frame First Transition image is obtained based on the display parameters and the picture element matrix According to;
When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows one by one Show described per frame First Transition image, so that the transition effect of first process is presented.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail image When checking instruction, the display parameters per frame First Transition image are obtained, are obtained per the corresponding picture element matrix of frame First Transition image, Obtained based on above-mentioned display parameters and above-mentioned picture element matrix per the corresponding image output data of frame First Transition image, and from When thumbnail image switches to corresponding image browsing, according to image output data, transition is shown per frame First Transition image one by one, So that the transition effect of the first process is presented.So as to be optimized to above-mentioned handoff procedure, make the handoff procedure more flexible Property, cumbersome optimization process is simplified, optimization efficiency is improved.
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, according to the display parameters of thumbnail image And the display parameters of the corresponding image browsing of the thumbnail image, determined according to predetermined rule per the aobvious of frame First Transition image Show parameter.So as to be optimized to above-mentioned handoff procedure, make the handoff procedure more flexibility, further simplify cumbersome Optimization process, improve optimization efficiency.
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, according to the picture element matrix of image browsing And default one group of first transition matrix, obtain per the corresponding picture element matrix of frame First Transition image.So as to above-mentioned Handoff procedure is optimized, and is made the handoff procedure more flexibility, be further simplify cumbersome optimization process, improves optimization Efficiency.
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, is determined according to above-mentioned display parameters every The corresponding viewing area of frame First Transition image, and according to the corresponding viewing area of every frame First Transition image and picture element matrix The corresponding display information of pixel of above-mentioned viewing area is determined, to obtain the corresponding image output number of every frame First Transition image According to.So as to be optimized to above-mentioned handoff procedure, make the handoff procedure more flexibility, further simplify cumbersome excellent Change process, improves optimization efficiency.
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail image When checking instruction, by the display parameters and the display parameters of image browsing according to thumbnail image, according to predetermined rule really The fixed display parameters per frame First Transition image, and picture element matrix and default one group of first conversion square according to image browsing Battle array, is obtained per the corresponding picture element matrix of frame First Transition image.Obtain every based on above-mentioned display parameters and above-mentioned picture element matrix The corresponding image output data of frame First Transition image, and when switching to corresponding image browsing from thumbnail image, according to figure As output data, transition is shown per frame First Transition image, so that the transition effect of the first process is presented one by one.So as to upper State handoff procedure to optimize, make the handoff procedure more flexibility, further simplify cumbersome optimization process, improve excellent Change efficiency.
The image that embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail image When checking instruction, the display parameters per frame First Transition image are obtained, are obtained per the corresponding picture element matrix of frame First Transition image, Obtained based on above-mentioned display parameters and above-mentioned picture element matrix per the corresponding image output data of frame First Transition image, and from When thumbnail image switches to corresponding image browsing, according to image output data, transition is shown per frame First Transition image one by one, So that the transition effect of the first process is presented.When switching to corresponding image browsing from thumbnail image, exported according to above-mentioned image Transition is shown per frame First Transition image, so that the transition effect of the first process is presented data one by one.Detecting return thumbnail During the instruction of the list interface of picture, obtain per the corresponding image output data of the transfer image acquisition of frame second.So as to thumbnail As being optimized with the process that image browsing mutually switches, make the more flexibility of above-mentioned handoff procedure, further simplify cumbersome Optimization process, improve optimization efficiency.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of stream of the rendering method of image switching transition effect of the disclosure according to an exemplary embodiment Cheng Tu;
Fig. 2 is the rendering method that another image of the disclosure according to an exemplary embodiment switches transition effect Flow chart;
Fig. 3 is the rendering method that another image of the disclosure according to an exemplary embodiment switches transition effect Flow chart;
Fig. 4 is a kind of frame of the presentation device of image switching transition effect of the disclosure according to an exemplary embodiment Figure;
Fig. 5 is the presentation device of another image switching transition effect of the disclosure according to an exemplary embodiment Block diagram;
Fig. 6 is the presentation device of another image switching transition effect of the disclosure according to an exemplary embodiment Block diagram;
Fig. 7 is the presentation device of another image switching transition effect of the disclosure according to an exemplary embodiment Block diagram;
Fig. 8 is the presentation device of another image switching transition effect of the disclosure according to an exemplary embodiment Block diagram;
Fig. 9 is the one of the presentation device of a kind of image switching transition effect of the disclosure according to an exemplary embodiment Structural representation.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
The term used in the disclosure is the purpose only merely for description specific embodiment, and is not intended to be limiting the disclosure. " one kind ", " described " and "the" of singulative used in disclosure and the accompanying claims book are also intended to including majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped It may be combined containing one or more associated any or all of project listed.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of disclosure scope, the first information can also be referred to as the second information, similarly, and the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
As shown in figure 1, Fig. 1 is a kind of rendering method of image switching transition effect according to an exemplary embodiment Flow chart, this method can apply in terminal.In the present embodiment, in order to make it easy to understand, combining has display screen and energy The terminal device of display image is illustrated.It will be understood by those skilled in the art that the terminal device can include but not limit In the mobile terminal device of such as smart mobile phone, intelligent wearable equipment, tablet personal computer, personal digital assistant etc..This method Comprise the following steps:
In a step 101, when detecting for when checking instruction of thumbnail image, obtain per the aobvious of frame First Transition image Show parameter.
In the present embodiment, the process for switching to corresponding image browsing from thumbnail image is the first process, First Transition Image is the multiple image that shows of transition during first.Check that instruction is for indicating to check above-mentioned contracting for thumbnail image The instruction of sketch map picture, for example, it may be clicking on instruction triggered during the thumbnail image etc., it will be understood that for thumbnail image Check that instruction can also be the instruction triggered by another way, the disclosure is to the above-mentioned specific triggering mode side for checking instruction Face is not limited.
In the present embodiment, when detecting for when checking instruction of thumbnail image, obtain per frame First Transition image Display parameters.The display parameters can include the location parameter and dimensional parameters of image, for example, the centre coordinate of image, figure The long edge size of picture, short side dimension of image etc..The display parameters can further include the efficacy parameter of image, example Such as, the parameter of transparency of image and other effects.
Specifically, the display parameters of every frame First Transition image can be obtained in the following way:It is possible, firstly, to obtain The display parameters of the thumbnail image obtain the display parameters of the corresponding image browsing of the thumbnail image as the first parameter Two parameters.The display parameters per frame First Transition image are determined according to predetermined rule, make the display of every frame First Transition image Parameter is between the first parameter and the second parameter.Wherein, predetermined rule can be any rational rule, this public affairs Do not limited in terms of opening to predetermined regular particular content.For example, it is assumed that the first parameter is A, the second parameter is B, there is N frames first Transfer image acquisition, then can be arithmetic progression by the display parameter setting of N frame First Transition images, tolerance settings be (B-A)/ (N+1).Can also be a Geometric Sequence by the display parameter setting of N frame First Transition images, common ratio is set as q so that qN+1 =B/A.Can also be any one regular ordered series of numbers, and N frames first by the display parameter setting of N frame First Transition images The display parameters of transfer image acquisition are between the first parameter and the second parameter.
In a step 102, obtain per the corresponding picture element matrix of frame First Transition image.
In general, one picture element matrix of each image correspondence, picture element matrix have recorded the display information of the image, because This is, it is necessary to obtain the corresponding picture element matrix of every frame First Transition image.In the present embodiment, it can obtain every in the following way The corresponding picture element matrix of frame First Transition image:First, the picture element matrix of the corresponding image browsing of the thumbnail image is obtained.Specifically For, the picture element matrix of the thumbnail image can be first obtained, then, default second transition matrix is obtained.The second conversion square Battle array can be referred to as basis matrix to change the transition matrix used to corresponding image browsing by thumbnail image BaseMatrix.The picture element matrix of thumbnail image is multiplied with second transition matrix, the pixel square of image browsing can be obtained Battle array.
Then, default one group of first transition matrix is obtained.Each transition matrix correspondence in the transition matrix of group first One First Transition image.Each first transition matrix is changed to corresponding First Transition image by image browsing and used Transition matrix, can be referred to as application matrix SuppMatrix.The picture element matrix of image browsing is changed with each first respectively Matrix multiple, can obtain the corresponding picture element matrix of every frame First Transition image.
In step 103, obtained based on above-mentioned display parameters and above-mentioned picture element matrix per frame First Transition image correspondence Image output data.
In general, if wanting to export a two field picture, first have to determine viewing area and the picture element matrix of the image, then The image could be obtained is particularly shown information.In the present embodiment, above-mentioned display parameters and above-mentioned pixel square can be based on Battle array is obtained per the corresponding image output data of frame First Transition image.Specifically, can be according to every frame First Transition image The positional information and dimension information of the image included in display parameters, it is determined that per the corresponding viewing area of frame First Transition image Domain.Then, the pixel pair of viewing area is determined according to the corresponding viewing area of every frame First Transition image and picture element matrix The display information answered, to obtain the corresponding image output data of every frame First Transition image.
At step 104, when switching to corresponding image browsing from thumbnail image, according to above-mentioned image output data by One transition is shown per frame First Transition image, so that the transition effect of the first process is presented.
In the present embodiment, when detecting for after checking instruction of thumbnail image, switched to from thumbnail image corresponding Image browsing., can be according to above-mentioned image output data transition one by one when switching to corresponding image browsing from thumbnail image Display finally shows corresponding image browsing per frame First Transition image, so as to switched to from thumbnail image it is corresponding During image browsing, the transition effect of the first process is showed, the transition effect can become larger into correspondence by thumbnail image Image browsing, transparency is gradually reduced.It is appreciated that the transition effect can also be other transition effects, the disclosure Do not limited in terms of concrete form and content to transition effect.
The image that above-described embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail When checking instruction of picture, obtains the display parameters per frame First Transition image, obtains per the corresponding pixel of frame First Transition image Matrix, is obtained per the corresponding image output data of frame First Transition image based on above-mentioned display parameters and above-mentioned picture element matrix, And when switching to corresponding image browsing from thumbnail image, according to image output data, transition is shown per frame First Transition one by one Image, so that the transition effect of the first process is presented.So as to be optimized to above-mentioned handoff procedure, have more the handoff procedure Flexibility, simplifies cumbersome optimization process, improves optimization efficiency.
As shown in Fig. 2 another images of the Fig. 2 according to an exemplary embodiment switches the rendering method of transition effect Flow chart, the process for obtaining the corresponding image output data per frame First Transition image, the party is described in detail in the embodiment Method can apply in terminal, comprise the following steps:
In step 201, when detecting for when checking instruction of thumbnail image, the display parameters of acquisition thumbnail image are made For the first parameter.
In step 202., the display parameters for obtaining the corresponding image browsing of thumbnail image are used as the second parameter.
In step 203, the display parameters per frame First Transition image are determined according to predetermined rule, makes every mistake of frame first The display parameters of image are crossed between the first parameter and the second parameter.
In step 204, the picture element matrix of above-mentioned image browsing is obtained.
In step 205, default one group of first transition matrix is obtained.
In step 206, the picture element matrix of above-mentioned image browsing is multiplied with each first transition matrix respectively, to obtain Per the corresponding picture element matrix of frame First Transition image.
In step 207, determined according to above-mentioned display parameters per the corresponding viewing area of frame First Transition image.
In a step 208, viewing area is determined according to the corresponding viewing area of every frame First Transition image and picture element matrix The corresponding display information of pixel in domain, to obtain the corresponding image output data of every frame First Transition image.
In step 209, when switching to corresponding image browsing from thumbnail image, according to above-mentioned image output data by One transition is shown per frame First Transition image, so that the transition effect of the first process is presented.
It should be noted that for the step identical with Fig. 1 embodiments, no longer being gone to live in the household of one's in-laws on getting married in above-mentioned Fig. 2 embodiments State, related content can be found in Fig. 1 embodiments.
The image that above-described embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail When checking instruction of picture, by the display parameters and the display parameters of image browsing according to thumbnail image, according to predetermined rule Then determine the display parameters per frame First Transition image, and picture element matrix according to image browsing and default one group first turn Matrix is changed, is obtained per the corresponding picture element matrix of frame First Transition image.Obtained based on above-mentioned display parameters and above-mentioned picture element matrix The corresponding image output data of every frame First Transition image is taken, and when switching to corresponding image browsing from thumbnail image, is pressed According to image output data, transition is shown per frame First Transition image, so that the transition effect of the first process is presented one by one.So as to Above-mentioned handoff procedure is optimized, makes the handoff procedure more flexibility, cumbersome optimization process is further simplify, improved Optimization efficiency.
As shown in figure 3, another images of the Fig. 3 according to an exemplary embodiment switches the rendering method of transition effect Flow chart, the process for the list interface for returning to thumbnail image is described in detail in the embodiment, and this method can apply to terminal In, comprise the following steps:
In step 301, when detecting for when checking instruction of thumbnail image, obtain per the aobvious of frame First Transition image Show parameter.
In step 302, obtain per the corresponding picture element matrix of frame First Transition image.
In step 303, obtained based on above-mentioned display parameters and above-mentioned picture element matrix per frame First Transition image correspondence Image output data.
In step 304, when switching to corresponding image browsing from thumbnail image, according to above-mentioned image output data by One transition is shown per frame First Transition image, so that the transition effect of the first process is presented.
In step 305, when detecting the instruction for the list interface for returning to thumbnail image, obtain per frame the second transition figure As corresponding image output data.
In the present embodiment, the process that the list interface of thumbnail image is back to from image browsing is the second process, second Transfer image acquisition is the multiple image that shows of transition during second.The instruction for returning to the list interface of thumbnail image is for indicating The instruction of the list interface of thumbnail image is returned to, for example, it may be clicking on instruction triggered during return push-button etc., Ke Yili Solution, the instruction can also be the instruction triggered by another way, the disclosure in terms of the specific triggering mode of the instruction not Limit.
In the present embodiment, when detecting the instruction for the list interface for returning to thumbnail image, every frame second can be obtained The corresponding image output data of transfer image acquisition.Specifically, it is possible, firstly, to obtain the display parameters of every transfer image acquisition of frame second. For example, the display parameters that can obtain the corresponding image browsing of the thumbnail image obtain the thumbnail image as the second parameter Display parameters are used as the first parameter.The display parameters per the transfer image acquisition of frame second are determined according to predetermined rule, make every frame second The display parameters of transfer image acquisition are between the second parameter and the first parameter.Wherein, predetermined rule can be any Rational rule, the disclosure is not limited predetermined regular particular content aspect.
Then, the corresponding picture element matrix of every transfer image acquisition of frame second can be obtained, First Transition image is specifically referred to The acquisition modes of corresponding picture element matrix.Then, display parameters and picture element matrix based on every transfer image acquisition of frame second are obtained Per the corresponding image output data of the transfer image acquisition of frame second.Specifically, it can be joined according to the display of every transfer image acquisition of frame second The positional information and dimension information of the image included in number, it is determined that per the corresponding viewing area of the transfer image acquisition of frame second.Then, The corresponding display of the pixel of viewing area is determined according to the corresponding viewing area of every transfer image acquisition of frame second and picture element matrix Information, to obtain the corresponding image output data of every transfer image acquisition of frame second.
Within step 306, when switching to thumbnail image from image browsing, according to the corresponding figure of every transfer image acquisition of frame second As output data, transition is shown per the transfer image acquisition of frame second, so that the transition effect of the second process is presented one by one.
In the present embodiment, after the instruction for the list interface for returning to thumbnail image is detected, switched to from image browsing Thumbnail image.When switching to thumbnail image from image browsing, according to the corresponding image output data of every transfer image acquisition of frame second Transition is shown per the transfer image acquisition of frame second, so that the transition effect of the second process is presented one by one.
It should be noted that for the step identical with Fig. 1 embodiments, no longer being gone to live in the household of one's in-laws on getting married in above-mentioned Fig. 3 embodiments State, related content can be found in Fig. 1 embodiments.
The image that above-described embodiment of the disclosure is provided switches the rendering method of transition effect, is detecting for thumbnail When checking instruction of picture, obtains the display parameters per frame First Transition image, obtains per the corresponding pixel of frame First Transition image Matrix, is obtained per the corresponding image output data of frame First Transition image based on above-mentioned display parameters and above-mentioned picture element matrix, And when switching to corresponding image browsing from thumbnail image, according to image output data, transition is shown per frame First Transition one by one Image, so that the transition effect of the first process is presented.When switching to corresponding image browsing from thumbnail image, according to above-mentioned image Transition is shown per frame First Transition image, so that the transition effect of the first process is presented output data one by one.Contracting is returned detecting During the instruction of the list interface of sketch map picture, obtain per the corresponding image output data of the transfer image acquisition of frame second.So as to contracting Sketch map picture is optimized with the process that image browsing mutually switches, and is made the more flexibility of above-mentioned handoff procedure, be further simplify Cumbersome optimization process, improves optimization efficiency.
It should be noted that although the operation of method of disclosure is described with particular order in the accompanying drawings, this is not required that Or imply that these must be performed according to the particular order operates, or the operation having to carry out shown in whole could realize the phase The result of prestige.On the contrary, the step of describing in flow chart can change execution sequence.Additionally or alternatively, it is convenient to omit some Multiple steps are merged into a step execution, and/or a step is decomposed into execution of multiple steps by step.
Corresponding with the rendering method embodiment that earlier figures picture switches transition effect, the disclosure additionally provides image and switched Cross the embodiment of the presentation device of effect.
As shown in figure 4, Fig. 4 is a kind of image switching transition effect of the disclosure according to an exemplary embodiment is in Existing device block diagram, the device includes:First acquisition module 401, the second acquisition module 402, the 3rd acquisition module 403 and first is defeated Go out module 404.
Wherein, the first acquisition module 401, is configured as detecting for when checking instruction of thumbnail image, obtains every The display parameters of frame First Transition image, First Transition image is the first mistake that corresponding image browsing is switched to from thumbnail image The image that transition is shown in journey.
In the present embodiment, the process for switching to corresponding image browsing from thumbnail image is the first process, First Transition Image is the multiple image that shows of transition during first.Check that instruction is for indicating to check above-mentioned contracting for thumbnail image The instruction of sketch map picture, for example, it may be clicking on instruction triggered during the thumbnail image etc., it will be understood that for thumbnail image Check that instruction can also be the instruction triggered by another way, the disclosure is to the above-mentioned specific triggering mode side for checking instruction Face is not limited.
In the present embodiment, when detecting for when checking instruction of thumbnail image, obtain per frame First Transition image Display parameters.The display parameters can include the location parameter and dimensional parameters of image, for example, the centre coordinate of image, figure The long edge size of picture, short side dimension of image etc..The display parameters can further include the efficacy parameter of image, example Such as, the parameter of transparency of image and other effects.
Specifically, the display parameters of every frame First Transition image can be obtained in the following way:It is possible, firstly, to obtain The display parameters of the thumbnail image obtain the display parameters of the corresponding image browsing of the thumbnail image as the first parameter Two parameters.The display parameters per frame First Transition image are determined according to predetermined rule, make the display of every frame First Transition image Parameter is between the first parameter and the second parameter.
Second acquisition module 402, is configured as obtaining the corresponding picture element matrix of every frame First Transition image.
In general, one picture element matrix of each image correspondence, picture element matrix have recorded the display information of the image, because This is, it is necessary to obtain the corresponding picture element matrix of every frame First Transition image.In the present embodiment, it can obtain every in the following way The corresponding picture element matrix of frame First Transition image:First, the picture element matrix of the corresponding image browsing of the thumbnail image is obtained.Specifically For, the picture element matrix of the thumbnail image can be first obtained, then, default second transition matrix is obtained.The second conversion square Battle array can be referred to as basis matrix to change the transition matrix used to corresponding image browsing by thumbnail image BaseMatrix.The picture element matrix of thumbnail image is multiplied with second transition matrix, the pixel square of image browsing can be obtained Battle array.
Then, default one group of first transition matrix is obtained.Each transition matrix correspondence in the transition matrix of group first One First Transition image.Each first transition matrix is changed to corresponding First Transition image by image browsing and used Transition matrix, can be referred to as application matrix SuppMatrix.The picture element matrix of image browsing is changed with each first respectively Matrix multiple, can obtain the corresponding picture element matrix of every frame First Transition image.
3rd acquisition module 403, is configured as obtaining per frame First Transition image based on display parameters and picture element matrix Corresponding image output data.
In general, if wanting to export a two field picture, first have to determine viewing area and the picture element matrix of the image, then The image could be obtained is particularly shown information.In the present embodiment, above-mentioned display parameters and above-mentioned pixel square can be based on Battle array is obtained per the corresponding image output data of frame First Transition image.Specifically, can be according to every frame First Transition image The positional information and dimension information of the image included in display parameters, it is determined that per the corresponding viewing area of frame First Transition image Domain.Then, the pixel pair of viewing area is determined according to the corresponding viewing area of every frame First Transition image and picture element matrix The display information answered, to obtain the corresponding image output data of every frame First Transition image.
First output module 404, is configured as when switching to corresponding image browsing from the thumbnail image, according to institute Stating image output data, transition shows described per frame First Transition image one by one, so that the transition effect of first process is presented.
In the present embodiment, when detecting for after checking instruction of thumbnail image, switched to from thumbnail image corresponding Image browsing., can be according to above-mentioned image output data transition one by one when switching to corresponding image browsing from thumbnail image Display finally shows corresponding image browsing per frame First Transition image, so as to switched to from thumbnail image it is corresponding During image browsing, the transition effect of the first process is showed, the transition effect can become larger into correspondence by thumbnail image Image browsing, transparency is gradually reduced.It is appreciated that the transition effect can also be other transition effects, the disclosure Do not limited in terms of concrete form and content to transition effect.
As seen from the above-described embodiment, the embodiment can be being detected for when checking instruction of thumbnail image, obtain every The display parameters of frame First Transition image, are obtained per the corresponding picture element matrix of frame First Transition image, based on above-mentioned display parameters And above-mentioned picture element matrix is obtained per the corresponding image output data of frame First Transition image, and switched to pair from thumbnail image During the image browsing answered, according to image output data, transition is shown per frame First Transition image, so that the first process is presented one by one Transition effect.So as to be optimized to above-mentioned handoff procedure, make the handoff procedure more flexibility, simplify cumbersome excellent Change process, improves optimization efficiency.
As shown in figure 5, Fig. 5 is another image switching transition effect of the disclosure according to an exemplary embodiment Device block diagram is presented, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the first acquisition module 401 can include:First Acquisition submodule 501, the second acquisition submodule 502 and determination sub-module 503.
Wherein, the first acquisition submodule 501, is configured as obtaining the display parameters of thumbnail image as the first parameter.
Second acquisition submodule 502, is configured as obtaining the display parameters of image browsing as the second parameter.
In the present embodiment, the display parameters can include the location parameter and dimensional parameters of image, for example, image Centre coordinate, the long edge size of image, short side dimension of image etc..The display parameters can further include the effect of image Fruit parameter, for example, the parameter of transparency of image and other effects.
Determination sub-module 503, is configured as determining the display parameters of every frame First Transition image according to predetermined rule, makes Per the display parameters of frame First Transition image between the first parameter and second parameter.
In the present embodiment, predetermined rule can be any rational rule, and the disclosure is to predetermined regular specific Do not limited in terms of content.For example, it is assumed that the first parameter is A, the second parameter is B, there is N frame First Transition images, then can be by N frames The display parameter setting of First Transition image is an arithmetic progression, and tolerance settings are (B-A)/(N+1).Can also be by N frames The display parameter setting of one transfer image acquisition is a Geometric Sequence, and common ratio is set as q so that qN+1=B/A.Can also be by N frames The display parameter setting of one transfer image acquisition is any one regular ordered series of numbers, and display parameters of N frame First Transition images Between the first parameter and the second parameter.
As seen from the above-described embodiment, the embodiment can be according to the display parameters of thumbnail image and thumbnail image correspondence Image browsing display parameters, the display parameters per frame First Transition image are determined according to predetermined rule.So as to right Above-mentioned handoff procedure is optimized, and is made the handoff procedure more flexibility, be further simplify cumbersome optimization process, improve Optimization efficiency.
In some optional embodiments, above-mentioned display parameters can include:The location parameter and dimensional parameters of image.
In some optional embodiments, above-mentioned display parameters can also include:The efficacy parameter of image.
As shown in fig. 6, Fig. 6 is another image switching transition effect of the disclosure according to an exemplary embodiment Device block diagram is presented, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the second acquisition module 402 can include:3rd Acquisition submodule 601, the 4th acquisition submodule 602 and calculating sub module 603.
Wherein, the 3rd acquisition submodule 601, is configured as obtaining the picture element matrix of above-mentioned image browsing.
In general, one picture element matrix of each image correspondence, picture element matrix have recorded the display information of the image, because This is, it is necessary to obtain the corresponding picture element matrix of every frame First Transition image.Specifically, the pixel of the thumbnail image can first be obtained Matrix, then, obtains default second transition matrix.Second transition matrix is to be changed by thumbnail image to corresponding browse graph As the transition matrix used, basis matrix BaseMatrix can be referred to as.By the picture element matrix of thumbnail image and this second Transition matrix is multiplied, and can obtain the picture element matrix of image browsing.
4th acquisition submodule 602, is configured as obtaining default one group of first transition matrix.
In the present embodiment, each transition matrix one First Transition image of correspondence in the transition matrix of group first.Often Individual first transition matrix can be referred to as to change the transition matrix used to corresponding First Transition image by image browsing Application matrix SuppMatrix.
Calculating sub module 603, be configured as by the picture element matrix of above-mentioned image browsing respectively with each first transition matrix It is multiplied, to obtain the corresponding picture element matrix of every frame First Transition image.
As seen from the above-described embodiment, the embodiment can be according to the picture element matrix of image browsing and default one group first Transition matrix, is obtained per the corresponding picture element matrix of frame First Transition image.So as to be optimized to above-mentioned handoff procedure, make The handoff procedure has more flexibility, further simplify cumbersome optimization process, improves optimization efficiency.
In some optional embodiments, the 3rd acquisition submodule is configured to:The picture element matrix of thumbnail image is obtained, is obtained Default second transition matrix is taken, the picture element matrix of thumbnail image is multiplied with the second transition matrix, corresponding browse graph is obtained The picture element matrix of picture.
As shown in fig. 7, Fig. 7 is another image switching transition effect of the disclosure according to an exemplary embodiment Device block diagram is presented, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the 3rd acquisition module 403 can include:Region Determination sub-module 701 and data determination sub-module 702.
Wherein, region determination sub-module 701, is configured as being determined per frame First Transition image pair according to above-mentioned display parameters The viewing area answered.
Data determination sub-module 702, is configured as according to per the corresponding viewing area of frame First Transition image and pixel Matrix determines the corresponding display information of the pixel of above-mentioned viewing area, defeated to obtain the corresponding image of every frame First Transition image Go out data.
As seen from the above-described embodiment, the embodiment can be determined according to above-mentioned display parameters per frame First Transition image correspondence Viewing area, and above-mentioned viewing area is determined according to the corresponding viewing area of every frame First Transition image and picture element matrix The corresponding display information of pixel, to obtain the corresponding image output data of every frame First Transition image.So as to above-mentioned Handoff procedure is optimized, and is made the handoff procedure more flexibility, be further simplify cumbersome optimization process, improves optimization Efficiency.
As shown in figure 8, Fig. 8 is another image switching transition effect of the disclosure according to an exemplary embodiment Device block diagram is presented, the embodiment is on the basis of foregoing embodiment illustrated in fig. 4, and the device can further include:4th The output module 406 of acquisition module 405 and second.
Wherein, the 4th acquisition module 405, is configured as when detecting the instruction for the list interface for returning to thumbnail image, Obtain per the corresponding image output data of the transfer image acquisition of frame second, the second transfer image acquisition is to switch to the contracting from above-mentioned image browsing Sketch map as second during the image that shows of transition.
In the present embodiment, the process that the list interface of thumbnail image is back to from image browsing is the second process, second Transfer image acquisition is the multiple image that shows of transition during second.The instruction for returning to the list interface of thumbnail image is for indicating The instruction of the list interface of thumbnail image is returned to, for example, it may be clicking on instruction triggered during return push-button etc., Ke Yili Solution, the instruction can also be the instruction triggered by another way, the disclosure in terms of the specific triggering mode of the instruction not Limit.
In the present embodiment, when detecting the instruction for the list interface for returning to thumbnail image, every frame second can be obtained The corresponding image output data of transfer image acquisition.Specifically, it is possible, firstly, to obtain the display parameters of every transfer image acquisition of frame second. For example, the display parameters that can obtain the corresponding image browsing of the thumbnail image obtain the thumbnail image as the second parameter Display parameters are used as the first parameter.The display parameters per the transfer image acquisition of frame second are determined according to predetermined rule, make every frame second The display parameters of transfer image acquisition are between the second parameter and the first parameter.Wherein, predetermined rule can be any Rational rule, the disclosure is not limited predetermined regular particular content aspect.
Then, the corresponding picture element matrix of every transfer image acquisition of frame second can be obtained, First Transition image is specifically referred to The acquisition modes of corresponding picture element matrix.Then, display parameters and picture element matrix based on every transfer image acquisition of frame second are obtained Per the corresponding image output data of the transfer image acquisition of frame second.Specifically, it can be joined according to the display of every transfer image acquisition of frame second The positional information and dimension information of the image included in number, it is determined that per the corresponding viewing area of the transfer image acquisition of frame second.Then, The corresponding display of the pixel of viewing area is determined according to the corresponding viewing area of every transfer image acquisition of frame second and picture element matrix Information, to obtain the corresponding image output data of every transfer image acquisition of frame second.
Second output module 406, is configured as when switching to the thumbnail image from above-mentioned image browsing, according to every frame Transition is shown per the transfer image acquisition of frame second, so that the transition of the second process is presented the corresponding image output data of two transfer image acquisitions one by one Effect.
In the present embodiment, after the instruction for the list interface for returning to thumbnail image is detected, switched to from image browsing Thumbnail image.When switching to thumbnail image from image browsing, according to the corresponding image output data of every transfer image acquisition of frame second Transition is shown per the transfer image acquisition of frame second, so that the transition effect of the second process is presented one by one.
As seen from the above-described embodiment, the embodiment can be being detected for when checking instruction of thumbnail image, obtain every The display parameters of frame First Transition image, are obtained per the corresponding picture element matrix of frame First Transition image, based on above-mentioned display parameters And above-mentioned picture element matrix is obtained per the corresponding image output data of frame First Transition image, and switched to pair from thumbnail image During the image browsing answered, according to image output data, transition is shown per frame First Transition image, so that the first process is presented one by one Transition effect.When switching to corresponding image browsing from thumbnail image, according to above-mentioned image output data, transition is shown one by one Per frame First Transition image, so that the transition effect of the first process is presented.Detecting the finger for the list interface for returning to thumbnail image When making, obtain per the corresponding image output data of the transfer image acquisition of frame second.So as to mutual with image browsing to thumbnail image The process of switching is optimized, and is made the more flexibility of above-mentioned handoff procedure, be further simplify cumbersome optimization process, improve Optimization efficiency.
It should be appreciated that said apparatus can be pre-set in the terminal, end can also be loaded into by modes such as downloads In end.Corresponding module in said apparatus can be cooperated with the module in terminal with realize image switching transition effect Existing scheme.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component The unit of explanation can be or may not be physically separate, and the part shown as unit can be or can also It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality Selection some or all of module therein is needed to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying In the case of going out creative work, you can to understand and implement.
Accordingly, the disclosure also provides the presentation device that a kind of image switches transition effect, and the device includes processor; Memory for storing processor-executable instruction;Wherein, the processor is configured as:
When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image are obtained, it is described First Transition image is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;
Obtain per the corresponding picture element matrix of frame First Transition image;
The corresponding image output number per frame First Transition image is obtained based on the display parameters and the picture element matrix According to;
When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows one by one Show described per frame First Transition image, so that the transition effect of first process is presented.
Fig. 9 is an a kind of knot of the presentation device 9900 of image switching transition effect according to an exemplary embodiment Structure schematic diagram.For example, device 9900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game control Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 9, device 9900 can include following one or more assemblies:Processing assembly 9902, memory 9904, electricity Source component 9906, multimedia groupware 9908, audio-frequency assembly 9910, the interface 9912 of input/output (I/O), sensor cluster 9914, and communication component 9916.
The integrated operation of the usual control device 9900 of processing assembly 9902, such as with display, call, data communication, The camera operation operation associated with record operation.Treatment element 9902 can include one or more processors 9920 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 9902 can include one or more moulds Block, is easy to the interaction between processing assembly 9902 and other assemblies.For example, processing assembly 9902 can include multi-media module, To facilitate the interaction between multimedia groupware 9908 and processing assembly 9902.
Memory 9904 is configured as storing various types of data supporting the operation in device 9900.These data Example includes the instruction of any application program or method for being used to operate on device 9900, contact data, telephone book data, Message, picture, video etc..Memory 9904 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 9906 provides electric power for the various assemblies of device 9900.Power supply module 9906 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 9900.
Multimedia groupware 9908 is included in the screen of one output interface of offer between described device 9900 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch and passed Sensor is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or slip be dynamic The border of work, but also the detection duration related to the touch or slide and pressure.In certain embodiments, it is many Media component 9908 includes a front camera and/or rear camera.When device 9900 is in operator scheme, mould is such as shot When formula or video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each preposition shooting Head and rear camera can be a fixed optical lens systems or with focusing and optical zoom capabilities.
Audio-frequency assembly 9910 is configured as output and/or input audio signal.For example, audio-frequency assembly 9910 includes a wheat Gram wind (MIC), when device 9900 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 9904 or via communication Component 9916 is sent.In certain embodiments, audio-frequency assembly 9910 also includes a loudspeaker, for exports audio signal.
I/O interfaces 9912 are that interface, above-mentioned peripheral interface module are provided between processing assembly 9902 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 9914 includes one or more sensors, and the state for providing various aspects for device 9900 is commented Estimate.For example, sensor cluster 9914 can detect opening/closed mode of device 9900, the relative positioning of component, such as institute Display and keypad that component is device 9900 are stated, sensor cluster 9914 can be with detection means 9900 or device 9,900 1 The position of individual component changes, the existence or non-existence that user contacts with device 9900, the orientation of device 9900 or acceleration/deceleration and dress Put 9900 temperature change.Sensor cluster 9914 can include proximity transducer, be configured in not any physics The presence of object nearby is detected during contact.Sensor cluster 9914 can also include optical sensor, such as CMOS or ccd image sensing Device, for being used in imaging applications.In certain embodiments, the sensor cluster 9914 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.
Communication component 9916 is configured to facilitate the communication of wired or wireless way between device 9900 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 9900.It is exemplary at one In embodiment, communication component 9916 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 9916 also includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 9900 can be by one or more application specific integrated circuits (ASIC), numeral Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 9904 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 9920 of device 9900.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice invention disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim is pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (17)

1. a kind of image switches the rendering method of transition effect, it is characterised in that methods described includes:
When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image, described first are obtained Transfer image acquisition is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;
Obtain per the corresponding picture element matrix of frame First Transition image;
Obtained based on the display parameters and the picture element matrix per the corresponding image output data of frame First Transition image;
When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows institute one by one Every frame First Transition image is stated, so that the transition effect of first process is presented.
2. according to the method described in claim 1, it is characterised in that the display parameters obtained per frame First Transition image, Including:
The display parameters of the thumbnail image are obtained as the first parameter;
The display parameters of the image browsing are obtained as the second parameter;
The display parameters per frame First Transition image are determined according to predetermined rule, make the display parameters of every frame First Transition image Between first parameter and second parameter.
3. method according to claim 2, it is characterised in that the display parameters include:The location parameter of image and Dimensional parameters.
4. method according to claim 3, it is characterised in that the display parameters also include:The efficacy parameter of image.
5. according to the method described in claim 1, it is characterised in that described to obtain per the corresponding pixel square of frame First Transition image Battle array, including:
Obtain the picture element matrix of the image browsing;
Obtain default one group of first transition matrix;
The picture element matrix of the image browsing is multiplied with each first transition matrix respectively, to obtain every frame First Transition The corresponding picture element matrix of image.
6. method according to claim 5, it is characterised in that the picture element matrix of the acquisition image browsing, including:
Obtain the picture element matrix of the thumbnail image;
Obtain default second transition matrix;
The picture element matrix of the thumbnail image is multiplied with second transition matrix, the pixel square of the image browsing is obtained Battle array.
7. according to the method described in claim 1, it is characterised in that described to be based on the display parameters and the picture element matrix Obtain per the corresponding image output data of frame First Transition image, including:
Determined according to the display parameters per the corresponding viewing area of frame First Transition image;
The pixel of the viewing area is determined according to the corresponding viewing area of every frame First Transition image and the picture element matrix The corresponding display information of point, to obtain the corresponding image output data of every frame First Transition image.
8. according to the method described in claim 1, it is characterised in that methods described also includes:
When detecting the instruction for the list interface for returning to thumbnail image, the corresponding image output per the transfer image acquisition of frame second is obtained Data, second transfer image acquisition is to switch to what transition during the second of the thumbnail image was shown from the image browsing Image;
When switching to the thumbnail image from the image browsing, according to described defeated per the corresponding image of the transfer image acquisition of frame second Going out data, transition shows described per the transfer image acquisition of frame second one by one, so that the transition effect of the second process is presented.
9. a kind of image switches the presentation device of transition effect, it is characterised in that described device includes:
First acquisition module, is configured as detecting for when checking instruction of thumbnail image, obtains per frame First Transition figure The display parameters of picture, the First Transition image is to be switched to from the thumbnail image during the first of corresponding image browsing The image that transition is shown;
Second acquisition module, is configured as obtaining the corresponding picture element matrix of every frame First Transition image;
3rd acquisition module, is configured as obtaining per frame First Transition image based on the display parameters and the picture element matrix Corresponding image output data;
First output module, is configured as when switching to corresponding image browsing from the thumbnail image, according to described image Transition shows described per frame First Transition image to output data one by one, so that the transition effect of first process is presented.
10. device according to claim 9, it is characterised in that first acquisition module includes:
First acquisition submodule, is configured as obtaining the display parameters of the thumbnail image as the first parameter;
Second acquisition submodule, is configured as obtaining the display parameters of the image browsing as the second parameter;
Determination sub-module, is configured as determining display parameters per frame First Transition image according to predetermined rule, makes every frame the The display parameters of one transfer image acquisition are between first parameter and second parameter.
11. device according to claim 10, it is characterised in that the display parameters include:The location parameter of image with And dimensional parameters.
12. device according to claim 11, it is characterised in that the display parameters also include:The efficacy parameter of image.
13. device according to claim 9, it is characterised in that second acquisition module includes:
3rd acquisition submodule, is configured as obtaining the picture element matrix of the image browsing;
4th acquisition submodule, is configured as obtaining default one group of first transition matrix;
Calculating sub module, be configured as by the picture element matrix of the image browsing respectively with each first transition matrix phase Multiply, to obtain the corresponding picture element matrix of every frame First Transition image.
14. device according to claim 13, it is characterised in that the 3rd acquisition submodule is configured to:
Obtain the picture element matrix of the thumbnail image;
Obtain default second transition matrix;
The picture element matrix of the thumbnail image is multiplied with second transition matrix, the pixel square of the image browsing is obtained Battle array.
15. device according to claim 9, it is characterised in that the 3rd acquisition module includes:
Region determination sub-module, is configured as being determined per the corresponding viewing area of frame First Transition image according to the display parameters Domain;
Data determination sub-module, is configured as according to per the corresponding viewing area of frame First Transition image and the picture element matrix The corresponding display information of pixel of the viewing area is determined, to obtain the corresponding image output number of every frame First Transition image According to.
16. device according to claim 9, it is characterised in that described device also includes:
4th acquisition module, is configured as, when detecting the instruction for the list interface for returning to thumbnail image, obtaining per frame second The corresponding image output data of transfer image acquisition, second transfer image acquisition is to switch to the thumbnail image from the image browsing Second during the image that shows of transition;
Second output module, is configured as when switching to the thumbnail image from the image browsing, according to described per frame the Transition shows described per the transfer image acquisition of frame second to the corresponding image output data of two transfer image acquisitions one by one, so that the second process is presented Transition effect.
17. a kind of image switches the presentation device of transition effect, it is characterised in that including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
When detecting for when checking instruction of thumbnail image, the display parameters per frame First Transition image, described first are obtained Transfer image acquisition is to switch to the image that transition is shown during the first of corresponding image browsing from the thumbnail image;
Obtain per the corresponding picture element matrix of frame First Transition image;
Obtained based on the display parameters and the picture element matrix per the corresponding image output data of frame First Transition image;
When switching to corresponding image browsing from the thumbnail image, according to described image output data, transition shows institute one by one Every frame First Transition image is stated, so that the transition effect of first process is presented.
CN201710209175.7A 2017-03-31 2017-03-31 Image switches the rendering method and device of transition effect Pending CN106980449A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710209175.7A CN106980449A (en) 2017-03-31 2017-03-31 Image switches the rendering method and device of transition effect

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710209175.7A CN106980449A (en) 2017-03-31 2017-03-31 Image switches the rendering method and device of transition effect

Publications (1)

Publication Number Publication Date
CN106980449A true CN106980449A (en) 2017-07-25

Family

ID=59339652

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710209175.7A Pending CN106980449A (en) 2017-03-31 2017-03-31 Image switches the rendering method and device of transition effect

Country Status (1)

Country Link
CN (1) CN106980449A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052546A (en) * 2017-11-27 2018-05-18 深圳市丰巢科技有限公司 A kind of method and mobile terminal in mobile terminal browsing pictures
CN110275659A (en) * 2019-06-18 2019-09-24 北京字节跳动网络技术有限公司 A kind of image switching method, device, electronic equipment and storage medium
WO2021068766A1 (en) * 2019-10-09 2021-04-15 Oppo广东移动通信有限公司 Image display method, image display apparatus, and mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192230A (en) * 2006-11-30 2008-06-04 重庆优腾信息技术有限公司 Method and device for opening and closing picture-browsing window
CN102800049A (en) * 2012-08-08 2012-11-28 广东威创视讯科技股份有限公司 Image reduction method and device
CN103366343A (en) * 2013-07-17 2013-10-23 广东欧珀移动通信有限公司 Bitmap scaling method and system
CN105353971A (en) * 2015-12-07 2016-02-24 广东欧珀移动通信有限公司 Picture display method and picture display device of mobile terminal
CN105513011A (en) * 2014-09-23 2016-04-20 上海机电工程研究所 Image scaling method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192230A (en) * 2006-11-30 2008-06-04 重庆优腾信息技术有限公司 Method and device for opening and closing picture-browsing window
CN102800049A (en) * 2012-08-08 2012-11-28 广东威创视讯科技股份有限公司 Image reduction method and device
CN103366343A (en) * 2013-07-17 2013-10-23 广东欧珀移动通信有限公司 Bitmap scaling method and system
CN105513011A (en) * 2014-09-23 2016-04-20 上海机电工程研究所 Image scaling method
CN105353971A (en) * 2015-12-07 2016-02-24 广东欧珀移动通信有限公司 Picture display method and picture display device of mobile terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
梁翰博,张予: "《让你的PPT更精彩》", 30 June 2012 *
陈刚: "《MATLAB在数字图像处理中的应用》", 31 January 2016 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052546A (en) * 2017-11-27 2018-05-18 深圳市丰巢科技有限公司 A kind of method and mobile terminal in mobile terminal browsing pictures
CN110275659A (en) * 2019-06-18 2019-09-24 北京字节跳动网络技术有限公司 A kind of image switching method, device, electronic equipment and storage medium
WO2020253453A1 (en) * 2019-06-18 2020-12-24 北京字节跳动网络技术有限公司 Image switching method and apparatus, and electronic device and storage medium
WO2021068766A1 (en) * 2019-10-09 2021-04-15 Oppo广东移动通信有限公司 Image display method, image display apparatus, and mobile terminal
US11770603B2 (en) 2019-10-09 2023-09-26 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Image display method having visual effect of increasing size of target image, mobile terminal, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN105955607B (en) Content sharing method and device
CN103944963B (en) Method of data synchronization, device, equipment and system
CN106020592A (en) Split screen display method and device
EP3145164A1 (en) Method and device for displaying answer extension function
CN105512909A (en) Commodity recommendation method apparatus
CN105138259A (en) Operation execution method and operation execution device
CN106506448A (en) Live display packing, device and terminal
CN106331761A (en) Live broadcast list display method and apparatuses
CN105488145B (en) Display methods, device and the terminal of web page contents
CN104484111A (en) Content display method and device for touch screen
CN104049864B (en) object control method and device
CN104238911A (en) Loading icon display method and device
CN106201310A (en) The display packing of notification message, device and terminal
CN105487805A (en) Object operating method and device
CN104391711A (en) Method and device for setting screen protection
JP2016527577A (en) User command execution method, execution device, program, and storage medium
CN104536659B (en) Object information processing method and device
CN106775202A (en) A kind of method and device of information transfer
CN106095236A (en) The method and device of arranging desktop icons
CN104461236A (en) Method and device for displaying application icons
CN106201275A (en) Snapshot is as processing method and processing device
CN105094539B (en) Reference information display methods and device
CN104216525A (en) Method and device for mode control of camera application
CN106453846A (en) Display method and device for two-dimensional code business card
CN106775228A (en) The operating method and device of icon

Legal Events

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

Application publication date: 20170725