CN107797783A - Control method, control device and computer-readable recording medium - Google Patents
Control method, control device and computer-readable recording medium Download PDFInfo
- Publication number
- CN107797783A CN107797783A CN201711007587.9A CN201711007587A CN107797783A CN 107797783 A CN107797783 A CN 107797783A CN 201711007587 A CN201711007587 A CN 201711007587A CN 107797783 A CN107797783 A CN 107797783A
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- parameter
- successively
- superposition
- fuzzy parameter
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/80—2D [Two Dimensional] animation, e.g. using sprites
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- General Engineering & Computer Science (AREA)
- Image Processing (AREA)
Abstract
The invention discloses a kind of control method.Control method is used to control image to show.Control method includes:Obtain initial pictures;Multiple Fuzzy Processing is carried out to initial pictures to generate multiframe blurred picture;Shown successively with control multiframe blurred picture to form fuzzy animation.In addition, the invention also discloses a kind of control device and computer-readable recording medium.Control method, control device and the computer-readable recording medium of embodiment of the present invention, multiframe blurred picture is generated by carrying out multiple Fuzzy Processing to initial pictures, and multiframe blurred picture is controlled to show to form fuzzy animation successively, a kind of soft visual effect has been built, has improved Consumer's Experience.
Description
Technical field
The present invention relates to technical field of image processing, more particularly to a kind of control method, control device and computer-readable
Storage medium.
Background technology
Rearmounted shooting is switched to when display device (such as camera, mobile phone) is in switch mode, such as by preposition shooting,
Due to gap on the time be present, blank or blank screen picture is typically presented in display device in handoff procedure, even if one figure of insertion
It is also the picture that the single frame fog-level of insertion is fixed that piece, which carries out transition, not only seems very lofty, and Consumer's Experience is not
It is good.
The content of the invention
Embodiment of the present invention provides a kind of control method, control device and computer-readable recording medium.
The control method of embodiment of the present invention, for controlling image to show, the control method includes:
Obtain initial pictures;
Multiple Fuzzy Processing is carried out to the initial pictures to generate multiframe blurred picture;With
The multiframe blurred picture is controlled to show successively to form fuzzy animation.
The control device of embodiment of the present invention, for controlling image to show, the control device includes:
Acquisition module, the acquisition module are used to obtain initial pictures;
Processing module, the processing module are used to obscure the multiple Fuzzy Processing of initial pictures progress to generate multiframe
Image;With
Control module, the control module are used to control the multiframe blurred picture to show successively to form fuzzy animation.
The control device of embodiment of the present invention, for controlling image to show, the control device includes:
One or more processors;
Memory;And
One or more programs, wherein one or more of programs are stored in the memory, and it is configured
By one or more of computing devices, described program includes being used for the instruction for performing the control method.
The computer-readable recording medium of embodiment of the present invention, including the computer journey being used in combination with control device
Sequence, the computer program can be executed by processor to complete the control method.
Control method, control device and the computer-readable recording medium of embodiment of the present invention, by initial pictures
Multiple Fuzzy Processing generation multiframe blurred picture is carried out, and controls multiframe blurred picture to show to form fuzzy animation successively, is built
A kind of soft visual effect, improves Consumer's Experience.
The additional aspect and advantage of embodiment of the present invention will be set forth in part in the description, partly by from following
Become obvious in description, or recognized by the practice of the present invention.
Brief description of the drawings
The above-mentioned and/or additional aspect and advantage of the present invention can be from reference to description of the accompanying drawings below to embodiment
It will be apparent and be readily appreciated that, wherein:
Fig. 1 is the schematic flow sheet of the control method of embodiment of the present invention;
Fig. 2 is the module diagram of the control device of embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the control method of embodiment of the present invention;
Fig. 4 is the module diagram of the processing module of embodiment of the present invention;
Fig. 5 is the effect diagram of the control method processing image of embodiment of the present invention;
Fig. 6 is another effect diagram of the control method processing image of embodiment of the present invention;
Fig. 7 is the module diagram of the control device of embodiment of the present invention;
Fig. 8 is the control device of embodiment of the present invention and the connection diagram of computer-readable recording medium;
Main element and symbol description:.
Control device 10, acquisition module 11, processing module 12, setting unit 122, computing unit 124, processing unit 126,
Control module 13, processor 14, memory 15, computer-readable recording medium 20.
Embodiment
Embodiments of the present invention are described below in detail, the example of the embodiment is shown in the drawings, wherein, it is identical
Or similar label represents same or similar element or the element with same or like function from beginning to end.Below by ginseng
The embodiment for examining accompanying drawing description is exemplary, is only used for explaining embodiments of the present invention, and it is not intended that to this hair
The limitation of bright embodiment.
In the description of embodiments of the present invention, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " length
Degree ", " width ", " thickness ", " on ", " under ", "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ",
The orientation or position relationship of the instruction such as " outer ", " clockwise ", " counterclockwise " are based on orientation shown in the drawings or position relationship, only
It is to be described for the ease of description embodiments of the present invention with simplified, rather than indicates or imply that the device of meaning or element are necessary
With specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limitation to embodiments of the present invention.
In addition, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance or implicit
Indicate the quantity of indicated technical characteristic.Thus, " first " is defined, the feature of " second " can be expressed or impliedly wrap
Include one or more feature.In the description of embodiments of the present invention, " multiple " are meant that two or two
More than, unless otherwise specifically defined.
, it is necessary to illustrate in the description of embodiments of the present invention, unless otherwise clearly defined and limited, term
" installation ", " connection ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or one
Connect body;It can be mechanical connection or electrical connection or can mutually communicate;Can be directly connected to, can also lead to
Cross intermediary to be indirectly connected with, can be connection or the interaction relationship of two elements of two element internals.For ability
For the those of ordinary skill in domain, it can understand that above-mentioned term in embodiments of the present invention specific contains as the case may be
Justice.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it
" on " or it " under " can directly be contacted including the first and second features, it is not directly to connect that can also include the first and second features
Touch but pass through the other characterisation contact between them.Moreover, fisrt feature second feature " on ", " top " and " on
Face " includes fisrt feature directly over second feature and oblique upper, or to be merely representative of fisrt feature level height special higher than second
Sign.Fisrt feature second feature " under ", " lower section " and " below " include fisrt feature immediately below second feature and tiltedly under
Side, or be merely representative of fisrt feature level height and be less than second feature.
Following disclosure provides many different embodiments or example is used for realizing embodiments of the present invention not
Same structure.In order to simplify the disclosure of embodiments of the present invention, hereinafter the part and setting of specific examples are described.When
So, they are only example, and purpose does not lie in the limitation present invention.In addition, embodiments of the present invention can be in different examples
Repeat reference numerals and/or reference letter in son, this repetition are for purposes of simplicity and clarity, itself not indicate to be begged for
By the relation between various embodiments and/or setting.In addition, the various specific techniques that embodiments of the present invention provide
With the example of material, but those of ordinary skill in the art can be appreciated that the application of other techniques and/or making for other materials
With.
Referring to Fig. 1, the control method of embodiment of the present invention is used to control image to show.Control method includes:
111:Obtain initial pictures;
112:Multiple Fuzzy Processing is carried out to initial pictures to generate multiframe blurred picture;With
113:Control multiframe blurred picture is shown to form fuzzy animation successively.
Referring to Fig. 2, the control device 10 of embodiment of the present invention is used to control image to show.Control device 10 includes obtaining
Modulus block 11, processing module 12 and control module 13.The control method of embodiment of the present invention can be by embodiment of the present invention
Control device 10 is realized.For example, acquisition module 11 can be used for performing the method in 111, processing module 12 can be used for performing in 112
Method, control module 13 can be used for perform 113 in method.
In other words, acquisition module 11 can be used for obtaining initial pictures.Processing module 12 can be used for initial pictures
Multiple Fuzzy Processing is carried out to generate multiframe blurred picture.Control module 13 can be used for controlling multiframe blurred picture to show successively
To form fuzzy animation.
The control method and control device 10 of embodiment of the present invention, by carrying out multiple Fuzzy Processing life to initial pictures
Into multiframe blurred picture, and control multiframe blurred picture to show to form fuzzy animation successively, build a kind of soft vision effect
Fruit, improve Consumer's Experience.
Specifically, when existing display device (such as camera, mobile phone) is in switch mode, such as by preposition shooting switching
To rearmounted shooting, due to gap on the time be present, blank or blank screen picture is typically presented in display device in handoff procedure, even if
It is also the picture that the single frame fog-level of insertion is fixed to insert a pictures and carry out transition, not only seems very lofty, and
Consumer's Experience is bad.When the control method of embodiment of the present invention is applied to display device, each frame can be dynamically adjusted
The fog-level of image, the effect of dynamic change is showed, it is visually more soft, fine and smooth, will not be lofty.
In addition, when the control method of embodiment of the present invention is applied to display device, OpenGL (Open can be used
Graphics Library) call graphics processor (Graphics Processing Unit, GPU) carry out image fuzzy place
Reason.GPU treatment effeciencies are high, will not cause the operation interim card of display device.
In one embodiment, it can be that initial pictures are obscured successively that initial pictures are carried out with multiple Fuzzy Processing
Handle (time-division processing).
For example, processing module 12 carries out Fuzzy Processing at the first moment to initial pictures obtains the first frame blurred picture,
Second moment carried out Fuzzy Processing to initial pictures and obtains the second frame blurred picture, and initial pictures are obscured at the 3rd moment
Processing obtains the 3rd frame blurred picture ... ..., and carrying out Fuzzy Processing to initial pictures in n-hour obtains nth frame blurred picture.
Then, control module 13 control the first frame blurred picture, the second frame blurred picture, the 3rd frame blurred picture ..., nth frame mould
Paste image shows to form fuzzy animation successively.It may be noted that be, the first moment, the second moment, the 3rd moment ..., N when
Carve initial pictures are carried out with the fog-level of Fuzzy Processing can be with entirely different, or part is identical, part is different so that multiframe
The blur effect of blurred picture can be rendered as deepening successively, or weaken successively, or first deepen to weaken afterwards, or first weaken and add afterwards
It is deep, or first deepen to weaken afterwards and deepen again and so on etc..
In another example processing module 12 carries out Fuzzy Processing at the first moment to initial pictures obtains the first frame blurred picture,
Second moment carried out Fuzzy Processing to the first frame blurred picture and obtains the second frame blurred picture, and the second frame is obscured at the 3rd moment
Image carries out Fuzzy Processing and obtains the 3rd frame blurred picture ... ..., and (N-1) frame blurred picture is obscured in n-hour
Processing obtains nth frame blurred picture.In this way, the operand of Fuzzy Processing is smaller.Then, control module 13 controls the first frame to obscure
Image, the second frame blurred picture, the 3rd frame blurred picture ..., nth frame blurred picture shows to form fuzzy animation successively.Need
It is noted that because each Fuzzy Processing is carried out on the basis of former frame blurred picture, therefore carry out Fuzzy Processing
Fog-level can be with identical or entirely different, or part is identical, part is different so that multiframe blurred picture mould
Paste effect can be rendered as deepening successively, or weaken successively, or first deepen to weaken afterwards, or first weaken and deepen afterwards, or first after intensification
Decrease is deepened and so on etc. again.
In one embodiment, it can be that initial pictures are carried out repeatedly simultaneously that initial pictures are carried out with multiple Fuzzy Processing
Fuzzy Processing (is handled) simultaneously.
For example, processing module 12 can copy as initial pictures N frame initial pictures, processing module 12 is at the first moment pair
First frame initial pictures carry out Fuzzy Processing and obtain the first frame blurred picture, and mould is carried out to the second frame initial pictures at the first moment
Paste handles to obtain the second frame blurred picture, and obtaining the 3rd frame to the 3rd frame initial pictures progress Fuzzy Processing at the first moment obscures
Image ... ..., Fuzzy Processing is carried out to nth frame initial pictures at the first moment and obtains nth frame blurred picture.Then, mould is controlled
Block 13 control the first frame blurred picture, the second frame blurred picture, the 3rd frame blurred picture ..., nth frame blurred picture shows successively
Show to form fuzzy animation.It may be noted that being, the fog-level that processing module 12 carries out Fuzzy Processing to N frames initial pictures can be with complete
It is complete different, or part is identical, part is different, so that obtaining the blur effect of multiframe blurred picture can be rendered as deepening successively, or
Weaken successively, or first deepen to weaken afterwards, or first weaken and deepen afterwards, or first deepen to weaken afterwards and deepen again and so on etc..
In some embodiments, the form of the blurred picture by Fuzzy Processing generation is bitmap format (BMP forms).
It is appreciated that BMP forms are the standard image file formats in DOS and Windows operating system, can be a variety of
Application program is supported, is one of widest file format used at present.BMP forms support RGB, indexed color, gray scale
With bitmap color mode, and the RGB bitmaps of 1,4,24,32 are supported.
In one embodiment, control module 13 control the frame per second that multiframe blurred picture shows successively be more than or equal to
30Hz.So, it is ensured that smooth and continuous animation result of broadcast.
In some embodiments, it is to pass through height to carry out multiple Fuzzy Processing to initial pictures to generate multiframe blurred picture
This fuzzy algorithmic approach carries out multiple Fuzzy Processing to initial pictures.
In other words, processing module 12 carries out multiple Fuzzy Processing by Gaussian Blur algorithm to initial pictures.
Specifically, Gaussian Blur algorithm using Gaussian Profile and calculates weight matrix, and point, takes centered on each pixel
The average value of surrounding pixel is obtained, central point is lost details to show blur effect.After calculating all pixels,
It can obtain Gaussian Blur effect.The value of blur radius is bigger, then blur effect is more obvious, and Gaussian Blur effect can retain
The profile of image, and show than more uniform, smooth, soft blur effect.
In this way, the fuzzy animation formed by the multiframe blurred picture obtained by Gaussian Blur algorithm progress Fuzzy Processing
Soft dynamic change effect can be showed, so as to which Consumer's Experience be substantially improved.
Referring to Fig. 3, in some embodiments, multiple Fuzzy Processing is carried out to initial pictures to generate multiframe fuzzy graph
As including:
1122:Initial fuzzy parameter, fuzzy parameter increment, maximum fuzzy parameter are set, and initial fuzzy parameter is less than maximum
Fuzzy parameter;
1124:Multiple superposition fuzzy parameters, multiple superpositions are obtained according to initial fuzzy parameter and fuzzy parameter incremental computations
Fuzzy parameter is respectively less than maximum fuzzy parameter;With
1126:Initial pictures are repeatedly obscured by the Gaussian Blur algorithm for substituting into multiple superposition fuzzy parameters respectively
Handle to generate multiframe blurred picture.
Referring to Fig. 4, in some embodiments, processing module 12 includes setting unit 122, computing unit 124 and place
Manage unit 126.Setting unit 122 can be used for performing the method in 1122, and computing unit 124 can be used for performing the side in 1124
Method, processing unit 126 can be used for performing the method in 1126.
In other words, setting unit 122 can be used for setting initial fuzzy parameter, fuzzy parameter increment, maximum fuzzy ginseng
Number, initial fuzzy parameter are less than maximum fuzzy parameter.Computing unit 124 can be used for according to initial fuzzy parameter and fuzzy parameter
Incremental computations obtain multiple superposition fuzzy parameters, and multiple superposition fuzzy parameters are respectively less than maximum fuzzy parameter.Processing unit 126 can
For by substitute into respectively the Gaussian Blur algorithms of multiple superposition fuzzy parameters initial pictures are carried out multiple Fuzzy Processing with
Generate multiframe blurred picture.
Specifically, when being superimposed fuzzy parameter difference, the fog-level that initial pictures are carried out with Fuzzy Processing is different.Superposition
The value of fuzzy parameter is bigger, and fog-level is deeper, is superimposed that the value of fuzzy parameter is smaller, and fog-level is weaker.For example, Fig. 6
Superposition fuzzy parameter superposition fuzzy parameter of the value more than Fig. 5 value, it is clear that blurred picture shown in Fig. 6 it is fuzzy
Degree is more than the fog-level of the blurred picture shown in Fig. 5.Therefore, it is also desirable to set a maximum fuzzy parameter fuzzy to constrain
Degree.It is appreciated that initially the value of fuzzy parameter, fuzzy parameter increment, superposition fuzzy parameter and maximum fuzzy parameter is big
In 0.
In one embodiment, computing unit 124 obtains first according to initial fuzzy parameter and fuzzy parameter incremental computations
Superposition fuzzy parameter (first superposition parameter can be equal to initial fuzzy parameter), and judge first be superimposed fuzzy parameter whether be more than or
Equal to maximum fuzzy parameter.When the first superposition fuzzy parameter is less than maximum fuzzy parameter, processing unit 126 is by the first superposition mould
Paste parameter and substitute into Gaussian Blur algorithm, using the Gaussian Blur algorithm initial pictures are carried out with Fuzzy Processing and generates the first frame mould
Paste image.Computing unit 124 obtains the second superposition fuzzy parameter according to initial fuzzy parameter and fuzzy parameter incremental computations, and sentences
Whether disconnected second superposition fuzzy parameter is more than or equal to maximum fuzzy parameter.When the second superposition fuzzy parameter is less than maximum fuzzy ginseng
During number, the second superposition fuzzy parameter is substituted into Gaussian Blur algorithm by processing module 12, using the Gaussian Blur algorithm to initial graph
As carrying out Fuzzy Processing and generating the second frame blurred picture, the rest may be inferred, substitutes into the 3rd superposition fuzzy parameter and obtains Gaussian Blur
Algorithm is simultaneously folded using the Gaussian Blur algorithm to initial pictures progress Fuzzy Processing with generating the 3rd frame blurred picture, substituting into the 4th
Add fuzzy parameter to obtain Gaussian Blur algorithm and Fuzzy Processing is carried out to initial pictures to generate the using the Gaussian Blur algorithm
Four frame blurred pictures etc..
In some embodiments, the span of maximum fuzzy parameter is (0,25).
In other words, maximum fuzzy parameter can be any value in the range of (0,25).For example, maximum fuzzy parameter can
Think 5,11.2,15,16,17.9,18.3,19,21,23,24.5 etc..
It is preferred that maximum fuzzy parameter is 17.
In one embodiment, maximum fuzzy parameter is 17, and superposition fuzzy parameter is 0.4, and initial fuzzy parameter is 3.Meter
Calculating multiple superposition fuzzy parameters that unit 124 obtains according to initial fuzzy parameter and fuzzy parameter incremental computations is respectively:3、
3.4th, 3.8,4.2 ..., 16.2,16.6, computing unit 124 is by 3,3.4,3.8,4.2 ..., 16.2,16.6 substitute into respectively
Gaussian Blur algorithm to initial pictures to carry out multiple Fuzzy Processing, to generate multiframe blurred picture.
In some embodiments, the value of multiple superposition fuzzy parameters is incremented by successively.For example, multiple superposition fuzzy parameters
Value can be respectively 5,6,10,11,13,16.It is pointed out that the values of multiple superposition fuzzy parameters can be with linear increment, right
Number be incremented by, exponential increasings or it is irregular be incremented by etc., this is not restricted, to generate the multiframe fuzzy graph that blur effect is deepened successively
Picture.
In some embodiments, superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N;
Wherein, X is to be superimposed fuzzy parameter, X0For initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is fuzzy parameter
Increment, N are the totalframes of multiframe blurred picture.
In other words, it is superimposed fuzzy parameter and the number of Fuzzy Processing is proportionate, the blur effect of multiframe blurred picture
It will appear as and deepen successively.Multiple superposition fuzzy parameters are respectively X0、(X0+Δx)、(X0+2Δx)、(X0+3Δx)、(X0+4Δ
x)、……、(X0+ (N-1) * Δs x).In one example, N=10, then it is multiple superposition fuzzy parameters be respectively:X0、(X0+Δ
x)、(X0+2Δx)、(X0+3Δx)、(X0+4Δx)、……、(X0+9Δx).Computing unit 124 is by multiple superposition fuzzy parameters
Gaussian Blur algorithm is substituted into respectively to carry out multiple Fuzzy Processing to initial pictures, to generate the multiframe that blur effect is deepened successively
Blurred picture (by Fig. 5 to Fig. 6).
In some embodiments, the value of multiple superposition fuzzy parameters is successively decreased successively.For example, multiple superposition fuzzy parameters
Value can be respectively 16,13,11,10,6,5.It is pointed out that the values of multiple superposition fuzzy parameters can be with linear decrease, right
Number successively decrease, exponential decrease or it is irregular successively decrease, this is not restricted, to generate the multiframe fuzzy graph that blur effect weakens successively
Picture.
In some embodiments, superposition fuzzy parameter meets conditional:
X=X0- (n-1) * Δs x, 1≤n≤N;
Wherein, X is to be superimposed fuzzy parameter, X0For initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is fuzzy parameter
Increment, N are the totalframes of multiframe blurred picture.
In other words, it is superimposed fuzzy parameter and the number of Fuzzy Processing is negatively correlated, the blur effect of multiframe blurred picture
It will appear as and weaken successively.Multiple superposition fuzzy parameters are respectively X0、(X0- Δ x), (X0- 2 Δ x), (X0- 3 Δ x), (X0-
4Δx)、……、(X0- (N-1) * Δs x).In one example, N=10, then it is multiple superposition fuzzy parameters be respectively:X0、
(X0- Δ x), (X0- 2 Δ x), (X0- 3 Δ x), (X0- 4 Δ x) ..., (X0- 9 Δ x).Computing unit 124 will be multiple folded
Fuzzy parameter is added to substitute into Gaussian Blur algorithm respectively to carry out multiple Fuzzy Processing to initial pictures, to generate blur effect successively
The multiframe blurred picture of decrease (by Fig. 6 to Fig. 5).
In some embodiments, the value of multiple superposition fuzzy parameters is first incremented by successively successively decreases successively again.It is for example, multiple folded
The value for adding fuzzy parameter can be respectively 5,6,10,11,13,16,13,11,10,6,5.It is pointed out that multiple superposition moulds
Paste parameter value can first linear increment, logarithm be incremental, exponential increasing or it is irregular be incremented by etc., then linear decrease, logarithmic decrease,
Exponential decrease or it is irregular successively decrease, this is not restricted, is first deepened successively with generating blur effect, the multiframe that weakens successively again
Blurred picture.
In some embodiments, superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N1;
X=X0+(2N1- n-1) * Δs x, N1< n≤N;
Wherein, X is to be superimposed fuzzy parameter, X0For initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is fuzzy parameter
Increment, N are the totalframes of multiframe blurred picture.
In other words, it is superimposed fuzzy parameter and the number of Fuzzy Processing is first proportionate, then negatively correlated, preceding N1Frame obscures
The blur effect of image is rendered as deepening successively, rear (N-N1) blur effect of frame blurred picture is rendered as weakening successively.It is multiple
It is respectively X to be superimposed fuzzy parameter0、(X0+Δx)、……、(X0+(N1- 1) * Δs x) ..., (X0+(2N1- N) * Δs x), (X0+
(2N1- N-1) * Δs x).In one example, N1=5, N=10, then it is multiple superposition fuzzy parameters be respectively:X0、(X0+Δ
x)、……、(X0+4Δx)、……、X0、(X0- Δ x).Multiple superposition fuzzy parameters are substituted into Gauss by computing unit 124 respectively
Fuzzy algorithmic approach to carry out multiple Fuzzy Processing to initial pictures, first deepened successively with generating blur effect, weaken successively again it is more
Frame blurred picture (by Fig. 5 to Fig. 6 again to Fig. 5).
In some embodiments, the value of multiple superposition fuzzy parameters is first successively decreased again incremented by successively successively.It is for example, multiple folded
The value for adding fuzzy parameter can be respectively 16,13,11,10,6,5,6,10,11,13,16.It is pointed out that multiple superposition moulds
Paste parameter value can first linear decrease, logarithmic decrease, exponential decrease or it is irregular successively decrease, then linear increment, logarithm it is incremental,
Exponential increasing or it is irregular be incremented by etc., this is not restricted, is first weakened successively with generating blur effect, the multiframe deepened successively again
Blurred picture.
In some embodiments, superposition fuzzy parameter meets conditional:
X=X0- (n-1) * Δs x, 1≤n≤N1;
X=X0- (2N1- n-1) * Δs x, N1< n≤N;
Wherein, X is to be superimposed fuzzy parameter, X0For initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is fuzzy parameter
Increment, N are the totalframes of multiframe blurred picture.
In other words, it is superimposed fuzzy parameter and the number of Fuzzy Processing is first negatively correlated, then is proportionate, preceding N1Frame obscures
The blur effect of image is rendered as weakening successively, rear (N-N1) blur effect of frame blurred picture is rendered as deepening successively.It is multiple
It is respectively X to be superimposed fuzzy parameter0、(X0- Δ x) ..., (X0- (N1- 1) * Δs x) ..., (X0- (2N1- N) * Δs x),
(X0- (2N1- N-1) * Δs x).In one example, N1=5, N=10, then it is multiple superposition fuzzy parameters be respectively:X0、
(X0- Δ x) ..., (X0- 4 Δ x) ..., X0、(X0+Δx).Computing unit 124 is by multiple superposition fuzzy parameters generations respectively
Enter Gaussian Blur algorithm to carry out multiple Fuzzy Processing to initial pictures, first weakened successively with generating blur effect, added successively again
Deep multiframe blurred picture (by Fig. 6 to Fig. 5 again to Fig. 6).
It is pointed out that in the above-described embodiment, superposition fuzzy parameter is linearly related to the number of Fuzzy Processing,
In other embodiments, it is in nonlinear correlation (such as quadratic function is related) to be superimposed fuzzy parameter to the number of Fuzzy Processing, with
Form soft animation visual effect.
Referring to Fig. 7, the control device 10 of embodiment of the present invention is used to control image to show.Control device 10 includes one
Individual or multiple processors 14, memory 15 and one or more programs.Wherein, one or more programs are stored in memory
In 15, and it is configured to be performed by one or more processors 14.Program includes the controlling party for any of the above-described embodiment
The instruction of method.
For example, program includes being used for the instruction for performing following control method:
111:Obtain initial pictures;
112:Multiple Fuzzy Processing is carried out to initial pictures to generate multiframe blurred picture;With
113:Control multiframe blurred picture is shown to form fuzzy animation successively.
The control device 10 of embodiment of the present invention, obscured by the way that initial pictures are carried out with multiple Fuzzy Processing generation multiframe
Image, and control multiframe blurred picture to show to form fuzzy animation successively, a kind of soft visual effect has been built, has improved use
Experience at family.
Referring to Fig. 8, the computer-readable recording medium 20 of embodiment of the present invention includes being combined with control device 10 making
Computer program.Computer program can be performed by processor 14 to complete the control method of any of the above-described embodiment.
For example, computer program can be performed by processor 14 to complete following control method:
111:Obtain initial pictures;
112:Multiple Fuzzy Processing is carried out to initial pictures to generate multiframe blurred picture;With
113:Control multiframe blurred picture is shown to form fuzzy animation successively.
The computer-readable recording medium 20 of embodiment of the present invention, by carrying out multiple Fuzzy Processing life to initial pictures
Into multiframe blurred picture, and control multiframe blurred picture to show to form fuzzy animation successively, build a kind of soft vision effect
Fruit, improve Consumer's Experience.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implementation
The description of mode ", " example ", " specific example " or " some examples " etc. means the tool with reference to the embodiment or example description
Body characteristicses, structure, material or feature are contained at least one embodiment or example of the present invention.In this manual,
Identical embodiment or example are not necessarily referring to the schematic representation of above-mentioned term.Moreover, the specific features of description, knot
Structure, material or feature can combine in an appropriate manner in any one or more embodiments or example.
Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include
Module, fragment or the portion of the code of the executable instruction of one or more the step of being used to realize specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable
Sequence, including according to involved function by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system including the system of processing module or other can be from instruction
The system of execution system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or
Equipment and use.For the purpose of this specification, " computer-readable medium " can be it is any can include, store, communicating, propagating or
Transmission program uses for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment
Device.The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wiring
Electrical connection section (IPM current foldback circuits), portable computer diskette box (magnetic device), random access memory (RAM) are read-only to deposit
Reservoir (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk are only
Read memory (CDROM).In addition, computer-readable medium, which can even is that, to print the paper of described program or other conjunctions thereon
Suitable medium, because can then enter edlin, interpretation or if necessary for example by carrying out optical scanner to paper or other media
Handled electronically to obtain described program, be then stored in computer storage with other suitable methods.
It should be appreciated that each several part of embodiments of the present invention can be with hardware, software, firmware or combinations thereof come real
It is existing.In the above-described embodiment, multiple steps or method can use storage in memory and by suitable instruction execution system
The software or firmware of execution is realized.If for example, being realized with hardware, with another embodiment, ability can be used
Any one of following technology known to domain or their combination are realized:With for realizing logic function to data-signal
The discrete logic of logic gates, there is the application specific integrated circuit of suitable combinational logic gate circuit, programmable gate array
(PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries
Suddenly it is that by program the hardware of correlation can be instructed to complete, described program can be stored in a kind of computer-readable storage medium
In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.
In addition, each functional unit in various embodiments of the present invention can be integrated in a processing module, also may be used
To be that unit is individually physically present, can also two or more units be integrated in a module.It is above-mentioned integrated
Module can both be realized in the form of hardware, can also be realized in the form of software function module.The integrated module
If realized in the form of software function module and as independent production marketing or in use, a calculating can also be stored in
In machine read/write memory medium.
Storage medium mentioned above can be read-only storage, disk or CD etc..
Although embodiments of the present invention have been shown and described above, it is to be understood that above-mentioned embodiment is
Exemplary, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be right
Above-mentioned implementation implements be changed, change, replacing and modification.
Claims (18)
1. a kind of control method, for controlling image to show, it is characterised in that the control method includes:
Obtain initial pictures;
Multiple Fuzzy Processing is carried out to the initial pictures to generate multiframe blurred picture;With
The multiframe blurred picture is controlled to show successively to form fuzzy animation.
2. control method according to claim 1, it is characterised in that described that the initial pictures are carried out repeatedly with fuzzy place
Reason is to carry out multiple Fuzzy Processing to the initial pictures by Gaussian Blur algorithm.
3. control method according to claim 2, it is characterised in that described that the initial pictures are carried out repeatedly with fuzzy place
Reason is included with generating multiframe blurred picture:
Initial fuzzy parameter, fuzzy parameter increment, maximum fuzzy parameter are set, and the initial fuzzy parameter is less than the maximum norm
Paste parameter;
Multiple superposition fuzzy parameters are obtained according to the initial fuzzy parameter and the fuzzy parameter incremental computations, it is multiple described folded
Fuzzy parameter is added to be respectively less than the maximum fuzzy parameter;With
The Gaussian Blur algorithm by substituting into multiple superposition fuzzy parameters respectively carries out multiple to the initial pictures
Fuzzy Processing is to generate the multiframe blurred picture.
4. control method according to claim 3, it is characterised in that the span of the maximum fuzzy parameter for (0,
25)。
5. control method according to claim 3, it is characterised in that the value of multiple superposition fuzzy parameters is passed successively
Increase;Or
The value of multiple superposition fuzzy parameters is successively decreased successively.
6. control method according to claim 5, it is characterised in that the superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N;Or
X=X0- (n-1) * Δs x, 1≤n≤N;
Wherein, X is the superposition fuzzy parameter, X0For the initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is described
Fuzzy parameter increment, N are the totalframes of the multiframe blurred picture.
7. control method according to claim 3, it is characterised in that the value of multiple superposition fuzzy parameters is first passed successively
Increasing is successively decreased successively again;Or
The value of multiple superposition fuzzy parameters is first successively decreased again incremented by successively successively.
8. control method according to claim 7, it is characterised in that the superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N1;
X=X0+(2N1- n-1) * Δs x, N1< n≤N;Or
X=X0- (n-1) * Δs x, 1≤n≤N1;
X=X0- (2N1- n-1) * Δs x, N1< n≤N;
Wherein, X is the superposition fuzzy parameter, X0For the initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is described
Fuzzy parameter increment, N are the totalframes of the multiframe blurred picture.
9. a kind of control device, for controlling image to show, it is characterised in that the control device includes:
Acquisition module, the acquisition module are used to obtain initial pictures;
Processing module, the processing module are used to carry out multiple Fuzzy Processing to the initial pictures to generate multiframe fuzzy graph
Picture;With
Control module, the control module are used to control the multiframe blurred picture to show successively to form fuzzy animation.
10. control device according to claim 9, it is characterised in that the processing module passes through Gaussian Blur algorithm pair
The initial pictures carry out multiple Fuzzy Processing.
11. control device according to claim 10, it is characterised in that the processing module includes:
Setting unit, the setting unit is used to set initial fuzzy parameter, fuzzy parameter increment, maximum fuzzy parameter, described
Initial fuzzy parameter is less than the maximum fuzzy parameter;
Computing unit, the computing unit are more for being obtained according to the initial fuzzy parameter and the fuzzy parameter incremental computations
Individual superposition fuzzy parameter, multiple superposition fuzzy parameters are respectively less than the maximum fuzzy parameter;With
Processing unit, the processing unit are used to calculate by substituting into the Gaussian Blur of multiple superposition fuzzy parameters respectively
Method carries out multiple Fuzzy Processing to generate the multiframe blurred picture to the initial pictures.
12. control device according to claim 11, it is characterised in that the span of the maximum fuzzy parameter is
(0,25).
13. control device according to claim 11, it is characterised in that the value of multiple superposition fuzzy parameters is passed successively
Increase;Or
The value of multiple superposition fuzzy parameters is successively decreased successively.
14. control device according to claim 13, it is characterised in that the superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N;Or
X=X0- (n-1) * Δs x, 1≤n≤N;
Wherein, X is the superposition fuzzy parameter, X0For the initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is described
Fuzzy parameter increment, N are the totalframes of the multiframe blurred picture.
15. control device according to claim 11, it is characterised in that the value of multiple superposition fuzzy parameters is first successively
It is incremented by and successively decreases successively again;Or
The value of multiple superposition fuzzy parameters is first successively decreased again incremented by successively successively.
16. control device according to claim 15, it is characterised in that the superposition fuzzy parameter meets conditional:
X=X0+ (n-1) * Δs x, 1≤n≤N1;
X=X0+(2N1- n-1) * Δs x, N1< n≤N;Or
X=X0- (n-1) * Δs x, 1≤n≤N1;
X=X0- (2N1- n-1) * Δs x, N1< n≤N;
Wherein, X is the superposition fuzzy parameter, X0For the initial fuzzy parameter, n is the number of Fuzzy Processing, and Δ x is described
Fuzzy parameter increment, N are the totalframes of the multiframe blurred picture.
17. a kind of control device, for controlling image to show, it is characterised in that the control device includes:
One or more processors;
Memory;And
One or more programs, wherein one or more of programs are stored in the memory, and it is configured by institute
One or more processors execution is stated, described program includes being used for the control method described in perform claim requirement 1-8 any one
Instruction.
A kind of 18. computer-readable recording medium, it is characterised in that including the computer program being used in combination with control device,
The computer program can be executed by processor to complete the control method described in claim 1-8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711007587.9A CN107797783A (en) | 2017-10-25 | 2017-10-25 | Control method, control device and computer-readable recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711007587.9A CN107797783A (en) | 2017-10-25 | 2017-10-25 | Control method, control device and computer-readable recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107797783A true CN107797783A (en) | 2018-03-13 |
Family
ID=61534437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711007587.9A Pending CN107797783A (en) | 2017-10-25 | 2017-10-25 | Control method, control device and computer-readable recording medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107797783A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110309459A (en) * | 2019-06-10 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Web-based image processing method, device, equipment and storage medium |
CN110335223A (en) * | 2019-06-21 | 2019-10-15 | 北京奇艺世纪科技有限公司 | The fuzzy dynamic effect implementation method of image, device, electronic equipment and storage medium |
WO2020097888A1 (en) * | 2018-11-15 | 2020-05-22 | 深圳市欢太科技有限公司 | Video processing method and apparatus, electronic device, and computer-readable storage medium |
CN111845346A (en) * | 2020-07-14 | 2020-10-30 | 江苏协和电子股份有限公司 | Display optimization method for automobile liquid crystal instrument pointer |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301628A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for carrying out dynamic blurring on image and electronic equipment |
US20160241781A1 (en) * | 2015-02-15 | 2016-08-18 | Hisense Mobile Communications Technology Co., Ltd. | Image data generating method and apparatus |
CN106339983A (en) * | 2016-08-17 | 2017-01-18 | 乐视控股(北京)有限公司 | Blurring animation realization method through Gaussian blurring and blurring animation realization device thereof |
-
2017
- 2017-10-25 CN CN201711007587.9A patent/CN107797783A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104301628A (en) * | 2014-09-30 | 2015-01-21 | 北京金山安全软件有限公司 | Method and device for carrying out dynamic blurring on image and electronic equipment |
US20160241781A1 (en) * | 2015-02-15 | 2016-08-18 | Hisense Mobile Communications Technology Co., Ltd. | Image data generating method and apparatus |
CN106339983A (en) * | 2016-08-17 | 2017-01-18 | 乐视控股(北京)有限公司 | Blurring animation realization method through Gaussian blurring and blurring animation realization device thereof |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020097888A1 (en) * | 2018-11-15 | 2020-05-22 | 深圳市欢太科技有限公司 | Video processing method and apparatus, electronic device, and computer-readable storage medium |
CN110309459A (en) * | 2019-06-10 | 2019-10-08 | 百度在线网络技术(北京)有限公司 | Web-based image processing method, device, equipment and storage medium |
CN110335223A (en) * | 2019-06-21 | 2019-10-15 | 北京奇艺世纪科技有限公司 | The fuzzy dynamic effect implementation method of image, device, electronic equipment and storage medium |
CN111845346A (en) * | 2020-07-14 | 2020-10-30 | 江苏协和电子股份有限公司 | Display optimization method for automobile liquid crystal instrument pointer |
CN111845346B (en) * | 2020-07-14 | 2023-07-28 | 江苏协和电子股份有限公司 | Display optimization method for automobile liquid crystal instrument pointer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107797783A (en) | Control method, control device and computer-readable recording medium | |
JP5464819B2 (en) | Moving image processing apparatus and method, and program | |
EP1368960B1 (en) | Digital image appearance enhancement and compressibility improvement method and system | |
US6833835B1 (en) | Method and apparatus for antialiased imaging of graphical objects | |
JP5556173B2 (en) | Method and apparatus for reducing image artifacts on electronic paper displays | |
CN110135576B (en) | Unsupervised learning method for video deblurring | |
EP2262255B1 (en) | Image processing apparatus and image processing method | |
EP3407604A1 (en) | Method and device for processing high dynamic range image | |
CN105069834B (en) | A kind of game image rendering intent and system | |
EP1746568A1 (en) | Image processing circuit | |
US9100530B2 (en) | Image processing apparatus, image processing method and storage medium | |
US4992955A (en) | Apparatus for representing continuous tone and high contrast images on a bilevel display | |
DE112004002391B4 (en) | Spatio-temporal generation of motion blur | |
CN107068071A (en) | A kind of electrophoretic display device (EPD) weakens the method and system of texture | |
JP5479064B2 (en) | Image processing apparatus, control method therefor, and program | |
WO2023226479A1 (en) | Deep rendering model training method and apparatus, and target rendering method and apparatus | |
CN113538271A (en) | Image display method, image display device, electronic equipment and computer readable storage medium | |
JP5676874B2 (en) | Image processing apparatus, control method therefor, and program | |
CN106373537A (en) | Method and apparatus for reducing display image streaking | |
JPH03273368A (en) | Graphic processor | |
US7825923B2 (en) | Full screen anti-aliasing with dynamic filters | |
CN110879739A (en) | Display method and display device of notification bar | |
CN114581979A (en) | Image processing method and device | |
CN113053322B (en) | Display optimization method of electronic ink screen and related device | |
KR100513273B1 (en) | Apparatus and method for real-time brightness control of moving images |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180313 |