CN106792016A - The method and terminal of a kind of Video processing - Google Patents

The method and terminal of a kind of Video processing Download PDF

Info

Publication number
CN106792016A
CN106792016A CN201611125688.1A CN201611125688A CN106792016A CN 106792016 A CN106792016 A CN 106792016A CN 201611125688 A CN201611125688 A CN 201611125688A CN 106792016 A CN106792016 A CN 106792016A
Authority
CN
China
Prior art keywords
vegetarian refreshments
image vegetarian
video image
value
mask color
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201611125688.1A
Other languages
Chinese (zh)
Inventor
袁孙良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201611125688.1A priority Critical patent/CN106792016A/en
Publication of CN106792016A publication Critical patent/CN106792016A/en
Pending legal-status Critical Current

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/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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB

Landscapes

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

Abstract

The invention provides the method and terminal of a kind of Video processing.Methods described includes:When detecting that user carries out video playback, judge whether the video image vegetarian refreshments of current video frame contains mask color;When the video image vegetarian refreshments of the current video frame contains mask color, the value of at least one of the RGB of video image vegetarian refreshments comprising mask color pigment is changed according to predetermined manner.It is hereby understood that by implementing the technical scheme that the present invention is provided, consistent with mask color content part in picture is can determine, and be adjusted to prevent the display content part from becoming missing by the RGB to the content part.

Description

