CN104992680A - Electronic ink screen graying method - Google Patents
Electronic ink screen graying method Download PDFInfo
- Publication number
- CN104992680A CN104992680A CN201510469735.3A CN201510469735A CN104992680A CN 104992680 A CN104992680 A CN 104992680A CN 201510469735 A CN201510469735 A CN 201510469735A CN 104992680 A CN104992680 A CN 104992680A
- Authority
- CN
- China
- Prior art keywords
- gray processing
- pixel
- colour picture
- value
- mask layer
- 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
Links
Landscapes
- Facsimile Image Signal Circuits (AREA)
- Color Image Communication Systems (AREA)
- Color, Gradation (AREA)
Abstract
The invention discloses an electronic ink screen graying method, which comprises the steps of acquiring information of a color image; adding a black mask layer to the current color image; clipping an overlap area of a bitmap and the black mask layer; and displaying the black mask layer at the upper layer by the overlap area so as to complete gray processing. The principle is that color filtering standards with the same reference are provided for all color pixels through the black mask layer with a filter effect, so that color filtering effects of each pixel can be consistent, different colors can correspond to the corresponding gray scale and are not in disorder. An effect of clearness is acquired in image display, and random gray scale does not occur in similar color codes. Through the method disclosed by the invention, the application range of equipment provided with an electronic ink screen can be effectively expanded.
Description
Technical field
The present invention relates to a kind of disposal route of bitmap gray processing, particularly relate to a kind of method of the gray processing to electronic ink screen display color picture.
Background technology
Electronic reader adopts electronic ink screen usually, and electronic ink screen is compared general LCDs and had low in energy consumption, flexible readability, eyeshield, have under daylight display effect more etc. advantage.But electronic ink screen can only display gray scale image, and number of colors can not show a candle to LCDs.Therefore, the process of gray scale is directly affected to the display effect of electronic ink screen.Most of APP of current IT product, all for chromatic liquid crystal screen exploitation, when being arranged on as these APP on the equipment such as the electrical equipment reader using electronic ink screen, its colour picture, can be shown by after the process of electronic ink screen gray processing again.At present, electronic ink screen gray processing disposal route refers to that the such as color of a certain pixel is RGB (03 by RGB tri-look of color pixel cell with 11 identical value mostly, 52,73) 03 be wherein, red value, 52 is green values, and 73 is blue valves, after gray processing process, adopt any value assignment in RGB, as: by unified for this pixel to RGB (73,73,73), then show, its display effect is poor.For different color, exist in rgb value a certain value identical time, same gray scale may be shown as, cause obscuring of color, especially for adjacent part, border may be caused to lack, cannot correct display pattern, there is serious distortion, affect display effect greatly.
Summary of the invention
The present invention is intended to the color gray processing disposal route providing the better electronic ink screen of a kind of display effect.
The method of a kind of electronic ink screen color gray processing of the present invention, comprises the following steps:
Obtain colour picture information; Additional one deck black mask layer on current color picture; Cut out out the overlapping region of bitmap and black mask layer; With the black mask layer on display upper strata, overlapping region, complete gray proces.
The method of a kind of electronic ink screen color gray processing of the present invention, provides the colour filter standard of same datum to all colour elements by the black mask layer with filtering effects.The colour filter effect reaching each pixel can be consistent, and different colours energy its corresponding gray scale corresponding can not be chaotic, and the image after process is shown and can obtain effect clearly, close colored boundary is clear, and display effect is good, can avoid occurring serious distortion.
The method of a kind of electronic ink screen color gray processing of the present invention, also can comprise the step of the size judging colour picture; Preset the threshold value of colour picture size, when colour picture size is less than threshold value, automatically adopt above-mentioned disposal route to carry out gray processing process; Namely additional one deck black mask layer on current color picture, cuts out out the overlapping region of bitmap and black mask layer; With the black mask layer on display upper strata, overlapping region, complete gray proces; When colour picture size is greater than threshold value, user can select the gray processing scheme preset, and carries out gray processing process according to the gray processing scheme preset of the selection of user to colour picture.
The described gray processing scheme preset can comprise: with the gray processing scheme of redgreenblue maximal value for gray-scale value assignment rgb value; With the gray processing scheme of redgreenblue mean value assignment rgb value; The gray processing scheme of the mean value assignment rgb value after weight ratio is pressed respectively with redgreenblue.
Described gray scale processing method, includes the size of picture in limit of consideration, can adopt different gray processing disposal routes according to size.When colour picture size is less, want after its gray processing clearly to Show Picture, higher to gray processing processing requirements, the differentiation accuracy requirement between the Image Color after process is higher, therefore the scheme that black mask layer is set now is adopted more rationally, can to show more clearly.And when colour picture size is larger, it is often relatively low to the differentiation accuracy requirement between a picture color, now provides selectable and preset scheme, as: the gray processing scheme being gray-scale value with redgreenblue maximal value; The gray processing scheme being gray-scale value with redgreenblue mean value; Press with redgreenblue the gray processing scheme etc. that the mean value after weight ratio is gray-scale value respectively, it can both meet greatly the distortionless requirement of clear display.It can when ensureing the basic demand of clear display, significantly reduce the data volume of process computing, the problem that the operational data amount avoiding large scale colour picture to adopt the scheme of black mask layer to bring is excessive, also avoids the display because of processor computing power deficiency that therefore causes slowly or card machine problem.
Embodiment
Method of the present invention colored app is applied to the technical scheme of carrying electric ink screen equipment, first obtains message bit pattern from buffer zone, comprise bitmap size, pixel order, color identification etc.Judge whether bitmap size is greater than 100*100 pixel, if be not more than 100*100 pixel, then additional one deck black mask layer on current bitmap; Cut out out the overlapping region of bitmap and black mask layer; With the black mask layer on display upper strata, overlapping region, complete gray proces.
If bitmap size is greater than the threshold value of 100*100 pixel, then three kinds of different gray scale optimum choice are provided to user.The first is the maximum value process that after process, gray level image brightness is higher, with colour code in RGB tri-look maximum for gray-scale value, i.e. and R=G=B=Max (R, G, B).The second is the mean value method that after process, gray level image is comparatively soft, using the mean value of RGB tri-look as gray-scale value, i.e. and R=G=B=(R+G+B)/3.The third is the weighted average method more meeting human visual experience, with RBG tri-look to human eye varying sensitivity for weighted value, R+G+B=wr*R+wb*B+wg*G, wherein wr is red weights, and wg is green weights, and wb is blue weights; Be wherein good with wr=30%, wg=59%, wb=11%.
By method of the present invention, can effectively by colored app image optimization on the electronic ink screen of display gray scale, the scope of application of electronic ink screen being added, beneficial effect is played for popularization low-power consumption product.
Claims (5)
1. an electronic ink screen color gray processing method, comprises the following steps:
A, acquisition colour picture information;
B, on current color picture additional one deck black mask layer;
C, cut out out the overlapping region of bitmap and black mask layer;
D, with the black mask layer on display upper strata, overlapping region, complete gray proces.
2. electronic ink screen color gray processing method according to claim 1, is characterized in that, carry out the step judging colour picture size after step a;
The step of described judgement colour picture size, specific as follows:
Preset the threshold value of colour picture size, preset optional gray processing scheme;
When colour picture size is less than threshold value, performs step B-D, complete gray processing process;
When colour picture size is greater than threshold value, select the optional gray processing scheme that presets, according to the gray processing scheme selected gray processing process is carried out to colour picture.
3. electronic ink screen color gray processing method according to claim 2, is characterized in that,
Preset to obtain optional gray processing scheme, comprise one or several in following three kinds of schemes;
The first, with the gray processing scheme of the maximal value in the red-green-blue value of each pixel of colour picture to the red-green-blue value assignment of each pixel;
The second, with the gray processing scheme of the mean value in the red-green-blue value of each pixel of colour picture to the red-green-blue value assignment of each pixel;
The third, press the gray processing scheme of the mean value after weight ratio to the red-green-blue value assignment of each pixel with the red-green-blue value of each pixel of colour picture.
4. method according to claim 2, is characterized in that, described threshold value is 100*100 pixel.
5. method according to claim 3, is characterized in that, described weight ratio is: red
:green
:blue=30
:59
:11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510469735.3A CN104992680B (en) | 2015-08-04 | 2015-08-04 | A kind of method of electronic ink screen color gray processing |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510469735.3A CN104992680B (en) | 2015-08-04 | 2015-08-04 | A kind of method of electronic ink screen color gray processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104992680A true CN104992680A (en) | 2015-10-21 |
CN104992680B CN104992680B (en) | 2018-03-06 |
Family
ID=54304483
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510469735.3A Active CN104992680B (en) | 2015-08-04 | 2015-08-04 | A kind of method of electronic ink screen color gray processing |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104992680B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107704240A (en) * | 2017-10-25 | 2018-02-16 | 李磊 | A kind of ink screen development system based on Raspberry Pi and Pygame platforms |
CN108920121A (en) * | 2018-07-20 | 2018-11-30 | 重庆宝力优特科技有限公司 | Control method, device and computer readable storage medium based on multi-screen terminal |
CN109304942A (en) * | 2017-07-26 | 2019-02-05 | 惠普赛天使公司 | The halftoning screen of ink optimization |
CN109961747A (en) * | 2019-04-02 | 2019-07-02 | 上海墨案智能科技有限公司 | Electronic ink screen display methods, device and electronic equipment |
CN111193948A (en) * | 2020-01-07 | 2020-05-22 | 上海步频电子科技有限公司 | Picture transmission and display method and system of display terminal |
CN113596425A (en) * | 2021-06-21 | 2021-11-02 | 深圳市沃特沃德信息有限公司 | Image processing method and device for ink screen terminal, storage medium and intelligent device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437169A (en) * | 2008-12-19 | 2009-05-20 | 深圳市迅雷网络技术有限公司 | Method and apparatus for implementing black and white of color image |
CN102163216A (en) * | 2010-11-24 | 2011-08-24 | 广州市动景计算机科技有限公司 | Picture display method and device thereof |
CN102968616A (en) * | 2012-10-25 | 2013-03-13 | 中国电子科技集团公司第四十一研究所 | Light yellow tobacco shred identification and deepening method in cigarette loose-end detection process |
CN204044387U (en) * | 2014-06-23 | 2014-12-24 | 孙义昌 | A kind of neutral gray scale dim light filter of stratified film and manufacturing installation thereof |
CN104573674A (en) * | 2015-01-29 | 2015-04-29 | 杨克己 | 1D (one-dimensional) barcode recognition for real-time embedded system |
-
2015
- 2015-08-04 CN CN201510469735.3A patent/CN104992680B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101437169A (en) * | 2008-12-19 | 2009-05-20 | 深圳市迅雷网络技术有限公司 | Method and apparatus for implementing black and white of color image |
CN102163216A (en) * | 2010-11-24 | 2011-08-24 | 广州市动景计算机科技有限公司 | Picture display method and device thereof |
CN102968616A (en) * | 2012-10-25 | 2013-03-13 | 中国电子科技集团公司第四十一研究所 | Light yellow tobacco shred identification and deepening method in cigarette loose-end detection process |
CN204044387U (en) * | 2014-06-23 | 2014-12-24 | 孙义昌 | A kind of neutral gray scale dim light filter of stratified film and manufacturing installation thereof |
CN104573674A (en) * | 2015-01-29 | 2015-04-29 | 杨克己 | 1D (one-dimensional) barcode recognition for real-time embedded system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109304942A (en) * | 2017-07-26 | 2019-02-05 | 惠普赛天使公司 | The halftoning screen of ink optimization |
CN107704240A (en) * | 2017-10-25 | 2018-02-16 | 李磊 | A kind of ink screen development system based on Raspberry Pi and Pygame platforms |
CN108920121A (en) * | 2018-07-20 | 2018-11-30 | 重庆宝力优特科技有限公司 | Control method, device and computer readable storage medium based on multi-screen terminal |
CN109961747A (en) * | 2019-04-02 | 2019-07-02 | 上海墨案智能科技有限公司 | Electronic ink screen display methods, device and electronic equipment |
CN111193948A (en) * | 2020-01-07 | 2020-05-22 | 上海步频电子科技有限公司 | Picture transmission and display method and system of display terminal |
CN111193948B (en) * | 2020-01-07 | 2022-06-24 | 上海步频电子科技有限公司 | Picture transmission and display method and system of display terminal |
CN113596425A (en) * | 2021-06-21 | 2021-11-02 | 深圳市沃特沃德信息有限公司 | Image processing method and device for ink screen terminal, storage medium and intelligent device |
CN113596425B (en) * | 2021-06-21 | 2023-02-07 | 深圳市沃特沃德信息有限公司 | Image processing method and device for ink screen terminal, storage medium and intelligent device |
Also Published As
Publication number | Publication date |
---|---|
CN104992680B (en) | 2018-03-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104992680A (en) | Electronic ink screen graying method | |
CN109427281B (en) | Method and apparatus for compensating for edge enhanced perceptual bias in a display panel | |
CN105070267B (en) | Display system with peep-proof function and display method thereof | |
EP3726513A1 (en) | Method, apparatus and device for adjusting backlight brightness according to human eye characteristics | |
CN105047145A (en) | Backlight brightness control method, backlight brightness control device and display terminal | |
JP2005242300A (en) | Method for displaying image, image display apparatus, and apparatus and method for driving the same | |
CN102770901A (en) | Display device | |
CN106454303B (en) | RGBW image processing methods and device | |
US8599212B2 (en) | Character display method and apparatus | |
US20090135266A1 (en) | System for scribing a visible label | |
CN104167193B (en) | Signal conversion method for display image | |
CN106886380A (en) | Display device, image data processing system and method | |
CN102194440A (en) | Apparatus and method for enhancing readability of a character | |
CN103928011B (en) | The display packing of image and display system | |
CN102044230A (en) | Liquid crystal display device, color gamut conversion method thereof and color gamut conversion circuit | |
CN109360530B (en) | Liquid crystal display device and backlight control method thereof | |
CN105513543A (en) | Image processing method and device based on large-screen LCM | |
CN104269149A (en) | Method for controlling display | |
CN109377966B (en) | Display method, system and display device | |
CN103456280A (en) | Method for displaying RGB color image | |
US9172933B2 (en) | Correcting anamolous texture and feature width effects in a display that uses a multi primary color unit scheme | |
CN109272928A (en) | Image display method and apparatus | |
CN108564923B (en) | High dynamic contrast image display method and device based on partition backlight | |
CN109461419B (en) | Display data processing method and system and display device | |
CN110880164A (en) | Image processing method, device and equipment and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |