CN110442316A - Image display method, device and computer readable storage medium - Google Patents

Image display method, device and computer readable storage medium Download PDF

Info

Publication number
CN110442316A
CN110442316A CN201910715801.9A CN201910715801A CN110442316A CN 110442316 A CN110442316 A CN 110442316A CN 201910715801 A CN201910715801 A CN 201910715801A CN 110442316 A CN110442316 A CN 110442316A
Authority
CN
China
Prior art keywords
display object
display
initial
screen
transparency
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
CN201910715801.9A
Other languages
Chinese (zh)
Other versions
CN110442316B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910715801.9A priority Critical patent/CN110442316B/en
Publication of CN110442316A publication Critical patent/CN110442316A/en
Application granted granted Critical
Publication of CN110442316B publication Critical patent/CN110442316B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites

Abstract

The invention discloses a kind of image display method, device and computer readable storage mediums, when identifying to target object, generate the initial parameter of display object;The display object is displayed on the screen according to the initial parameter;Show that object moves on the screen according to the initial parameter and default display rule control.Realize the content vacancy that the waiting page of preloading phase has been filled up by the display mode that the display object of generation moves on the screen, smooth movement can be avoided display Caton sense when preloading, alleviate the impatient sense to be generated such as user, and then promotes user experience.

Description

Image display method, device and computer readable storage medium
Technical field
The present invention relates to technical field of information transmission more particularly to a kind of image display method, device and computer can Read storage medium.
Background technique
It is that the class human eye vision artificial intelligence based on mobile terminal real-time perception and cloud visual search is answered that intelligence, which knows object software, With.It opens intelligence and knows object software, mobile terminal automatically scanning and can lock the whole objects detected in camera lens at once without taking pictures Body, while being interacted with cloud, the contents such as feedback " what it is ", " relevant information of its behind " are to user.Since intelligence knows object Software has complicated huge operation behind, therefore after opening application, is more than using will do it a large amount of operations until acquisition is first The intelligent inferred results of confidence level, it is even more long that this process usually reaches the several seconds, referred to as preloading phase, preloads herein In stage, application will not export any as a result, will not be with user interaction.
It is to alleviate user in the medium impatient sense to be generated of preloading phase that existing intelligence, which knows object software, is entering the function Afterwards and before target detection completion, the object edge of meeting on the screen shows the white point flashed.But this white point is attached to screen Upper object edge and the display mode constantly flashed lack smooth sense and technology sense.And the shortage of smooth sense is easy to cause user Think to apply in Caton state, and is unwilling to reuse the function.
Summary of the invention
The main purpose of the present invention is to provide a kind of image display method, device and computer readable storage medium, The Caton sense for being intended to that preloading phase image is avoided to show improves the smooth sense that image is shown.
To achieve the above object, the present invention provides a kind of image display method, and described image display methods includes following step It is rapid:
When identifying to target object, the initial parameter of display object is generated;
The display object is displayed on the screen according to the initial parameter;
Show that object moves on the screen according to the initial parameter and default display rule control.
Optionally, the display object is circle, described when identifying to target object, generates the initial of display object The step of parameter includes:
When identifying to target object, initial radium, initial transparent degree and the initial position of display object are generated, it will Initial parameter of initial radium, initial transparent degree and the initial position of the display object as display object;
Described the step of being displayed on the screen the display object according to the initial parameter includes:
Display object is generated according to the initial radium, initial transparent degree, and the display object is shown in screen The initial position.
Optionally, the initial parameter further includes showing initial motion speed, initial motion direction and the simulation side of object To described to show that movement step includes: object on the screen according to the initial parameter and described in default display rule control
It controls the display object to move with initial motion speed to initial motion direction, and controls the display object Radius, and/or, the transparency of the display object is as the movement of the display object is according to corresponding with the simulation direction Default display rule variation.
Optionally, the radius of the control display object, and/or, the transparency of the display object is with described Show that the step of movement of object changes according to default display rule corresponding with the simulation direction includes:
If the simulation direction of the display object is to simulate to control the radius of the display object far from state from described Initial radium starts, with run duration increase be gradually reduced, and/or, control it is described display object transparency from it is described just Beginning transparency starts, as run duration increase is gradually increased.
Optionally, the radius of the control display object, and/or, the transparency of the display object is with described Show that the step of movement of object changes according to default display rule corresponding with the simulation direction includes:
If the simulation direction of the display object is simulation proximity state, the radius of the display object is controlled from described Initial radium starts, with run duration increase be gradually increased, and/or, control it is described display object transparency from it is described just Beginning transparency starts, as run duration increase is gradually reduced.
Optionally, the radius of the control display object, and/or, the transparency of the display object is with described After the step of movement of display object changes according to default display rule corresponding with the simulation direction, further includes:
In the transparency change for showing object to default transparency threshold, and/or, the radius of the display object becomes Change to pre-set radius threshold value, and/or, when the display object reaches screen edge, controls the display object and do not appear in screen On curtain, and the new display object of preset quantity is generated on the screen.
Optionally, described to be displayed on the screen the display object according to the initial parameter, and according to described initial After showing the step of object moves on the screen described in parameter and default display rule control, further includes:
When loading Target Identification Point when to recongnition of objects success and be displayed on the screen, current time is obtained Current kinetic speed, current kinetic direction and the current location of all display objects on screen, based on current kinetic speed, currently The direction of motion and current location calculate each display object in the target position of preset time;
Bezier Bezier is constructed according to the current location of the display object, the position of Target Identification Point and target position Curve;
It controls each display object and moves to the target identification in preset duration according to respective Bezier curve Point.
Optionally, described to be constructed according to the current location of the display object, the position of Target Identification Point and target position The step of Bezier curve includes:
Using the current location of the display object as the first end point of Bezier curve, the position conduct of Target Identification Point Second endpoint of Bezier curve, control point of the target position as Bezier curve are based on the first end point, second Endpoint, control point and default Bezier curve model construction Bezier curve.
Further, to achieve the above object, the present invention also proposes a kind of image display device, described image display device Including memory, processor and it is stored in the image display program that can be run on the memory and on the processor, institute State the step of realizing image display method as described above when image display program is executed by the processor.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers Image display program is stored on readable storage medium storing program for executing, described image shows and realizes as described above when program is executed by processor The step of image display method.
Image display method proposed by the present invention generates the initial ginseng of display object when identifying to target object Number;The display object is displayed on the screen according to the initial parameter;According to the initial parameter and default display rule The display object is controlled to move on the screen.It realizes and has filled up pre- by the display mode for showing that object moves on the screen The content vacancy of the waiting page of load phase, smooth movement can be avoided the display Caton sense of preloading phase, alleviate and use The impatient sense to be generated such as family, and then promote user experience.
Detailed description of the invention
Fig. 1 is the functional block diagram of image display device of the present invention;
Fig. 2 is the flow diagram of the first exemplary embodiment of image display method of the present invention;
Fig. 3 is the flow diagram of image display method third exemplary embodiment of the present invention;
Fig. 4 is the schematic diagram that the motion profile of object is shown in image display method third exemplary embodiment of the present invention;
Fig. 5 is the building process schematic diagram of Bezier in image display method third exemplary embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when identifying to target object, generating the first of display object Beginning parameter;The display object is displayed on the screen according to the initial parameter;According to the initial parameter and default display Show that object moves on the screen described in rule control.Realize the animation side moved on the screen by the display object of generation Formula has filled up the content vacancy of waiting page when identifying to target object, and smooth movement can be avoided preloading phase Display Caton sense, alleviate the impatient sense to be generated such as user, and then promote user experience.
Specifically, referring to Fig.1, Fig. 1 is the functional block diagram of image display device of the present invention.The image display device Can for PC, perhaps mobile terminal etc. can carry out the terminal of data processing, server or be independent image display device, this is solely Vertical image display device can be carried on above-mentioned terminal or server, and the present embodiment is carried on movement with image display device Terminal is illustrated.
In the present embodiment, the image display device include at least output module 110, processor 120, memory 130 with And communication module 140.
Core Generator, operating system and image display program are stored in memory 130, image display device is to mesh When mark object is identified, after the initial parameter for generating display object, the initial parameter of the display object of generation can be stored in In the memory 130, and corresponding storage catalogue can be set in memory 130, can be used for storing display according to time shaft The initial parameter of object;Output module 110 can be display screen, and display screen is used for the generation in the initial parameter for completing display object Afterwards, display object is displayed on the screen.Communication module 140 may include WIFI module and mobile communication module, by logical Letter module 140 and external cloud or server are interacted to obtain the recognition result to object.
Image display program in memory 130 performs the steps of when being executed by processor
When identifying to target object, the initial parameter of display object is generated;
The display object is displayed on the screen according to the initial parameter;
Show that object moves on the screen according to the initial parameter and default display rule control.The present embodiment is logical Above scheme is crossed, by mobile terminal when identifying to target object, generates the initial parameter of display object;According to described first The display object is displayed on the screen by beginning parameter;According to display pair described in the initial parameter and default display rule control As moving on the screen.Compared with prior art, in the present invention program, the animation that is moved on the screen by the display object of generation Mode has filled up the content vacancy for waiting page when identification load, and smooth movement can be avoided display Caton when preloading Sense alleviates the impatient sense to be generated such as user, and then promotes user experience.
The specific embodiment of image display device of the present invention and each embodiment of following image display methods are essentially identical, In This is repeated no more.
The specific embodiment of image display device of the present invention and each embodiment of following image display methods are essentially identical, In This is repeated no more.
It is the flow diagram of the first exemplary embodiment of image display method of the present invention referring to Fig. 2, Fig. 2.The embodiment In, image display method the following steps are included:
Step S10 generates the initial parameter of display object when identifying to target object;
It is to alleviate user's anxiety to be generated in preloading phase etc. that existing intelligence, which knows object software, after entering the function And before target detection is completed, the object edge of meeting on the screen shows the white point flashed.But this white point is attached on screen Object edge and the display mode constantly flashed lack smooth sense and technology sense.And the shortage of smooth sense is easy that user is caused to recognize It is in Caton state for application, and is unwilling to reuse the function.
The technical issues of to solve preloading phase image is shown in the prior art Caton sense, in the embodiment of the present invention In, image display device when identifying to target object, is generating the initial parameter of display object, generation display object Initial parameter operation triggering can be executed on image display device by user predetermined registration operation triggering.Predetermined registration operation It can be user and click Object identifying button on the image display device for being equipped with Object identifying application to call Object identifying Function calls Object identifying function by voice.It is raw according to default random function that image display device is based on the predetermined registration operation At the initial parameter of display object.The present embodiment is not specifically limited the type of default random function, those skilled in the art The type of random function can be selected as needed, and details are not described herein.
It should be understood that the present embodiment does not do concrete restriction to the quantity of display object, those skilled in the art can basis Need to set the quantity of display object, or the quantity of display object can be generated at random by default random function.
The display object is displayed on the screen by step S20 according to the initial parameter;
In the present embodiment, it will show that object is displayed on the screen according to the initial parameter of the display object of generation, specifically Ground shows that the initial parameter of object includes initial size, initial transparent degree and the initial position for showing object, according to initial size Display object is produced with initial transparent degree, is then displayed on the screen the display object of generation according to initial position.
Wherein, display object can be round, polygon or irregular figure, that is, show that object can be any enclosed figure Shape.
It is understood that it is big that display object can be preset in those skilled in the art for the aesthetics that image is shown The value range of display subject transparency also can be preset in small value range, so that the size and transparency of display object Change in preset value range.
Step S30 shows that object moves on the screen according to the initial parameter and default display rule control.
In this example it is shown that the initial parameter of object further includes the initial motion speed for showing object, initial motion Direction and simulation direction are shown after it will show that object is displayed on the screen based on initial parameter and default display rule control Object moves on the screen, wherein simulation direction includes simulation proximity state and/or simulates far from state.Specifically, control is aobvious Show that object is moved with initial motion speed to initial motion direction, and controls the size of the display object, and/or, it is described aobvious Show the transparency of object as the movement of the display object is according to default display rule variation corresponding with the simulation direction. Wherein, display rule is preset as the size of display object and/or the rule change of transparency.
It is understood that the aesthetics and visibility of the animation shown for image, those skilled in the art can be pre- The random value range of first setting display object initial motion speed.
Further, in the transparency change of display object to default transparency threshold, and/or, show the size of object It is changed to pre-set radius threshold value, and/or, when the display object reaches screen edge, controls the display object and do not appear in On screen, and the new display object of preset quantity is generated on the screen.
Further, the sight to guide user rapidly focuses on the position where Target Identification Point, to the target When loading Target Identification Point when Object identifying success and being displayed on the screen, image display device is based on institute on current time screen There are the status information of display object and the position of Target Identification Point, the movement rail that planning display object is gathered to Target Identification Point Mark, and control each display object and gather according to the motion profile of each self planning to Target Identification Point.
Image display method disclosed in the present embodiment generates the initial of display object when identifying to target object Parameter;The display object is displayed on the screen according to the initial parameter;According to the initial parameter and default display rule The display object is then controlled to move on the screen.It realizes and is filled up by the movement display mode of display object on the screen Preloading phase waits the content vacancy of the page, and smooth movement can be avoided the display Caton sense of preloading phase, alleviates and uses The impatient sense to be generated such as family, and then promote user experience.
Further, the second exemplary embodiment of image display method of the present invention is proposed, the display object is circle, above-mentioned Step S30 includes:
Step S31 is controlled the display object and is moved with initial motion speed to initial motion direction, and is controlled described aobvious Show the radius of object, and/or, it is described display object transparency with it is described display object movement according to the simulation side To corresponding default display rule variation.
In this example it is shown that object is circle, round size can be controlled by radius or diameter, and the present embodiment can It is selected as radius.For the three-dimensional sense that enhancing display object moves in screen, show object with the initial of the display object in control During movement velocity is moved to the initial motion direction of the display object, the radius of the display object and/or transparent is controlled Degree is as the movement of the display object is according to the corresponding default display rule variation in the simulation direction with the display object, that is, controls The radius of the display object is made as the movement of the display object is corresponding default aobvious according to the simulation direction with the display object Show regular variation;Alternatively, control the transparency of the display object with the display object movement according to the display object Simulate the corresponding default display rule variation in direction;Alternatively, the radius and transparency that control the display object are all with the display The movement of object according to the corresponding default display rule variation in the simulation direction with the display object, those skilled in the art according to Need to select one implementation, the present embodiment is not particularly limited.
Further, the radius of the display object of control described in above-mentioned steps S31, and/or, the display object Transparency is wrapped with the movement of the display object according to the step of default display rule variation corresponding with the simulation direction It includes:
Step S311 controls the display object if the simulation direction of the display object is to simulate far from state Radius is since the initial radium, as run duration increase is gradually reduced, and/or, control the transparent of the display object Degree is since the initial transparent degree, as run duration increase is gradually increased.
In the present embodiment, optionally, the simulation direction for showing object includes simulating far from state, if the mould of display object Draft direction is to simulate far from state, then in control display object with the initial motion speed of the display object to the display object During initial motion direction moves, the radius of the display object is controlled since its initial radium, as run duration increases Be gradually reduced greatly, and/or, control the transparency of the display object since its initial transparent degree, with run duration increase by It is cumulative big.That is, controlling the radius of the display object as run duration increase is gradually reduced;Alternatively, controlling the display object Transparency is gradually increased with run duration increase;Alternatively, controlling the radius of the display object as run duration increases gradually Reduce, while controlling the transparency of the display object as run duration increase is gradually increased.Those skilled in the art are according to need One implementation is selected, the present embodiment is not particularly limited.
In addition, the variation of the radius, transparency of display object can be and uniformly change, be also possible to it is non-uniform, Those skilled in the art can be configured as needed, and the present embodiment is not particularly limited.
It should be noted that the transparency for showing object in the present embodiment refers to as run duration increase is gradually increased It is to show that object is more and more opaquer with the increase of run duration.Alpha transparence value can be selected to indicate, Alpha is saturating The range of brightness value is 0~255, numerical value it is bigger indicate it is opaquer, 255 be it is opaque, 0 is all-transparent;Or it can be selected not Transparency indicates that the range of opacity is 0~100%, and numerical value is bigger to indicate opaquer, and 0 is all-transparent, 100% is It is opaque.
In addition, the run duration in the present embodiment can also be replaced with picture frame number, the simulation of the even described display object Direction is to simulate the radius that the display object is then controlled far from state since the initial radium, as picture frame number increases It is gradually reduced greatly, and/or, the transparency of the display object is controlled since the initial transparent degree, as picture frame number increases It is gradually increased greatly.
Show that object is more and more opaquer with the increase of run duration in the present embodiment, radius is smaller and smaller, in turn Make user generate display object more and more far away from user visual experience, simulate display object far from user state, from And enhance the three-dimensional sense that display object moves in screen.
Further, the radius of the display object of control described in above-mentioned steps S31 and/or the display object The step of transparency changes with the movement of the display object according to default display rule corresponding with the simulation direction, also Include:
Step S312 controls the display object if the simulation direction of the display object is simulation proximity state Radius is since the initial radium, as run duration increase is gradually increased, and/or, control the transparent of the display object Degree is since the initial transparent degree, as run duration increase is gradually reduced.
In the present embodiment, optionally, the simulation direction for showing object includes simulation proximity state, if the mould of display object Draft direction is simulation proximity state, then in control display object with the initial motion speed of the display object to the display object During initial motion direction moves, the radius of the display object is controlled since its initial radium, as run duration increases Be gradually increased greatly, and/or, control the transparency of the display object since its initial transparent degree, with run duration increase by It is decrescence small.That is, controlling the radius of the display object as run duration increase is gradually increased;Alternatively, controlling the display object Transparency is gradually reduced with run duration increase;Alternatively, controlling the radius of the display object as run duration increases gradually Increase, while controlling the transparency of the display object as run duration increase is gradually reduced.Those skilled in the art are according to need One implementation is selected, the present embodiment is not particularly limited.
In addition, the variation of the radius, transparency of display object can be and uniformly change, be also possible to it is non-uniform, Those skilled in the art can be configured as needed, and the present embodiment is not particularly limited.
It should be noted that the transparency for showing object in the present embodiment thoroughly refers to as run duration increase is gradually reduced Be to show that object is more and more transparent with the increase of run duration.Alpha transparence value can be selected to indicate, Alpha is saturating The range of brightness value is 0~255, numerical value it is bigger indicate it is opaquer, 255 be it is opaque, 0 is all-transparent;Or it can be selected not Transparency indicates that the range of opacity is 0~100%, and numerical value is bigger to indicate opaquer, and 0 is all-transparent, 100% is It is opaque.
In addition, the run duration in the present embodiment can also be replaced with picture frame number, the simulation of the even described display object Direction is simulation proximity state, then the radius of the display object is controlled since the initial radium, as picture frame number increases It is gradually increased greatly, and/or, the transparency of the display object is controlled since the initial transparent degree, as picture frame number increases It is gradually reduced greatly.
Show that object is more and more transparent with the increase of run duration in the present embodiment, radius is increasing, and then makes User generates the visual experience that display object becomes closer to user, simulates display object in the state close to user, thus The three-dimensional sense that enhancing display object moves in screen.
Further, after above-mentioned steps S31, further includes:
Step S32, in the transparency change for showing object to default transparency threshold, and/or, the display object Radius change to pre-set radius threshold value, and/or, when the display object reaches screen edge, control the display object not It is displayed on the screen, and generates the new display object of preset quantity on the screen.
In the present embodiment, presetting transparency threshold includes the first transparency threshold and the second transparency threshold, and first thoroughly Lightness threshold is greater than the second transparency threshold;Pre-set radius threshold value includes the first radius threshold and the second radius threshold, and the first half Diameter threshold value is greater than the second radius threshold.During display object moves in screen, if the transparency change of display object is extremely When equal to the first transparency threshold or the second transparency threshold, controls the display object and do not appear on screen, that is, disappear, and The new display object of preset quantity is generated on the screen;Alternatively, the radius change to equal than the first radius threshold of display object Or when the second radius threshold, controls the display object and do not appear on screen, that is, disappear, and generate preset quantity on the screen New display object;It is not appeared on screen alternatively, the display object controls the display object when moving to screen edge, i.e., It disappears, and generates the new display object of preset quantity on the screen.Three of the above shows the side that object disappears and regenerates Formula can individually be implemented, and can also be implemented with combination of two, and can also be combined implementation with three, and the present embodiment does not do specific limit System.
Wherein, preset quantity can be not particularly limited by those skilled in the art's self-setting as needed, the present embodiment, For example, preset quantity can be 1, i.e., often there is a display object to disappear, then newly-generated display object, can keep in screen Show that number of objects is constant;Preset quantity can be 2, i.e., often have a display object to disappear, then newly-generated two displays object.
In the present embodiment, preset threshold is reached by the radius and/or transparency in display object, or move to screen When edge, display object disappearance is controlled, further simulates display object in the state close to or away from user, thus into one Step enhances the three-dimensional sense that display object moves in screen;By generating new display object when showing that object disappears, with Avoid the display number of objects shown in screen fewer and fewer, interest reduces.
Referring to Fig. 3, in image display method third exemplary embodiment, after above-mentioned steps S30, further includes:
Step S40 is obtained when loading Target Identification Point when to recongnition of objects success and be displayed on the screen Current kinetic speed, current kinetic direction and the current location of all display objects, are based on current kinetic on current time screen Speed, current kinetic direction and current location calculate each display object in the target position of preset time;
In the present embodiment, image display device, can be by the target of load in the identification success to target identification object The Target Identification Point of object is displayed on the screen, and existing Object identifying is applied after identifying result, the white point of object edge Lack between the Target Identification Point of pop-up and interact, only it is simple the former disappear, the latter occurs, can allow user Geng Fei in this way Solve the effect of white point.To enhance the interactivity for showing object and Target Identification Point on screen, the image in the present embodiment shows dress It sets when detecting that Target Identification Point is displayed on the screen, obtains the current kinetic speed of all display objects on current time screen Degree, current kinetic direction and current location, and current kinetic speed, current kinetic direction and present bit based on each display object Set and calculate each display object in the target position of preset time, due to each display object have respective movement velocity, Current kinetic direction and current location, therefore each display object has respectively unique confirmable target position.Wherein, it shows Show that the current kinetic speed of object, current kinetic direction are the initial motion speed and initial motion when the display object generates Direction.
Wherein, preset time can be set as needed in those skilled in the art, and the present embodiment is not particularly limited, for example, Preset time can be for the 5th second from current time.
Step S41 constructs shellfish plug according to the current location of the display object, the position of Target Identification Point and target position That Bezier curve;
For Bezier by a series of key point come the state of controlling curve, these key points can be divided into two classes again, It is endpoint and control point respectively, endpoint determines that the starting and ending position of curve, control point determine the bending degree of curve.According to Determining endpoint and control point can uniquely determine a Bezier.
In the present embodiment, using show object current location and Target Identification Point position as endpoint, target position As control point, a Bezier can be uniquely determined according to this 3 points, have respective mesh due to each display object The position of cursor position, current location and common Target Identification Point, therefore, each display object can construct a unique shellfish Sai Er curve, and these Beziers share an endpoint, another endpoint is different.Wherein, the current kinetic speed of object is shown Degree, current kinetic direction are the initial motion speed and initial motion direction when the display object generates.
Step S42, each display object of control move in preset duration described according to respective Bezier curve Target Identification Point.
In the present embodiment, as shown in figure 4, since the Bezier of each display object shares an endpoint, i.e. mesh The position of identification point is marked, thus each display object can finally be gathered according to the movement of respective Bezier to target identification Point, with the position where guiding the sight of user to focus on Target Identification Point.To guide the sight of user to rapidly focus on target It is each to show pair to Target Identification Point to control all display objects total movement in preset duration for position where identification point The movement velocity of elephant can be the same or different, when each display object can reach Target Identification Point simultaneously and can also be different Reach Target Identification Point, it is to be understood that the present embodiment does not do concrete restriction to the movement velocity of display object, as long as can be really It protects display object and moves to Target Identification Point in preset duration.
Wherein, the length of preset duration can be set as needed in those skilled in the art, and the present embodiment is not particularly limited, Such as it can be 0 second~20 seconds that the value of preset duration, which is,.
Further, when showing that object reaches Target Identification Point, the display object of the arrival can control to disappear.
Further, when loading Target Identification Point when to recongnition of objects success and be displayed on the screen, also The size and transparency for obtaining all display objects on current time screen move to the process of Target Identification Point in display object In, it can control the size of display object and transparency constant, until disappearance when moving to Target Identification Point;Also it can control display pair The size of elephant is gradually reduced and/or shows the transparency of object with showing the movement of object gradually with the movement of display object Increase, until disappearance when moving to Target Identification Point.Those skilled in the art can be set as needed, and the present embodiment is not done specifically Limitation.
In the present embodiment, smooth natural turning track can be generated by Bezier, the display object made exists The not stiff straight line steering of movement is gathered in steering after Target Identification Point occurs, and more natural curve turns can Promote the viewing experience of user.
Further, the step of above-mentioned steps S42 includes:
The current location of object will be shown as the first end point of Bezier Bezier curve, the position work of Target Identification Point For the second endpoint of Bezier curve, control point of the target position as Bezier curve, based on the first end point, the Two endpoints, control point and default Bezier curve model construction Bezier curve.
In the present embodiment, presetting Bezier curve model is quadratic bezier curve model:
B (t)=(1+t)2P0+2t(1+t)P1+t2P2, t ∈ [0,1],
Wherein, t is variable, P0For first end point, P1For control point, P2For the second endpoint, B (t) is Bezier curve model Value corresponding with t, the value are the point on Bezier curve, and the curve that numerous B (t) is linked to be is Bezier curve.It can With reference to existing Bezier curve model, details are not described herein.
Supplemented by assistant solution, now arrange as one example: as shown in figure 5, using it is described display object current location as Bezier The first end point A of curve, second endpoint C of the position of Target Identification Point as Bezier curve, target position is as Bezier The control point B of curve connects AB, BC, the optional point D on AB, the distance AD and the line segment overall length of calculating D point to line segment starting point The ratio of AB, i.e. AD/AB determine a point E further according to the ratio on BC, make AD/AB=BE/BC, connect DE, determine on DE One point F, makes DF/DE=AD/AB=BE/BC, and point F is a point on Bezier curve, different by taking on AB Point D, it may be determined that different point F connects all point F to obtain Bezier curve.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium.
Image display program is stored on computer readable storage medium, realization when image display program is executed by processor The step of image display method as described above.
Computer readable storage medium specific embodiment of the present invention and the basic phase of each embodiment of above-mentioned image display method Together, details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage as above In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server, controlled terminal or network equipment etc.) method that executes each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of image display method, which is characterized in that described image display methods the following steps are included:
When identifying to target object, the initial parameter of display object is generated;
The display object is displayed on the screen according to the initial parameter;
Show that object moves on the screen according to the initial parameter and default display rule control.
2. image display method as described in claim 1, which is characterized in that the display object is circle, described to target When object is identified, generate display object initial parameter the step of include:
When identifying to target object, initial radium, initial transparent degree and the initial position of display object are generated, it will be described Show the initial parameter of initial radium, initial transparent degree and the initial position of object as the display object;
Described the step of being displayed on the screen the display object according to the initial parameter includes:
Display object is generated according to the initial radium, initial transparent degree, and the display object is shown described in the screen Initial position.
3. image display method as claimed in claim 2, which is characterized in that the initial parameter further includes the first of display object Beginning movement velocity, initial motion direction and simulation direction, it is described according to the initial parameter and default display rule control Movement step includes: display object on the screen
It controls the display object to move with initial motion speed to initial motion direction, and controls the half of the display object Diameter, and/or, the transparency of the display object is as the movement of the display object is according to corresponding pre- with the simulation direction If display rule variation.
4. image display method as claimed in claim 3, which is characterized in that the radius of the control display object, and/ Or, the transparency of the display object is as the movement of the display object is according to default display corresponding with the simulation direction Rule variation the step of include:
If the simulation direction of the display object is to simulate to control the radius of the display object far from state from described initial Radius starts, as run duration increase is gradually reduced, and/or, control the transparency of the display object from it is described it is initial thoroughly Lightness starts, as run duration increase is gradually increased.
5. image display method as claimed in claim 3, which is characterized in that the radius of the control display object, and/ Or, the transparency of the display object is as the movement of the display object is according to default display corresponding with the simulation direction Rule variation the step of include:
If the simulation direction of the display object is simulation proximity state, the radius of the display object is controlled from described initial Radius starts, as run duration increase is gradually increased, and/or, control the transparency of the display object from it is described it is initial thoroughly Lightness starts, as run duration increase is gradually reduced.
6. image display method as claimed in claim 3, which is characterized in that the radius of the control display object, and/ Or, the transparency of the display object is as the movement of the display object is according to default display corresponding with the simulation direction After the step of rule variation, further includes:
In the transparency change for showing object to default transparency threshold, and/or, the radius change of the display object is extremely Pre-set radius threshold value, and/or, when the display object reaches screen edge, controls the display object and does not appear on screen, And the new display object of preset quantity is generated on the screen.
7. image display method as described in claim 1, which is characterized in that described according to the initial parameter and default display After showing the step of object moves on the screen described in rule control, further includes:
When loading Target Identification Point when to recongnition of objects success and be displayed on the screen, current time screen is obtained Current kinetic speed, current kinetic direction and the current location of upper all display objects, are based on current kinetic speed, current kinetic Direction and current location calculate each display object in the target position of preset time;
It is bent according to the current location of the display object, the position of Target Identification Point and target position building Bezier Bezier Line;
It controls each display object and moves to the Target Identification Point in preset duration according to respective Bezier curve.
8. image display method as claimed in claim 7, which is characterized in that the present bit according to the display object Set, the position of Target Identification Point and target position building Bezier curve the step of include:
Using the current location of the display object as the first end point of Bezier curve, the position conduct of Target Identification Point Second endpoint of Bezier curve, control point of the target position as Bezier curve are based on the first end point, second Endpoint, control point and default Bezier curve model construction Bezier curve.
9. a kind of image display device, which is characterized in that described image display device includes memory, processor and is stored in institute The image display program that can be run on memory and on the processor is stated, described image shows that program is held by the processor It realizes when row such as the step of image display method described in any item of the claim 1 to 8.
10. a kind of computer readable storage medium, which is characterized in that it is aobvious to be stored with image on the computer readable storage medium Show program, described image, which is shown, to be realized when program is executed by processor as image described in any item of the claim 1 to 8 is shown The step of method.
CN201910715801.9A 2019-08-02 2019-08-02 Image display method, image display apparatus, and computer-readable storage medium Active CN110442316B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910715801.9A CN110442316B (en) 2019-08-02 2019-08-02 Image display method, image display apparatus, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910715801.9A CN110442316B (en) 2019-08-02 2019-08-02 Image display method, image display apparatus, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN110442316A true CN110442316A (en) 2019-11-12
CN110442316B CN110442316B (en) 2023-03-31

