CN108900903A - Method for processing video frequency and device, electronic equipment and storage medium - Google Patents

Method for processing video frequency and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108900903A
CN108900903A CN201810840172.8A CN201810840172A CN108900903A CN 108900903 A CN108900903 A CN 108900903A CN 201810840172 A CN201810840172 A CN 201810840172A CN 108900903 A CN108900903 A CN 108900903A
Authority
CN
China
Prior art keywords
image
inverted image
processed
video
video frame
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
CN201810840172.8A
Other languages
Chinese (zh)
Other versions
CN108900903B (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.)
Beijing Sensetime Technology Development Co Ltd
Original Assignee
Beijing Sensetime Technology Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sensetime Technology Development Co Ltd filed Critical Beijing Sensetime Technology Development Co Ltd
Priority to CN201810840172.8A priority Critical patent/CN108900903B/en
Publication of CN108900903A publication Critical patent/CN108900903A/en
Application granted granted Critical
Publication of CN108900903B publication Critical patent/CN108900903B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects

Abstract

This disclosure relates to a kind of method for processing video frequency and device, electronic equipment and storage medium.The method includes:Determine the inverted image region in the video frame to be processed of video;Determine the corresponding initial inverted image image in the inverted image region;According to frame number of the video frame to be processed in the video, changes the coordinate of the pixel in the initial inverted image image, obtain the corresponding water ripples inverted image image of the initial inverted image image, and using the water ripples inverted image image as the image in the inverted image region.The disclosure can realize in video water ripples reflection effect by lower computation complexity, meet the requirement of real-time of video processing.

Description