The method and terminal of a kind of Video processing
Technical field
The present invention relates to field of terminal, and in particular to a kind of method and terminal of Video processing.
Background technology
With the popularization of terminal (such as the electronic equipment such as smart mobile phone, Wearable, panel computer), terminal gradually into Be an indispensable part in people's life so that people no matter go to everywhere can carried terminal.
When user's using terminal browses video, the video is it is possible that irregular form.For example, as shown in Figure 1a Picture be original image, then when display by irregular form, will be shown in the form of Fig. 1 b.Its In, the background parts of Fig. 1 a black can become transparent color in Figure 1b, and this is the mask color reality by setting background parts Existing.
But, if the partial content in picture is consistent with mask color, the department consistent with mask color in picture Can become transparent, so as to the content part for showing can become missing (because the part of missing also becomes Transparent color).
The content of the invention
The method and terminal of a kind of Video processing are the embodiment of the invention provides, be can determine consistent with mask color in picture Content part, and be adjusted by the RGB to the content part with prevent display content part become missing.
Embodiment of the present invention first aspect discloses a kind of method of Video processing, and methods described includes:
When detecting that user carries out video playback, judge whether the video image vegetarian refreshments of current video frame contains mask color;
When the video image vegetarian refreshments of the current video frame contains mask color, by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigment be changed according to predetermined manner.
With reference in a first aspect, in the first possible implementation of first aspect, it is described will be comprising the mask color The value of at least one of the RGB of video image vegetarian refreshments pigment be changed according to predetermined manner, including:
The value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the first preset value or the is reduced One preset value.
With reference in a first aspect, in second possible implementation of first aspect, it is described will be comprising the mask color The value of at least one of the RGB of video image vegetarian refreshments pigment be changed according to predetermined manner, including:
The value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the second preset value or the is reduced Two preset values.
With reference in a first aspect, in the third possible implementation of first aspect, it is described will be comprising the mask color The value of at least one of the RGB of video image vegetarian refreshments pigment be changed according to predetermined manner, including:
The value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the 3rd preset value or the is reduced Three preset values.
With reference to first aspect or above-mentioned any one possible implementation of first aspect, at the 4th kind of first aspect In possible implementation, whether the video image vegetarian refreshments for being for judging current video frame contains mask color, including:
Determine the frame of video of current video frame;
Scan each video image vegetarian refreshments in the frame of video has identical RGB to determine whether there is with the mask color The video image vegetarian refreshments of value.
Second aspect present invention discloses a kind of terminal, and the terminal includes:
Judging unit, for when detect user carry out video playback when, judge current video frame video image vegetarian refreshments whether Contain mask color;
Processing unit, for when the video image vegetarian refreshments of current video frame contains mask color, by comprising the mask color The value of at least one of the RGB of video image vegetarian refreshments pigment is changed according to predetermined manner.
With reference to second aspect, in the first possible implementation of second aspect,
The processing unit, specifically for the value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased Plus first preset value or reduce the first preset value.
With reference to second aspect, in second possible implementation of second aspect,
The processing unit, specifically for the value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased Plus second preset value or reduce the second preset value.
With reference to second aspect, in the third possible implementation of second aspect,
The processing unit, specifically for the value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased Plus the 3rd preset value or reduce the 3rd preset value.
With reference to second aspect or above-mentioned any one possible implementation of second aspect, at the 4th kind of second aspect In possible implementation, the judging unit includes determination subelement and scanning subelement;
The determination subelement, the frame of video for determining current video frame;
The scanning subelement, for scanning each video image vegetarian refreshments in the frame of video to determine whether there is and institute Stating mask color has the video image vegetarian refreshments of identical rgb value.
Third aspect present invention discloses a kind of terminal, and the terminal includes:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as described in relation to the first aspect Method.
As can be seen that in the scheme of the embodiment of the present invention, when detecting that user carries out video playback, judging current video frame Video image vegetarian refreshments whether contain mask color;When the video image vegetarian refreshments of the current video frame contains mask color, will be comprising institute The value for stating at least one of the RGB of video image vegetarian refreshments of mask color pigment is changed according to predetermined manner.It is hereby understood that logical Cross and implement the technical scheme that the present invention is provided, can determine consistent with mask color content part in picture, and by described The RGB of content part be adjusted with prevent display content part become missing.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 a are a kind of original image schematic diagram provided in an embodiment of the present invention;
Fig. 1 b be it is provided in an embodiment of the present invention it is a kind of shown by irregular form after original image change illustrate Figure;
Fig. 2 is a kind of schematic flow sheet of the method for Video processing provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another Video processing provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the method for another Video processing provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of entity apparatus structural representation of terminal provided in an embodiment of the present invention;
Fig. 9 is a kind of entity apparatus structural representation of mobile phone provided in an embodiment of the present invention.
Specific embodiment
The method and terminal of a kind of Video processing are the embodiment of the invention provides, be can determine consistent with mask color in picture Content part, and be adjusted by the RGB to the content part with prevent display content part become missing.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurred in description of the invention, claims and accompanying drawing etc. is to use In the different objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation, it is intended that covering is non-exclusive to be included.For example contain process, method, system, the product of series of steps or unit Or equipment is not limited to the step of having listed or unit, but alternatively also include the step of not listing or unit, or can Selection of land also includes for these processes, method, product or other intrinsic steps of equipment or unit.
A kind of method of Video processing is disclosed in one embodiment of the invention, and methods described includes:When detection is used When family carries out video playback, judge whether the video image vegetarian refreshments of current video frame contains mask color;When the current video frame When video image vegetarian refreshments contains mask color, by the value of at least one of the RGB of video image vegetarian refreshments comprising mask color pigment It is changed according to predetermined manner.
Fig. 2 is referred to, Fig. 2 is a kind of method of Video processing that one embodiment of the invention is provided.Wherein, it is of the invention A kind of method of Video processing that one embodiment is provided includes herein below:
S101, when detect user carry out video playback when, judge whether the video image vegetarian refreshments of current video frame contains mask Color;
, wherein it is desired to, it is noted that executive agent of the invention can be smart mobile phone, panel computer, Intelligent wearable The electronic equipments such as equipment, computer.
Wherein, terminal device can detect operation that user carries out to determine whether user carries out video playback, such as use Family has logged in default video website or has opened default audio-visual application program, further detect the website or it is audio-visual should Whether substantial amounts of flow is generated with program.If having run default audio-visual application program and having generated downloading rate higher (such as 1M/S), then explanation starts video playback.
For example, if detecting user opens youku.com's application program, and the download speed of more than 1M/S is generated Rate, then illustrate that user opens video playback.
For example, if detecting user opens youku.com's application program, and the occupancy moment of center treatment enters Lifting is gone, has then illustrated that user has carried out video loading.
, wherein it is desired to, it is noted that whether judge the video image vegetarian refreshments of current video frame containing mask color, including:It is determined that All video image vegetarian refreshments of current video frame;Scan each video image vegetarian refreshments of the current video frame with determine whether there is with The mask color has the video image vegetarian refreshments of identical rgb value.
S102, when the video image vegetarian refreshments of the current video frame contains mask color, by the video comprising the mask color The value of at least one of RGB of pixel pigments is changed according to predetermined manner.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:The value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased by first Preset value reduces by the first preset value.Wherein, the first preset value can be 1,2 or 3 etc., not be limited herein, but first The digital the smaller the better color to prevent the video image vegetarian refreshments of predetermined threshold value is undergone mutation.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:The value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased by second Preset value reduces by the second preset value.Wherein, the second preset value can be 1,2 or 3 etc., not be limited herein, but second Predetermined threshold value it is digital the smaller the better.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:The value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased the 3rd Preset value reduces by the 3rd preset value.Wherein, the 3rd preset value can be 1,2 or 3 etc., not be limited herein, but the 3rd Predetermined threshold value it is digital the smaller the better.
For example, when the video image vegetarian refreshments of the current video frame contains mask color, by comprising the mask color The value of the R pigments of video image vegetarian refreshments adds 1, adds 1 by the value of the G pigments of the video image vegetarian refreshments comprising the mask color, will be comprising institute The value for stating the B pigments of the video image vegetarian refreshments of mask color subtracts 1.
For example, when the video image vegetarian refreshments of the current video frame contains mask color, by comprising the mask color The value of the R pigments of video image vegetarian refreshments adds 2, subtracts 1 by the value of the B pigments of the video image vegetarian refreshments comprising the mask color.
For example, when the video image vegetarian refreshments of the current video frame contains mask color, by comprising the mask color The value of the G pigments of video image vegetarian refreshments adds 1, subtracts 1 by the value of the B pigments of the video image vegetarian refreshments comprising the mask color.
It is hereby understood that by implementing the technical scheme that the present invention is provided, when detecting that user carries out video playback, judging to work as Whether the video image vegetarian refreshments of preceding frame of video contains mask color;When the video image vegetarian refreshments of the current video frame contains mask color, The value of at least one of the RGB of video image vegetarian refreshments comprising mask color pigment is changed according to predetermined manner can Determine consistent with mask color content part in picture, and be adjusted to prevent display by the RGB to the content part Content part becomes missing.
Fig. 3 is referred to, Fig. 3 is a kind of method of Video processing that one embodiment of the invention is provided.Wherein, such as Fig. 3 institutes Show, a kind of method of Video processing that one embodiment of the present of invention is provided includes herein below:
S201, when detect user carry out video playback when, determine all video image vegetarian refreshments of current video frame;
, wherein it is desired to, it is noted that executive agent of the invention can be smart mobile phone, panel computer, Intelligent wearable The electronic equipments such as equipment, computer.
Wherein it is possible to detect the operation that user is carried out, such as the default video website of User logs in or open pre- If audio-visual application program, further detect whether the website or audio-visual application program generate substantial amounts of flow.If fortune Go and default audio-visual application program and generated downloading rate (such as 1M/S) higher, then explanation has started video playback.
For example, if detecting user opens youku.com's application program, and the download speed of more than 1M/S is generated Rate, then illustrate that user opens video playback.
S202, each video image vegetarian refreshments of the scanning current video frame have to determine whether there is with the mask color The video image vegetarian refreshments of identical rgb value;
S203, when the video image vegetarian refreshments of the current video frame contains mask color, by the video comprising the mask color The value of at least one of RGB of pixel pigments increases by the first preset value or reduces by the first preset value.
Wherein, first preset value can be 1, and less change is both distinguished with mask color, and not change whole The visual effect of image.
As can be seen that whether being included and mask color during identification current video frame is extended in the scheme of the embodiment of the present invention Value identical video image vegetarian refreshments, determines to need video image vegetarian refreshments to be processed such that it is able to quick.
Fig. 4 is referred to, Fig. 4 is a kind of method of Video processing that one embodiment of the invention is provided.Wherein, such as Fig. 4 institutes Show, a kind of method of Video processing that one embodiment of the present of invention is provided includes herein below:
S301, when detect user carry out video playback when, determine all video image vegetarian refreshments of current video frame;
, wherein it is desired to, it is noted that executive agent of the invention can be smart mobile phone, panel computer, Intelligent wearable The electronic equipments such as equipment, computer.
Wherein it is possible to detect the operation that user is carried out, such as the default video website of User logs in or open pre- If audio-visual application program, further detect whether the website or audio-visual application program generate substantial amounts of flow.If fortune Go and default audio-visual application program and generated downloading rate (such as 1M/S) higher, then explanation has started video playback.
For example, if detecting user opens youku.com's application program, and the download speed of more than 1M/S is generated Rate, then illustrate that user opens video playback.
S302, each video image vegetarian refreshments of the scanning current video frame have to determine whether there is with the mask color The video image vegetarian refreshments of identical rgb value;
S303, when the video image vegetarian refreshments of the current video frame contains mask color, by the video comprising the mask color The value of the R pigments in the RGB of pixel increases by the first preset value or reduces by the first preset value.
Wherein, first preset value can be 1, and less change is both distinguished with mask color, and not change whole The visual effect of image.
S304, the value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased the second preset value or is subtracted Few second preset value.
Wherein, first preset value can be 1,2 etc., not be limited herein.
S305, the value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased the 3rd preset value or is subtracted Few 3rd preset value.
Wherein, the 3rd preset value can be 1,2 etc., not be limited herein.
As can be seen that having refined video image vegetarian refreshments of the change comprising the mask color in the scheme of the embodiment of the present invention The step of value of three pigments in RGB, to solve the problems, such as because the next video noise of mask colour band.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 5, a kind of terminal 400 that one embodiment of the present of invention is provided, wherein, it is smart mobile phone, flat board electricity that the terminal can be The electronic equipments such as brain, intelligent wearable equipment.The terminal 400 includes judging unit 401, processing unit 402.
Judging unit 401, for when detecting that user carries out video playback, judging the video image vegetarian refreshments of current video frame to be It is no to contain mask color;
Processing unit 402, for that when the video image vegetarian refreshments of the current video frame contains mask color, will be covered comprising described in The value of at least one of the RGB of video image vegetarian refreshments of code color pigment is changed according to predetermined manner.
Wherein, judging unit 401, processing unit 402 can be used for performing in embodiment 1 described in step S101, S102 Method, specifically describes description of the detailed in Example 1 to methods described, will not be repeated here.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 6, another terminal 500 that one embodiment of the present of invention is provided, wherein, it is smart mobile phone, flat board that the terminal can be The electronic equipments such as computer, intelligent wearable equipment.The terminal 500 includes determining unit 501, scanning element 502, processing unit 503。
Determining unit 501, all video image vegetarian refreshments for determining current video frame;
Scanning element 502, for scanning each video image vegetarian refreshments of the current video frame to determine whether there is and institute Stating mask color has the video image vegetarian refreshments of identical rgb value.
Processing unit 503, for that when the video image vegetarian refreshments of the current video frame contains mask color, will be covered comprising described in The value of at least one of the RGB of video image vegetarian refreshments of code color pigment increases by the first preset value or reduces by the first preset value.
Wherein it is determined that unit 501, scanning element 502, processing unit 503 can be used for performing step S201 in embodiment 2 Method described in S213, specifically describes description of the detailed in Example 2 to methods described, will not be repeated here.
Fig. 7 is referred to, Fig. 7 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 7, another terminal 600 that one embodiment of the present of invention is provided, wherein, it is smart mobile phone, flat board that the terminal can be The electronic equipments such as computer, intelligent wearable equipment.The terminal 600 includes determining unit 601, scanning element 602, processing unit 603。
Determining unit 601, all video image vegetarian refreshments for determining current video frame;
Scanning element 602, for scanning each video image vegetarian refreshments of the current video frame to determine whether there is and institute Stating mask color has the video image vegetarian refreshments of identical rgb value.
Processing unit 603, for that when the video image vegetarian refreshments of the current video frame contains mask color, will be covered comprising described in The value of the R pigments in the RGB of the video image vegetarian refreshments of code color increases by the first preset value or reduces by the first preset value.
Processing unit 603, is additionally operable to increase the value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color Second preset value reduces by the second preset value.
Processing unit 603, is additionally operable to increase the value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color 3rd preset value reduces by the 3rd preset value.
Wherein it is determined that unit 601, scanning element 602, processing unit 603 can be used for performing step S301 in embodiment 3 Method described in S305, specifically describes description of the detailed in Example 3 to methods described, will not be repeated here.
Fig. 8 is referred to, in another embodiment of the present invention, there is provided a kind of terminal.The terminal 500 includes CPU701, memory 702, bus 703.Wherein, the terminal 700 can be smart mobile phone, panel computer, Intelligent worn device etc. Electronic equipment with call function.
Wherein, CPU701 performs the program being stored in advance in memory 702, and the implementation procedure is specifically included:
When detecting that user carries out video playback, judge whether the video image vegetarian refreshments of current video frame contains mask color;
When the video image vegetarian refreshments of the current video frame contains mask color, by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigment be changed according to predetermined manner.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:
The value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the first preset value or the is reduced One preset value.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:
The value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the second preset value or the is reduced Two preset values.
Optionally, the value by least one of the RGB of video image vegetarian refreshments comprising mask color pigment according to Predetermined manner is changed, including:
The value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the 3rd preset value or the is reduced Three preset values.
Optionally, whether the video image vegetarian refreshments for being for judging current video frame contains mask color, including:
Determine all video image vegetarian refreshments of current video frame;
Scan each video image vegetarian refreshments of the current video frame with determine whether there is have with the mask color it is identical The video image vegetarian refreshments of rgb value.
As can be seen that in the scheme of the embodiment of the present invention, when detecting that user carries out video playback, judging current video frame Video image vegetarian refreshments whether contain mask color;When the video image vegetarian refreshments of the current video frame contains mask color, will be comprising institute The value for stating at least one of the RGB of video image vegetarian refreshments of mask color pigment is changed according to predetermined manner.It is hereby understood that logical Cross and implement the technical scheme that the present invention is provided, can determine consistent with mask color content part in picture, and by described The RGB of content part be adjusted with prevent display content part become missing.
Fig. 9 is referred to, Fig. 9 is the frame of the part-structure of the mobile phone of the terminal correlation that one embodiment of the present of invention is provided Figure.With reference to Fig. 9, mobile phone includes:It is radio frequency (Radio Frequency, RF) circuit 810, memory 820, input block 830, aobvious Show unit 840, sensor 850, voicefrequency circuit 860, Wireless Fidelity (Wireless Fidelity, WiFi) module 870, treatment The part such as device 880 and power supply 890.It will be understood by those skilled in the art that the handset structure shown in Fig. 8 do not constitute it is right The restriction of mobile phone, can include part more more or less than diagram, or combine some parts, or different part cloth Put.
Each component parts of mobile phone is specifically introduced with reference to Fig. 8:
RF circuits 810 can be used for the reception of information and transmission.Generally, RF circuits 810 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 810 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memory 820 can be used to store software program and module, and processor 880 is by running storage in memory 820 Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 820 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as mail data backup function, touch control operation detection function etc.) etc.;Storage data field can be stored to be created according to using for mobile phone Data (such as store path table data etc.) built etc..Additionally, memory 820 can include high-speed random access memory, also Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states storage can be included Device.
Input block 830 can be used to receive the numeral or character information of input, and produce with the user of mobile phone set with And the relevant key signals input of function control.Specifically, input block 830 may include that fingerprint module 831 and other inputs set Standby 832.Fingerprint module 831, can gather user's finger print data thereon.Optionally, fingerprint module 831 may include that optical profile type refers to Line module, capacitance type fingerprint module and RF-type fingerprint module.So that fingerprint module 831 is capacitance type fingerprint module as an example, tool Body includes induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and the signal being connected with the induction electrode Process circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 831, input block 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to physical keyboard, One or more in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 840 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display screen 841, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 841.Although in fig. 8, fingerprint module 831 is to realize the defeated of mobile phone as two independent parts with display screen 841 Enter and input function, but it is in some embodiments it is possible to fingerprint module 831 and display screen 841 is integrated and realize mobile phone Input and output function.
Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display screen 841, proximity transducer can when mobile phone is moved in one's ear, close display screen 841 and/or Backlight.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor It is small, size and the direction of gravity are can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Be can also configure as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Voicefrequency circuit 860, loudspeaker 861, microphone 862 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data conversion that road 860 will can receive, is transferred to loudspeaker 861, and sound is converted to by loudspeaker 861 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 862, is turned after being received by voicefrequency circuit 860 It is changed to voice data, then after voice data output processor 880 is processed, through RF circuits 810 to be sent to such as another mobile phone, Or export to memory 820 so as to further treatment voice data.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 shows WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform software program of the storage in memory 820 and/or module, and call storage in memory 820 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can be wrapped Include one or more processing units;Preferably, processor 880 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 880.
Mobile phone also includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can be by power supply pipe Reason system is logically contiguous with processor 880, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also will not be repeated here including camera, bluetooth module etc..
In embodiment shown in earlier figures 2, Fig. 3 and Fig. 4, each step method flow can be based on the structure reality of the mobile phone It is existing.
In embodiment shown in earlier figures 5, Fig. 6 and Fig. 7, the structure that each unit function can be based on the mobile phone is realized.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematical, such as the division of described unit is only one kind Division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication connection of device or unit by some interfaces, Can be electrical or other forms.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be according to the actual needs selected to realize the mesh of this embodiment scheme 's.
In addition, during each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part for being contributed to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer Equipment (can be personal computer, server or network equipment etc.) perform each embodiment methods described of the invention whole or Part steps.And foregoing storage medium includes:USB flash disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to preceding Embodiment is stated to be described in detail the present invention, it will be understood by those within the art that:It still can be to preceding State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (11)