Family

ID=68433191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910715801.9A Active CN110442316B (en) 2019-08-02 2019-08-02 Image display method, image display apparatus, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN110442316B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093301A (en) * 2019-12-14 2020-05-01 安琦道尔(上海)环境规划建筑设计咨询有限公司 Light control method and system
CN113888725A (en) * 2021-09-30 2022-01-04 北京城市网邻信息技术有限公司 Virtual reality interface loading method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2617144C1 (en) * 2015-12-09 2017-04-21 Акционерное общество "Муромский завод радиоизмерительных приборов" Method for simulating object movement trajectory
CN108647055A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN109558100A (en) * 2018-10-12 2019-04-02 努比亚技术有限公司 Adjusting method, terminal and the computer readable storage medium of screen display parameters
CN109889720A (en) * 2018-11-15 2019-06-14 乐蜜有限公司 A kind of video capture method, apparatus, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2617144C1 (en) * 2015-12-09 2017-04-21 Акционерное общество "Муромский завод радиоизмерительных приборов" Method for simulating object movement trajectory
CN108647055A (en) * 2018-05-10 2018-10-12 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN109558100A (en) * 2018-10-12 2019-04-02 努比亚技术有限公司 Adjusting method, terminal and the computer readable storage medium of screen display parameters
CN109889720A (en) * 2018-11-15 2019-06-14 乐蜜有限公司 A kind of video capture method, apparatus, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙湛杭等: "项目实战:基于双缓冲机制下的屏幕保护程序", 《数码世界》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111093301A (en) * 2019-12-14 2020-05-01 安琦道尔(上海)环境规划建筑设计咨询有限公司 Light control method and system
CN111093301B (en) * 2019-12-14 2022-02-25 安琦道尔(上海)环境规划建筑设计咨询有限公司 Light control method and system
CN113888725A (en) * 2021-09-30 2022-01-04 北京城市网邻信息技术有限公司 Virtual reality interface loading method, device, equipment and medium