Method for processing video frequency and device, electronic equipment and storage medium
Technical field
This disclosure relates to technical field of computer vision more particularly to a kind of method for processing video frequency and device, electronic equipment And storage medium.
Background technique
In video processing, user occasionally wants to increase video specified special effect, enhances the ornamental value of video. This video processing mode usually requires to handle the multitude of video frame in video, the computation complexities of the relevant technologies compared with Height is not able to satisfy the requirement of real-time of video processing.
Summary of the invention
The present disclosure proposes a kind of video processing technique schemes.
According to the one side of the disclosure, a kind of method for processing video frequency is provided, including:
Determine the inverted image region in the video frame to be processed of video;
Determine the corresponding initial inverted image image in the inverted image region;
According to frame number of the video frame to be processed in the video, change the pixel in the initial inverted image image Coordinate obtains the corresponding water ripples inverted image image of the initial inverted image image, and using the water ripples inverted image image as described in The image in inverted image region.
In one possible implementation, the corresponding initial inverted image image in the inverted image region is determined, including:
Flip vertical is carried out to the image in the non-inverted image region in the video frame to be processed, obtains flipped image, wherein The non-inverted image region indicates the region other than inverted image region described in the video frame to be processed;
According to the flipped image, the corresponding initial inverted image image in the inverted image region is determined.
In one possible implementation, it according to the flipped image, determines that the inverted image region is corresponding and initially falls Shadow image, including:
According to the height in the inverted image region, flexible processing is carried out to the flipped image in vertical direction, makes to stretch The height for flipped image that treated is equal to the height in the inverted image region, obtains the corresponding initial inverted image figure in the inverted image region Picture.
In one possible implementation, the frame number according to the video frame to be processed in the video changes institute The abscissa for stating the pixel in initial inverted image image obtains the corresponding water ripples inverted image image of the initial inverted image image, including:
According to frame number of the video frame to be processed in the video, the corresponding offset of the video frame to be processed is determined Coefficient;
According to the corresponding deviation ratio of the video frame to be processed, change the seat of the pixel in the initial inverted image image Mark, obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, the frame number according to the video frame to be processed in the video, determines institute The corresponding deviation ratio of video frame to be processed is stated, including:
It calculates more than the video frame to be processed obtains after the frame number in the video is divided by the totalframes of predetermined period Number, as the corresponding deviation ratio of the video frame to be processed.
In one possible implementation, according to the corresponding deviation ratio of the video frame to be processed, change it is described just The coordinate of pixel in beginning inverted image image obtains the corresponding water ripples inverted image image of the initial inverted image image, including:
According to the corresponding deviation ratio of the video frame to be processed, change the horizontal seat of the pixel in the initial inverted image image Mark, obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, according to the corresponding deviation ratio of the video frame to be processed, change it is described just The abscissa of pixel in beginning inverted image image obtains the corresponding water ripples inverted image image of the initial inverted image image, including:
According to the corresponding deviation ratio of the video frame to be processed, the horizontal seat of each pixel in the initial inverted image image The ordinate of mark and each pixel in the initial inverted image image, determines each pixel in the initial inverted image image Abscissa after change obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, according to the corresponding deviation ratio of the video frame to be processed, it is described it is initial fall The ordinate of the abscissa of each pixel in shadow image and each pixel in the initial inverted image image, determine described in The abscissa after the change of each pixel in initial inverted image image, obtains the corresponding water ripples inverted image figure of the initial inverted image image Picture, including:
According to the corresponding deviation ratio of the video frame to be processed, the height of the video frame to be processed, it is described it is initial fall The ordinate of the abscissa of each pixel in shadow image and each pixel in the initial inverted image image, determine described in The abscissa after the change of each pixel in initial inverted image image, obtains the corresponding water ripples inverted image figure of the initial inverted image image Picture.
In one possible implementation, using the water ripples inverted image image as the image in the inverted image region it Afterwards, the method also includes:
Merge the video frame to be processed be superimposed figure layer.
In one possible implementation, merge the video frame to be processed be superimposed figure layer, including:
Determine the masked areas in the superposition figure layer;
According to the pixel value of the superposition figure layer, the pixel value of the masked areas is determined;
According to the pixel value of the video frame to be processed and the pixel value of the superposition figure layer, unmasked areas is determined Pixel value, wherein the region other than masked areas described in superposition figure layer described in the unmasked areas domain representation.
In one possible implementation, according to the pixel value of the video frame to be processed and the superposition figure layer Pixel value determines the pixel value of unmasked areas, including:
In the unmasked areas in such a way that positive folds bottom, it is superimposed the video frame to be processed and the stacking chart Layer, determines the pixel value of the unmasked areas.
According to the one side of the disclosure, a kind of video process apparatus is provided, including:
First determining module, the inverted image region in video frame to be processed for determining video;
Second determining module, for determining the corresponding initial inverted image image in the inverted image region;
Processing module changes the initial inverted image for the frame number according to the video frame to be processed in the video The coordinate of pixel in image obtains the corresponding water ripples inverted image image of the initial inverted image image, and the water ripples is fallen Image of the shadow image as the inverted image region.
In one possible implementation, second determining module includes:
Flip vertical submodule is vertically turned over for the image to the non-inverted image region in the video frame to be processed Turn, obtains flipped image, wherein the non-inverted image region indicates the area other than inverted image region described in the video frame to be processed Domain;
First determines submodule, for determining the corresponding initial inverted image figure in the inverted image region according to the flipped image Picture.
In one possible implementation, described first determine that submodule is used for:
According to the height in the inverted image region, flexible processing is carried out to the flipped image in vertical direction, makes to stretch The height for flipped image that treated is equal to the height in the inverted image region, obtains the corresponding initial inverted image figure in the inverted image region Picture.
In one possible implementation, the processing module includes:
Second determines submodule, for the frame number according to the video frame to be processed in the video, determine it is described to Handle the corresponding deviation ratio of video frame;
Submodule is handled, for changing the initial inverted image figure according to the corresponding deviation ratio of the video frame to be processed The coordinate of pixel as in, obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, described second determine that submodule is used for:
It calculates more than the video frame to be processed obtains after the frame number in the video is divided by the totalframes of predetermined period Number, as the corresponding deviation ratio of the video frame to be processed.
In one possible implementation, the processing submodule is used for:
According to the corresponding deviation ratio of the video frame to be processed, change the horizontal seat of the pixel in the initial inverted image image Mark, obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, the processing submodule is used for:
According to the corresponding deviation ratio of the video frame to be processed, the horizontal seat of each pixel in the initial inverted image image The ordinate of mark and each pixel in the initial inverted image image, determines each pixel in the initial inverted image image Abscissa after change obtains the corresponding water ripples inverted image image of the initial inverted image image.
In one possible implementation, the processing submodule is used for:
According to the corresponding deviation ratio of the video frame to be processed, the height of the video frame to be processed, it is described it is initial fall The ordinate of the abscissa of each pixel in shadow image and each pixel in the initial inverted image image, determine described in The abscissa after the change of each pixel in initial inverted image image, obtains the corresponding water ripples inverted image figure of the initial inverted image image Picture.
In one possible implementation, described device further includes:
Fusion Module, for merge the video frame to be processed be superimposed figure layer.
In one possible implementation, the Fusion Module includes:
Third determines submodule, for determining the masked areas in the superposition figure layer;
4th determines submodule, for the pixel value according to the superposition figure layer, determines the pixel value of the masked areas;
5th determines submodule, for according to the pixel value of the video frame to be processed and the pixel of the superposition figure layer Value, determine the pixel value of unmasked areas, wherein described in the unmasked areas domain representation superposition figure layer described in masked areas with Outer region.
In one possible implementation, the described 5th determine that submodule is used for:
In the unmasked areas in such a way that positive folds bottom, it is superimposed the video frame to be processed and the stacking chart Layer, determines the pixel value of the unmasked areas.
According to the one side of the disclosure, a kind of electronic equipment is provided, including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:Execute above-mentioned method for processing video frequency.
According to the one side of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with Instruction, the computer program instructions realize above-mentioned method for processing video frequency when being executed by processor.
In the embodiments of the present disclosure, the inverted image region in the video frame to be processed by determining video, determines inverted image region Corresponding initial inverted image image changes the pixel in initial inverted image image according to frame number of the video frame to be processed in the video Coordinate, obtain the corresponding water ripples inverted image image of initial inverted image image, and using water ripples inverted image image as inverted image region Image, thus, it is possible to realize water ripples reflection effect in video by lower computation complexity, effect is true, and meets view The requirement of real-time of frequency processing.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 shows the flow chart of the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 2 shows the flow charts according to the method for processing video frequency step S12 of the embodiment of the present disclosure.
Fig. 3 shows the schematic diagram of video frame to be processed in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 4 show inverted image region in the method for processing video frequency according to the embodiment of the present disclosure in video frame to be processed and it is non-fall The schematic diagram in shadow zone domain.
Fig. 5 shows the schematic diagram of flipped image in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 6 shows the schematic diagram of initial inverted image image in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 7 shows another schematic diagram of initial inverted image image in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 8 is shown in the method for processing video frequency step S13 according to the embodiment of the present disclosure according to video frame to be processed in the view Frame number in frequency changes the coordinate of the pixel in initial inverted image image, obtains the corresponding water ripples inverted image figure of initial inverted image image The illustrative flow chart of the one of picture.
Fig. 9 shows the schematic diagram of the water ripples warping function in the method for processing video frequency according to the embodiment of the present disclosure.
Figure 10 shows the schematic diagram of the water ripples inverted image image in the method for processing video frequency according to the embodiment of the present disclosure.
Figure 11 is shown in the method for processing video frequency according to the embodiment of the present disclosure using water ripples inverted image image as inverted image region Image schematic diagram.
Figure 12 shows an illustrative flow chart of the method for processing video frequency according to the embodiment of the present disclosure.
Figure 13 shows an illustrative flow chart of the method for processing video frequency step S14 according to the embodiment of the present disclosure.
Figure 14, which is shown, to be merged video frame to be processed and obtains with figure layer is superimposed in the method for processing video frequency according to the embodiment of the present disclosure The schematic diagram of the blending image arrived.
Figure 15 shows the block diagram of the video process apparatus according to the embodiment of the present disclosure.
Figure 16 shows an illustrative block diagram of the video process apparatus according to the embodiment of the present disclosure.
Figure 17 is the block diagram of a kind of electronic equipment 800 shown according to an exemplary embodiment.
Figure 18 is the block diagram of a kind of electronic equipment 1900 shown according to an exemplary embodiment.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure. It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 shows the flow chart of the method for processing video frequency according to the embodiment of the present disclosure.As shown in Figure 1, this method includes step Rapid S11 to step S13.
In step s 11, the inverted image region in the video frame to be processed of video is determined.
The video of the embodiment of the present disclosure can be any video handled.For example, the view of the embodiment of the present disclosure Frequency can be the video of non real-time shooting, or the video of captured in real-time.The video frame to be processed of video indicates in video Video frame to be treated.In the embodiments of the present disclosure, can be using the partial video frame of video as video frame to be processed, it can also Using by all video frames of video as video frame to be processed.It, can be according to each of video for the video of non real-time shooting The frame number of video frame in video determines whether each video frame of video is video frame to be processed in advance;For captured in real-time Video, according to the frame number of each video frame of video in video, can determine in real time video each video frame whether be Video frame to be processed.
Wherein, frame number of the video frame to be processed in the video indicates video frame to be processed is which frame in the video. For example, frame number of the video frame to be processed in the video is p, indicate that video frame to be processed is the pth frame in the video.For non- The video of captured in real-time and the video of captured in real-time, the frame number of video frame to be processed in video can be from the first of the video Frame starts counting.
It in one possible implementation, can be using preset inverted image region as the inverted image area in video frame to be processed Domain.In this implementation, the size and position that inverted image region and non-inverted image region in each video frame can be preset, by This determines the inverted image region in video frame to be processed.
In alternatively possible implementation, video frame to be processed can be determined according to the instruction in selection inverted image region In inverted image region.In this implementation, user can be according to practical application scene demand and/or personal preference to be processed Inverted image region is selected in video frame, thus meets the individual demand of user.
In alternatively possible implementation, the boundary of the water surface and the non-water surface in video frame to be processed can be identified Line, and the inverted image region in video frame to be processed can be determined according to the line of demarcation and the position of the water surface.In the implementation In, if including the water surface in video frame to be processed, it can identify the line of demarcation of the water surface and the non-water surface in video frame to be processed, and The inverted image region in video frame to be processed can be determined according to the line of demarcation and the position of the water surface.According to the implementation, energy The inverted image region in video frame to be processed is enough automatically determined, and accuracy is higher.
In step s 12, the corresponding initial inverted image image in inverted image region is determined.
In the embodiments of the present disclosure, the corresponding initial inverted image image in inverted image region can be true according to the image in non-inverted image region It is fixed, the effect of the inverted image of the picture material in non-inverted image region is shown in inverted image region to realize.
In step s 13, the frame number according to video frame to be processed in the video changes the pixel in initial inverted image image Coordinate, obtain the corresponding water ripples inverted image image of initial inverted image image, and using water ripples inverted image image as inverted image region Image.
In the embodiments of the present disclosure, frame number due to each video frame to be processed in the video is different, based on to The frame number of processing video frame in video changes the coordinate of the pixel in initial inverted image image, and each video frame correspondence to be processed changes The variation degree for becoming coordinate is also different.With the variation of the frame number of video frame to be processed in video, different video frames to be processed In water ripples effect can be moved along axis direction, thus generate the effect of water flow fluctuation, and irregular wave can be presented in ripple It is dynamic.
In one possible implementation, can be changed initial according to frame number of the video frame to be processed in the video The abscissa of pixel in inverted image image.
The embodiment of the present disclosure passes through the inverted image region in the video frame to be processed for determining video, determines that inverted image region is corresponding Initial inverted image image changes the coordinate of the pixel in initial inverted image image according to frame number of the video frame to be processed in the video, Obtain the corresponding water ripples inverted image image of initial inverted image image, and using water ripples inverted image image as the image in inverted image region, by This can realize in video water ripples reflection effect by lower computation complexity, and effect is true, and meet video processing Requirement of real-time.
Fig. 2 shows the flow charts according to the method for processing video frequency step S12 of the embodiment of the present disclosure.As shown in Fig. 2, step S12 may include step S121 and step S122.
In step S121, flip vertical is carried out to the image in the non-inverted image region in video frame to be processed, is overturn Image, wherein non-inverted image region indicates the region in video frame to be processed other than inverted image region.
Fig. 3 shows the schematic diagram of video frame to be processed in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 4 show inverted image region in the method for processing video frequency according to the embodiment of the present disclosure in video frame to be processed and it is non-fall The schematic diagram in shadow zone domain.In the example depicted in fig. 4, inverted image region 41 is in the top of video frame to be processed, non-inverted image region 42 In the lower section of video frame to be processed.In other examples, it is also possible to inverted image region in the lower section of video frame to be processed, non-inverted image Region is in the top of video frame to be processed.
Fig. 5 shows the schematic diagram of flipped image in the method for processing video frequency according to the embodiment of the present disclosure.Flipchart in Fig. 5 It seem to carry out flip vertical by the image to the non-inverted image region 42 in Fig. 4 to obtain.
In step S122, according to flipped image, the corresponding initial inverted image image in inverted image region is determined.
In one possible implementation, it according to flipped image, determines the corresponding initial inverted image image in inverted image region, wraps It includes:If the height of flipped image is equal to the height in inverted image region, using flipped image as the corresponding initial inverted image in inverted image region Image.
In alternatively possible implementation, according to flipped image, the corresponding initial inverted image image in inverted image region is determined, Including:According to the height in inverted image region, flexible processing is carried out to flipped image in vertical direction, makes flexible treated overturning The height of image is equal to the height in inverted image region, obtains the corresponding initial inverted image image in inverted image region.In this implementation, if The height of flipped image is greater than the height in inverted image region, then compresses, make compressed to flipped image in vertical direction The height of flipped image is equal to the height in inverted image region, obtains the corresponding initial inverted image image in inverted image region;If flipped image Height is less than the height in inverted image region, then stretches in vertical direction to flipped image, makes the flipped image after stretching Height is equal to the height in inverted image region, obtains the corresponding initial inverted image image in inverted image region.Fig. 6 is shown according to the embodiment of the present disclosure Method for processing video frequency in initial inverted image image schematic diagram.According to the implementation, can be shown in inverted image region entire non- The inverted image of the image in inverted image region.
In alternatively possible implementation, according to flipped image, the corresponding initial inverted image image in inverted image region is determined, Including:If the height in inverted image region is less than the height of flipped image, the flipped image is intercepted in boundary line side and inverted image region The identical image of height, as the corresponding initial inverted image image in inverted image region.In this implementation, flipped image is being demarcated The part of line side indicates the part being connected in initial inverted image image with inverted image region.For example, if inverted image region is in video to be processed The top of frame, non-inverted image region then intercept the flipped image in boundary line side and inverted image region in the lower section of video frame to be processed The identical image of height, refer to intercepting image identical with the height in inverted image region below the flipped image;If inverted image area In the lower section of video frame to be processed, non-inverted image region then intercepts the flipped image and is demarcating in the top of video frame to be processed in domain Line side image identical with the height in inverted image region refers to intercepting identical with the height in inverted image region above the flipped image Image.Fig. 7 shows another schematic diagram of initial inverted image image in the method for processing video frequency according to the embodiment of the present disclosure.
Fig. 8 is shown in the method for processing video frequency step S13 according to the embodiment of the present disclosure according to video frame to be processed in the view Frame number in frequency changes the coordinate of the pixel in initial inverted image image, obtains the corresponding water ripples inverted image figure of initial inverted image image The illustrative flow chart of the one of picture.As shown in figure 8, the frame number according to video frame to be processed in the video, changes initial inverted image The coordinate of pixel in image obtains the corresponding water ripples inverted image image of initial inverted image image, may include step S131 and step Rapid S132.
In step S131, according to frame number of the video frame to be processed in the video, determine that video frame to be processed is corresponding Deviation ratio.
In one possible implementation, the frame number according to video frame to be processed in the video determines view to be processed The corresponding deviation ratio of frequency frame, including:Frame number of the video frame to be processed in the video is calculated divided by the totalframes of predetermined period The remainder obtained afterwards, as the corresponding deviation ratio of video frame to be processed.
For example, frame number of the video frame to be processed in the video is p, the totalframes of predetermined period is T, and p is obtained divided by T Remainder is t, then can be using t as the corresponding deviation ratio of video frame to be processed.
In the embodiments of the present disclosure, the variation of the frame number with video frame to be processed in the video, video frame to be processed Corresponding deviation ratio changes.
It should be noted that although to calculate frame number of the video frame to be processed in the video divided by total frame of predetermined period The remainder obtained after number describes the method for determination of deviation ratio as the corresponding deviation ratio of video frame to be processed as example As above, it is understood by one of ordinary skill in the art that the disclosure answer it is without being limited thereto.Those skilled in the art can be according to practical application Scene demand and/or personal preference flexible setting determine the mode of the corresponding deviation ratio of video frame to be processed, if according to Frame number of the video frame in the video is handled to determine.
In step S132, according to the corresponding deviation ratio of video frame to be processed, change the pixel in initial inverted image image Coordinate, obtain the corresponding water ripples inverted image image of initial inverted image image.
In the embodiments of the present disclosure, each wait locate since the frame number of each video frame to be processed in video is different It is different to manage the corresponding deviation ratio of video frame.Based on different deviation ratios, the variation degree of coordinate is also different.
In one possible implementation, according to the corresponding deviation ratio of video frame to be processed, change initial inverted image figure The coordinate of pixel as in, obtains the corresponding water ripples inverted image image of initial inverted image image, including:According to video frame pair to be processed The deviation ratio answered changes the abscissa of the pixel in initial inverted image image, obtains the corresponding water ripples of initial inverted image image and falls Shadow image.
In one possible implementation, according to the corresponding deviation ratio of video frame to be processed, change initial inverted image figure The abscissa of pixel as in, obtains the corresponding water ripples inverted image image of initial inverted image image, including:According to video frame to be processed Corresponding deviation ratio, each pixel in the abscissa of each pixel in initial inverted image image, and initial inverted image image Ordinate, determine the abscissa after each pixel in initial inverted image image changes, obtain the corresponding water of initial inverted image image Ripple inverted image image.
In one possible implementation, according to the corresponding deviation ratio of video frame to be processed, in initial inverted image image Each pixel abscissa, and the ordinate of each pixel in initial inverted image image determines in initial inverted image image Abscissa after each pixel change, obtains the corresponding water ripples inverted image image of initial inverted image image, including:According to view to be processed The corresponding deviation ratio of frequency frame, the height of video frame to be processed, the abscissa of each pixel in initial inverted image image, Yi Jichu The ordinate of each pixel in beginning inverted image image determines the abscissa after each pixel in initial inverted image image changes, obtains To the corresponding water ripples inverted image image of initial inverted image image.
Wherein, video frame to be processed is still image, and the height of video frame to be processed is the height of the still image.
It in one possible implementation, can be according to the corresponding deviation ratio of video frame to be processed and to be processed The height of video frame determines water ripples warping function.
As an example of the implementation, water ripples warping function can bey2=y1.Wherein, (x1,y1) be initial inverted image image in pixel Coordinate, (x2,y2) it is pixel coordinate in water ripples inverted image image, t indicates deviation ratio, and h indicates the height of video frame to be processed Degree, a1、a2And a3For coefficient, a1、a2And a3Size can according to practical application request determine.Letter is deformed using the water ripples Number, can be by coordinate (x in initial inverted image image1,y1) pixel value as coordinate (x in water ripples inverted image image2,y2) picture Element value.
For example, water ripples warping function isFig. 9 is shown According to the schematic diagram of the water ripples warping function in the method for processing video frequency of the embodiment of the present disclosure.
Figure 10 shows the schematic diagram of the water ripples inverted image image in the method for processing video frequency according to the embodiment of the present disclosure.Figure 11 It shows in the method for processing video frequency according to the embodiment of the present disclosure using water ripples inverted image image as the signal of the image in inverted image region Figure.
Figure 12 shows an illustrative flow chart of the method for processing video frequency according to the embodiment of the present disclosure.As shown in figure 12, This method may include step S11 to step S14.
In step s 11, the inverted image region in the video frame to be processed of video is determined.
In step s 12, the corresponding initial inverted image image in inverted image region is determined.
In step s 13, the frame number according to video frame to be processed in the video changes the pixel in initial inverted image image Coordinate, obtain the corresponding water ripples inverted image image of initial inverted image image, and using water ripples inverted image image as inverted image region Image.
In step S14, merge video frame to be processed be superimposed figure layer.
Wherein, superposition figure layer can be any figure layer for needing to be merged with video frame to be processed.For example, superposition figure layer It can have water surface effect.It is protruded, can be increased to be processed with the superposition with water surface effect by merging video frame to be processed The water surface grain effect of video frame.
Figure 13 shows an illustrative flow chart of the method for processing video frequency step S14 according to the embodiment of the present disclosure.Such as figure Shown in 13, step S14 may include step S141 to step S143.
In step s 141, the masked areas in superposition figure layer is determined.
In the embodiments of the present disclosure, masked areas can indicate not needing to be melted with video frame to be processed in superposition figure layer The region of conjunction, unmasked areas can indicate the region for needing to be merged with video frame to be processed in superposition figure layer.
In one possible implementation, covering in superposition figure layer can be determined according to the instruction of selection masked areas Diaphragm area.According to the implementation, the masked areas in superposition figure layer can be determined according to user demand.
It, can be using preset masked areas as the mask regions in superposition figure layer in alternatively possible implementation Domain.In this implementation, the size and position of masked areas and unmasked areas in superposition figure layer can be preset, thus Determine the masked areas in superposition figure layer.
In step S142, according to the pixel value of superposition figure layer, the pixel value of masked areas is determined.
In one possible implementation, the pixel value of masked areas can be true according only to the pixel value for being superimposed figure layer It is fixed.For example, the pixel value of figure layer can will be superimposed as the pixel value of corresponding coordinate in masked areas.
In step S143, according to the pixel value of video frame to be processed and the pixel value of superposition figure layer, unmasked is determined The pixel value in region, wherein the region in unmasked areas domain representation stacking chart's layer other than masked areas.
In the embodiments of the present disclosure, the pixel value of unmasked areas by video frame to be processed pixel value and superposition figure layer The pixel value of middle corresponding coordinate determines jointly.
In one possible implementation, according to the pixel value of video frame to be processed and be superimposed figure layer pixel value, Determine the pixel value of unmasked areas, including:Unmasked areas using positive fold bottom by the way of, be superimposed video frame to be processed with It is superimposed figure layer, determines the pixel value of unmasked areas.For example, in unmasked areas a certain coordinate pixel value, can be equal to Handle pixel value/255 of the coordinate in pixel value × superposition figure layer of the coordinate in video frame.
Figure 14, which is shown, to be merged video frame to be processed and obtains with figure layer is superimposed in the method for processing video frequency according to the embodiment of the present disclosure The schematic diagram of the blending image arrived.
In one possible implementation, merge video frame to be processed be superimposed figure layer after, can will be after processing Video frame to be processed exported in real time to screen and shown.
Since the embodiment of the present disclosure can realize in video water ripples reflection effect by lower computation complexity, because This embodiment of the present disclosure can be applied to the application scenarios that video record and live streaming platform etc. need to handle video in real time In.
It is appreciated that above-mentioned each embodiment of the method that the disclosure refers to, without prejudice to principle logic, To engage one another while the embodiment to be formed after combining, as space is limited, the disclosure is repeated no more.
In addition, the disclosure additionally provides image processing apparatus, electronic equipment, computer readable storage medium, program, it is above-mentioned It can be used to realize any image processing method that the disclosure provides, corresponding technical solution and description and referring to method part It is corresponding to record, it repeats no more.
Figure 15 shows the block diagram of the video process apparatus according to the embodiment of the present disclosure.As shown in figure 15, which includes:The One determining module 21, the inverted image region in video frame to be processed for determining video;Second determining module 22, for determining The corresponding initial inverted image image in shadow zone domain;Processing module 23 changes for the frame number according to video frame to be processed in the video The coordinate of pixel in initial inverted image image, obtains the corresponding water ripples inverted image image of initial inverted image image, and water ripples are fallen Image of the shadow image as inverted image region.
Figure 16 shows an illustrative block diagram of the video process apparatus according to the embodiment of the present disclosure.As shown in figure 16:
In one possible implementation, the second determining module 22 includes:Flip vertical submodule 221, for treating The image for handling the non-inverted image region in video frame carries out flip vertical, obtains flipped image, wherein non-inverted image region indicate to Handle the region in video frame other than inverted image region;First determines submodule 222, for determining inverted image area according to flipped image The corresponding initial inverted image image in domain.
In one possible implementation, first determine that submodule 222 is used for:According to the height in inverted image region, hanging down Histogram carries out flexible processing to flipped image upwards, and the height of flexible treated flipped image is made to be equal to the height in inverted image region Degree, obtains the corresponding initial inverted image image in inverted image region.
In one possible implementation, processing module 23 includes:Second determines submodule 231, for according to wait locate Frame number of the video frame in the video is managed, determines the corresponding deviation ratio of video frame to be processed;Submodule 232 is handled, root is used for According to the corresponding deviation ratio of video frame to be processed, change the abscissa of the pixel in initial inverted image image, obtains initial inverted image figure As corresponding water ripples inverted image image.
In one possible implementation, second determine that submodule 231 is used for:Video frame to be processed is calculated in the video In frame number divided by the remainder obtained after the totalframes of predetermined period, as the corresponding deviation ratio of video frame to be processed.
In one possible implementation, processing submodule 232 is used for:According to the corresponding offset system of video frame to be processed Number, changes the abscissa of the pixel in initial inverted image image, obtains the corresponding water ripples inverted image image of initial inverted image image.
In one possible implementation, processing submodule 232 is used for:According to the corresponding offset system of video frame to be processed It counts, the abscissa of each pixel in initial inverted image image, and the ordinate of each pixel in initial inverted image image, determines The abscissa after the change of each pixel in initial inverted image image, obtains the corresponding water ripples inverted image image of initial inverted image image.
In one possible implementation, processing submodule 232 is used for:According to the corresponding offset system of video frame to be processed It counts, the height of video frame to be processed, the abscissa of each pixel in initial inverted image image, and each in initial inverted image image The ordinate of a pixel determines the abscissa after each pixel in initial inverted image image changes, obtains initial inverted image image pair The water ripples inverted image image answered.
In one possible implementation, which further includes:Fusion Module 24, for merge video frame to be processed with It is superimposed figure layer.
In one possible implementation, Fusion Module 24 includes:Third determines submodule 241, for determining superposition Masked areas in figure layer;4th determines submodule 242, for the pixel value according to superposition figure layer, determines the picture of masked areas Element value;5th determines submodule 243, for determining according to the pixel value of video frame to be processed and the pixel value of superposition figure layer The pixel value of unmasked areas, wherein the region in unmasked areas domain representation stacking chart's layer other than masked areas.
In one possible implementation, the 5th determine that submodule 243 is used for:Bottom is folded using positive in unmasked areas Mode, be superimposed video frame to be processed be superimposed figure layer, determine the pixel value of unmasked areas.
The embodiment of the present disclosure passes through the inverted image region in the video frame to be processed for determining video, determines that inverted image region is corresponding Initial inverted image image changes the coordinate of the pixel in initial inverted image image according to frame number of the video frame to be processed in the video, Obtain the corresponding water ripples inverted image image of initial inverted image image, and using water ripples inverted image image as the image in inverted image region, by This can realize in video water ripples reflection effect by lower computation complexity, and effect is true, and meet video processing Requirement of real-time.
The embodiment of the present disclosure also proposes a kind of computer readable storage medium, is stored thereon with computer program instructions, meter Calculation machine program instruction realizes the above method when being executed by processor.Computer readable storage medium can be non-volatile computer Readable storage medium storing program for executing.
The embodiment of the present disclosure also proposes a kind of electronic equipment, including:Processor;For storage processor executable instruction Memory;Wherein, processor is configured as the above method.
The equipment that electronic equipment may be provided as terminal, server or other forms.
Figure 17 is the block diagram of a kind of electronic equipment 800 shown according to an exemplary embodiment.For example, electronic equipment 800 It can be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, Body-building equipment, the terminals such as personal digital assistant.
Referring to Fig.1 7, electronic equipment 800 may include following one or more components:Processing component 802, memory 804, Power supply module 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, And communication component 816.
The integrated operation of the usual controlling electronic devices 800 of processing component 802, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in electronic equipment 800.These data Example include any application or method for being operated on electronic equipment 800 instruction, contact data, telephone directory Data, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly Flash memory, disk or CD.
Power supply module 806 provides electric power for the various assemblies of electronic equipment 800.Power supply module 806 may include power supply pipe Reason system, one or more power supplys and other with for electronic equipment 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the electronic equipment 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of movement, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When electronic equipment 800 is in operation mode, as clapped When taking the photograph mode or video mode, front camera and/or rear camera can receive external multi-medium data.It is each preposition Camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loudspeaker, is used for output audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, for providing the state of various aspects for electronic equipment 800 Assessment.For example, sensor module 814 can detecte the state that opens/closes of electronic equipment 800, the relative positioning of component, example As the component be electronic equipment 800 display and keypad, sensor module 814 can also detect electronic equipment 800 or The position change of 800 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 800, electronic equipment 800 The temperature change of orientation or acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 804 of machine program instruction, above-mentioned computer program instructions can be executed by the processor 820 of electronic equipment 800 to complete The above method.
Figure 18 is the block diagram of a kind of electronic equipment 1900 shown according to an exemplary embodiment.For example, electronic equipment 1900 may be provided as a server.Referring to Fig.1 8, it further comprises one that electronic equipment 1900, which includes processing component 1922, A or multiple processors and memory resource represented by a memory 1932, can be by processing component 1922 for storing The instruction of execution, such as application program.The application program stored in memory 1932 may include one or more every One corresponds to the module of one group of instruction.In addition, processing component 1922 is configured as executing instruction, to execute the above method.
Electronic equipment 1900 can also include that a power supply module 1926 is configured as executing the power supply of electronic equipment 1900 Management, a wired or wireless network interface 1950 is configured as electronic equipment 1900 being connected to network and an input is defeated (I/O) interface 1958 out.Electronic equipment 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 1932 of machine program instruction, above-mentioned computer program instructions can by the processing component 1922 of electronic equipment 1900 execute with Complete the above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/ Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.