1. a kind of method of Video processing, it is characterised in that methods described includes:
When detecting that user carries out video playback, judge whether the video image vegetarian refreshments of current video frame contains mask color;
When the video image vegetarian refreshments of the current video frame contains mask color, by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigments is changed according to predetermined manner.
2. method according to claim 1, it is characterised in that described by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigments is changed according to predetermined manner, including:
The value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the first preset value or reduction first is pre- If value.
3. method according to claim 1, it is characterised in that described by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigments is changed according to predetermined manner, including:
The value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the second preset value or reduction second is pre- If value.
4. method according to claim 1, it is characterised in that described by the video image vegetarian refreshments comprising the mask color The value of at least one of RGB pigments is changed according to predetermined manner, including:
The value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into by the 3rd preset value or reduction the 3rd is pre- If value.
5. according to any described method of Claims 1-4, it is characterised in that judge the video pixel for being of current video frame Whether point contains mask color, including:
Determine all video image vegetarian refreshments of current video frame;
Scan each video image vegetarian refreshments of the current video frame has identical rgb value to determine whether there is with the mask color Video image vegetarian refreshments.
6. a kind of terminal, it is characterised in that the terminal includes:
Judging unit, for when detecting that user carries out video playback, judging whether the video image vegetarian refreshments of current video frame contains Mask color;
Processing unit, for when the video image vegetarian refreshments of the current video frame contains mask color, by comprising the mask color The value of at least one of the RGB of video image vegetarian refreshments pigment is changed according to predetermined manner.
7. terminal according to claim 6, it is characterised in that
The processing unit, specifically for the value of the R pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into the One preset value reduces by the first preset value.
8. terminal according to claim 6, it is characterised in that
The processing unit, specifically for the value of the G pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into the Two preset values reduce by the second preset value.
9. terminal according to claim 8, it is characterised in that
The processing unit, specifically for the value of the B pigments in the RGB of the video image vegetarian refreshments comprising the mask color is increased into the Three preset values reduce by the 3rd preset value.
10. according to any described terminal of claim 6 to 9, it is characterised in that the judging unit include determination subelement and Scanning subelement;
The determination subelement, the frame of video for determining current video frame;
The scanning subelement, is covered with determining whether there is for scanning each video image vegetarian refreshments in the frame of video with described Code color has the video image vegetarian refreshments of identical rgb value.
A kind of 11. terminals, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the method described in 5 any one.
CN201611125688.1A 2016-12-08 2016-12-08 The method and terminal of a kind of Video processing Pending CN106792016A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611125688.1A CN106792016A (en) 2016-12-08 2016-12-08 The method and terminal of a kind of Video processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611125688.1A CN106792016A (en) 2016-12-08 2016-12-08 The method and terminal of a kind of Video processing

