CN107749983B - A kind of OLED video screen guard method based on image recognition - Google Patents
A kind of OLED video screen guard method based on image recognition Download PDFInfo
- Publication number
- CN107749983B CN107749983B CN201711070280.3A CN201711070280A CN107749983B CN 107749983 B CN107749983 B CN 107749983B CN 201711070280 A CN201711070280 A CN 201711070280A CN 107749983 B CN107749983 B CN 107749983B
- Authority
- CN
- China
- Prior art keywords
- picture
- change rate
- screen
- current
- time
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/04—Diagnosis, testing or measuring for television systems or their details for receivers
- H04N17/045—Self-contained testing apparatus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/217—Validation; Performance evaluation; Active pattern learning techniques
- G06F18/2193—Validation; Performance evaluation; Active pattern learning techniques based on specific statistical tests
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/14—Picture signal circuitry for video frequency region
- H04N5/21—Circuitry for suppressing or minimising disturbance, e.g. moiré or halo
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Multimedia (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Probability & Statistics with Applications (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The present invention relates to OLED video screens to protect field, and a kind of OLED video screen guard method based on image recognition guarantees that OLED screen curtain in the case where any scene is using any time, ghost does not occur.Invention is fast by picture portion domain by the screenshot of set time, and extracts characteristic value, in it for the previous period in all pictures comparisons local change frequency is obtained, to obtain the virtual change rate of whole picture and according to change rate and time weighting.By change rate, is generated by corresponding picture and is blocked using image border algorithm for small range low rate of change;To the larger rear pressure screen protection picture of risk, then to the mode of severe pressure hardware maintenance, the ghost in OLED screen curtain use process can be prevented completely from risky slight prompt early warning for a wide range of low rate of change.The present invention is suitable for OLED TV.
Description
Technical field
The present invention relates to OLED video screens to protect field, in particular to a kind of OLED video screen based on image recognition
Guard method.
Background technique
Currently, occupation rate is gradually expanded in TV market in OLED screen curtain, however OLED screen curtain is for long-time still image
Ghost problem is the big factor for hindering OLED development, the currently screen protection of country's Android TV, is all adopted on hardware
It is maintained with the screen of screen manufacturer, the screens autoprotection function such as Sunny, the screen protection machine of Android is all based on software
System, or expand, customized the raw screen protection in source.Either screen of the function of screen manufacturer still based on Android screen protection mechanism
Protection, is not all fully solved OLED screen curtain still image problem.
Summary of the invention
The technical problem to be solved by the present invention is a kind of OLED video screen guard method based on image recognition is provided,
Guarantee that OLED screen curtain in the case where any scene is using any time, ghost does not occur.
To solve the above problems, the technical solution adopted by the present invention is that: a kind of OLED video screen based on image recognition
Guard method includes the following steps:
A. at regular intervals, interception current screen shows content, generates screenshot picture, and screenshot picture is saved;
B. after each screenshot, the characteristic value of current screenshot picture is extracted, current screenshot picture is divided into multiple pictures
Region, and by each region unit and the corresponding region unit in screenshot pictures all in certain time before in current screenshot picture
Characteristic value comparison is done, obtains each region in current screenshot picture relative to corresponding in screenshot pictures all in the time before
The all changes rate in region obtains the local change frequency in each region in current screenshot picture further according to predetermined time weight;
C. by local change frequency in current screenshot picture it is more than the area count of threshold, and will counts divided by overall area block
Number, obtains the virtual change rate of during this period of time current screenshot picture;
D. according to the virtual change rate of current screenshot picture and duration, system takes user's prompt, zonule hair
Glass effects force screen protection picture, screen are forced to maintain four kinds of form control TVs.
Further, the picture that step A is saved is named with the time.
Further, be to reduce memory headroom, and facilitate calculating, step B first by after current screenshot picture gray processing, then
Carry out Characteristic Contrast.
Further, step D is specifically included:
When the virtual change rate of picture be higher than change rate threshold value, then extract the coordinate and characteristics of image of stagnant zone in picture,
The stagnant zone is the region that local change frequency is lower than threshold in picture, and utilizes image border algorithm, is calculated current quiet
The only edge coordinate in region generates frosted glass picture according to edge coordinate, and frosted glass is covered stagnant zone;Meanwhile it is real
Apply whether monitoring currently has event input, or whether current top layer images change;Judge whether to need to recalculate to cover
Lid picture state, cancels coverage effect in time;
When virtual change rate is lower than change rate threshold value, and when T1≤T < T2, the prompt of pop-up form is made to user, is drawn
Lead user's handoff scenario in use state, wherein T is the duration that virtual change rate is lower than change rate threshold value, and T1 is
First time threshold, T2 are the time threshold of force start screen protection picture;
When virtual change rate is lower than change rate threshold value, and when T2≤T < T3, system force start screen protection picture,
Middle T3 is that T3 is the time threshold for forcing the maintenance of hardware screen;
When virtual change rate is lower than change rate threshold value, and when T >=T3, system, which will be prompted to user, will enter screen hardware package
The state of supporting, hardware maintenance restore normal after the completion.
The beneficial effects of the present invention are: screenshot of the present invention by the set time, fast by picture portion domain, and extract feature
Value obtains region unit change rate in its interior all pictures comparison for the previous period, and according to change rate and time weighting, thus
Obtain whole picture change rate.By change rate, corresponding figure is generated using image border algorithm for small range low rate of change
Piece blocks;A wide range of low rate of change to the larger rear pressure screen protection picture of risk, then is arrived from risky slight prompt early warning
Severe forces the mode of hardware maintenance, can prevent the ghost in OLED screen curtain use process completely.
Detailed description of the invention
Fig. 1 is the flow chart of embodiment.
Specific embodiment
Introduce why OLED screen curtain will appear ghost and the maintenance of screen manufacturer first.OLED is to utilize two pole of pixel light emission
Pipe generates image, and pixel LED keeps highlighted state for a long time, leads to the loss of luminescent material performance and TFT circuit driving electricity
Existing deviation is flowed out, to ghost occur.Screen maintenance is the periodic maintenance method that screen manufacturer provides, and specially screen enters black
Screen state triggers hardware maintenance mechanism, self-check.
The screen protection mechanism of Android: the screen protection mechanism of Android is realized using screen protection lock.After booting,
AMS can generate a screen protection lock mechanism, while carry out screen protection service timing, allow screen protection to lock and be currently at opening state, and when
Between reach the predetermined time, just will appear screen protection picture.Control whether screen protection picture is working as using by application/release screen protection lock
Whether occurs screen protection picture on time under preceding state.User key-press can refresh screen protection triggering timing.
The general method for customizing that expands is whether black and white lists or judgement are currently in broadcast state, specifically: if do not had
Have and be in blacklist situation in broadcast state or application scenarios, and in the case that user does not have key, no matter user has not
There is application screen protection lock, all occurs screen protection on time.Other screen protection schemes, if pixel is mobile, black surround filling etc..
Above-mentioned three kinds of modes, the reason of OLED ghost cannot be fully solved:
(1) the screen maintenance of OLED screen curtain manufacturer, needs television manufacturer to trigger, if shutdown all triggering screens are protected every time
It supports, it will seriously affect user experience, if user does not use static scene under off-mode for a long time, it is existing also to will appear ghost
As.
(2) the screen protection mechanism of Android, and its expand mechanism, all not can avoid user is having operation or application
In the case where not applying for screen protection lock, there is partial region to occur on screen static.There is ghost situation.
(3) pixel is mobile and black surround is filled, and can all influence user's viewing, greatly reduce user experience.
Cannot all achieve the effect that OLED ghost is prevented for above-mentioned solution, embodiment propose it is a set of it is completely new based on
The OLED video screen guard method of image recognition, as shown in Figure 1, comprising the following steps:
A. after complete machine booting, at regular intervals (such as 2 minutes), interception current screen shows content, generates with the time
The screenshot picture of name, and screenshot picture is saved;
This step is after complete machine booting, by receiving Android booting broadcast
" android.intent.action.BOOT_COMPLETED " starts image identification system and services checkService.The service
Start every 2 minutes clocked flip handler.In handler, screenshot method screenshot is executed, this method utilizes
Android screenshot class-Camera class, perform the following steps in sequence:
(1) camera.open is called to open camera equipment
(2) call camaera.setParameters that the wide height (width, height) of screenshot, screenshot pixel is respectively set
(traveling-res), picture format (setpicture (width, height)) is saved, screenshot range (OSD+VIDEO) is cut
Figure pixel format (ARGB8888)
(3) call back function CapturePicCallback, the ARGB8888 data that registration screenshot will be obtained at merits and demerits are defined
It is converted into bitmap format, and saves as picture bitmap [nowtime] .bitmap.
B. after each screenshot, extract the characteristic value of current screenshot picture, by current screenshot picture be divided into it is multiple (such as
128) picture region, and by institute in (such as in 30 minutes) each region unit and the certain time before in current screenshot picture
There is corresponding region unit in screenshot picture to do characteristic value comparison,
To reduce memory headroom, and facilitate calculating, by image according to following formula, first progress gray processing: (namely
Become gray level image)
Red=((grey&0x00FF0000) > > 16);
Green=((grey&0x0000FF00) > > 8);
Blue=(grey&0x000000FF);
Grey=red*0.3+green*0.59+blue*0.11
After gray level image is divided into 128 regions again, the comparison of front and back two field pictures is carried out to the pixel in each region:
Sub=abs (" grey " _ current- " grey " _ last)
When threshold X 1 (such as 20%) of the difference sub more than setting, assert that the pixel changes.And when in a region
Changing pixel is more than predetermined threshold, just thinks that there is ghost risk in the region;To obtain each region in current screenshot picture
Relative to all changes rate in corresponding region in screenshot pictures all in the time before, further according to predetermined time weight
Time1height obtains the local change frequency in each region in current screenshot picture, and local change frequency formula is as follows:
Changerat=Changerat [time1] * time1height+Changerat [time2] *
time2height…….
C. by local change frequency in current screenshot picture it is more than the area count of threshold X2 (such as 30%), and counting is removed
With overall area block number, the virtual change rate of image during this period of time current screenshot picture is obtained;
D. according to the virtual change rate of current screenshot picture and duration, system takes user's prompt, zonule hair
Glass effects force screen protection picture, screen are forced to maintain four kinds of form control TVs.It is specific as follows:
When the virtual change rate of picture is higher than change rate threshold X 3 (such as 85%), then it is assumed that it is static that picture is in small range,
The coordinate and characteristics of image of stagnant zone in picture need to be only extracted, the stagnant zone is that local change frequency is lower than threshold in picture
Region, and utilize image border algorithm, calculate the edge coordinate in current quiet region, according to edge coordinate, generate hair glass
Glass picture, and frosted glass is covered into stagnant zone;Meanwhile whether implementing monitoring currently has event input or current top layer
Whether image changes;Judge whether to need to recalculate coverage diagram piece state, cancels coverage effect in time;
When virtual change rate is lower than change rate threshold X 3, and when T1≤T < T2, then it is assumed that when picture is in a wide range of, long
Between it is static, if user is in use state and (currently has user's incoming event, be not limited to key, voice input and other are defeated
Enter mode), the prompt of pop-up form is made to user, guides user's handoff scenario, wherein T is virtual change rate lower than variation
The duration of rate threshold value, T1 are first time threshold, and T2 is the time threshold of force start screen protection picture;
When virtual change rate is lower than change rate threshold X 3, and when T2≤T < T3, then it is assumed that picture is in a wide range of, longer
Time is static, system force start screen protection picture, wherein T3 is the time threshold for forcing the maintenance of hardware screen;
When virtual change rate is lower than change rate threshold X 3, and when T >=T3, then it is assumed that picture is in a wide range of, ultra-long time
Static, account for screen has continued to use great ghost risk, and system, which will be prompted to user, at this time will enter screen hardware maintenance
State, hardware maintenance restore normal after the completion.
Embodiment utilizes image comparison, and image dynamic algorithm, image border algorithm, calculating user currently makes OLED screen curtain
With state and there is ghost probability, and be likely to occur the region of ghost, according to as a result, being mentioned by pop up screen protection picture
Show that user is full frame, obscure pocket, force the operations such as screen maintenance, it is residual to prevent the appearance of user's OLED screen curtain completely from software
The problem of shadow, promotes OLED screen curtain service life.
The foregoing describe basic principle of the invention and main feature, the description of specification only illustrates original of the invention
Reason, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes and improvements
It all fall within the protetion scope of the claimed invention.
Claims (3)
1. a kind of OLED video screen guard method based on image recognition, which comprises the following steps:
A. at regular intervals, interception current screen shows content, generates screenshot picture, and screenshot picture is saved;
B. after each screenshot, the characteristic value of current screenshot picture is extracted, current screenshot picture is divided into multiple picture regions,
And each region unit in current screenshot picture is done into spy with corresponding region unit in screenshot pictures all in certain time before
Value indicative comparison, obtains each region in current screenshot picture relative to corresponding region in screenshot pictures all in the time before
All changes rate obtain the local change frequency in each region in current screenshot picture further according to predetermined time weight;
C. by local change frequency in current screenshot picture it is more than the area count of threshold, and will counts divided by overall area block number, obtains
To the virtual change rate of during this period of time current screenshot picture;
D. according to the virtual change rate of current screenshot picture and duration, system takes user's prompt, zonule frosted glass
Effect forces screen protection picture, screen is forced to maintain four kinds of form control TVs:
When the virtual change rate of picture be higher than change rate threshold value, then extract the coordinate and characteristics of image of stagnant zone in picture, it is described
Stagnant zone is the region that local change frequency is lower than threshold in picture, and utilizes image border algorithm, calculates current quiet area
The edge coordinate in domain generates frosted glass picture according to edge coordinate, and frosted glass is covered stagnant zone;Meanwhile implementing prison
Whether control currently has event input, or whether current top layer images change;Judge whether to need to recalculate coverage diagram
Piece state, cancels coverage effect in time;
When virtual change rate is lower than change rate threshold value, and when T1≤T < T2, the prompt of pop-up form is made to user, at guidance
In user's handoff scenario of use state, wherein T is the duration that virtual change rate is lower than change rate threshold value, T1 first
Time threshold, T2 are the threshold of force start screen protection picture time;
When virtual change rate is lower than change rate threshold value, and when T2≤T < T3, system force start screen protection picture, wherein T3
For the time threshold for forcing the maintenance of hardware screen;
When virtual change rate is lower than change rate threshold value, and when T >=T3, system, which will be prompted to user, will enter screen hardware maintenance shape
State, hardware maintenance restore normal after the completion.
2. a kind of OLED video screen guard method based on image recognition as described in claim 1, which is characterized in that step
The picture saved in A is named with the time.
3. a kind of OLED video screen guard method based on image recognition as described in claim 1, which is characterized in that step
B is first by after current screenshot picture gray processing, then carries out Characteristic Contrast.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711070280.3A CN107749983B (en) | 2017-11-03 | 2017-11-03 | A kind of OLED video screen guard method based on image recognition |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711070280.3A CN107749983B (en) | 2017-11-03 | 2017-11-03 | A kind of OLED video screen guard method based on image recognition |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107749983A CN107749983A (en) | 2018-03-02 |
CN107749983B true CN107749983B (en) | 2019-09-24 |
Family
ID=61254427
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711070280.3A Active CN107749983B (en) | 2017-11-03 | 2017-11-03 | A kind of OLED video screen guard method based on image recognition |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107749983B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068175B (en) * | 2018-08-31 | 2021-01-29 | 冠捷显示科技(厦门)有限公司 | OLED television protection method |
CN110855917A (en) * | 2019-10-21 | 2020-02-28 | 康佳集团股份有限公司 | Station caption adjusting method, OLED television and storage medium |
CN111432257A (en) * | 2020-03-26 | 2020-07-17 | 海信视像科技股份有限公司 | Method for starting screen protection of display equipment and display equipment |
CN112988303B (en) * | 2021-03-23 | 2021-11-26 | 广州文石信息科技有限公司 | Electronic ink screen refreshing method and device, electronic equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641727A (en) * | 2004-01-17 | 2005-07-20 | 深圳创维-Rgb电子有限公司 | Intelligent ghost-eliminating method |
CN1881386A (en) * | 2005-07-15 | 2006-12-20 | 乐金电子(南京)等离子有限公司 | Plasma display device and drive method thereof |
CN101689347A (en) * | 2007-05-18 | 2010-03-31 | 索尼株式会社 | Display device, display device drive method, and computer program |
CN101866610A (en) * | 2009-04-15 | 2010-10-20 | 沈阳同方多媒体科技有限公司 | Method for protection of plasma television screen |
CN102063843A (en) * | 2010-12-27 | 2011-05-18 | 苏州佳世达电通有限公司 | Display device and control method thereof |
CN102402939A (en) * | 2011-12-31 | 2012-04-04 | 四川虹欧显示器件有限公司 | Plasma display screen and method and device for controlling same |
CN102549644A (en) * | 2009-09-11 | 2012-07-04 | 松下电器产业株式会社 | Method for driving plasma display panel and plasma display device |
CN103369273A (en) * | 2013-06-25 | 2013-10-23 | 四川虹欧显示器件有限公司 | Plasma television residual image protective method |
CN105072374A (en) * | 2015-07-29 | 2015-11-18 | 小米科技有限责任公司 | Video communication method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI439990B (en) * | 2011-01-19 | 2014-06-01 | E Ink Holdings Inc | Driving method of display panel and electrophoresis display apparatus using the same |
CN103050074B (en) * | 2012-04-27 | 2015-09-09 | 京东方科技集团股份有限公司 | A kind of rating afterimage device and method of display |
CN106157919B (en) * | 2016-09-09 | 2019-01-18 | 京东方科技集团股份有限公司 | A kind of display methods and device of liquid crystal display panel |
-
2017
- 2017-11-03 CN CN201711070280.3A patent/CN107749983B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1641727A (en) * | 2004-01-17 | 2005-07-20 | 深圳创维-Rgb电子有限公司 | Intelligent ghost-eliminating method |
CN1881386A (en) * | 2005-07-15 | 2006-12-20 | 乐金电子(南京)等离子有限公司 | Plasma display device and drive method thereof |
CN101689347A (en) * | 2007-05-18 | 2010-03-31 | 索尼株式会社 | Display device, display device drive method, and computer program |
CN101866610A (en) * | 2009-04-15 | 2010-10-20 | 沈阳同方多媒体科技有限公司 | Method for protection of plasma television screen |
CN102549644A (en) * | 2009-09-11 | 2012-07-04 | 松下电器产业株式会社 | Method for driving plasma display panel and plasma display device |
CN102063843A (en) * | 2010-12-27 | 2011-05-18 | 苏州佳世达电通有限公司 | Display device and control method thereof |
CN102402939A (en) * | 2011-12-31 | 2012-04-04 | 四川虹欧显示器件有限公司 | Plasma display screen and method and device for controlling same |
CN103369273A (en) * | 2013-06-25 | 2013-10-23 | 四川虹欧显示器件有限公司 | Plasma television residual image protective method |
CN105072374A (en) * | 2015-07-29 | 2015-11-18 | 小米科技有限责任公司 | Video communication method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107749983A (en) | 2018-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107749983B (en) | A kind of OLED video screen guard method based on image recognition | |
US20240126574A1 (en) | Dynamic Interface Layout Method and Device | |
US11412146B2 (en) | Image acquisition method, processing method and device | |
JP5334402B2 (en) | Display apparatus and method for improving flicker of video | |
CN112449120B (en) | High dynamic range video generation method and device | |
US10362283B2 (en) | Virtual cinema and implementation method thereof | |
CN111050224A (en) | Processing method for preventing residual image of television, television and storage medium | |
KR101998531B1 (en) | Real-time video enhancement methods, terminals, and non-transitory computer readable storage media | |
CN104269155A (en) | Method and device for adjusting refreshing rate of screen | |
WO2022002205A1 (en) | Display method and electronic device | |
EP4036854A1 (en) | Image processing method and apparatus, and electronic device | |
CN111405339B (en) | Split screen display method, electronic equipment and storage medium | |
KR101896026B1 (en) | Apparatus and method for generating a motion blur in a portable terminal | |
CN113179374A (en) | Image processing method, mobile terminal and storage medium | |
JP2018110373A (en) | Method and device for inverse tone mapping | |
US11094291B2 (en) | Method and device for detecting ambient light and terminal | |
CN103970598B (en) | For the application screen screenshot method and device of mobile terminal | |
CN109547699A (en) | A kind of method and device taken pictures | |
CN107451972B (en) | Image enhancement method, device and computer readable storage medium | |
US20190304070A1 (en) | Image rectification method and device, and storage medium | |
CN111835941A (en) | Image generation method and device, electronic equipment and computer readable storage medium | |
CN114143471A (en) | Image processing method, system, mobile terminal and computer readable storage medium | |
CN107665493A (en) | A kind of image processing method and system based on super-pixel segmentation | |
CN111835977B (en) | Image sensor, image generation method and device, electronic device, and storage medium | |
CN108881999B (en) | Screen capture processing method and system |
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 |