CN117894269B - Data processing method, processing device and chip - Google Patents
Data processing method, processing device and chip Download PDFInfo
- Publication number
- CN117894269B CN117894269B CN202410294674.0A CN202410294674A CN117894269B CN 117894269 B CN117894269 B CN 117894269B CN 202410294674 A CN202410294674 A CN 202410294674A CN 117894269 B CN117894269 B CN 117894269B
- Authority
- CN
- China
- Prior art keywords
- sub
- pixel
- image
- display
- display mode
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 35
- 238000003672 processing method Methods 0.000 title claims abstract description 25
- 238000013507 mapping Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 claims description 23
- 238000009877 rendering Methods 0.000 claims description 8
- 239000003086 colorant Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 239000011324 bead Substances 0.000 description 5
- 230000002688 persistence Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/22—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
- G09G3/30—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
- G09G3/32—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2320/00—Control of display operating conditions
- G09G2320/02—Improving the quality of display appearance
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The application discloses a data processing method, a processing device and a chip. The data processing method comprises the following steps: selecting a display mode; determining a plurality of pixel units of a display panel according to a display mode, wherein the display panel comprises a plurality of sub-pixels arranged according to a preset rule, and each pixel unit corresponds to a corresponding pixel point on an image and comprises a plurality of corresponding sub-pixels; determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point; and calculating display data for driving the sub-pixels according to the image data of the pixel points corresponding to the sub-pixels, wherein the display mode comprises a first display mode and a second display mode, at least one sub-pixel is shared by a plurality of pixel units in the first display mode, and each sub-pixel is only included in a corresponding one of the pixel units in the second display mode. Therefore, the mapping mode of the sub-pixels and the pixel points can be flexibly selected, and the display quality is improved.
Description
Technical Field
The present invention relates to the field of display technologies, and in particular, to a data processing method, a processing device, and a chip.
Background
At present, the high-density small-spacing LED, miniLED, microLED display technology has become a hot topic in the novel display industry, and the display effect of products has also become a focus of common attention of users and industries; under the condition of not considering brightness, contrast, stability and uniformity, factors influencing the image definition of the high-density LED display screen mainly comprise image spatial resolution, image display hierarchical resolution, pixel optical crosstalk degree, pixel edge fusion degree and the like.
In the prior art, many display panels adopt a virtual pixel display technology in terms of saving the number of lamp beads used, reducing power consumption, and the like. Specifically, on the display panel, the sub-pixels of three colors of RGB are arranged according to a certain rule. Each sub-pixel is shared by a plurality of pixel units around the sub-pixel, the display data of the sub-pixel is obtained through a rendering algorithm of pixel image data corresponding to the pixel units, and the persistence of vision of human eyes is utilized to be overlapped into a frame of picture, so that the display effect can be improved.
However, with the virtual pixel display technology, each pixel unit is a "virtual image point" formed by the correlation algorithm in combination with the scan driving technology, so that the color and brightness of the image pixel point cannot be accurately restored, and particularly when displaying images such as text, horizontal lines, vertical lines, etc., problems of blurring and distortion occur.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a data processing method, a processing device and a chip, so as to improve display effect.
According to an aspect of the present application, there is provided a data processing method, wherein the data processing method includes: selecting a display mode; determining a plurality of pixel units of a display panel according to the display mode, wherein the display panel comprises a plurality of sub-pixels arranged according to a preset rule, and each pixel unit corresponds to a corresponding pixel point on an image and comprises a plurality of corresponding sub-pixels; determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point; and obtaining display data for driving the sub-pixels according to the image data of the pixel points corresponding to the sub-pixels, wherein the display mode comprises a first display mode and a second display mode, at least one sub-pixel is shared by a plurality of pixel units in the first display mode, and each sub-pixel is only included in a corresponding pixel unit in the second display mode.
Optionally, the method for selecting the display mode includes: selecting a corresponding display mode according to the display content of the image, wherein the first display mode is selected when the display content does not comprise any one of characters, horizontal lines and vertical lines; and selecting the second display mode when the display content comprises at least one of characters, horizontal lines and vertical lines, and acquiring the image before the display mode is selected.
Optionally, after the image is acquired, the data processing method further includes: dividing the image into a plurality of sub-images, the selecting a display mode comprising: determining the display mode of the sub-image corresponding sub-region on the display panel according to the display content of each sub-image, wherein determining a plurality of pixel units of the display panel according to the display mode comprises: and determining a plurality of pixel units of each subarea of the display panel according to the display mode of the subarea.
Optionally, the method for dividing the image into a plurality of sub-images comprises: dividing the image into a plurality of sub-images according to a preset size or image characteristics, wherein the image characteristics comprise the color, texture and shape of the image.
Optionally, in the first display mode, the method of computing the display data comprises a pixel rendering algorithm.
According to still another aspect of the present application, there is provided a data processing apparatus, wherein the data processing apparatus includes: a selection unit, configured to select a display mode to determine a plurality of pixel units of a display panel according to the display mode, where the display panel includes a plurality of sub-pixels arranged according to a preset rule, and each of the pixel units corresponds to a corresponding pixel point on an image and includes a plurality of corresponding sub-pixels; the mapping unit is connected with the selection unit and used for determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point; and a calculating unit connected to the mapping unit, and configured to obtain display data for driving the sub-pixels according to image data of the pixel points corresponding to the sub-pixels, where the display mode includes a first display mode in which at least one sub-pixel is shared by a plurality of the pixel units, and a second display mode in which each sub-pixel is included in only a corresponding one of the pixel units.
Optionally, the selecting unit is configured to select the corresponding display mode according to the display content of the image, where the first display mode is selected if the display content does not include any one of text, horizontal line, vertical line; and selecting the second display mode in the case that the display content includes at least one of a text, a horizontal line, and a vertical line, the data processing apparatus further comprising an input unit connected to the selection unit for inputting the image.
Optionally, the data processing apparatus further includes a processing unit connected between the input unit and the selection unit, for dividing the image to obtain a plurality of sub-images, the selection unit being configured to determine the display mode of the sub-image corresponding to the sub-area on the display panel according to the display content of each sub-image and determine the plurality of pixel units of the sub-area according to the display mode of each sub-area.
Optionally, the processing unit is configured to divide the image into a plurality of the sub-images according to a preset size or image characteristics, the image characteristics including color, texture, shape of the image.
Optionally, in the first display mode, the method of calculating the display data by the calculating unit includes a pixel rendering algorithm.
According to a third aspect of the present application there is provided a chip comprising a data processing apparatus as claimed in any one of the preceding claims.
According to the data processing method, the processing device and the chip, different display modes are selected to determine a plurality of pixel units on the display panel, and one sub-pixel corresponds to one/more pixel units and each pixel unit corresponds to one pixel point on an image under different display modes, so that the mapping mode of the sub-pixel and the pixel point can be flexibly selected, and the display quality is improved.
Further, the display mode is determined according to the display content of the image, the image can be further divided into a plurality of sub-images, and the display mode of the sub-image in the corresponding sub-area on the display panel is determined according to the display content of each sub-image, so that the degree of distinction of the pixel edges is better for the sub-images with the display content including the content of display characters, horizontal lines, vertical lines and the like; for the sub-images with display contents not including contents such as display characters, horizontal lines, vertical lines and the like, the resolution of display is higher, and the display effect is improved as a whole.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1a shows a schematic diagram of a first arrangement of sub-pixels;
FIG. 1b shows a schematic diagram of a second arrangement of sub-pixels;
FIG. 2 shows a schematic flow chart of a data processing method of a first embodiment of the present application;
FIG. 3 shows a schematic diagram of a first display mode;
FIG. 4 shows a schematic diagram of a second display mode;
Fig. 5 shows a schematic structural diagram of a data processing apparatus according to a second embodiment of the present application.
Detailed Description
Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. The same reference numbers will be used throughout the drawings to refer to the same or like parts. For clarity, the various features of the drawings are not drawn to scale.
Also, certain terms are used throughout the description and claims to refer to particular components. It will be appreciated by those of ordinary skill in the art that manufacturers may refer to a component by different names. The present patent specification and claims do not take the form of an element or components as a functional element or components as a rule.
It should be appreciated that in the following description, a "circuit" may include a single or multiple combined hardware circuits, programmable circuits, state machine circuits, and/or elements capable of storing instructions for execution by the programmable circuits. When an element or circuit is referred to as being "connected to" another element or circuit is "connected between" two nodes, it can be directly coupled or connected to the other element or intervening elements may be present, the connection between the elements may be physical, logical, or a combination thereof. In contrast, when an element is referred to as being "directly coupled to" or "directly connected to" another element, it means that there are no intervening elements present between the two.
Moreover, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In order to facilitate understanding of the present application, first, a brief description will be made of an application scenario related to the present application.
The basic display unit of an image is a pixel point, and the quality of the image is mainly influenced by the physical density of the pixel point (namely, the resolution of the image). Each pixel point represents the color attribute through the intensity values of the three primary colors of red, green and blue.
The basic display unit of the display panel is a pixel unit, and each pixel unit includes a red sub-pixel R, a green sub-pixel G, and a blue sub-pixel B as an example. The display effect of the display panel is mainly affected by the pixel cell density (i.e., the number of pixel cells per unit area). The display effect of the display panel can be changed by adjusting the distribution and/or arrangement of R, G, B sub-pixels on the display panel. FIG. 1a shows a schematic diagram of a first arrangement of sub-pixels; fig. 1b shows a schematic diagram of a second arrangement of sub-pixels.
In some embodiments of the display panel, as shown in fig. 1a, each R, G, B sub-pixel combination is arranged as a light group P, i.e., each light group P is a pixel unit. In this case, the pixels on the image correspond one by one to the lamp group P on the display panel, and thus the color and brightness of each pixel on the image can be accurately presented. However, since each sub-pixel needs to correspond to one LED lamp bead, the number of required LED lamp beads is large, and the cost is correspondingly high. And limited by the development of LED lamp bead assembly technology, the maximum resolution that can be supported by this type of display panel is comparatively limited.
In some embodiments of the display panel, as shown in FIG. 1b, each subpixel on the display panel is arranged separately. In fig. 1b, the odd-numbered rows of subpixels illustratively include R and G alternately arranged; the even-numbered rows of sub-pixels include G and B alternately arranged, and each sub-pixel is different in emission color from its adjacent sub-pixel. Each sub-pixel can form different pixel units with adjacent sub-pixels according to different combination modes, and display data of the sub-pixel is obtained through a rendering algorithm of pixel image data corresponding to the pixel units. In the display process, a picture is overlapped in human eyes by utilizing the persistence of vision of human eyes in cooperation with a scanning driving technology. Thus higher resolution display can be achieved with fewer lamp beads and lower power consumption.
In the display panel shown in fig. 1b, each pixel is displayed as a "virtual image point" formed by the phenomenon of human eye persistence of vision during the display process, and thus these pixel units are also referred to as virtual pixel units. And the color and brightness of the image pixel point cannot be accurately restored due to the 'virtual image point', and particularly, the problems of blurring and distortion occur when images such as characters, horizontal lines, vertical lines and the like are displayed.
Fig. 2 shows a schematic flow chart of a data processing method according to a first embodiment of the present application, and as shown in fig. 2, the data processing method provided by the present application includes the following steps:
Step S10, acquiring an image;
The image is composed of a plurality of pixel points, and each pixel point is composed of three colors of red, green and blue, and the color attribute of the pixel point is changed by adjusting the mixing proportion of the three colors of red, green and blue. Accordingly, the image data includes RGB values corresponding to each pixel point. Taking 8-bit image color (i.e. 256 levels of display color) as an example, if R, G, B values of a certain pixel point are (0, 0), the pixel point is black; if R, G, B of a pixel is (0, 255, 0), the pixel is green; if R, G, B of a pixel is (255, 255, 255), it indicates that the pixel is white.
Step S20, selecting a display mode;
In an embodiment of the present application, a display mode is determined according to display contents of an image. In an embodiment of the application, the display modes include a first display mode and a second display mode. When the display content of the image does not comprise any one of characters, horizontal lines and vertical lines, selecting a first display mode; when the display content of the image includes at least one of text, horizontal lines, vertical lines, then a second display mode is selected. The first display mode and the second display mode will be described in detail below.
Step S30, determining a plurality of pixel units of the display panel according to the selected display mode;
The display panel includes a plurality of sub-pixels arranged according to a preset rule.
The basic display unit of the display panel is a pixel unit, and each pixel unit corresponds to a corresponding pixel point on an image and comprises a plurality of corresponding sub-pixels.
Wherein, in the first display mode, at least one sub-pixel is shared by a plurality of pixel units; in the second display mode, each sub-pixel is included in only a corresponding one of the pixel units. For convenience of description, the pixel unit determined in the first display mode is referred to as a first pixel unit, and the pixel unit determined in the second display mode is referred to as a second pixel unit. And, for example, each of the first/second pixel units includes sub-pixels of three colors of red, green, and blue.
FIG. 3 shows a schematic diagram of a first display mode; fig. 4 shows a schematic diagram of a second display mode. The first display mode and the second display mode are further described below with reference to fig. 3 and 4.
The display panel includes, for example, a plurality of red sub-pixels R, a plurality of green sub-pixels G, and a plurality of blue sub-pixels B. The sub-pixels are arranged according to a preset rule. Illustratively, in fig. 3 or 4, the odd-numbered row subpixels of the display panel include red subpixels R and green subpixels G alternately arranged; the even-numbered row sub-pixels include green sub-pixels G and blue sub-pixels B alternately arranged, and for each sub-pixel, the color corresponding to the sub-pixel is different from the color corresponding to the sub-pixel adjacent in the horizontal direction or the vertical direction.
In the first display mode, each first pixel unit comprises R, G, B sub-pixels with three colors, and each sub-pixel is shared by a plurality of first pixel units. In some embodiments, referring to fig. 3, each first pixel unit includes a red sub-pixel R, a green sub-pixel G, and a blue sub-pixel B according to the arrangement of the sub-pixels on the display panel. Each red sub-pixel R/blue sub-pixel B is shared by four first pixel units, for example, for the blue sub-pixel B22 of the second row and the second column, the blue sub-pixel B22 is shared by four first pixel units P11, P12, P21, P22. Each green sub-pixel G is shared by two first pixel units, for example, for a green sub-pixel G23 of the second row and the third column, the green sub-pixel G23 is shared by two first pixel units P13 and P23.
In the second display mode, each second pixel unit comprises R, G, B sub-pixels with three colors, and each sub-pixel and only one second pixel unit corresponds to the sub-pixel. In some embodiments, referring to fig. 4, each of the second pixel units includes one red sub-pixel R, two green sub-pixels G, and one blue sub-pixel B according to the arrangement of the sub-pixels on the display panel.
It should be noted that, in the embodiment provided in the present application, the sub-pixels included in the first pixel unit/the second pixel unit are determined according to the arrangement manner of the sub-pixels on the display panel, but in the embodiment of the present application, the specific number of the sub-pixels of each color in each first pixel unit/second pixel unit is not limited (i.e., each first pixel unit/second pixel unit includes at least one red sub-pixel R, at least one green sub-pixel G, and at least one blue sub-pixel B). However, it should be appreciated that in some embodiments, the number of sub-pixels in a single first pixel cell/second pixel cell should be minimized to increase the number of first pixel cells/second pixel cells per unit area, thereby improving display quality.
Step S40, determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point;
The display process of the display panel is a mapping process of image data of each pixel point on the image to display data of each sub-pixel on the display panel. In the step, the mapping relation between each sub-pixel and the corresponding pixel point is determined according to the mapping relation between the pixel unit to which the sub-pixel belongs and the pixel point.
In the first display mode, each sub-pixel is shared by a plurality of first pixel units, and thus each sub-pixel corresponds to a plurality of adjacent pixel points on the image; in the second display mode, each sub-pixel has only one corresponding second pixel unit, and thus each sub-pixel corresponds to one pixel point on the image.
It should be noted that, since the resolution of the image is generally fixed, but the number of pixel units is different in different division modes, in some embodiments, further processing of the image is required, for example, the processing method includes scaling the image so that the number of pixel points on the image corresponds to the number of the first pixel units/the second pixel units, so as to determine the mapping relationship between each sub-pixel and the pixel point of the image.
Step S50, calculating display data of each sub-pixel according to the image data of the pixel point corresponding to the sub-pixel;
In the first display mode, each sub-pixel corresponds to a plurality of adjacent first pixel units, that is, a plurality of adjacent pixel points in the image, and display data of the sub-pixel is calculated based on the plurality of pixel point image data. In some embodiments, the display data of the sub-pixel may be obtained by a pixel rendering algorithm based on image data of each pixel point corresponding to a plurality of pixel units corresponding to the sub-pixel.
In the second display mode, each sub-pixel corresponds to a second pixel unit, that is, corresponds to a pixel point in the image, so that the display data of the sub-pixel is determined according to the image data of the pixel point.
According to the data processing method provided by the application, different display modes are selected to determine a plurality of pixel units on the display panel, and one sub-pixel corresponds to one/a plurality of pixel units and each pixel unit corresponds to one pixel point on an image under different display modes, so that the mapping mode of the sub-pixel and the pixel point can be flexibly selected, and the display quality is improved.
Further, in some embodiments, after the image is acquired in step S10, the method further includes the steps of: an image is divided into a plurality of sub-images. In this step, the image is divided into a plurality of sub-images according to a preset image dividing method. It should be understood, however, that the present application is not limited to a particular method of sub-image division, for example, in some embodiments, an image may be divided into a plurality of sub-images according to a preset size for ease of calculation; in other embodiments, the image may also be partitioned according to features (e.g., color, texture, shape) of the image to obtain multiple sub-images.
Correspondingly, the step S20 comprises a display step of determining a display panel and a sub-region corresponding to each sub-image according to the display content of each sub-image; when the sub-image display content does not include any one of text, horizontal lines, and vertical lines, a plurality of first pixel units are determined on the display panel in a sub-region corresponding to the sub-image, and at least one sub-pixel is shared by the plurality of first pixel units. When the sub-image display content includes at least one of text, horizontal lines, and vertical lines, a plurality of second pixel units are determined on the display panel corresponding to the sub-image sub-region, and each sub-pixel is included in only a corresponding one of the second pixel units.
And accordingly, step S30 includes determining a plurality of pixel units of each sub-region of the display panel according to a display mode of the sub-region.
The image is divided into a plurality of sub-images, and the display mode of the sub-image in the corresponding area on the display panel is determined according to the display content of each sub-image, so that the degree of distinction of the pixel edges is better for the sub-images with the display content comprising the content of display characters, horizontal lines, vertical lines and the like; for the sub-images with display contents not including contents such as display characters, horizontal lines, vertical lines and the like, the resolution of display is higher, and the display effect is improved as a whole.
Fig. 5 shows a schematic structural diagram of a data processing apparatus according to a second embodiment of the present application. As shown in fig. 5, the data processing apparatus 100 provided by the present application includes a selecting unit 130, a mapping unit 140, and a calculating unit 150.
And a selection unit 130 for selecting a display mode of the display panel to determine a plurality of pixel units of the display panel according to the display mode. The display panel comprises a plurality of sub-pixels arranged according to a preset rule, and each pixel unit corresponds to a corresponding pixel point on the image and comprises a plurality of corresponding sub-pixels. The display mode includes a first display mode in which at least one sub-pixel is shared by a plurality of pixel units, and a second display mode in which each sub-pixel is included in only a corresponding one of the pixel units. The first display mode, the second display mode, the first pixel unit corresponding to the first display mode, and the second pixel unit corresponding to the second display mode are described in detail above, and are not described herein.
The mapping unit 140 is connected to the selecting unit 130, and determines the mapping relationship between each sub-pixel and each pixel according to the mapping relationship between each pixel and each pixel. In the first display mode, each sub-pixel is shared by a plurality of first pixel units, and thus each sub-pixel corresponds to a plurality of adjacent pixel points on the image; in the second display mode, each sub-pixel has only one corresponding second pixel unit, and thus each sub-pixel corresponds to one pixel point on the image.
It should be noted that, since the resolution of the image is generally fixed, but the number of pixel units is different in different division modes, in some embodiments, further processing of the image is required, for example, the processing method includes scaling the image so that the number of pixel points on the image corresponds to the number of the first pixel units/the second pixel units, so as to determine the mapping relationship between each sub-pixel and the pixel point of the image.
The calculating unit 150 is connected to the mapping unit 140, and calculates display data of each sub-pixel according to image data of a pixel point corresponding to the sub-pixel. In the first display mode, each sub-pixel corresponds to a plurality of adjacent first pixel units, that is, a plurality of adjacent pixel points in the image, and display data of the sub-pixel is calculated based on the plurality of pixel point image data. In some embodiments, the display data of the sub-pixel may be obtained by a pixel rendering algorithm based on image data of each pixel point corresponding to a plurality of pixel units corresponding to the sub-pixel.
In some embodiments, the selection unit 130 detects display contents of the image to select a corresponding display mode. When the display content of the image does not comprise any one of characters, horizontal lines and vertical lines, determining a pixel unit according to the first display mode; when the display content of the image comprises any one of characters, horizontal lines and vertical lines, the pixel unit is determined according to the second display mode.
The data processing device thus further comprises an input unit 110 connected to the selection unit 130 for acquiring images. The image is composed of a plurality of pixel points, each pixel point is composed of three colors of red, green and blue, and each pixel point is enabled to display corresponding colors by adjusting the mixing proportion of the three colors of red, green and blue. Accordingly, the image data includes RGB values corresponding to each pixel point. Taking 8-bit image color (i.e. 256 levels of display color) as an example, if R, G, B values of a certain pixel point are (0, 0), the pixel point is black; if R, G, B of a pixel is (0, 255, 0), the pixel is green; if R, G, B of a pixel is (255, 255, 255), it indicates that the pixel is white.
According to the data processing method and the processing device, different display modes are selected to determine the plurality of pixel units on the display panel, and one sub-pixel corresponds to one/more pixel units and each pixel unit corresponds to one pixel point on an image under different display modes, so that the mapping mode of the sub-pixel and the pixel point can be flexibly selected, and the display quality is improved.
In some embodiments, in order to improve the overall display effect of the picture to be displayed, a processing unit 120 is further included between the input unit 110 and the selection unit 130, for dividing the image into a plurality of sub-images according to a preset image dividing method. The selection unit 130 thus determines the display mode of the display panel and the sub-region corresponding to each sub-image according to the display content of the sub-image, and determines the plurality of pixel units of the sub-region according to each sub-region display mode. It should be noted that the present application is not limited to a specific method of dividing the sub-image, for example, in some embodiments, for simplicity of calculation, the image may be divided into a plurality of sub-images according to a preset size; in other embodiments, the image may also be partitioned according to features (e.g., color, texture, shape) of the image to obtain multiple sub-images.
The image is divided into a plurality of sub-images, and the display mode of the sub-image in the corresponding sub-region on the display panel is determined according to the display content of each sub-image, so that the degree of distinction of the pixel edges is better for the sub-images with the display content comprising the content of display characters, horizontal lines, vertical lines and the like; for the sub-images with display contents not including contents such as display characters, horizontal lines, vertical lines and the like, the resolution of display is higher, and the display effect is improved as a whole.
Further, since the resolution of the image is generally fixed, but the number of pixel units is different in different division modes, in some embodiments, the processing unit 120 further needs to perform further processing on the image, for example, scaling the image, so that the number of pixel points on the image corresponds to the number of the first pixel units/the second pixel units, so as to determine the mapping relationship between each sub-pixel and the pixel point of the image.
In addition, the application also provides a chip comprising the data processing device, so that the chip has the beneficial effects and is not repeated herein.
Embodiments in accordance with the present invention, as described above, are not intended to be exhaustive or to limit the invention to the precise embodiments disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best utilize the invention and various modifications as are suited to the particular use contemplated. The scope of the invention should be determined by the following claims.
Claims (11)
1. A data processing method, wherein the data processing method comprises:
Selecting a display mode according to the display content of the image;
Determining a plurality of pixel units of a display panel according to the display mode, wherein the display panel comprises a plurality of sub-pixels which are uniformly arranged according to a preset rule, and each pixel unit corresponds to a corresponding pixel point on the image and comprises a plurality of corresponding sub-pixels;
Determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point; and
Obtaining display data for driving the sub-pixels according to the image data of the pixel points corresponding to the sub-pixels,
Wherein the display modes include a first display mode and a second display mode,
Selecting the first display mode when the display content does not comprise any one of characters, horizontal lines and vertical lines, wherein at least one sub-pixel is shared by a plurality of pixel units in the first display mode;
The second display mode is selected when the display content includes at least one of text, horizontal lines, vertical lines, and in the second display mode, each of the sub-pixels is included in only a corresponding one of the pixel units.
2. The data processing method of claim 1, wherein the method of selecting the display mode comprises:
The data processing method further includes acquiring the image before the selecting the display mode.
3. The data processing method according to claim 2, wherein,
After the image is acquired, the data processing method further includes: dividing the image into a plurality of sub-images,
The selecting a display mode includes: determining the display mode of the sub-image corresponding sub-region on the display panel according to the display content of each sub-image,
The determining a plurality of pixel units of a display panel according to the display mode includes: and determining a plurality of pixel units of each subarea of the display panel according to the display mode of the subarea.
4. A data processing method according to claim 3, wherein the method of dividing the image into a plurality of sub-images comprises: dividing the image into a plurality of sub-images according to a preset size or image characteristics, wherein the image characteristics comprise the color, texture and shape of the image.
5. The data processing method of claim 1, wherein in the first display mode, the method of computing the display data comprises a pixel rendering algorithm.
6. A data processing apparatus, wherein the data processing apparatus comprises:
A selection unit, configured to select a display mode according to display content of an image, so as to determine a plurality of pixel units of a display panel according to the display mode, where the display panel includes a plurality of sub-pixels uniformly arranged according to a preset rule, and each pixel unit corresponds to a corresponding pixel point on the image and includes a plurality of corresponding sub-pixels;
The mapping unit is connected with the selection unit and used for determining the mapping relation between each sub-pixel and each pixel point according to the mapping relation between each pixel unit and each pixel point; and
A calculating unit connected with the mapping unit and used for obtaining display data for driving the sub-pixels according to the image data of the pixel points corresponding to the sub-pixels,
Wherein the display modes include a first display mode and a second display mode,
Selecting the first display mode when the display content does not include any one of characters, horizontal lines and vertical lines, wherein at least one sub-pixel is shared by a plurality of pixel units in the first display mode;
The second display mode is selected when the display content includes at least one of text, horizontal lines, vertical lines, and in the second display mode, each of the sub-pixels is included in only a corresponding one of the pixel units.
7. The data processing apparatus according to claim 6, wherein,
The data processing device further comprises an input unit connected with the selection unit for inputting the image.
8. The data processing apparatus according to claim 7, wherein,
The data processing device further comprises a processing unit, connected between the input unit and the selection unit, for dividing the image to obtain a plurality of sub-images,
The selection unit is configured to determine the display mode of a sub-region corresponding to the sub-image on the display panel according to the display content of each sub-image and determine a plurality of pixel units of the sub-region according to the display mode of each sub-region.
9. The data processing apparatus according to claim 8, wherein the processing unit is configured to divide the image into a plurality of the sub-images according to a preset size or image characteristics including color, texture, shape of the image.
10. The data processing apparatus of claim 6, wherein in the first display mode, the method of computing the display data by the computing unit comprises a pixel rendering algorithm.
11. A chip comprising a data processing apparatus as claimed in any one of claims 6 to 10.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410294674.0A CN117894269B (en) | 2024-03-14 | 2024-03-14 | Data processing method, processing device and chip |
TW113139183A TW202507691A (en) | 2024-03-14 | 2024-10-15 | Data processing method, processing device and chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410294674.0A CN117894269B (en) | 2024-03-14 | 2024-03-14 | Data processing method, processing device and chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117894269A CN117894269A (en) | 2024-04-16 |
CN117894269B true CN117894269B (en) | 2024-07-02 |
Family
ID=90642990
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410294674.0A Active CN117894269B (en) | 2024-03-14 | 2024-03-14 | Data processing method, processing device and chip |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN117894269B (en) |
TW (1) | TW202507691A (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110767147A (en) * | 2019-10-30 | 2020-02-07 | 武汉天马微电子有限公司 | Display method of display panel, display panel and display device |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100436715B1 (en) * | 2002-11-04 | 2004-06-22 | 삼성에스디아이 주식회사 | Method of fast processing image data for improving reproducibility of image |
JP2008107378A (en) * | 2006-10-23 | 2008-05-08 | Epson Imaging Devices Corp | Electro-optical device and its drive method, and electric device |
GB2496113A (en) * | 2011-10-28 | 2013-05-08 | Sharp Kk | Multiple view window multi-primary display |
US11508286B2 (en) * | 2019-09-29 | 2022-11-22 | Wuhan Tianma Micro-Electronics Co., Ltd. | Method for driving a display panel, display driving device and electronic device |
CN111128078B (en) * | 2020-02-14 | 2021-05-11 | 京东方科技集团股份有限公司 | Electronic equipment, display panel, driving device and driving method thereof |
CN111369514B (en) * | 2020-02-28 | 2024-04-02 | 京东方科技集团股份有限公司 | Image segmentation mode detection method and device and display device |
JP2024517527A (en) * | 2021-04-27 | 2024-04-23 | 京東方科技集團股▲ふん▼有限公司 | PIXEL STRUCTURE AND DRIVING METHOD THEREOF, DISPLAY PANEL AND DISPLAY DEVICE |
CN116013186A (en) * | 2023-01-13 | 2023-04-25 | 昆山国显光电有限公司 | Driving method and driving device of display panel and computer readable storage medium |
-
2024
- 2024-03-14 CN CN202410294674.0A patent/CN117894269B/en active Active
- 2024-10-15 TW TW113139183A patent/TW202507691A/en unknown
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110767147A (en) * | 2019-10-30 | 2020-02-07 | 武汉天马微电子有限公司 | Display method of display panel, display panel and display device |
Also Published As
Publication number | Publication date |
---|---|
CN117894269A (en) | 2024-04-16 |
TW202507691A (en) | 2025-02-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110675835B (en) | Display panel driving method, display driving device and electronic equipment | |
TWI424752B (en) | Image color balance adjustment for display panels with 2d subpixel layouts | |
US9491446B2 (en) | Image processing device, image display device, image processing method, and image processing program | |
CN104900205B (en) | Liquid-crystal panel and drive method therefor | |
US20060221030A1 (en) | Displaying method and image display device | |
EP1424675A2 (en) | Display apparatus, method and program with selective image smoothing based on subpixel colour values | |
CN109256077B (en) | Display panel control method, device and readable storage medium | |
JP7332603B2 (en) | Display driving device and sub-pixel driving method | |
CN104835468A (en) | Liquid crystal panel and driving method therefor | |
WO2020103242A1 (en) | Array substrate and display panel | |
CN114267291B (en) | Gray scale data determination method, device, equipment and screen driving plate | |
WO2020103244A1 (en) | Pixel drive method, pixel drive apparatus, and computer device | |
US20040174320A1 (en) | Method and device for avoiding image misinterpretation due to defective pixels in a matrix display | |
US20220006997A1 (en) | Method for testing crosstalk of screen | |
KR101999546B1 (en) | Method of correcting colors, machine-implemented method for a multi-primary color matrix display apparatus, and imgae data signal processing apparatus | |
JP5879844B2 (en) | Image display device, image processing device | |
JP2001215938A (en) | Image display device and device equipped with the image display device | |
CN113707065B (en) | Display panel, driving method of display panel and electronic device | |
CN117894269B (en) | Data processing method, processing device and chip | |
CN104394391B (en) | The image processing method of the dot matrix image of collected by camera and system | |
CN109712578B (en) | Display method and display device | |
US10068535B2 (en) | Display apparatus and driving method thereof | |
CN116895220B (en) | Pixel arrangement structure, control method thereof and display device | |
CN115547230B (en) | Video data display processing method and device, micro display screen and storage medium | |
CN114694567B (en) | Gray scale value-based display data processing method, system and receiving card |
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 |