Also Published As

Publication number Publication date
CN110442316B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
US11494995B2 (en) Systems and methods for virtual and augmented reality
CN110944727B (en) System and method for controlling virtual camera
CN107154069A (en) A kind of data processing method and system based on virtual role
US5977978A (en) Interactive authoring of 3D scenes and movies
CN111957040B (en) Detection method and device for shielding position, processor and electronic device
US9418378B2 (en) Method and system for trying out a product in relation to a real world environment
US20220249949A1 (en) Method and apparatus for displaying virtual scene, device, and storage medium
KR20230167134A (en) Systems, methods, and graphical user interfaces for interacting with augmented and virtual reality environments
CN110503581B (en) Unity 3D-based visual training system
CA2921056C (en) Three-dimensional virtualization
US11508087B2 (en) Texture-based pose validation
CN105955471A (en) Virtual reality interaction method and device
CN108875473A (en) Living body verification method, device and system and storage medium
CN110442316A (en) Image display method, device and computer readable storage medium
CN113240778A (en) Virtual image generation method and device, electronic equipment and storage medium
CN106774821B (en) Display method and system based on virtual reality technology
CN112598769A (en) Special effect rendering method and device, electronic equipment and computer readable storage medium
CN109191590B (en) Processing system and processing method for manufacturing virtual reality application
CN109032339A (en) A kind of method and system that real-time intelligent body-sensing is synchronous
CN110322538A (en) Character displaying method, device, storage medium and processor
CN111167119B (en) Game development display method, device, equipment and storage medium
CN106909263A (en) The interactive display method and system of 3-D view
CN112308948A (en) Construction method and application of light field roaming model for house property marketing
US11756260B1 (en) Visualization of configurable three-dimensional environments in a virtual reality system
JP3559913B2 (en) Three-dimensional shape model deformation method and apparatus

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
GR01 Patent grant
GR01 Patent grant