Claims (10)

1. a kind of method for processing video frequency, which is characterized in that including:
Determine the inverted image region in the video frame to be processed of video;
Determine the corresponding initial inverted image image in the inverted image region;
According to frame number of the video frame to be processed in the video, change the seat of the pixel in the initial inverted image image Mark obtains the corresponding water ripples inverted image image of the initial inverted image image, and the water ripples inverted image image is fallen as described in The image in shadow zone domain.
2. the method according to claim 1, wherein the frame according to the video frame to be processed in the video Number changes the coordinate of the pixel in the initial inverted image image, obtains the corresponding water ripples inverted image figure of the initial inverted image image Picture, including:
According to frame number of the video frame to be processed in the video, the corresponding offset system of the video frame to be processed is determined Number;
According to the corresponding deviation ratio of the video frame to be processed, changes the coordinate of the pixel in the initial inverted image image, obtain To the corresponding water ripples inverted image image of the initial inverted image image.
3. the method stated according to claim 2, which is characterized in that according to the corresponding deviation ratio of the video frame to be processed, change The coordinate for becoming the pixel in the initial inverted image image obtains the corresponding water ripples inverted image image of the initial inverted image image, packet It includes:
According to the corresponding deviation ratio of the video frame to be processed, change the abscissa of the pixel in the initial inverted image image, Obtain the corresponding water ripples inverted image image of the initial inverted image image.
4. the method according to claim 1, which is characterized in that by the water ripples inverted image image After image as the inverted image region, the method also includes:
Merge the video frame to be processed be superimposed figure layer.
5. a kind of video process apparatus, which is characterized in that including:
First determining module, the inverted image region in video frame to be processed for determining video;
Second determining module, for determining the corresponding initial inverted image image in the inverted image region;
Processing module changes the initial inverted image image for the frame number according to the video frame to be processed in the video In pixel coordinate, obtain the corresponding water ripples inverted image image of the initial inverted image image, and by the water ripples inverted image figure As the image as the inverted image region.
6. device according to claim 5, which is characterized in that the processing module includes:
Second determines that submodule determines described to be processed for the frame number according to the video frame to be processed in the video The corresponding deviation ratio of video frame;
Submodule is handled, for changing in the initial inverted image image according to the corresponding deviation ratio of the video frame to be processed Pixel coordinate, obtain the corresponding water ripples inverted image image of the initial inverted image image.
7. device according to claim 6, which is characterized in that the processing submodule is used for:
According to the corresponding deviation ratio of the video frame to be processed, change the abscissa of the pixel in the initial inverted image image, Obtain the corresponding water ripples inverted image image of the initial inverted image image.
8. the device according to any one of claim 5 to 7, which is characterized in that described device further includes:
Fusion Module, for merge the video frame to be processed be superimposed figure layer.
9. a kind of electronic equipment, which is characterized in that including:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:Method described in any one of perform claim requirement 1 to 4.
10. a kind of computer readable storage medium, is stored thereon with computer program instructions, which is characterized in that the computer Method described in any one of Claims 1-4 is realized when program instruction is executed by processor.
CN201810840172.8A 2018-07-27 2018-07-27 Video processing method and device, electronic equipment and storage medium Active CN108900903B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810840172.8A CN108900903B (en) 2018-07-27 2018-07-27 Video processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810840172.8A CN108900903B (en) 2018-07-27 2018-07-27 Video processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108900903A true CN108900903A (en) 2018-11-27
CN108900903B CN108900903B (en) 2021-04-27

Family

ID=64352142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810840172.8A Active CN108900903B (en) 2018-07-27 2018-07-27 Video processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108900903B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944230A (en) * 2019-11-21 2020-03-31 北京达佳互联信息技术有限公司 Video special effect adding method and device, electronic equipment and storage medium
CN111243544A (en) * 2020-03-11 2020-06-05 深圳市华星光电半导体显示技术有限公司 Method for eliminating water ripple caused by spread spectrum, storage medium and display panel
CN111432123A (en) * 2020-03-30 2020-07-17 维沃移动通信有限公司 Image processing method and device
CN113674435A (en) * 2021-07-27 2021-11-19 阿里巴巴新加坡控股有限公司 Image processing method, electronic map display method and device and electronic equipment
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274607A1 (en) * 2006-04-12 2007-11-29 Jincheng Huang Method of Creating a Reflection Effect in an Image
CN101647270A (en) * 2007-04-11 2010-02-10 汤姆森许可贸易公司 Method and apparatus for enhancing Digital Video Effects (DVE)
CN102263905A (en) * 2011-07-22 2011-11-30 深圳市万兴软件有限公司 Special effect processing method of image and apparatus thereof
CN102592296A (en) * 2011-12-29 2012-07-18 深圳市万兴软件有限公司 Method and device for realizing special water wave rippling effect
CN103220490A (en) * 2013-03-15 2013-07-24 广东欧珀移动通信有限公司 Special effect implementation method in video communication and video user terminal
CN104394313A (en) * 2014-10-27 2015-03-04 成都理想境界科技有限公司 Special effect video generating method and device
CN106611412A (en) * 2015-10-20 2017-05-03 成都理想境界科技有限公司 Map video generation method and device
CN107103581A (en) * 2017-04-21 2017-08-29 努比亚技术有限公司 A kind of image inverted image processing method, device and computer-readable medium
CN107564085A (en) * 2017-10-24 2018-01-09 北京奇虎科技有限公司 Scalloping processing method, device, computing device and computer-readable storage medium
CN107770606A (en) * 2017-10-24 2018-03-06 北京奇虎科技有限公司 Video data distortion processing method, device, computing device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274607A1 (en) * 2006-04-12 2007-11-29 Jincheng Huang Method of Creating a Reflection Effect in an Image
CN101647270A (en) * 2007-04-11 2010-02-10 汤姆森许可贸易公司 Method and apparatus for enhancing Digital Video Effects (DVE)
CN102263905A (en) * 2011-07-22 2011-11-30 深圳市万兴软件有限公司 Special effect processing method of image and apparatus thereof
CN102592296A (en) * 2011-12-29 2012-07-18 深圳市万兴软件有限公司 Method and device for realizing special water wave rippling effect
CN103220490A (en) * 2013-03-15 2013-07-24 广东欧珀移动通信有限公司 Special effect implementation method in video communication and video user terminal
CN104394313A (en) * 2014-10-27 2015-03-04 成都理想境界科技有限公司 Special effect video generating method and device
CN106611412A (en) * 2015-10-20 2017-05-03 成都理想境界科技有限公司 Map video generation method and device
CN107103581A (en) * 2017-04-21 2017-08-29 努比亚技术有限公司 A kind of image inverted image processing method, device and computer-readable medium
CN107564085A (en) * 2017-10-24 2018-01-09 北京奇虎科技有限公司 Scalloping processing method, device, computing device and computer-readable storage medium
CN107770606A (en) * 2017-10-24 2018-03-06 北京奇虎科技有限公司 Video data distortion processing method, device, computing device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
朱海兵: "图像的动态水波倒影", 《电脑爱好者》 *
陈和平,王早: "水波特效模拟原理及其快速实现方法", 《计算机应用研究》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110944230A (en) * 2019-11-21 2020-03-31 北京达佳互联信息技术有限公司 Video special effect adding method and device, electronic equipment and storage medium
CN110944230B (en) * 2019-11-21 2021-09-10 北京达佳互联信息技术有限公司 Video special effect adding method and device, electronic equipment and storage medium
CN111243544A (en) * 2020-03-11 2020-06-05 深圳市华星光电半导体显示技术有限公司 Method for eliminating water ripple caused by spread spectrum, storage medium and display panel
CN111243544B (en) * 2020-03-11 2021-07-23 深圳市华星光电半导体显示技术有限公司 Method for eliminating water ripple caused by spread spectrum, storage medium and display panel
CN111432123A (en) * 2020-03-30 2020-07-17 维沃移动通信有限公司 Image processing method and device
CN113674435A (en) * 2021-07-27 2021-11-19 阿里巴巴新加坡控股有限公司 Image processing method, electronic map display method and device and electronic equipment
CN114286009A (en) * 2021-12-29 2022-04-05 维沃移动通信有限公司 Inverted image shooting method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN108900903B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN108900903A (en) Method for processing video frequency and device, electronic equipment and storage medium
CN106651955B (en) Method and device for positioning target object in picture
JP7262659B2 (en) Target object matching method and device, electronic device and storage medium
EP3176727A1 (en) Image classification method and device
CN104918107B (en) The identification processing method and device of video file
US11481975B2 (en) Image processing method and apparatus, electronic device, and computer-readable storage medium
CN109089170A (en) Barrage display methods and device
CN109697734A (en) Position and orientation estimation method and device, electronic equipment and storage medium
CN104219445B (en) Screening-mode method of adjustment and device
CN109522910A (en) Critical point detection method and device, electronic equipment and storage medium
WO2017031901A1 (en) Human-face recognition method and apparatus, and terminal
CN110298310A (en) Image processing method and device, electronic equipment and storage medium
CN110188236A (en) A kind of recommended method of music, apparatus and system
CN109801270A (en) Anchor point determines method and device, electronic equipment and storage medium
CN109948494A (en) Image processing method and device, electronic equipment and storage medium
CN107231505B (en) Image processing method and device
CN105957037B (en) Image enchancing method and device
CN109446912A (en) Processing method and processing device, electronic equipment and the storage medium of facial image
CN105335714B (en) Photo processing method, device and equipment
CN109978891A (en) Image processing method and device, electronic equipment and storage medium
CN105208284B (en) Shoot based reminding method and device
CN110458218A (en) Image classification method and device, sorter network training method and device
CN110111281A (en) Image processing method and device, electronic equipment and storage medium
CN106598429A (en) Method and device for adjusting window of mobile terminal
CN109377446A (en) Processing method and processing device, electronic equipment and the storage medium of facial image

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