CN111698492A - Method, terminal and computer readable storage medium capable of locally changing display color - Google Patents

Method, terminal and computer readable storage medium capable of locally changing display color Download PDF

Info

Publication number
CN111698492A
CN111698492A CN202010561086.0A CN202010561086A CN111698492A CN 111698492 A CN111698492 A CN 111698492A CN 202010561086 A CN202010561086 A CN 202010561086A CN 111698492 A CN111698492 A CN 111698492A
Authority
CN
China
Prior art keywords
image
gray
color
displayed
target block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010561086.0A
Other languages
Chinese (zh)
Other versions
CN111698492B (en
Inventor
程超
成湘均
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ireader Technology Co Ltd
Zhangyue Technology Co Ltd
Original Assignee
Ireader Technology Co Ltd
Zhangyue 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 Ireader Technology Co Ltd, Zhangyue Technology Co Ltd filed Critical Ireader Technology Co Ltd
Priority to CN202010561086.0A priority Critical patent/CN111698492B/en
Publication of CN111698492A publication Critical patent/CN111698492A/en
Application granted granted Critical
Publication of CN111698492B publication Critical patent/CN111698492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
    • H04N9/3179Video signal processing therefor
    • H04N9/3182Colour adjustment, e.g. white balance, shading or gamut
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/643Hue control means, e.g. flesh tone control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/64Circuits for processing colour signals
    • H04N9/68Circuits for processing colour signals for controlling the amplitude of colour signals, e.g. automatic chroma control circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)

Abstract

The invention discloses a method capable of locally changing display colors, a reading terminal and a computer readable storage medium. The reading terminal comprises an ink screen and a processor, wherein the processor converts an image to be displayed into a gray image and identifies a plurality of blocks of the gray image, and the ink screen is used for displaying the gray image. The touch screen is used for receiving a target block selected by a user from the plurality of blocks, wherein the target block is correspondingly provided with gray scale distribution, and receiving one of color and style selected by the user. Wherein the processor maps one of a color and a pattern in the target block according to the gray distribution. According to the method disclosed by the invention, the block color can be locally changed, so that the gray scale and the color can be displayed in the same picture at the same time, and the visual perception of a user is further improved.

Description

Method, terminal and computer readable storage medium capable of locally changing display color
Technical Field
The present invention relates generally to the field of displays. More particularly, the present invention relates to a method for partially transforming a display color of a display page, a reading terminal and a computer readable storage medium.
Background
With the diversification of electronic reading material types, more and more users use reading terminals configured with electronic ink screens to not only read character reading materials, but also reading materials based on images, such as cartoons. At present, a layer of color filter film is superimposed on a conventional black-and-white ink screen, different colors (R, G or B) are printed at different positions on the filter film, the ink screen displays according to 16-order gray scale, and light rays irradiate the ink screen and reflect through the color filter film, so that a color image can be displayed, and the browsing experience of image type readings is improved.
However, in the prior art, the color reader reads the original image to complete the gray processing of the whole frame of image and is driven by the ink screen, so the displayed color effect is determined by the RGB value of the original image, and the user can not change the color effect
Disclosure of Invention
To at least partially solve the technical problems mentioned in the background, an aspect of the present invention provides a method, a reading terminal and a computer-readable storage medium for partially changing display colors.
In one aspect, a reading terminal capable of locally changing display colors includes: the system comprises a processor, a display module and a display module, wherein the processor is used for converting an image to be displayed into a gray image and identifying a plurality of blocks of the gray image; an ink screen for displaying the grayscale image; and a touch screen for: receiving a target block selected by a user from the plurality of blocks, wherein the target block is correspondingly provided with gray scale distribution; receiving one of the color and the style selected by the user; wherein the processor maps one of the color and the pattern in the target block according to the gray distribution.
In another aspect, a method for partially shifting display colors for an ink screen reading terminal, comprising: receiving an image to be displayed; displaying the image to be displayed in a gray scale image; identifying a plurality of blocks of the grayscale image; receiving a target block selected by a user from the plurality of blocks, wherein the target block is correspondingly provided with gray scale distribution; receiving one of the color and the style selected by the user; and mapping one of the color and the pattern in the target block according to the gray distribution.
In yet another aspect, the present invention discloses a computer readable storage medium having stored thereon a computer program code for locally transforming a display color, which when executed by a processor performs the aforementioned method.
The reading terminal can locally change the display color, and further can enable a user to select the block to be changed and the designated color so as to customize the personalized image.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present invention will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar or corresponding parts and in which:
fig. 1 is a schematic diagram illustrating a reading terminal of an embodiment of the present invention;
FIG. 2 is a schematic diagram showing an original color image of RGB 888;
FIG. 3 is a block diagram illustrating a color filter in combination with an ink screen according to an embodiment of the present invention;
FIG. 4 is a pixel diagram showing a color filter according to an embodiment of the present invention;
FIGS. 5(a) through (c) are diagrams illustrating a reading terminal that can partially shift display colors according to an embodiment of the invention; and
fig. 6 is a flowchart illustrating a method of partially transformable display colors according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the terms "first", "second", "third" and "fourth", etc. in the claims, the description and the drawings of the present invention are used for distinguishing different objects and are not used for describing a particular order. The terms "comprises" and "comprising," when used in the specification and claims of this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification and claims of this application, the singular form of "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in the specification and claims of this specification refers to any and all possible combinations of one or more of the associated listed items and includes such combinations.
As used in this specification and claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection".
The following detailed description of embodiments of the invention refers to the accompanying drawings.
One embodiment of the invention is a system capable of changing a display mode, which is used for partially changing display colors of a page of a reading terminal. The reading terminal has a structure as shown in fig. 1.
As shown in fig. 1, the reading terminal 100 includes: a processor 101, a communication interface 102, a power component 103, a display 104, an audio component 105, a memory 106, and a key interface 107.
The processor 101 may be a central processing unit CPU or a specific integrated circuit ASIC or an integrated circuit configured to implement an embodiment of the invention. Furthermore, the reading terminal 100 can include multiple processors, which can be of the same type or different types of processors, such as multiple CPUs, multiple ASICs, or a CPU plus an ASIC.
The communication interface 102 is configured as a module for wireless communication between the reading terminal 100 and other devices, including bluetooth 112, WiFi antenna 122, 4G/5G antenna communication 132, and the like. In another embodiment, the communication interface 102 further includes a Near Field Communication (NFC) module to facilitate short-range communications.
The power supply component 103 provides power to the various components of the reading terminal 100. The power supply assembly 103 may include an external power interface 113 and a charging interface circuit 123.
The display 104 is an interactive display interface between the reading terminal 100 and the user, and includes an electromagnetic film 114, a capacitive screen 124, an ink screen 134, and the like.
The electromagnetic film 114 is used for receiving signals of an electromagnetic pen, and is distinguished by magnetic field changes generated by inductors under an electromagnetic pen operating process and a panel, the electromagnetic pen is a signal transmitting end, the electromagnetic film 114 is a signal receiving end, magnetic flux changes when the electromagnetic pen is close to induction, and position points are defined through operation.
The capacitive screen 124 is a touch screen for receiving signals from a user's finger input and includes one or more touch sensors to detect gestures on the touch, slide and touch screen panels. The touch sensor may detect not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation.
The electromagnetic film 114 and the capacitive screen 124 are collectively referred to as a touch screen 174.
The ink screen 134 is a display screen using electronic ink, also called electronic paper display technology, and has a main structure including a top transparent electrode layer, an electrophoretic layer, and a bottom electrode pixel layer. The electrophoretic layer is internally provided with a plurality of fine microcapsules, the microcapsules are provided with transparent liquid and a plurality of tiny electrophoretic particles, the electrophoretic particles are distributed in the transparent electrophoretic liquid to form a suspension system, the surfaces of the electrophoretic particles are easy to adsorb electric charges, and the particles capable of inducing the electric charges can move under the action of an external electric field.
Specifically, the electrophoretic particles are classified into negatively charged black particles and positively charged white particles. When a positive voltage is applied to the bottom electrode pixel layer, the white particles are repelled to move toward the top transparent electrode layer, and the black particles are attracted to move toward the bottom electrode pixel layer, in which case the pixel appears white. Conversely, when a negative voltage is applied to the bottom electrode pixel layer, the white particles are attracted to move toward the bottom electrode pixel layer, the black particles are repelled to move toward the top transparent electrode layer, and the pixel is displayed as black.
A color filter 136 is superimposed on the ink panel 134, and displays a desired color by additive color mixing by controlling the intensity of reflected light of three primary colors, red (R), green (G), and blue (B). The color filter 136 absorbs other color components by polarization effects, for example, when natural light is irradiated on a red portion of the color filter 136, it absorbs a blue-green component, only a red component is transmitted therethrough, and thus the human eye sees red. The color filter 136 can be printed directly on the ink screen or adhered to the ink screen in a membrane form, and the basic structure of the membrane form color filter includes a filter glass substrate, and each pixel on the filter glass substrate has a color light blocking layer with three primary colors of red, green, and blue. Specifically, the black particles of the ink panel 134 absorb light, and conversely, the white particles reflect light, so that if a red color is to be displayed, the electrode at the red position is charged with positive electricity to attract the black particles downward, and the white particles move toward the top transparent electrode layer, the light reflected by the white particles will display red color through the pixel at the red position corresponding to the color filter 136, and the voltage of the electrode is controlled to control the ratio of the white particles to the black particles on the top transparent electrode layer, thereby controlling the gray scale (brightness) of the pixel and indirectly controlling the shade of the red color. In summary, the movement of the black particles and the white particles in the red, green and blue microcapsules is controlled to control the gray level of the microcapsules, and the color filters 136 are used to display the red, green and blue colors with different shades for color mixing, thereby displaying the color of the specific pixel.
The display 104 also includes a sensing component 144 configured with a plurality of various sensors for providing various aspects of status assessment for the electronic device. For example: the temperature sensor 154 in the sensing element 144 can detect the temperature change of the display 104, and the detected temperature is transmitted to the processor 101 and then to the timing controller 108 as a parameter for table lookup.
The display 104 further includes a front light and light guide plate 164 disposed at a side of the display 104 to provide a stable and uniform light source.
The audio component 105 is configured to output and/or input audio signals. For example, the audio component 105 includes a microphone 118, and when the reading terminal 100 needs to receive speech, such as a call mode, a recording mode, and a speech recognition mode, the microphone 118 is configured to receive external audio signals. The audio module 105 further comprises a speaker 128 for outputting audio signals.
The memory 106 is used for storing programs, electronic books and notes, and may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as a disk memory.
The key interface 107 is used for controlling the page turning of the user, and is generally physical keys, which are disposed at the side of the reading terminal 100 and include a front page turning key and a back page turning key.
The timing controller 108 is used for finding out the corresponding control parameter, i.e. the driving waveform, through the lookup table. Since the black and white particles in the ink screen 134 are sensitive to temperature, the lower the temperature, the less active the particles, the longer it takes to move to the same position in the microcapsule at room temperature; the particles move faster when the temperature is higher, and the time required to move to the same location in the microcapsule is relatively shorter compared to the time required at normal temperature. The temperature sensor 154 collects temperature data on the display 104, and the timing controller 108 finds corresponding control parameters according to the temperature data to select an appropriate driving waveform.
The timing controller 108 may be implemented by means of an algorithm, i.e. a software timing controller, instead of being implemented in hardware as shown in fig. 1. The software timing controller is an algorithm integrated on a System-on-a-Chip (SOC Chip), and the process of color converting the gray image to the output of the driving waveform is equivalent to the execution on the SOC Chip.
The display driver 109 converts the driving waveform into a control signal to drive the ink particles on the ink screen 134 to move, so that image data to be displayed can be imaged on the ink screen 134.
The pixel mapping relationship between the ink panel 134 and the color filter 136 is further described below with reference to fig. 2 to 4. Fig. 2 shows a schematic diagram of pixels of an image to be displayed, the image to be displayed is formed by combining colors of pixels, a data structure of the pixels is RGB888, which represents that 8 bytes are used to record a red color value, a green color value and a blue color value respectively, and a value of each color value ranges from 0 to 255. More specifically, the color of one pixel unit 21 of the image to be displayed is formed by mixing three primary colors of RGB emitted by the pixel unit, each pixel has three color components of red, green and blue, and each pixel has a corresponding color value of RGB888, wherein the component refers to an intensity value of each color within a range of 0 to 255.
Fig. 3 is a schematic diagram illustrating a structure of the color filter 136 combined with the ink panel 134 according to an embodiment of the invention, as shown in fig. 3, the color filter 136 is superimposed on the ink panel 134, and one pixel unit 310 is used as a basic unit to express three primary colors, and three adjacent pixels (e.g., pixels 321, 322, 323) in the ink panel 134 correspond to the pixel unit 310 of the color filter 136, wherein the pixels 321, 322, 323 respectively generate three color components of red, green and blue.
Fig. 4 shows a schematic diagram of implementing colors by using a color filter 136 according to an embodiment of the present invention, wherein different colors such as RGB are printed on the color filter 136. In practice, to make the color expression more natural, the RGB arrangement may also be irregular, such as RBG RGB BRG BGR, and the order is predetermined during the manufacture of the color filter 136.
In some implementations, each pixel in the image to be displayed has three color components of RGB, but the position of the color filter 136 corresponding to the pixel can only print one color, and thus the three color components cannot be displayed on the color filter 136 for a single pixel. For the above reasons, this embodiment uses three pixels on the color filter 136 as one pixel unit 310, and sequentially prints three primary colors of RGB. For example, in pixel unit 310, processor 101 uses the red color printed on the first pixel 411 to represent the red color component of ink screen pixel 321 (shown in FIG. 3), and uses the green color printed on the second pixel 412 to represent the green color component of ink screen pixel 322; the blue color printed on the third pixel 413 is used to express the blue color component of the ink screen pixel 323.
Since three pixels on the ink screen 134 are mapped to one pixel unit on the color filter 136, the DPI of the color filter 136 is reduced to one third, and the DPI of the black and white ink screen 134 is generally 300, which becomes 100 after combining the color filter 136.
In more detail, the processor 101 retains the corresponding color component value of the RGB values of the pixel according to the color printed at the corresponding position on the color filter 136, and discards the rest of the color component values. The first pixel 411 of the color filter 136 is printed with red color, which is only used to express the red component of the pixel 321 of the ink panel 134, so that the green component and the blue component are not retained; similarly, the second pixel 412 of the color filter 136 is printed with green color, which is used to express only the green color component of the pixel 322 of the ink screen 134, and the red and blue color components are not retained, and so on.
The processor 101 then converts the remaining color component values into a gray scale value of 16 gray. Because different gray scales have different light and shade effects, the gray scale of a single primary color can be displayed through the color filter film, and when red is taken as an example, the gray scale can be controlled to display deep red, date red, bright red, light red, pink and the like. For one pixel unit, different color effects can be realized by controlling the combination of the gray levels of the three primary colors. In this embodiment, there are 16 shades of each primary color component of RGB, and the number of colors that can be realized by one pixel unit is 16 × 16 for 4096 colors.
Finally, the processor 101 controls the display driver 109 to drive the display of the ink screen 134. The ink screen displays the gray scale of red, green and blue pixels, and the color is mixed by the color filter film 136 to present an original color picture.
An application scenario of this embodiment is shown in fig. 5(a) to (c), which are schematic diagrams of a reading terminal capable of partially changing display colors. The processor 101 is configured to convert the image to be displayed into a first gray-scale image 510, and identify a plurality of blocks of the first gray-scale image 510, the ink screen 134 displays the first gray-scale image 510, and the color filter 136 is configured to represent colors of the image to be displayed. The touch screen 174 receives a user selection of a target block 520 of the plurality of blocks, such as: the first gray scale image 510 is an animal facial makeup, and the selected target region 520 is a specific region of the animal facial makeup, which is indicated by a dotted line. The target block 520 corresponds to a gray distribution, that is, the target block 520 does not have only a single gray, but has a change in gray as shown in fig. 5 (b).
In more detail, the reading terminal 100 has both the non-color mode and the color mode, and the processor 101 is not limited to the non-color mode or the color mode, and can optionally select the target area 520 to be displayed in a gray-scale image or a color image. In the non-color mode, the processor outputs a first gray image according to the gray distribution of the image to be displayed, and the gray distribution corresponding to the target block 520 is referred to as a "first gray value". Further, in the color mode, the processor 101 responds to the color selected by the user, wherein the gray distribution corresponding to the selected color is referred to as "second gray value", and the processor replaces the first gray value in the first gray image with the second gray value to output a composite gray image, so that the target block 520 displays the selected color by driving the waveform and brushing.
As can be seen from the above description, the processor 101 performs the gray scale conversion for displaying either a gray scale screen or a color screen. For convenience of illustration, the reading terminal 100 of this embodiment is preset in the non-color mode (or preset in the color mode, where there is no sequential limitation), and is directed to the gray scale conversion mode of the gray scale image display. The processor 101 performs a gray scale calculation on the image to be displayed to convert the image to the first gray scale image 510 (in this mode, the color component values of each pixel do not need to be discarded). In more detail, the processor 101 calculates a gray value using three color values of RGB of each pixel, and converts the image to be displayed into 8-bit gray data. The calculation mode can be any one of the following modes:
1. floating point method: gray ═ R0.3 + G0.59 + B0.11;
2. integer method: gray ═ (R30 + G59 + B11)/100;
3. a shift method: gray ═ (R77 + G151 + B28) > > 8;
4. average value method: gray ═ R + G + B)/3.
The converted gray value is 8 bits, that is, the gray value range is 0 to 255, and there are 256 different gray levels. Through a preset mapping relationship, the processor 101 converts the gray value of the pixel into a certain one of 16 gray levels, the 16 gray levels take values from 0 to 15, wherein 0 is pure white, 15 is pure black, and the middle values are gray at different depths. After the conversion is completed, gradation data is recorded using 4-bit data.
In more detail, the mapping relationship between 256 gray scales and 16 gray scales in this embodiment is: 0 to 16 of the 256 shades of gray correspond to 0 of 16 shades of gray, 17 to 32 of the 256 shades of gray correspond to 1 of 16 shades of gray, 33 to 48 of the 256 shades of gray correspond to 2 of 16 shades of gray, and so on. The conversion can also be performed by using a non-linear mapping relationship, and each gray scale in the 16 gray scale image is preset to correspond to a gray scale range in 256 gray scales.
In other words, the processor 101 can convert the gray-scale picture display range, which is the entire image to be displayed, into the first gray-scale image 510 through the above algorithm.
In one implementation scenario, the ink screen 134 of this embodiment may display a toggle key 530. It will be understood by those skilled in the art that the present invention is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings.
As shown in fig. 5(a), in the non-color mode, the image to be displayed shows a first gray scale image 510, i.e., a gray scale picture, and for convenience of description, the first gray scale image 510 only shows the outline of the image. The user can select each block in the first gray image 510 through the selection tool 540 of the color editing interface to perform functions of selecting blocks, changing colors, and the like. The selection tool 540 includes a cut key 541, a cancel key 542, and a color key 543, where the cut key 541 is used to select a block to be changed, the cancel key 542 is used to cancel the selected block, and the color key 543 is used to select a color. Specifically, the processor 101 may identify the boundaries of a plurality of blocks in the first gray scale image 510 through an edge detection technique to form the outline of the first gray scale image 510 as shown in fig. 5(a), wherein the edge detection technique is to identify the edges of the plurality of blocks by using a gray histogram algorithm or a gradient algorithm.
Next, the user clicks the cropping key 541 and selects the cropping command generated by the target block 520 and sends the cropping command to the processor 101, and the processor 101 responds to the cropping command, and displays the boundary of the target block 520 in a dotted line according to the area and boundary coordinates of the target block 520, as shown in fig. 5(b), so as to visually show the user that the selected block is known. A color palette 544 appears following the click of the color key 543, where colors and numbers are exemplary and not limiting. The user selects a color or pattern on the color palette 544, where color refers to color and pattern refers to a pattern, such as a water wave, straight stripe, diagonal stripe, or other more complex pattern. Illustratively, when the user selects one of the color patches 5431, the processor 101 modifies the color value of the corresponding color patch 5431 according to the gray distribution within the boundary of the target patch 520 in response to the touch screen 174 receiving a modification instruction from the user, as shown in fig. 5 (c).
In more detail, the processor 101 converts the first grayscale image 510 of the target block 520 into a second grayscale image, and specifically, performs grayscale conversion on color values of pixels of the target block 520 according to the color values of the relative patches 5431 to obtain the second grayscale image. The processor 101 performs a quantization process on the pixels of the target block 520 to discard and retain the component value of one of the rgb pixels, and then converts the formed image into a second gray image. The purpose of converting the gray image into the gray image is to be capable of adapting to the display of the ink screen 134, the color expression of the second gray image is realized by the color filter 136, and the ink screen 134 itself still follows the display mechanism of black and white particles, that is, the ink screen 134 itself cannot directly display the color image, but affects the display effect of the color filter 136 by the depth of the gray, so as to realize various colors.
During the quantization process, the processor 101 reserves a component value of one of the rgb pixels on the color filter 136 corresponding to the pixel of the target block 520, converts the gray scale of the pixel of the target block 520 into 8-bit gray scale data according to the component value, and converts the 8-bit gray scale data into 4-bit gray scale data.
In other words, the processor 101 may convert the pixels of the target block 520 into the second gray scale image through the above-described component processing.
Next, according to the gray distribution of the target block 520, a second gray value of each pixel in the target block 520 is obtained from the second gray image, in this embodiment, the relative color block 5431 selected by the user is used as the middle value of the gray distribution of the target block 520, the larger gray value corresponds to the lighter color, and the smaller gray value corresponds to the darker color, that is, the gray distribution of the target block 520, that is, the relative color block 5431 is mapped to the light color in the target block 520. And generating a second gray value after the mapping is finished. This embodiment stitches the second gray scale value in the target block 520 and the first gray scale values of the other blocks into a composite gray scale image. The resultant gray image is table-look-up driven by the timing controller 108, displayed in a 16-gray refresh mode such as GC16, GU16, etc., and finally displayed as the resultant gray image 511 shown in fig. 5(c), in which the target block 520 is displayed as the second gray image and the rest is displayed as the first gray image.
In more detail, the timing controller 108 performs table look-up (LUT) according to parameters such as a previous frame gray value, a next frame gray value, and a current ink screen temperature of each pixel in the 4-bit gray data to obtain a suitable driving waveform for driving the black-and-white particles in each pixel from a current position to a next frame image position, where the driving waveform includes information such as voltage, pulse frequency, and pulse duration, and after the driving waveform is obtained by table look-up, the driving waveform can be used to drive the ink capsules corresponding to the pixel position on the ink screen 134, so that the black-and-white particles therein move at different distances to form corresponding gray colors. Where temperature data is provided by temperature sensor 154. Finally, the ink screen 134 is driven according to the searched driving waveform, and the display of the composite gray image 511 is realized.
Since the ink screen 134 displays images by moving black and white particles, after a plurality of pages are turned, the image sticking is often generated, especially if the page has a picture, the image sticking is more easily generated, and therefore refreshing is required to remove the image sticking so that the page is more concise. The invention adopts a 16-gray local refresh mode or a full-screen refresh mode, and when the afterimage is not serious and the fast refresh is needed, the local refresh mode can be used, for example, GU16 directly outputs 16-gray pixels which are changed with the last output without performing the screen refresh operation before the data output. In some application scenarios, the color ink screen has heavy refreshing afterimage, and a full screen refresh mode may also be used, for example, the GC16 re-outputs all pixels in the refresh area, performs a screen refresh operation on the refresh area before outputting, and can support 16 gray pixels.
The reason why the embodiment can display the gray scale effect while covering the color filter 136 is that the color image is not discarded and retained according to the color arrangement position of the pixels of the color filter, so the color component represented by the gray scale displayed by the pixels on the ink panel 134 does not correspond to the color printed on the color filter 136 in the physical space, and the color filter does not perform polarization filtering on the gray scale on the ink panel when the light is reflected, thereby losing the color expression ability.
Further, the magnitude of the gray scale value in the gray scale image reflects the shade of the color in the color image, and generally, the deeper the color in the color image, the deeper the gray scale in the gray scale image (the smaller the gray scale value). For example, the pixels of the tile in the first gray image of the present invention are gray, such as the animal facial makeup in fig. 5 is shown as light gray. Since the setting of the tile color is freely selected by the user, there is a possibility that the difference between the shade of the selected color and the shade of the gray scale in the original first gray scale image is large, and the color difference of the image after color replacement may occur, and for the above reasons, the following processing may be performed:
the first gray value and the second gray value as described in fig. 5 are both in the form of data of 16-step gray. Then, it is determined whether the difference between the first gray-scale value and the second gray-scale value of the pixel of the target block 520 is larger (e.g., the difference between the gray-scale values is larger than 5). And if the difference is large, correcting the second gray value in the following manner:
when the first gray value is larger than the second gray value, increasing the second gray value of each pixel point by N gray values, wherein N is (gray difference/3) and then rounding up;
and when the first gray value is smaller than the second gray value, reducing the second gray value of each pixel point by N gray values, wherein N is (gray difference/3) and then rounding upwards.
As mentioned above, when displaying color, the gray scale value of a pixel can affect the shade of the color, for example, a dot of the color filter is printed with red, the gray scale value displayed by the pixel on the ink screen corresponding to the dot will display dark red if it is small (gray is darker), and the gray scale value will display light red if it is large (gray is lighter). The correction mode is to correct the second gray scale to be close to the first gray scale, and can properly adjust the depth of the color selected by the user to make the color of the color coordinate with the gray scale in the original first gray scale image, so as to optimize the color display effect.
In another application scenario of this embodiment, when the user views the cartoon in the color mode, if the user selects to perform color filling on the cartoon of the current page, the processor 101 searches the original RGB color map of the current image, converts the RGB color map into a gray image in the non-color mode, displays the gray image in a new page, and provides the user with color filling. If the user looks at the cartoon in the non-color mode, the user can directly fill the displayed cartoon with colors through the selection tool 540 of the color editing interface because the screen display is a gray image.
Fig. 6 is a schematic diagram illustrating a method for locally transforming display colors according to an embodiment of the present invention, as shown in fig. 6, the embodiment includes the following steps:
in step 601, an image to be displayed is received. Specifically, the reading terminal of this embodiment receives an image to be displayed.
In step 602, an image to be displayed is displayed as a grayscale image.
Specifically, the first grayscale image is obtained by performing grayscale conversion on the image to be displayed in the non-color mode, and the specific operation has been described in the above embodiments and is not described again.
In step 603, a plurality of blocks of the gray scale image are identified, and the method 600 identifies boundaries of the plurality of blocks in the first gray scale image by an edge detection technique to form a contour of the first gray scale image, wherein the edge detection technique is to identify edges of the plurality of blocks by using a gray histogram algorithm or a gradient algorithm.
In step 604, the receiving user selects a target block of the plurality of blocks, wherein the target block has a gray scale distribution. The first gray image may be divided into a plurality of blocks by an edge detection technique, and a user selects one of the blocks as a target block, where the blocks have corresponding gray distributions, and the gray distribution corresponding to the target block is referred to as a "first gray value". The user issues a cropping command through the touch pad, and the method 600 responds to the cropping command and displays the boundary of the target block with a dotted line according to the area and boundary coordinates of the target block to visually display to the user to know the selected block.
In step 605, a user selection of one of a color and a style is received.
A user selects a color block through the touch pad and sends a change instruction, and the method 600 changes the RGB value of the corresponding pixel in the boundary coordinates of the target block into the color value or the style of the corresponding color block in response to the change instruction from the user. For example, the method 600 converts a first gray scale image of a target tile into a second gray scale image, and specifically performs gray scale conversion of color values of pixels of the target tile according to color values of relative color tiles to obtain the second gray scale image. Similarly, the way of performing the quantization processing on the pixels of the target block to convert the pixels into the gray-scale image is also described in the above embodiments, and is not repeated herein. The target block with the modified color value has a corresponding gray scale distribution called as a second gray scale value.
In step 606, one of a color and a pattern is mapped in the target block according to the gray scale distribution. And according to the boundary coordinates of the target block, acquiring a second gray value in the target block from a second gray image, replacing the first gray value in the target block in the first gray image with the second gray value, and splicing into a synthesized gray image. The image synthesis method has been described in the above embodiments, and is not described again. And finally, displaying the selected color on the target block through the driving waveform and the brushing.
Another embodiment of the invention is a computer-readable storage medium having stored thereon a computer program code for locally transforming a display color, which computer program code, when executed by a processor, performs the method as shown in fig. 6.
It should also be appreciated that any module, unit, component, server, computer, terminal, or device executing instructions exemplified herein may include or otherwise have access to a computer-readable medium, such as a storage medium, computer storage medium, or data storage device (removable) and/or non-removable, such as a magnetic disk, optical disk, or tape. Computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, program modules, or other data.
Computer-readable storage media includes RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by an application, a module, or both. Any such computer readable storage media may be part of or accessible or connectable to a device. Any applications or modules described herein may be implemented using computer-readable/executable instructions that may be stored or otherwise maintained by such computer-readable media.
Through the foregoing description of the embodiments, those skilled in the art can understand that the reading terminal of the present invention is not limited to displaying the whole frame of the image in gray scale or color, but can change the color of the block locally to make the gray scale and the color be displayed in the same image, so as to further improve the visual experience of the user. On the other hand, in the non-color mode, the user can also directly color the gray scale picture through a selection tool of the color editing interface so as to provide the user with the fun of selecting colors by himself.
The foregoing detailed description of the embodiments of the present disclosure has been presented for purposes of illustration and description and is intended to be exemplary only and is not intended to be exhaustive or to limit the invention to the precise forms disclosed; meanwhile, for the person skilled in the art, based on the idea of the present disclosure, there may be variations in the specific embodiments and the application scope, and in summary, the present disclosure should not be construed as limiting the present disclosure.

Claims (10)

1. A reading terminal capable of locally changing display colors, comprising:
the system comprises a processor, a display module and a display module, wherein the processor is used for converting an image to be displayed into a gray image and identifying a plurality of blocks of the gray image;
an ink screen for displaying the grayscale image; and
a touch screen for:
receiving a target block selected by a user from the plurality of blocks, wherein the target block is correspondingly provided with gray scale distribution; and
receiving one of the color and the style selected by the user;
wherein the processor maps one of the color and the pattern in the target block according to the gray distribution.
2. The reading terminal of claim 1, wherein the processor performs a grayscale calculation on the image to be displayed.
3. The reading terminal of claim 2, wherein the reading terminal further comprises:
and the time sequence controller is used for looking up a table for the image to be displayed after the gray level calculation according to the temperature of the ink screen, outputting a corresponding driving waveform, and driving the ink screen to display the gray level image according to the driving waveform.
4. The reading terminal of claim 3, wherein the processor converts colors to grayscale using a floating point method, an integer method, a shift method, or an average method.
5. A method for locally changing display colors for an ink screen reading terminal, comprising:
receiving an image to be displayed;
displaying the image to be displayed in a gray scale image;
identifying a plurality of blocks of the grayscale image;
receiving a target block selected by a user from the plurality of blocks, wherein the target block is correspondingly provided with gray scale distribution;
receiving one of the color and the style selected by the user; and
mapping one of the color and the pattern in the target block according to the gray distribution.
6. The method of claim 5, wherein the step of displaying the image to be displayed as a grayscale image comprises:
carrying out gray level calculation on an image to be displayed;
performing table look-up on the image to be displayed after gray level calculation according to the temperature of the ink screen, and outputting a corresponding driving waveform; and
and driving the ink screen to display the gray image according to the driving waveform.
7. The method of claim 6, wherein the performing gray scale calculation converts colors into gray scales using a floating point method, an integer method, a shift method, or an average value method.
8. The method of claim 5, wherein the identifying step comprises:
identifying edges of the plurality of blocks; and
and defining the range of each block according to the edge.
9. The method of claim 8, wherein the step of identifying edges of the plurality of blocks is utilizing a grayscale histogram algorithm or a gradient algorithm.
10. A computer-readable storage medium having stored thereon a computer program code for locally transforming a display color, which computer program code, when executed by a processor, performs the method according to any of claims 5 to 9.
CN202010561086.0A 2020-06-18 2020-06-18 Method, terminal and computer readable storage medium capable of locally changing display color Active CN111698492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010561086.0A CN111698492B (en) 2020-06-18 2020-06-18 Method, terminal and computer readable storage medium capable of locally changing display color

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010561086.0A CN111698492B (en) 2020-06-18 2020-06-18 Method, terminal and computer readable storage medium capable of locally changing display color

Publications (2)

Publication Number Publication Date
CN111698492A true CN111698492A (en) 2020-09-22
CN111698492B CN111698492B (en) 2021-04-02

Family

ID=72481824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010561086.0A Active CN111698492B (en) 2020-06-18 2020-06-18 Method, terminal and computer readable storage medium capable of locally changing display color

Country Status (1)

Country Link
CN (1) CN111698492B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589980A (en) * 2021-07-06 2021-11-02 青岛海信移动通信技术股份有限公司 Interface adjusting method of ink screen and terminal equipment
CN113920952A (en) * 2021-10-20 2022-01-11 京东方科技集团股份有限公司 Electronic paper debugging method, electronic paper, debugging system and equipment
CN117435156A (en) * 2023-12-20 2024-01-23 汉朔科技股份有限公司 Display information generation method, device, equipment and medium of electronic price tag

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840693A (en) * 2010-03-05 2010-09-22 惠州Tcl移动通信有限公司 Electronic document display method
CN102385213A (en) * 2010-09-06 2012-03-21 广州奥熠电子科技有限公司 Electrophoretic display device and manufacturing method thereof
CN104660910A (en) * 2014-03-03 2015-05-27 深圳市中兴移动通信有限公司 Image processing device and image processing method
CN105912290A (en) * 2016-05-09 2016-08-31 珠海全志科技股份有限公司 Display method and device used for electronic ink screen
CN106875452A (en) * 2016-12-30 2017-06-20 深圳天珑无线科技有限公司 Image processing method and terminal
CN111062860A (en) * 2019-11-12 2020-04-24 北京旷视科技有限公司 Image color adjusting method and device based on scene and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840693A (en) * 2010-03-05 2010-09-22 惠州Tcl移动通信有限公司 Electronic document display method
CN102385213A (en) * 2010-09-06 2012-03-21 广州奥熠电子科技有限公司 Electrophoretic display device and manufacturing method thereof
CN104660910A (en) * 2014-03-03 2015-05-27 深圳市中兴移动通信有限公司 Image processing device and image processing method
CN105912290A (en) * 2016-05-09 2016-08-31 珠海全志科技股份有限公司 Display method and device used for electronic ink screen
CN106875452A (en) * 2016-12-30 2017-06-20 深圳天珑无线科技有限公司 Image processing method and terminal
CN111062860A (en) * 2019-11-12 2020-04-24 北京旷视科技有限公司 Image color adjusting method and device based on scene and computer equipment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113589980A (en) * 2021-07-06 2021-11-02 青岛海信移动通信技术股份有限公司 Interface adjusting method of ink screen and terminal equipment
CN113920952A (en) * 2021-10-20 2022-01-11 京东方科技集团股份有限公司 Electronic paper debugging method, electronic paper, debugging system and equipment
CN113920952B (en) * 2021-10-20 2023-03-14 京东方科技集团股份有限公司 Electronic paper debugging method, electronic paper, debugging system and equipment
CN117435156A (en) * 2023-12-20 2024-01-23 汉朔科技股份有限公司 Display information generation method, device, equipment and medium of electronic price tag
CN117435156B (en) * 2023-12-20 2024-05-28 汉朔科技股份有限公司 Display information generation method, device, equipment and medium of electronic price tag

Also Published As

Publication number Publication date
CN111698492B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
CN111698492B (en) Method, terminal and computer readable storage medium capable of locally changing display color
CN111752063B (en) Method capable of changing display mode, reading terminal and computer storage medium
EP2685446B1 (en) Display control method, apparatus and system for power saving
CN111627399A (en) Method, terminal and computer readable storage medium capable of locally transforming display colors
KR101992310B1 (en) Image processing method for display apparatus and image processing apparatus
CN105138317B (en) Window display processing method and device for terminal device
CN105574918B (en) A kind of material adding method, device and the terminal of 3D models
JP6433887B2 (en) Electronic display device and driving method thereof
RU2413383C2 (en) Unit of colour conversion to reduce fringe
JP2011248358A (en) Image processing method and image processing apparatus
CN111752517B (en) Method, terminal and computer readable storage medium capable of projecting screen to far-end display screen
JPH0714031A (en) Drawing method of scalerable three-dimensional boundary line
KR101356370B1 (en) Method of Correcting Data And Liquid Crystal Display Using The Same
JP2008537161A (en) Display panel
JP2005242300A (en) Method for displaying image, image display apparatus, and apparatus and method for driving the same
JP2015523593A5 (en)
CN112750407B (en) Electro-optic display
JP2024099753A (en) Display method, apparatus, and storage medium
CN116939181B (en) Image processing method, device, system, storage medium and electronic equipment
CN212484334U (en) Reading equipment capable of changing display mode
WO2019063495A2 (en) Method, device and computer program for overlaying a graphical image
CN115909980B (en) Text display optimization method, device, equipment and storage medium
CN111819618B (en) Pixel contrast control system and method
US20150317947A1 (en) Display apparatus, display method, and program
US11361476B2 (en) Efficient color mapping systems and methods

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