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

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

Info

Publication number
CN109640167A
CN109640167A CN201811427973.8A CN201811427973A CN109640167A CN 109640167 A CN109640167 A CN 109640167A CN 201811427973 A CN201811427973 A CN 201811427973A CN 109640167 A CN109640167 A CN 109640167A
Authority
CN
China
Prior art keywords
video
enhancing
image processing
different
grade
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
CN201811427973.8A
Other languages
Chinese (zh)
Other versions
CN109640167B (en
Inventor
胡小朋
杨海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811427973.8A priority Critical patent/CN109640167B/en
Publication of CN109640167A publication Critical patent/CN109640167A/en
Priority to PCT/CN2019/109855 priority patent/WO2020108091A1/en
Application granted granted Critical
Publication of CN109640167B publication Critical patent/CN109640167B/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 or rendering scenes according to encoded video stream scene graphs
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Image Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

This application discloses a kind of method for processing video frequency, device, electronic equipment and storage mediums, are related to technical field of electronic equipment.Wherein, this method comprises: receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling, wherein the grade of video source modeling is different, and corresponding enhancing processing mode is different to the enhancing image quality of video.Obtain the corresponding enhancing processing mode of goal gradient.Enhancing processing is carried out to video by the enhancing processing mode of acquisition.In this scenario, different grades of video source modeling processing mode is different, different to the reinforcing effect of the image quality of video, realizes the differentiation processing of video, obtains good treatment effect, effectively realize different grades of super clear visual effect.

Description

Method for processing video frequency, device, electronic equipment and storage medium
Technical field
This application involves technical field of electronic equipment, set more particularly, to a kind of method for processing video frequency, device, electronics Standby and storage medium.
Background technique
With the development of science and technology, electronic equipment have become in people's daily life most common electronic product it One.Also, user often passes through electronic equipment and sees video or object for appreciation game etc., and still, electronic equipment is to video data at present Processing mode is fixed, and causes treatment effect undesirable, user experience is bad.
Summary of the invention
In view of the above problems, present applicant proposes a kind of method for processing video frequency, device, electronic equipment and storage medium, with Improve the above problem.
In a first aspect, the embodiment of the present application provides a kind of method for processing video frequency, which comprises receive and increase from video The goal gradient selected in strong corresponding multiple and different grades, wherein the grade of video source modeling is different, corresponding enhancing processing side Formula is different to the enhancing image quality of video;Obtain the corresponding enhancing processing mode of goal gradient;Pass through the enhancing processing mode of acquisition Enhancing processing, the image quality that the enhancing processing improves the video frame of video by adjusting the image parameter of video are carried out to video.
Second aspect, the embodiment of the present application provide a kind of video process apparatus, and described device includes: that grade receives mould Block, for receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling, wherein the grade of video source modeling is not Together, corresponding enhancing processing mode is different to the enhancing image quality of video;Processing mode obtains module, for obtaining goal gradient pair The enhancing processing mode answered;Processing module carries out enhancing processing, the increasing to video for the enhancing processing mode by obtaining The image quality that strength reason improves the video frame of video by adjusting the image parameter of video.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: one or more processors;Memory; One or more programs.Wherein one or more of programs are stored in the memory and are configured as by one Or multiple processors execute, one or more of programs are configured to carry out above-mentioned method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage Program code is stored in medium, said program code can be called by processor and execute above-mentioned method.
Method for processing video frequency, device, electronic equipment and storage medium provided by the embodiments of the present application, according to the grade of selection Corresponding processing mode is determined, so that different grades of video source modeling processing mode is different, to the reinforcing effect of the image quality of video Difference realizes the differentiation processing of video, obtains good treatment effect, effectively realize different grades of super clear visual effect.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the flow diagram of video playing provided by the embodiments of the present application.
Fig. 2 shows the flow charts for the method for processing video frequency that one embodiment of the application provides.
Fig. 3 shows a display interface figure of hierarchical selection provided by the embodiments of the present application.
Fig. 4 shows another display interface figure of hierarchical selection provided by the embodiments of the present application.
Fig. 5 shows the another display interface figure of hierarchical selection provided by the embodiments of the present application.
Fig. 6 shows the flow chart for the method for processing video frequency that another embodiment of the application provides.
Fig. 7 shows a mapping table provided by the embodiments of the present application.
Fig. 8 shows another mapping table provided by the embodiments of the present application.
Fig. 9 shows another mapping table provided by the embodiments of the present application.
Figure 10 shows the flow chart for the method for processing video frequency that the another embodiment of the application provides.
Figure 11 shows the flow chart of the method for processing video frequency of the application another embodiment offer.
Figure 12 shows the functional block diagram of video process apparatus provided by the embodiments of the present application.
Figure 13 shows the structural block diagram of electronic equipment provided by the embodiments of the present application.
Figure 14 is the embodiment of the present application for saving or carrying the video processing side realized according to the embodiment of the present application The storage unit of the program code of method.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described.
Referring to Fig. 1, Fig. 1 shows the process of video playing.Specifically, operating system is getting data to be played When, next work is exactly to parse audio, video data.General video file is all by video flowing and audio stream two parts Composition, the encapsulation format of different video format audio-videos are different.The process of audio stream and video flowing composite document is known as Muxer, on the contrary the process of separating audio stream and video flowing is known as demuxer from media file.Playing video file just needs Audio stream and video flowing are isolated from file stream, it is decoded respectively, and decoded video frame can be rendered directly, phase The buffer area that the audio answered can be sent to audio output apparatus plays out, certainly, the timestamp of Video Rendering and audio broadcasting It needs to control synchronization.Wherein, each video frame is the corresponding each frame image of video.
Specifically, video decoding may include hard decoder and soft decoding, and hardware decoding is that original whole is transferred to centre It manages device (Central Processing Unit, CPU) and transfers to graphics processor come a part of the video data handled (Graphics Processing Unit, GPU) is done, and the concurrent operation ability of GPU will be significantly larger than CPU, in this way can be with The load to CPU is greatly reduced, the occupancy of CPU can run some other programs after reducing simultaneously, when It so, both can be into for preferable processor, such as any a four core processor of i5 2320 or AMD Row hard decoder can also carry out soft decoding.
Specifically, as shown in Figure 1, multimedia framework (Media Framework) with the api interface of client by obtaining Client video file to be played, and transfer to Video Codec (Video Decode).Wherein, Media Framework For multimedia framework in android system, MediaPlayer, MediaPlayerService and Stagefrightplayer tri- A part constitutes the multimedia basic framework of Android.Multimedia framework part uses the structure of C/S, MediaPlayer As the end Client of C/S structure, MediaPlayerService and Stagefrightplayer are as C/S structure Server End carries the responsibility for playing multimedia file, and by Stagefrightplayer, asking for the end Client is completed at the end Server It asks and makes a response.Video Decoder Video Decode is a to be integrated with the decoding of most common audio and video and play Super decoder is used for video data decoding.
Wherein, soft decoding is decoded processing to video by CPU by software.And hard decoder, refer to without the help of CPU, and by dedicated subcard equipment come complete independently video decoding task.
Whether hard decoder or soft decoding can send decoded video data after by video data decoding To figure layer transfer module (SurfaceFlinger), as shown in Figure 1, the video data after hard decoder is sent out by video driver It send to SurfaceFlinger.After decoded video data is rendered and synthesized by SurfaceFlinger, on a display screen Display.Wherein, SurfaceFlinger is an independent Service, it receives the Surface of all Window as defeated Enter, according to parameters such as ZOrder, transparency, size, positions, calculate position of each Surface in final composograph, Then it transfers to HWComposer or OpenGL to generate final display Buffer, is then shown in specific display equipment.
As shown in Figure 1, CPU will give SurfaceFlinger rendering and synthesis in soft decoding after video data decoding, And after hard decoder is decoded by GPU, transfer to SurfaceFlinger to render and synthesize.And SurfaceFlinger can call GPU It realizes the rendering and synthesis of image, and shows on a display screen.
In order to obtain good display effect, row enhancing processing can be promoted to video, enhancing processing can decode After carry out, carry out showing in display screen after rendering synthesis again after enhancing processing.Wherein, enhancing processing is regarded by adjusting in video The image parameter of frequency frame improves the image quality of video frame, improves the display effect of video, obtains more good viewing experience.Wherein, The image quality of video frame may include clarity, acutance, saturation degree, details, lens distortion, color, resolution, gamut range and The parameters such as purity, the viewing preference for making image more meet human eye by adjusting the relevant various parameters of image quality, user's viewing experience More preferably.If the clarity of video is higher, noise is smaller, details is more clear, saturation degree is more high, indicates that video image quality is better, use Family viewing experience is more preferable.Wherein, the parameter of various combination in image quality is adjusted, represents the different enhancings processing to video Mode includes corresponding image processing algorithm in every kind of enhancing processing mode, for carrying out image procossing to video frame to adjust The image parameter of video frame improves the image quality of video frame.
But inventor has found that the display of video enhancing be usually only with no two options, that is, It says or video enhance or do not enhance video, increase without the differentiation being arranged according to user's actual need By force.That is, the enhancing for not having different-effect selects, user experience is bad.
Below will by specific embodiment to method for processing video frequency provided by the embodiments of the present application, device, electronic equipment and Storage medium is described in detail.
Referring to Fig. 2, showing method for processing video frequency provided by the embodiments of the present application.The method for processing video frequency is used for When receiving the goal gradient selected from multiple and different grades, the corresponding enhancing processing mode of the goal gradient is obtained.Wherein, The corresponding enhancing processing mode of different brackets is different, so that user be allow to select to enhance processing side accordingly according to actual needs Formula realizes the differentiation of video source modeling processing, improves user experience.In the particular embodiment, the method for processing video frequency is answered For video process apparatus 500 as shown in figure 12 and the electronic equipment 600 configured with the video process apparatus 500 (is schemed 13).It will illustrate the detailed process of the present embodiment by taking electronic equipment as an example below, it will of course be understood that, the present embodiment is answered Electronic equipment can be each for smart phone, tablet computer, computed table, wearable electronic equipment, mobile unit, gateway etc. The equipment that kind can carry out video processing, does not do specific restriction herein.Specifically, this method comprises:
Step S110: the goal gradient selected from the corresponding multiple and different grades of video source modeling is received.Wherein, video increases Strong grade is different, and corresponding enhancing processing mode is different to the enhancing image quality of video.
Electronic equipment carries out video after can handling and rendering synthesis by decoding, enhancing to video data is got Display.Wherein, electronic equipment can obtain video data from server, can obtain video data from local, can also be from it He obtains video data by electronic equipment.
Specifically, it when video data is obtained by electronic equipment from server, is set then the video data can be electronics It is standby to be obtained online from server downloading or electronic equipment from server.For example, video data, which can be electronic equipment, passes through peace The video jukebox software of dress is downloaded, or the video data obtained online in the video jukebox software.Wherein, which can be with For Cloud Server.When local acquisition of the video data from electronic equipment, which can be electronic equipment and downloads in advance And it is stored in local storage.When video data is obtained by electronic equipment from other electronic equipments, which can With by other electronic equipments, agreement is transmitted to the electronic equipment by wireless communication, for example, being assisted by WLAN protocol, bluetooth View, Zigbee protocol or WiFi agreement etc., can also be set by other electronic equipments by data network transmission to the electronics It is standby, for example, 2G network, 3G network or 4G network etc., it is not limited here.
Electronic equipment gets video data, then after being decoded and rendering the processing such as synthesis to the video data, leads to Display is crossed to play out.If receiving the relevant control instruction of video source modeling, enhancing processing is carried out to video data, is played Video after video source modeling.
Wherein, multiple and different grades, also, different grades of video source modeling can be set to the enhancing of video, it is corresponding Enhancing processing mode it is different, correspondingly, different grades of video source modeling, enhancing of the corresponding enhancing processing mode to video Image quality is different.In the embodiment of the present application, the quantity of the grade of setting does not limit, and two grades can only be arranged, can also be with Three or three or more grades are set.
User can select a grade to enhance video from multiple and different grades of setting, that is to say, that use Family selects a grade to realize the grade pair to carry out enhancing processing to video by the corresponding enhancing processing mode of the grade The picture quality enhancement effect answered.In the embodiment of the present application, defining the grade for carrying out enhancing processing selected is goal gradient.
As an implementation, the goal gradient selected from the corresponding multiple and different grades of video source modeling, can be It is determined by electronic equipment when video is opened.For example, the default setting for playing the application program of video is to open a certain grade Video source modeling, then when opening video, with the goal gradient of the grade alternatively.For another example, the application program for playing video exists Opened when preceding primary closing be a certain grade video source modeling, then determine when the video being again turned in the application program and receive To the video source modeling of the grade, using the grade as goal gradient.Either the video is opened a certain in preceding primary closing The video source modeling of grade, then when being again turned on the video, with the goal gradient of the grade alternatively.
As an implementation, which it is true to be also possible to the user received in video display process selection It is fixed.By taking corresponding two different brackets of video source modeling as an example, which is respectively high-grade and inferior grade, as shown in figure 3, The video source modeling switch of high-grade video source modeling switch and inferior grade is set, respectively correspond high-grade video source modeling and The video source modeling of inferior grade.In video source modeling switch shown in Fig. 3, choosing is switched on to the enhancing of inferior grade if receiving It selects, as shown in figure 4, then receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling is inferior grade.Again As shown in figure 5, setting can carry out the video source modeling switch that high-grade and inferior grade switches mutually, if user is by video source modeling Switching enhances to inferior grade as shown in Figure 5, then receives the mesh selected from the corresponding multiple and different grades of video source modeling Mark grade is inferior grade.Wherein, in video display process, the video source modeling switch of setting may be at hidden state.When connecing The touch-controls such as the click to video are received, show that the video source modeling switchs, and make video source modeling switch in controllable state. When video is more than a period of time not receive the touch control operation of user, the video source modeling is switched hide again.
In the embodiment of the present application, the mode of selection target grade can also include other.For example, multiple and different grades In, power consumption low grade when including enhancing processing, power consumption of the low grade of the power consumption when enhancing processing is lower than other Electricity of the grade when enhancing processing.As an implementation, can judge in the case where carrying out enhancing processing to video Whether the electricity of electronic equipment is less than target electricity.Wherein, enhancing processing is the corresponding enhancing processing of the high grade of power consumption. If it is determined that the electricity of electronic equipment is less than target electricity, with the goal gradient of the low grade of power consumption alternatively.Wherein, the mesh Mark electricity specific charge value do not limit in the embodiment of the present application, can be electronic equipment total electricity 30 percent, 20 percent etc..In addition, the target electricity can also be by being stored in electronic equipment after user setting.
Whether the embodiment is implemented in the electronic device can be determined by user setting.Specifically, user can be set Whether the enhancing processing of low-power consumption is switched in low battery.If low-power consumption enhances when user setting low battery, can be to view In the case that frequency carries out enhancing processing, judge whether the electricity of electronic equipment is less than target electricity.It is small in the electricity of electronic equipment When target electricity, with the goal gradient of the low grade of power consumption alternatively.
Step S120: the corresponding enhancing processing mode of goal gradient is obtained.
Different grades of video source modeling corresponds to different enhancing processing modes.It, can be in the case where determining goal gradient According to the corresponding relationship of grade and enhancing processing mode, the corresponding enhancing processing mode of the goal gradient is obtained.
Step S130: enhancing processing is carried out to video by the enhancing processing mode of acquisition, the enhancing processing passes through tune Save the image quality of the video frame of the image parameter raising video of video.
Every kind of enhancing processing mode includes the image processing algorithm that realize corresponding enhancing treatment effect.Determining target etc. In the case where the corresponding enhancing processing mode of grade, video is increased by the image processing algorithm that the enhancing processing mode includes Strength reason, to adjust the image parameter of video frame by enhancing the image processing algorithm that processing mode includes, so as to adjust video The relevant parameter of frame image quality improves video image quality.
Since video is made of video frame one by one, different video frames is different picture, at various enhancings Enhancing of the reason mode to video, it is practical then for the picture quality enhancement of video frame.Specifically, by enhancing processing mode to video Enhancing processing, for the image processing algorithm that includes by the enhancing processing mode to the corresponding video data of each video frame into Row image procossing.
In the embodiment of the present application, multiple and different grades can be set to the enhancing processing of video.It is receiving certain In the case that a hierarchical selection is goal gradient, video is carried out at enhancing by the goal gradient corresponding enhancing processing mode Reason.In the present embodiment, multiplicity can be to the selection of enhancing processing mode, select the grade of video source modeling according to demand, it is real The differentiation of existing video source modeling, improves the user experience of video source modeling.
Another embodiment of the application provides a kind of method for processing video frequency, according to the corresponding pass of grade and enhancing processing mode It is the corresponding enhancing processing mode of selection target grade.Specifically, Fig. 6 is referred to, this method comprises:
Step S210: the goal gradient selected from the corresponding multiple and different grades of video source modeling is received.Wherein, video increases Strong grade is different, and corresponding enhancing processing mode is different to the enhancing image quality of video.
This step may refer to step S110, and details are not described herein.
Step S220: from different brackets and enhance in the mapping table of processing mode that search the goal gradient corresponding Class parameter.
Step S230: determine that the corresponding enhancing processing mode of class parameter found is corresponding as the goal gradient Enhance processing mode.
In the embodiment of the present application, different grades of video source modeling, treatment effect is different, and video image quality is different.Specifically , every kind of enhancing processing mode includes one or more image processing algorithms, to realize corresponding treatment effect.
Optionally, the different brackets of video source modeling can be the different grade of height, and higher grade, the effect of video source modeling It is better, to allow user by selecting just different hierarchical selection reinforcing effects more preferable or general enhancing processing side Formula.Specifically, the grade that can be video source modeling is different, the image processing algorithm that corresponding enhancing processing mode includes is different, Keep the higher grade of the video source modeling, corresponding enhancing processing mode is better to the enhancing image quality of video.The image quality is better can With include clarity is higher, noise is smaller, details about it is strong it is more clear, saturation degree is more high, video image quality is better, and user watches body It tests more preferable.
In the embodiment of the present application, can be, higher grade video source modeling, including different images processing intent figure As Processing Algorithm type is more.For example, the grade of video source modeling include grade successively the raised tertiary gradient, the second grade and The first estate, then the image processing algorithm type that the tertiary gradient to the first estate successively includes successively increase.Such as, commonly to view It includes the image processing algorithm for improving brightness, the image procossing calculation for adjusting saturation degree that the image procossing that the image quality of frequency is enhanced, which is calculated, Method, adjust contrast image processing algorithm, details adjustment image processing algorithm, deblocking effect image processing algorithm, go A variety of image processing algorithms such as the image processing algorithm of edge sawtooth and the image processing algorithm for removing band.The view of the first estate Frequency enhancing may include the image processing algorithm for improving brightness, the image processing algorithm for adjusting saturation degree, the figure for adjusting contrast As Processing Algorithm, the image processing algorithm that details adjusts, deblocking effect image processing algorithm, remove the image procossing of edge sawtooth Algorithm and the image processing algorithm for removing band.The video source modeling of second grade includes the image processing algorithm for improving brightness, adjusts The image processing algorithm of the image processing algorithm of whole saturation degree, the image processing algorithm for adjusting contrast and details adjustment.The The video source modeling of three grades includes the image processing algorithm of deblocking effect, removes the image processing algorithm of edge sawtooth and remove band Image processing algorithm.
Alternatively, it is also possible to be, different grades of video source modeling is corresponding to enhance image processing algorithm in processing mode Parameter setting is different, to keep higher grade, enhancing image quality is better.Either, higher grade enhancing processing mode, including Image processing algorithm precision is higher.
In the embodiment of the present application, target etc. can be obtained by the mapping table between grade and enhancing processing mode The corresponding enhancing processing mode of grade.
Specifically, each grade can be corresponding with class parameter, that is to say, that different class parameters corresponds to different etc. Grade, each class parameter indicate a video source modeling grade.Class parameter and enhancing processing side are can store in electronic equipment The mapping table of formula when the mapping table can be electronic equipment foradownloaded video application program while being downloaded, be can be down It downloads, downloaded when the system that can be electronic equipment is updated or updates when carrying the plug-in unit of video source modeling, can be and taking Business device pushes when having new mapping table to electronic equipment, is also possible to electronic equipment timing from server request, or Person is that electronic equipment is needing such as to need to search the corresponding increasing of goal gradient by the mapping table using the mapping table When strong processing mode, obtained from server.How the mapping table specifically obtains and when obtains in the embodiment of the present application In do not limit.
In the mapping table, each class parameter is corresponding with enhancing processing mode, enhancing corresponding with class parameter Processing mode is the enhancing processing mode that the corresponding grade of the class parameter carries out enhancing processing.Wherein, in mapping table Enhancing processing mode can also be indicated with pass-through mode parameter.
When determining a grade is goal gradient, correspondence gets the corresponding class parameter of the goal gradient.Again from right It answers and searches the class parameter in relation table, determine that the corresponding enhancing processing mode of class parameter found is corresponding for goal gradient Enhancing processing mode.
For example, the grade of video source modeling includes the first estate, the second grade and the tertiary gradient, mapping table such as Fig. 7 Shown, three grades parameter A, B, C respectively correspond enhancing processing mode a, b, c.Wherein, three grades parameter A, B, C distinguishes table Show the first estate, the second grade and the tertiary gradient, wherein class parameter A indicates that the first estate, class parameter B indicate second Grade, class parameter C indicate the tertiary gradient.A, b and c respectively indicates different enhancing processing modes.If then receiving target Grade is the first estate, then class parameter A can be searched from mapping table.When finding class parameter A, then to search this right Answering the corresponding enhancing processing mode of A in relation table is a, the corresponding enhancing processing side of goal gradient so as to get selection Formula is a.
After determining the corresponding enhancing processing mode of goal gradient, then the corresponding image of enhancing processing mode can be determined Processing Algorithm.Optionally, can be, the corresponding mode parameter of every kind of enhancing processing mode, which parameter it is corresponding one or Polyalgorithm identification parameters, each algorithm identification parameters indicate an image processing algorithm.Then after determining enhancing processing mode, Can the corresponding algorithm parameter of parameter by this way, call the corresponding image processing algorithm of enhancing processing mode.Optionally, Image processing algorithm corresponding to every kind of enhancing processing mode, can also be encapsulated as a program module.Determine enhancing processing side After formula, the corresponding program module of enhancing processing mode is called.
For the video of different resolution, have the characteristics that different.For example, being differentiated for SD and smooth video Rate is lower, and noise is serious in video, and image is fuzzy in video frame, and image border is unintelligible, has edge noise.And for high definition Etc. high-resolution video, noise is small, image clearly.Due to the low video of the video and resolution ratio of high resolution, video frame Middle feature of image is different, for the video of different resolution, the video source modeling of same grade, if all being handled using identical enhancing Mode is handled, then the image quality that may handle rear video is entirely different, and may reinforcing effect to video it is undesirable.Example Such as, sharpening can make the image of high definition apparent, but sharpening and denoising contradict, in the video of low resolution, if carrying out Edge contrast may be exaggerated edge noise instead.Therefore, it for the video of different resolution, to be realized by enhancing identical Or similar video image quality, different image processing algorithms is needed, corresponding, the video of different resolution enhances processing side Formula.
Optionally, in the embodiment of the present application, the different resolution of can be according to different resolution the characteristics of, corresponding video are set Set different mapping tables.In different mapping tables, the corresponding enhancing processing mode of identical class parameter is different.? With regard to saying, different enhancing processing modes can be chosen if the resolution ratio of video is different for the video source modeling of same grade.
Specifically, electronic equipment can obtain the resolution ratio of video according to video data.Wherein, the resolution ratio of video is to use A how many parameter of data volume, can be indicated, wherein W refers to video frame in cross by way of W*H in measurement video frame Upward valid pixel, H refer to the valid pixel of video frame in the longitudinal direction.
The mode for obtaining the resolution ratio of video can be, and electronic equipment is decoded video, video counts after the decoding In, there is the data portion of corresponding storage resolution, which can be one piece of data.It therefore, can be from video In decoded data, the corresponding data portion of resolution ratio is got, then obtain video from the corresponding data portion of resolution ratio Resolution ratio.
For example, H.264, while being also MPEG-4 Part X, it is by ITU-T Video Coding Experts Group (VCEG) and ISO/ The height pressure that the joint video team (JVT, Joint Video Team) that IEC dynamic image expert group (MPEG) constitutes jointly proposes Contracting digital video coding-coding device standard.It include the resolution of video for using the code stream H.264 encoded, in the stream information of code stream Rate, and the stream information of code stream is stored in special structure, is called SPS (Sequence Parameter Set), which is For the corresponding data portion of decoded data intermediate-resolution.According to the format information of H.264 code stream, in H.264 code stream, with 0x000x00 0x01 or 0x00 0x00 0x00 0x01 are opening code, therefore pass through first character section after detection opening code Whether five be 7 (00111) to judge whether it is SPS afterwards.After acquisition SPS, so that it may parse the resolution ratio of video.Its In, there are two member, pic_width_in_mbs_minus1 and pic_height_in_map_units_minus_1 in SPS, Respectively indicate the width and height of image, and be all subtract 1 again (as unit of on area by the block of 16*16) as unit of 16, so Actual width is (pic_width_in_mbs_minus1+1) * 16, a height of (pic_height_in_map_units_minus_1 + 1) * 16, that is, corresponding to W in above-mentioned resolution ratio is (pic_width_in_mbs_minus1+1) * 16, in corresponding above-mentioned resolution ratio H is (pic_height_in_map_units_minus_1+1) * 16.
After getting the resolution ratio of video, the corresponding mapping table of the resolution ratio can be determined, with determining correspondence Relation table is as the mapping table for searching class parameter.That is to say, being looked into the corresponding mapping table of resolution ratio of video The corresponding class parameter of goal gradient is looked for, then to obtain the corresponding enhancing processing mode of the class parameter corresponding as goal gradient Enhance processing mode.
For example, the grade of video source modeling includes the first estate, the second grade and the tertiary gradient, resolution ratio includes first point Resolution and second resolution.The corresponding mapping table of first resolution is as shown in figure 8, three grades parameter A1, B1, C1 points Processing mode a1, b1, c1 Dui Ying not enhanced.The corresponding mapping table of second resolution is as shown in figure 9, three grades parameter A2, B2, C2 respectively correspond enhancing processing mode a2, b2, c2.If receiving goal gradient then as the first estate, and point of video Resolution is first resolution, then the available corresponding enhancing processing mode of goal gradient that arrives is a1;If receiving goal gradient For the first estate, and the resolution ratio of video is second resolution, then available to arrive the corresponding enhancing processing mode of goal gradient For a2.
In the embodiment of the present application, in the different mapping tables of corresponding different resolution, the corresponding enhancing of each grade Image processing algorithm included by processing mode does not limit.
For example, first resolution, which can be respectively set, indicates low resolution, second resolution indicates high-resolution.Wherein, The resolution ratio that first resolution and second resolution respectively indicate can be with more than one.For example, first resolution can be mark Clear video and the corresponding resolution ratio of smooth video, e.g., first resolution 240p, 360p and 480p.Wherein, 240p is indicated Minimum resolution ratio is 480x240;360p indicate resolution ratio it is minimum be 640x360;480p indicate resolution ratio it is minimum be 720*480. Second resolution can be HD video and the corresponding resolution ratio of super clear video, e.g., second resolution can for 720p, 1080p, wherein 720p indicate resolution ratio it is minimum be 1280x720;1080p indicate resolution ratio it is minimum be 1920x1080 etc..
For the video of low resolution, video noise is big, and display is more fuzzy.Specifically, the video of low resolution is effective Pixel is less, and distance when amplification between valid pixel widens, and the space between valid pixel can be passed through interpolation by electronic equipment It fills up, and pixel used in interpolation is calculated according to valid pixel up and down, not real video information, thus Make the information in the video image of display with more non-video itself, makes that there is biggish noise in video.Particularly, right The edge for answering image in video frame makes edge generate block of pixels, that is, blocking artifact occurs, also by calculating the interpolating pixel obtained It is mosaic, so that edge is more fuzzy, not enough clearly, forms edge noise.Therefore, in the corresponding corresponding pass of first resolution It is in table, deblocking effect can be laid particular stress on, goes edge sawtooth and remove band by enhancing image processing algorithm included by processing mode Deng.
In addition, optional, for the video of low resolution, edge noise is big in video frame, therefore, can be with first In the corresponding mapping table of resolution ratio, enhancing image processing algorithm included by processing mode can also include reduction details Image processing algorithm and the image processing algorithm for reducing saturation degree, to reduce edge noise.
For example, in the corresponding mapping table of first resolution, in the corresponding enhancing processing mode of each grade, all may be used To include deblocking effect, one of go edge sawtooth and remove band or a variety of image processing algorithms.Such as, video source modeling etc. Grade is higher, and the image quality for handling enhancing is better, then in the corresponding relation table of first resolution, at the corresponding enhancing of the first estate Reason mode may include improving the image processing algorithm of brightness, the image processing algorithm for reducing saturation degree, the figure for improving contrast As Processing Algorithm, weaken the image processing algorithm of details, deblocking effect image processing algorithm, remove the image procossing of edge sawtooth Algorithm and the image processing algorithm for removing band;The corresponding enhancing processing mode of second grade may include improving the image of brightness Processing Algorithm, the image processing algorithm for reducing saturation degree, the image processing algorithm for improving contrast and the image for weakening details Part in Processing Algorithm further includes the image processing algorithm of deblocking effect, the image processing algorithm of edge sawtooth is gone to remove band Image processing algorithm;The corresponding enhancing processing mode of the tertiary gradient can only include the image processing algorithm of deblocking effect, go The image processing algorithm of edge sawtooth removes the image processing algorithm of band.
And for high-resolution video, valid pixel is more, more to show in the display screen display of electronic equipment Be video itself image information, video is clear, and noise is lower.Therefore, in the corresponding mapping table of second resolution, Image processing algorithm included by enhancing processing mode can lay particular stress on the image processing algorithm for improving brightness, the figure for improving saturation degree The image processing algorithm etc. enhanced as Processing Algorithm, the image processing algorithm of raising contrast and details.For example, at second point It can include the image for improving brightness in the corresponding enhancing processing mode of each grade in the corresponding mapping table of resolution Processing Algorithm, the image processing algorithm for improving saturation degree, the image processing algorithm for improving contrast and the image of details enhancing One of Processing Algorithm or a variety of image processing algorithms.Such as, the higher grade of video source modeling, and the image quality for handling enhancing is got over Good, then in the corresponding relation table of second resolution, the corresponding enhancing processing mode of the first estate may include improving brightness What image processing algorithm, the image processing algorithm for improving saturation degree, the image processing algorithm for improving contrast and details enhanced Image processing algorithm, deblocking effect image processing algorithm, remove the image processing algorithm of edge sawtooth and remove the image of band Processing Algorithm;The corresponding enhancing processing mode of second grade may include the image processing algorithm of deblocking effect, go edge sawtooth Image processing algorithm go to the part in the image processing algorithm of band, further include improve brightness image processing algorithm, improve The image processing algorithm of the image processing algorithm of saturation degree, the image processing algorithm for improving contrast and details enhancing;Third The corresponding enhancing processing mode of grade can only include the image processing algorithm for improving brightness, the image procossing calculation for improving saturation degree Some or all of in the image processing algorithm of method, the image processing algorithm for improving contrast and details enhancing.
Step S240: enhancing processing is carried out to video by the enhancing processing mode of acquisition.
With image processing algorithm included by the corresponding enhancing processing mode of goal gradient to being handled in video, obtain The corresponding enhancing treatment effect of goal gradient.
In the embodiment of the present application, increasing corresponding to goal gradient is determined according to the corresponding relationship of grade and enhancing processing mode Strong processing mode.For the video of different resolution, under same levels, the processing mode chosen is different, realizes different points The differentiation of the video of resolution is handled, and obtains better video treatment effect.
Present invention also provides a kind of embodiment, in the embodiment, different grades of enhancing processing mode can be by user Setting.That is, the corresponding image processing algorithm of different brackets can be by user setting, with the demand difference closer to user Change enhancing processing video.Specifically, referring to Figure 10, method provided by the embodiments of the present application includes:
Step S310: receiving algorithm setting request, it includes the grade for carrying out algorithm setting in request that the algorithm, which is arranged,.
For each grade of video source modeling, can provide inlet porting for user setting enhances processing mode, specifically, The corresponding image processing algorithm of each grade is set.
User can enter set interface by inlet porting, and the setting of algorithm is carried out to each grade.It is corresponding, it can be with It receives user and corresponds to the algorithm setting request that each grade is submitted.For example, user, which submits, carries out algorithm setting to a certain grade Algorithm setting request, algorithm setting request carry the class parameter of the grade.When then receiving algorithm setting request, Ke Yigen Determine that user wants the grade of progress algorithm setting according to the class parameter.
Step S320: a variety of image processing algorithms are shown.
The image processing algorithm that a variety of users can choose is shown in display screen.Wherein, effect is perceived more due to user Obviously, rather than the name of algorithm itself, therefore show can be the image processing algorithm illustrated by treatment effect.For example, Blocking artifact is removed by in-loop deblocking filtering algorithm, if but the image processing algorithm of display is in-loop deblocking filtering, Yong Huke It can and not understand the processing intent of the image processing algorithm, therefore, can be shown with functional description, such as show deblocking effect It answers or demosaicing.
It is particularly shown which Processing Algorithm does not limit in the embodiment of the present application, such as can show the figure for improving brightness At the image adjusted as Processing Algorithm, the image processing algorithm of adjustment saturation degree, the image processing algorithm for adjusting contrast, details Adjustment method, deblocking effect image processing algorithm, remove the image processing algorithm of edge sawtooth and the image procossing of band gone to calculate Method etc..
Wherein, request is set in response to the algorithm of each grade, the image processing algorithm of display can be identical.Optionally, In order to embody the otherness between different brackets, different grades of algorithm setting request, the image processing algorithm of display can also be with It is different.
Step S330: any one or more selected from a variety of image processing algorithms is received.
Step S340: the corresponding enhancing processing of request middle grade is arranged as the algorithm using the image processing algorithm selected The image processing algorithm that mode includes.
User can select from the image processing algorithm of display according to actual treatment demand, select a kind of or more Kind is not intended to limit.After the completion of user's selection, it can determine that the key of selection submits image procossing by the triggerings such as completing, determining The selection of algorithm.When receiving any one or more that user selects from a variety of image processing algorithms, selected with user The image processing algorithm selected is as the corresponding image processing algorithm of grade being configured, so that user can be according to itself preference Carry out the differentiation setting of each grade.
For example, can be selected in set interface if user wants to be configured the enhancing processing mode of the first estate The first estate.The image procossing of the image processing algorithm of brightness, adjustment saturation degree is improved in the set interface display of the first estate Algorithm, adjust contrast image processing algorithm, details adjustment image processing algorithm, deblocking effect image processing algorithm, It removes the image processing algorithm of edge sawtooth and removes the image processing algorithm of band.If user confirmation select image processing algorithm for The image processing algorithm of saturation degree and the image processing algorithm of deblocking effect are adjusted, then is handled the corresponding enhancing of the first estate The image procossing of image processing algorithm and deblocking effect that the image processing algorithm that mode includes is set as adjustment saturation degree is calculated Method.
Step S350: the goal gradient selected from the corresponding multiple and different grades of video source modeling is received, wherein video increases Strong grade is different, and corresponding enhancing processing mode is different to the enhancing image quality of video.
Step S360: the corresponding enhancing processing mode of goal gradient is obtained.
Step S370: enhancing processing is carried out to video by the enhancing processing mode of acquisition.
In the corresponding enhancing processing mode of acquisition goal gradient, acquisition is the correspondence of the user setting goal gradient Enhance processing mode, when making to be enhanced according to goal gradient, is accomplished that the reinforcing effect that user wants, preferably meets not With the individual enhancing preference of user.
It, can be by user from the corresponding image of goal gradient in the embodiment present invention also provides a kind of embodiment The corresponding enhancing algorithm of the reinforcing effect specifically wanted is selected in adjustment method.Specifically, referring to Figure 11, what which provided Method includes:
Step S410: the goal gradient selected from the corresponding multiple and different grades of video source modeling is received, wherein video increases Strong grade is different, and corresponding enhancing processing mode is different to the enhancing image quality of video.
Step S420: the corresponding a variety of image processing algorithms of the goal gradient are shown.
Corresponding each grade, can be set a variety of image processing algorithms.When receiving the target selected from different brackets Grade, can be with the corresponding image processing algorithm of displaying target grade.User can select from a variety of image processing algorithms. When being particularly shown, it can also be shown by functional descriptions.
Step S430: the selection to any one or more in a variety of image processing algorithms is received.
Step S440: include as the corresponding enhancing processing mode of the goal gradient using the image processing algorithm selected Image processing algorithm.
When user selects to determine one or more kinds of image procossings from the corresponding a variety of image processing algorithms of goal gradient Algorithm, the then image procossing for including as the corresponding enhancing processing mode of the goal gradient using the image processing algorithm that user selects Algorithm.That is, image processing algorithm included by the corresponding enhancing processing mode of goal gradient, corresponds to target etc. for user The image processing algorithm of grade selection.
Step S450: enhancing processing is carried out to video by the enhancing processing mode of acquisition.
Video is handled by goal gradient corresponding enhancing processing mode, the image that specifically video is handled Processing Algorithm is the image processing algorithm that user selects from the corresponding a variety of image processing algorithms of goal gradient.
In the embodiment of the present application, after selected grade, user can be again from the corresponding image processing algorithm of the goal gradient Middle selection, to select in the image processing algorithm for meeting current video process demand.Such as electronic equipment it is current electricity it is lower, User can choose less image processing algorithm, meet basic video source modeling demand, to reduce power consumption when video source modeling Amount, such as the video of low resolution, user can only select to remove the image processing algorithm of edge sawtooth.
The embodiment of the present application also provides a kind of video process apparatus, referring to Figure 12, which includes: that grade connects Module 510 is received, for receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling, wherein video source modeling Grade it is different, corresponding enhancing processing mode is different to the enhancing image quality of video.Processing mode obtains module 520, for obtaining Take the corresponding enhancing processing mode of goal gradient.Processing module 530 carries out video for the enhancing processing mode by obtaining Enhancing processing, the image quality that the enhancing processing improves the video frame of video by adjusting the image parameter of video.
Optionally, which can also include setup module, for showing a variety of image processing algorithms;It receives from described more Any one or more selected in kind image processing algorithm;It is arranged using the image processing algorithm selected as the algorithm and is requested The image processing algorithm that the corresponding enhancing processing mode of middle grade includes.
Optionally, it may include algorithm display unit that processing mode, which obtains module 520, for showing the goal gradient Corresponding a variety of image processing algorithms;Receiving unit is selected, for receiving to any one in a variety of image processing algorithms Or a variety of selection;Processing mode determination unit, for corresponding as the goal gradient using the image processing algorithm that selects The image processing algorithm that enhancing processing mode includes.
Optionally, electronic equipment can store class parameter and enhance the mapping table of processing mode, different etc. Grade parameter corresponds to different grades.It may include parameter searching unit that processing mode, which obtains module 520, for closing from the correspondence It is that the corresponding class parameter of the goal gradient is searched in table;Mode determination unit, for determining the class parameter pair found The enhancing processing mode answered is as the corresponding enhancing processing mode of the goal gradient.
Optionally, the different resolution of video corresponds to different mapping tables, identical etc. in different mapping tables The corresponding enhancing processing mode of grade parameter is different.It can also include resolution ratio acquiring unit that the processing mode, which obtains module 520, For obtaining the resolution ratio of video;Relation table determination unit, for determining the corresponding mapping table of the resolution ratio, with determination Mapping table as search class parameter mapping table.
Optionally, in the embodiment of the present application, the grade of video source modeling is different, the figure that corresponding enhancing processing mode includes As Processing Algorithm difference, keep the higher grade of the video source modeling, corresponding enhancing processing mode gets over the enhancing image quality of video It is good.
Wherein it is possible to be, the video source modeling of the first estate includes the image processing algorithm for improving brightness, adjustment saturation degree Image processing algorithm, adjust contrast image processing algorithm, details adjustment image processing algorithm, deblocking effect image at Adjustment method, the image processing algorithm for going edge sawtooth and the image processing algorithm for removing band;The video source modeling packet of second grade Include improve brightness image processing algorithm, adjust saturation degree image processing algorithm, adjust contrast image processing algorithm with And the image processing algorithm of details adjustment;The video source modeling of the tertiary gradient includes the image processing algorithm of deblocking effect, goes to edge The image processing algorithm of sawtooth and the image processing algorithm for removing band, wherein the tertiary gradient, the second grade and the first estate Grade successively increase.
It is apparent to those skilled in the art that for convenience and simplicity of description, above-mentioned each method It can be cross-referenced between embodiment;The specific work process of foregoing description device and module can be implemented with reference to preceding method Corresponding process in example, details are not described herein.
In several embodiments provided herein, the mutual coupling of module can be electrical property, mechanical or other The coupling of form.
It, can also be in addition, can integrate in a processing module in each functional module in each embodiment of the application It is that modules physically exist alone, can also be integrated in two or more modules in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.
Figure 13 is please referred to, it illustrates the structural block diagrams of a kind of electronic equipment 600 provided by the embodiments of the present application.The electronics Equipment 600 can be the electronic equipment that smart phone, tablet computer etc. are able to carry out video processing.The electronic equipment one or more A processor 610 (one is only shown in figure), memory 620 and one or more programs.Wherein, one or more of journeys Sequence is stored in the memory 620, and is configured as being executed by one or more of processors 610.It is one or Multiple programs are configured to carry out method described in previous embodiment.
Processor 610 may include one or more processing core.Processor 610 is whole using various interfaces and connection Various pieces in a electronic equipment 600, by run or execute the instruction being stored in memory 620, program, code set or Instruction set, and the data being stored in memory 620 are called, execute the various functions and processing data of electronic equipment 600.It can Selection of land, processor 610 can use Digital Signal Processing (Digital Signal Processing, DSP), field-programmable Gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 610 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for Show the rendering and drafting of content;Modem is for handling wireless communication.It is understood that above-mentioned modem It can not be integrated into processor 610, be realized separately through one piece of communication chip.
Memory 620 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Memory 620 can be used for store instruction, program, code, code set or instruction set.It deposits Reservoir 620 may include storing program area and storage data area, wherein the finger that storing program area can store for realizing operating system Enable, for realizing the instruction of at least one function, for realizing instruction of above-mentioned each embodiment of the method etc..Storage data area is also It can be with data (such as phone directory, audio, video data, chat record data) etc. that electronic equipment is created in use.
In addition, the electronic equipment 600 can also include display screen, for showing to video to be shown.
Figure 14 is please referred to, it illustrates a kind of structural frames of computer readable storage medium provided by the embodiments of the present application Figure.Program code is stored in the computer readable storage medium 700, said program code can call execution above-mentioned by processor Method described in embodiment of the method.
Computer readable storage medium 700 can be such as flash memory, EEPROM (electrically erasable programmable read-only memory), The electronic memory of EPROM, hard disk or ROM etc.Optionally, computer readable storage medium 700 includes non-volatile meter Calculation machine readable medium (non-transitory computer-readable storage medium).Computer-readable storage Medium 700 has the memory space for the program code 710 for executing any method and step in the above method.These program codes can With from reading or be written in one or more computer program product in this one or more computer program product. Program code 710 can for example be compressed in a suitable form.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and Range.

Claims (10)

1. a kind of method for processing video frequency, which is characterized in that the described method includes:
Receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling, wherein the grade of video source modeling is different, Corresponding enhancing processing mode is different to the enhancing image quality of video;
Obtain the corresponding enhancing processing mode of goal gradient;
Enhancing processing is carried out to video by the enhancing processing mode of acquisition, the enhancing processing is joined by adjusting the image of video Number improves the image quality of the video frame of video.
2. the method according to claim 1, wherein described receive from the corresponding multiple and different grades of video source modeling Before the goal gradient of middle selection, further includes:
Receiving algorithm setting request, it includes the grade for carrying out algorithm setting in request that the algorithm, which is arranged,;
Show a variety of image processing algorithms;
Receive any one or more selected from a variety of image processing algorithms;
The figure that the corresponding enhancing processing mode of request middle grade includes is set as the algorithm using the image processing algorithm selected As Processing Algorithm.
3. the method according to claim 1, wherein the corresponding enhancing processing mode of the acquisition goal gradient, Include:
Show the corresponding a variety of image processing algorithms of the goal gradient;
Receive the selection to any one or more in a variety of image processing algorithms;
The image processing algorithm for including as the corresponding enhancing processing mode of the goal gradient using the image processing algorithm selected.
4. being closed the method according to claim 1, wherein being stored with class parameter with the corresponding of processing mode is enhanced It is table, different class parameters corresponds to different grades, the corresponding enhancing processing mode of the acquisition goal gradient, comprising:
The corresponding class parameter of the goal gradient is searched from the mapping table;
Determine the corresponding enhancing processing mode of class parameter found as the corresponding enhancing processing mode of the goal gradient.
5. according to the method described in claim 4, it is characterized in that, the different resolution of video corresponds to different corresponding relationships Table, in different mapping tables, the corresponding enhancing processing mode of identical class parameter is different, described from the mapping table It is middle search the corresponding class parameter of the goal gradient before, further includes:
Obtain the resolution ratio of video;
It determines the corresponding mapping table of the resolution ratio, is closed using determining mapping table as the corresponding of class parameter is searched It is table.
6. the method according to claim 1, wherein the grade difference of video source modeling, corresponding enhancing processing side Formula is different to the enhancing image quality of video, comprising:
The grade of video source modeling is different, and the image processing algorithm that corresponding enhancing processing mode includes is different, increases the video Strong higher grade, and corresponding enhancing processing mode is better to the enhancing image quality of video.
7. according to the method described in claim 6, it is characterized in that, the grade of the video source modeling is different, at corresponding enhancing The image processing algorithm that reason mode includes is different, comprising:
The video source modeling of the first estate includes the image processing algorithm for improving brightness, the image processing algorithm for adjusting saturation degree, adjusts The image processing algorithm of whole contrast, the image processing algorithm of details adjustment, deblocking effect image processing algorithm, go to edge to saw The image processing algorithm of tooth and the image processing algorithm for removing band;
The video source modeling of second grade includes the image processing algorithm for improving brightness, the image processing algorithm for adjusting saturation degree, adjusts The image processing algorithm of image processing algorithm and the details adjustment of whole contrast;
The video source modeling of the tertiary gradient include the image processing algorithm of deblocking effect, go edge sawtooth image processing algorithm and Remove the image processing algorithm of band, wherein the grade of the tertiary gradient, the second grade and the first estate successively increases.
8. a kind of video process apparatus, which is characterized in that described device includes:
Grade receiving module, for receiving the goal gradient selected from the corresponding multiple and different grades of video source modeling, wherein view The grade of frequency enhancing is different, and corresponding enhancing processing mode is different to the enhancing image quality of video;
Processing mode obtains module, for obtaining the corresponding enhancing processing mode of goal gradient;
Processing module carries out enhancing processing to video for the enhancing processing mode by obtaining, and the enhancing processing passes through tune Save the image quality of the video frame of the image parameter raising video of video.
9. a kind of electronic equipment characterized by comprising
One or more processors;
Memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described One or more processors execute, and one or more of programs are configured to carry out as claim 1-7 is described in any item Method.
10. a kind of computer readable storage medium, which is characterized in that be stored with program generation in the computer readable storage medium Code, said program code can be called by processor and execute the method according to claim 1 to 7.
CN201811427973.8A 2018-11-27 2018-11-27 Video processing method and device, electronic equipment and storage medium Active CN109640167B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811427973.8A CN109640167B (en) 2018-11-27 2018-11-27 Video processing method and device, electronic equipment and storage medium
PCT/CN2019/109855 WO2020108091A1 (en) 2018-11-27 2019-10-08 Video processing method and apparatus, and electronic device and storage medium

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN109640167A true CN109640167A (en) 2019-04-16
CN109640167B CN109640167B (en) 2021-03-02

Family

ID=66069735

Family Applications (1)

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

Country Status (2)

Country Link
CN (1) CN109640167B (en)
WO (1) WO2020108091A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110662115A (en) * 2019-09-30 2020-01-07 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
WO2020108091A1 (en) * 2018-11-27 2020-06-04 Oppo广东移动通信有限公司 Video processing method and apparatus, and electronic device and storage medium
CN111954285A (en) * 2020-08-05 2020-11-17 Oppo广东移动通信有限公司 Power saving control method and device, terminal and readable storage medium
CN112464691A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Image processing method and device
CN113507643A (en) * 2021-07-09 2021-10-15 Oppo广东移动通信有限公司 Video processing method, device, terminal and storage medium
CN114501139A (en) * 2022-03-31 2022-05-13 深圳思谋信息科技有限公司 Video processing method and device, computer equipment and storage medium
CN114827723A (en) * 2022-04-25 2022-07-29 阿里巴巴(中国)有限公司 Video processing method and device, electronic equipment and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2023105766A (en) * 2022-01-19 2023-07-31 キヤノン株式会社 Image processing device, image processing method, and program

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100259683A1 (en) * 2009-04-08 2010-10-14 Nokia Corporation Method, Apparatus, and Computer Program Product for Vector Video Retargeting
CN102724467A (en) * 2012-05-18 2012-10-10 中兴通讯股份有限公司 Method and terminal equipment for improving video output definition
CN105592322A (en) * 2014-09-19 2016-05-18 青岛海尔电子有限公司 Method and device for optimizing media data
CN107277301A (en) * 2016-04-06 2017-10-20 杭州海康威视数字技术股份有限公司 The image analysis method and its system of monitor video
CN107659828A (en) * 2017-10-30 2018-02-02 广东欧珀移动通信有限公司 Video image quality adjustment method, device, terminal device and storage medium
CN108391139A (en) * 2018-01-15 2018-08-10 上海掌门科技有限公司 A kind of video enhancement method, medium and equipment in net cast
CN108810649A (en) * 2018-07-12 2018-11-13 深圳创维-Rgb电子有限公司 Picture quality regulation method, intelligent TV set and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7813425B2 (en) * 2006-11-29 2010-10-12 Ipera Technology, Inc. System and method for processing videos and images to a determined quality level
KR101974367B1 (en) * 2012-09-25 2019-05-02 삼성전자주식회사 Apparatus and method for video decoding for video quality enhancement of moving picture
CN105874782A (en) * 2014-01-03 2016-08-17 汤姆逊许可公司 Method, apparatus, and computer program product for optimising the upscaling to ultrahigh definition resolution when rendering video content
CN104202604B (en) * 2014-08-14 2017-09-22 深圳市腾讯计算机系统有限公司 The method and apparatus of video source modeling
CN109640167B (en) * 2018-11-27 2021-03-02 Oppo广东移动通信有限公司 Video processing method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100259683A1 (en) * 2009-04-08 2010-10-14 Nokia Corporation Method, Apparatus, and Computer Program Product for Vector Video Retargeting
CN102724467A (en) * 2012-05-18 2012-10-10 中兴通讯股份有限公司 Method and terminal equipment for improving video output definition
CN105592322A (en) * 2014-09-19 2016-05-18 青岛海尔电子有限公司 Method and device for optimizing media data
CN107277301A (en) * 2016-04-06 2017-10-20 杭州海康威视数字技术股份有限公司 The image analysis method and its system of monitor video
CN107659828A (en) * 2017-10-30 2018-02-02 广东欧珀移动通信有限公司 Video image quality adjustment method, device, terminal device and storage medium
CN108391139A (en) * 2018-01-15 2018-08-10 上海掌门科技有限公司 A kind of video enhancement method, medium and equipment in net cast
CN108810649A (en) * 2018-07-12 2018-11-13 深圳创维-Rgb电子有限公司 Picture quality regulation method, intelligent TV set and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020108091A1 (en) * 2018-11-27 2020-06-04 Oppo广东移动通信有限公司 Video processing method and apparatus, and electronic device and storage medium
CN112464691A (en) * 2019-09-06 2021-03-09 北京字节跳动网络技术有限公司 Image processing method and device
CN110662115A (en) * 2019-09-30 2020-01-07 北京达佳互联信息技术有限公司 Video processing method and device, electronic equipment and storage medium
CN111954285A (en) * 2020-08-05 2020-11-17 Oppo广东移动通信有限公司 Power saving control method and device, terminal and readable storage medium
CN113507643A (en) * 2021-07-09 2021-10-15 Oppo广东移动通信有限公司 Video processing method, device, terminal and storage medium
CN114501139A (en) * 2022-03-31 2022-05-13 深圳思谋信息科技有限公司 Video processing method and device, computer equipment and storage medium
CN114827723A (en) * 2022-04-25 2022-07-29 阿里巴巴(中国)有限公司 Video processing method and device, electronic equipment and storage medium
CN114827723B (en) * 2022-04-25 2024-04-09 阿里巴巴(中国)有限公司 Video processing method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020108091A1 (en) 2020-06-04
CN109640167B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN109640167A (en) Method for processing video frequency, device, electronic equipment and storage medium
CN109983757B (en) View dependent operations during panoramic video playback
JP6437096B2 (en) Video composition
US10666863B2 (en) Adaptive panoramic video streaming using overlapping partitioned sections
CN104270597B (en) Video conference is established during call
CN103826133B (en) Motion compensated frame rate up conversion method and apparatus
US11483475B2 (en) Adaptive panoramic video streaming using composite pictures
US20180098090A1 (en) Method and Apparatus for Rearranging VR Video Format and Constrained Encoding Parameters
CN109729405B (en) Video processing method and device, electronic equipment and storage medium
JP5639089B2 (en) Method and apparatus for displaying picture sequences
EP2716041A2 (en) Video compression implementing resolution tradeoffs and optimization
CN109660821B (en) Video processing method and device, electronic equipment and storage medium
CN108337465B (en) Video processing method and device
CN109983500A (en) Again the flat projection of panoramic video picture is projected to be rendered by application
CN109379624A (en) Method for processing video frequency, device, electronic equipment and storage medium
CN109168065A (en) Video enhancement method, device, electronic equipment and storage medium
US11388437B2 (en) View-position and angle dependent processing of point cloud data
KR20180037186A (en) Method and system for reordering frames for video coding
CN116348184A (en) Delay management in gaming applications using deep learning based predictions
CN107396002B (en) A kind of processing method and mobile terminal of video image
CN102308319A (en) System and format for encoding data and three-dimensional rendering
CN109379630A (en) Method for processing video frequency, device, electronic equipment and storage medium
WO2021199128A1 (en) Image data transfer device, image generation method and computer program
JP4672561B2 (en) Image processing apparatus, receiving apparatus, broadcast system, image processing method, image processing program, and recording medium
CN118524195A (en) Tone mapping method and device

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