Publications (1)

Publication Number Publication Date
CN106792016A true CN106792016A (en) 2017-05-31

Family

ID=58877521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611125688.1A Pending CN106792016A (en) 2016-12-08 2016-12-08 The method and terminal of a kind of Video processing

Country Status (1)

Country Link
CN (1) CN106792016A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5300946A (en) * 1992-12-08 1994-04-05 Microsoft Corporation Method for outputting transparent text
CN101206719A (en) * 2006-12-22 2008-06-25 佳能株式会社 Method and device for detecting and processing specific pattern in image
US8681073B1 (en) * 2011-09-29 2014-03-25 Rockwell Collins, Inc. System for and method of controlling contrast or color contrast in see-through displays
CN104574452A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Generating method and device for window background
CN104703028A (en) * 2013-12-10 2015-06-10 深圳市朗驰欣创科技有限公司 Method, device and system for correcting video frames
WO2014203082A3 (en) * 2013-05-28 2015-06-25 Marvell World Trade Ltd. Systems and methods for red-eye correction
CN105872760A (en) * 2015-12-02 2016-08-17 乐视网信息技术(北京)股份有限公司 Video play monitoring method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5300946A (en) * 1992-12-08 1994-04-05 Microsoft Corporation Method for outputting transparent text
CN101206719A (en) * 2006-12-22 2008-06-25 佳能株式会社 Method and device for detecting and processing specific pattern in image
US8681073B1 (en) * 2011-09-29 2014-03-25 Rockwell Collins, Inc. System for and method of controlling contrast or color contrast in see-through displays
WO2014203082A3 (en) * 2013-05-28 2015-06-25 Marvell World Trade Ltd. Systems and methods for red-eye correction
CN104574452A (en) * 2013-10-10 2015-04-29 腾讯科技(深圳)有限公司 Generating method and device for window background
CN104703028A (en) * 2013-12-10 2015-06-10 深圳市朗驰欣创科技有限公司 Method, device and system for correcting video frames
CN105872760A (en) * 2015-12-02 2016-08-17 乐视网信息技术(北京)股份有限公司 Video play monitoring method and device

Similar Documents

Publication Publication Date Title
CN105867730B (en) The display methods and device of status bar
CN106200970B (en) The method and terminal of a kind of split screen display available
CN106776036A (en) A kind of resource allocation methods and device
CN107566661A (en) The reminding method and mobile terminal of a kind of notification message
CN107368518A (en) The management method and terminal of a kind of notification message, computer-readable recording medium
CN106845422A (en) A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN106445596A (en) Method and device for managing setting items
CN106886702A (en) A kind of unlocked by fingerprint method and relevant device
CN108172200A (en) A kind of method and terminal device of this display of applicating Chinese
CN106569916A (en) Data backup method and mobile terminal
CN106339894A (en) Pushing method of screen locking magazine, playing method and related device
CN106708633A (en) Method for increasing WiFi workstation mode disabling speed of terminal, and mobile terminal
CN106249992A (en) A kind of webpage control method and mobile terminal
CN109698711A (en) A kind of radio frequency mould group and terminal device
CN106066814B (en) A kind of application control method and mobile terminal
CN106657214A (en) Data migration method and terminal
CN106487878A (en) A kind of method of Data Migration and terminal
CN106095558A (en) A kind of method of audio effect processing and terminal
CN106527980A (en) Data migration method and terminal
CN106254630A (en) A kind of method received calls and terminal
CN106792016A (en) The method and terminal of a kind of Video processing
CN106817751A (en) A kind of data transmission method for uplink and mobile terminal
CN106570067A (en) Terminal interface content display method and terminal
CN110569099B (en) Message display method and related product
CN106776041A (en) A kind of data processing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170531

RJ01 Rejection of invention patent application after publication