+

CN120164413A - A dynamic display method for sub-pixel LED display screen - Google Patents

A dynamic display method for sub-pixel LED display screen Download PDF

Info

Publication number
CN120164413A
CN120164413A CN202510535060.1A CN202510535060A CN120164413A CN 120164413 A CN120164413 A CN 120164413A CN 202510535060 A CN202510535060 A CN 202510535060A CN 120164413 A CN120164413 A CN 120164413A
Authority
CN
China
Prior art keywords
pixel
sub
brightness
image
pixels
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202510535060.1A
Other languages
Chinese (zh)
Inventor
陈都宝
青锡礼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Borui Display Technology Co ltd
Original Assignee
Guangdong Borui Display 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 Guangdong Borui Display Technology Co ltd filed Critical Guangdong Borui Display Technology Co ltd
Priority to CN202510535060.1A priority Critical patent/CN120164413A/en
Publication of CN120164413A publication Critical patent/CN120164413A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/22Control 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/30Control 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/32Control 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]
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control 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/2007Display of intermediate tones
    • G09G3/2074Display of intermediate tones using sub-pixels

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

本发明公开了一种亚像素LED显示屏动态显示方法,涉及LED显控技术领域,处理端使用嵌入式亚像素映射算法在图像空间中重建虚拟像素网格,将每个虚拟像素的颜色信息映射到相邻多个物理子像素,识别图像中的运动区域后,对运动区域的虚拟像素重构方式进行自适应调整,控制端根据虚拟像素映射结果与动态增强策略,生成控制各个物理子像素的驱动数据,并将驱动数据传输至LED模组以控制LED显示屏显示。该方法通过嵌入式亚像素映射算法重建虚拟像素网格,实现子像素级别的亮度与色彩独立控制,在相同硬件基础上构建更高像素密度的图像,并在整幅图像中实现“动静分离”的精细显示控制,提升整体图像感知质量。

The present invention discloses a sub-pixel LED display screen dynamic display method, which relates to the field of LED display control technology. The processing end uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in the image space, maps the color information of each virtual pixel to a plurality of adjacent physical sub-pixels, and after identifying the motion area in the image, adaptively adjusts the virtual pixel reconstruction method of the motion area. The control end generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and the dynamic enhancement strategy, and transmits the driving data to the LED module to control the display of the LED display screen. The method reconstructs the virtual pixel grid through the embedded sub-pixel mapping algorithm, realizes independent control of brightness and color at the sub-pixel level, constructs an image with higher pixel density on the basis of the same hardware, and realizes fine display control of "motion and static separation" in the entire image, thereby improving the overall image perception quality.

Description

Dynamic display method of sub-pixel LED display screen
Technical Field
The invention relates to the technical field of LED display control, in particular to a dynamic display method of a sub-pixel LED display screen.
Background
With the continuous development of information display technology, the LED display screen is widely applied in various fields such as advertising, stage performance, traffic guidance, security monitoring, intelligent terminals and the like, and particularly in scenes with higher requirements on display effects, people put forward higher demands on the aspects of definition, color reproducibility, dynamic response capability and the like of image display.
The prior art has the following defects:
1. The traditional LED display screen usually forms a complete pixel point by each group of red, green and blue sub-pixels, the display content is controlled based on the whole pixel, the independent display capability of each sub-pixel cannot be fully utilized, the number of physical pixels directly limits the resolution of an image, and particularly, the problems of blurred image edges and detail missing are obvious under the conditions of small-space LEDs or scenes (such as high-definition demonstration, vehicle-mounted instruments, teleconferences and the like) needing fine display;
2. In addition, the LED display screen generally performs interpolation reconstruction or sub-pixel mapping only on a single frame image, and does not fully utilize the pixel evolution rule between continuous frames, so that the pixel time multiplexing is insufficient, and the system cannot realize efficient precision enhancement when processing continuous dynamic pictures, especially has insufficient expressive force in application scenes needing high refresh and high response display.
Based on the method, the invention provides a dynamic display method of a sub-pixel LED display screen, virtual pixel grids are rebuilt through an embedded sub-pixel mapping algorithm, independent control of brightness and color of sub-pixel levels is realized, information of one virtual pixel is mapped into a plurality of physical sub-pixels, an image with higher pixel density is constructed on the basis of the same hardware, the definition of display and the fineness of image edges are greatly improved, fine display control of dynamic and static separation is realized in the whole image, and the perception quality of the whole image is improved.
Disclosure of Invention
The invention aims to provide a dynamic display method of a sub-pixel LED display screen, which aims to solve the defects in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme that the dynamic display method of the sub-pixel LED display screen comprises the following steps of:
The acquisition end receives externally input image frame data and performs preprocessing operation on the image frame data;
the processing end uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in an image space, maps the color information of each virtual pixel to a plurality of adjacent physical sub-pixels, and carries out self-adaptive adjustment on a virtual pixel reconstruction mode of a motion area after identifying the motion area in the image;
The control end generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and the dynamic enhancement strategy, and transmits the driving data to the LED module to control the display of the LED display screen.
In a preferred embodiment, after identifying a motion region in an image, adaptively adjusting a virtual pixel reconstruction mode of the motion region, including the following steps:
in the current frame and the previous frame, calculating the difference of brightness values or color values of corresponding pixel points, and obtaining a pixel variation amplitude matrix;
Marking the pixel points with the pixel change amplitude values larger than the motion threshold value as motion pixels, and forming a motion region mask:
dynamically adjusting a virtual pixel reconstruction strategy in a motion area based on the motion area mask;
And increasing the refreshing frequency priority of the motion region, increasing the refreshing times of the sub-pixels of the region, and increasing the brightness change rate of the sub-pixels.
In a preferred embodiment, a pixel change amplitude matrix is obtained, wherein D (x, y) = |F t(x,y)-Ft-1 (x, y) |, D (x, y) is a pixel change amplitude value, F t (x, y) is a current frame pixel brightness or color value, and F t-1 is a previous frame pixel brightness or color value;
forming a motion region mask: Where M (x, y) is a motion region mask, 1 represents a motion region, 0 represents a stationary region, and T m is a motion threshold.
In a preferred embodiment, the control end generates driving data for controlling each physical subpixel according to the mapping result of the virtual pixel and the dynamic enhancement strategy, and transmits the driving data to the LED module to control the LED display screen to display, including the following steps:
The control end obtains a virtual pixel mapping result of the current frame, wherein the virtual pixel mapping result comprises a physical sub-pixel set corresponding to each virtual pixel and a distance weight normalization value distributed by each sub-pixel;
generating driving data for each physical sub-pixel, wherein the driving data comprises sub-pixel coordinates, sub-pixel brightness values, luminous time sequences and refreshing frequency;
Encapsulating all the sub-pixel driving data according to time sequence to form a control frame, wherein the control frame comprises brightness + time sequence + frequency of all the sub-pixels and a synchronous signal head, and the control frame comprises frame synchronization, sub-pixel time sequence coordination and a refresh period covering display time;
The LED module receives the driving data, sets the brightness of the sub-pixels according to the driving instruction, controls the on and off time of luminescence, and circularly updates the state of the sub-pixels according to the appointed refresh frequency.
In a preferred embodiment, mapping the color information of each virtual pixel to an adjacent plurality of physical subpixels comprises the steps of:
For each sub-pixel in a physical sub-pixel set corresponding to a certain pixel point position in the virtual pixel grid, calculating the distance between the sub-pixel and the central position of the virtual pixel, determining brightness weights according to the distance, normalizing all weights, and obtaining a distance weight normalization value;
the color brightness values of the virtual pixels are distributed to the corresponding color channels of the adjacent sub-pixels according to the distance weight normalized values, and the expression is as follows: In the formula, Representing the luminance value of the sub-pixel,The luminance value representing the virtual pixel, W norm(xs,ys) is the distance weight normalized value, C ε { R, G, B }.
In a preferred embodiment, the processing end uses an embedded subpixel mapping algorithm to reconstruct a virtual pixel grid in image space, comprising the steps of:
obtaining the relation between the pixel density of an image and the distribution proportion of the sub-pixels of a display screen, dividing a virtual pixel grid in an image space according to the proportion of the pixel mapping density, wherein the mapping formula is as follows: wherein, (x s,ys) is the sub-pixel position of the physical LED module, (x v,yv) is the position of a pixel point in the virtual pixel grid, and S x、Sy is the scaling coefficient of the virtual pixel and the sub-pixel;
For each virtual pixel, a covered adjacent physical sub-pixel set is determined, and a coverage :C(xv,yv)={(xs,ys)∣|xs-xvSx|≤Δx,|ys-yvSy|≤Δy}, is defined, wherein C (x v,yv) is a physical sub-pixel set corresponding to a position (x v,yv) of a certain pixel point in the virtual pixel grid, and delta x、Δy represents the tolerance of the coverage.
In a preferred embodiment, the relationship between the pixel density of the acquired image and the distribution ratio of the sub-pixels of the display screen is expressed as follows: Wherein R d is the pixel mapping density ratio, which represents the space mapping ratio of the pixels of the input image and the actual sub-pixels, P r is the number of pixels in the input image per unit length, and P s is the number of sub-pixels in the LED module per unit length;
The calculation expression of the scaling coefficients of the virtual pixels and the sub-pixels is as follows: Where W s、Hs is the sub-pixel matrix width and height, and W v、Hv is the virtual pixel grid width and height.
In a preferred embodiment, the acquisition unit receives externally input image frame data, and performs a preprocessing operation on the image frame data, including the steps of:
Sampling the received original image frame data according to the resolution requirement of the LED display screen, performing color separation operation on the sampled image frame data, decomposing the color information of each pixel point into three channels of red, green and blue, and respectively storing the brightness value of each channel;
Carrying out gray level distribution analysis on the brightness values of the separated red, green and blue channels, counting the gray level distribution condition of each channel in the image frame, and extracting the brightness characteristic, contrast range and brightness gradient distribution of the image;
based on the gray distribution analysis result, extracting pixel information to be displayed in each frame of image, and determining color information of each pixel point in the current frame, wherein the color information comprises a target brightness value and a target color value;
The extracted color information of each pixel point is further split into three channels of a red sub-pixel, a green sub-pixel and a blue sub-pixel, so that a sub-pixel brightness matrix is formed.
In a preferred embodiment, gray level distribution analysis is performed on the brightness values of the three separated red, green and blue channels, the gray level distribution condition of each channel in the image frame is counted, and the brightness characteristics, the contrast range and the brightness gradient distribution of the image are extracted, including the following steps:
Respectively carrying out gray value statistics on the brightness value matrixes of the separated red, green and blue channels, calculating the distribution quantity of brightness values in each channel within the range of 0-255, and generating a gray histogram corresponding to each channel;
Calculating the average brightness value, the maximum brightness value, the minimum brightness value and the brightness variance of each channel according to the gray level histogram, and extracting the overall brightness level, the brightness contrast range and the brightness fluctuation characteristic;
judging the contrast uniformity and dynamic expression capacity of the image by combining the brightness contrast range and brightness fluctuation characteristics;
And carrying out space gradient calculation on the brightness matrixes of all channels, analyzing the brightness change rate between adjacent pixel points, generating an image brightness gradient map, and identifying a high gradient region and a low gradient region in the image.
In a preferred embodiment, performing spatial gradient calculation on each channel brightness matrix, analyzing brightness change rates between adjacent pixels, generating an image brightness gradient map, and identifying high gradient regions and low gradient regions in the image, comprising the following steps:
for the luminance matrix of each channel C, a horizontal gradient and a vertical gradient are calculated as: Wherein I C (x, y) is a luminance value at the pixel point (x, y), I C (x+1, y) is a luminance value at the pixel point (x+1, y), I C (x, y+1) is a luminance value at the pixel point (x, y+1), G C,x (x, y) is a horizontal luminance gradient value at the pixel point (x, y), and G C,y (x, y) is a vertical luminance gradient value at the pixel point (x, y);
The calculation expression of the brightness change rate is: Wherein G C (x, y) is the brightness change rate of the pixel points (x, y), and an image brightness gradient graph is constructed according to the brightness change rates of all the pixel points after calculating the brightness change rates of all the pixel points;
And comparing the brightness change rate of the pixel points with a preset change threshold, if the brightness change rate is greater than or equal to the change threshold, obtaining high-gradient pixel points, and if the brightness change rate is less than the change threshold, obtaining low-gradient pixel points, forming all the high-gradient pixel points into a high-gradient region, and forming all the low-gradient pixel points into a low-gradient region.
In the technical scheme, the invention has the technical effects and advantages that:
The invention receives externally input image frame data through an acquisition end, carries out preprocessing operation on the image frame data, uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in an image space, maps the color information of each virtual pixel to a plurality of adjacent physical sub-pixels, carries out self-adaptive adjustment on the virtual pixel reconstruction mode of a motion area after identifying the motion area in the image, and generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and a dynamic enhancement strategy by a control end and transmits the driving data to an LED module to control the display of an LED display screen. According to the method, the virtual pixel grid is rebuilt through an embedded sub-pixel mapping algorithm, independent control of brightness and color of sub-pixel levels is achieved, information of one virtual pixel is mapped to a plurality of physical sub-pixels, an image with higher pixel density is built on the basis of the same hardware, the display definition and the fineness of an image edge are greatly improved, fine display control of dynamic and static separation is achieved in the whole image, and the overall image perception quality is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings for a person having ordinary skill in the art.
FIG. 1 is a flow chart of a display method of the present invention.
Fig. 2 is a schematic diagram of a display method according to the present invention.
FIG. 3 is a timing diagram of a display method according to the present invention.
Fig. 4 is a brain chart of a display method of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Embodiment 1 referring to fig. 1-4, the present embodiment provides a dynamic display method for a sub-pixel LED display screen, the display method includes the following steps:
The method comprises the steps that an acquisition end receives externally input image frame data, preprocessing operation is carried out on the image frame data, the preprocessing operation comprises sampling, color separation and gray level distribution analysis, sub-pixel channel splitting (splitting is carried out according to three sub-pixel channels of red, green and blue) is carried out after pixel information of each frame of image is extracted (basic pixel information to be displayed in each frame is extracted), the processing end rebuilds a virtual pixel grid in an image space by using an embedded sub-pixel mapping algorithm based on pixel density of an input image and arrangement structure of each sub-pixel in a physical LED module, the color information of each virtual pixel is mapped to a plurality of adjacent physical sub-pixels through a dynamic distribution mapping model, brightness weight distribution is carried out on the adjacent physical sub-pixels, visual compensation is carried out between the continuous image frames, and in order to enhance the virtual pixel display effect, multi-frame pixel fusion technology is introduced in the method, and display content of the physical sub-pixels is time multiplexed between the continuous image frames. According to the vision persistence characteristic of human eyes, the system carries out smooth transition and superposition on the brightness of the sub-pixels in a plurality of adjacent frames to generate a dynamic fusion image, establishes an inter-frame synchronization mechanism to ensure complete restoration of the virtual pixels in a time domain, carries out self-adaptive adjustment on the virtual pixel reconstruction mode of the motion area after identifying the motion area in the image (based on the pixel change condition of the current image frame and the previous frame, carries out self-adaptive adjustment on the virtual pixel reconstruction mode of the motion area in real time by using a dynamic vision perception model). And transmitting the driving data to the LED module to control the display of the LED display screen.
The application receives externally input image frame data through an acquisition end, carries out preprocessing operation on the image frame data, uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in an image space, maps the color information of each virtual pixel to a plurality of adjacent physical sub-pixels, carries out self-adaptive adjustment on the virtual pixel reconstruction mode of a motion area after identifying the motion area in the image, and generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and a dynamic enhancement strategy by a control end and transmits the driving data to an LED module to control the display of an LED display screen. According to the method, the virtual pixel grid is rebuilt through an embedded sub-pixel mapping algorithm, independent control of brightness and color of sub-pixel levels is achieved, information of one virtual pixel is mapped to a plurality of physical sub-pixels, an image with higher pixel density is built on the basis of the same hardware, the display definition and the fineness of an image edge are greatly improved, fine display control of dynamic and static separation is achieved in the whole image, and the overall image perception quality is improved.
Embodiment 2. The acquisition terminal receives externally input image frame data, and performs preprocessing operation on the image frame data, wherein the preprocessing operation comprises sampling, color separation, gray level distribution analysis and sub-pixel channel splitting (splitting according to three sub-pixel channels of red, green and blue) after extracting pixel information of each frame of image (extracting basic pixel information to be displayed in each frame), and the preprocessing operation comprises the following steps:
Sampling the received original image frame data according to the resolution requirement of the LED display screen, ensuring that the image size is matched with the number of physical pixels of the display screen, or scaling and cutting according to a set proportion, and reserving an effective display area. And performing color separation operation on the sampled image frame data, decomposing the color information of each pixel point into three independent channels of red, green and blue, and respectively storing the brightness value of each channel as the basis of subsequent sub-pixel mapping.
Specifically, the color separation operation is performed on the sampled image frame data, the color information of each pixel point is decomposed into three independent channels of red, green and blue, and the brightness value of each channel is respectively stored as the basis of the subsequent sub-pixel mapping, and the method comprises the following steps:
The sampled image frame data is read row by row and column by column, and the original color information of each pixel point is extracted and is usually expressed in the form of RGB color values (R, G, B components).
And extracting red components in all pixel points, and constructing a red channel matrix according to the pixel position sequence. Each element in the matrix corresponds to a red luminance value of a corresponding pixel in the original image. And extracting green components in all pixel points, and constructing a green channel matrix according to the pixel position sequence. Each element in the matrix corresponds to a green luminance value of a corresponding pixel in the raw image. And extracting blue components in all the pixel points, and constructing a blue channel matrix according to the pixel position sequence. Each element in the matrix corresponds to the blue brightness value of the corresponding pixel point in the original image, and the realization code is as follows:
from PILimportImage
import numpy as np
# read image
Image_path= 'input_image. Jpg' # is replaced with your image path
image=Image.open(image_path).convert('RGB')
# Convert image into NumPy array
image_array=np.array(image)
# Extract red, green, blue channel matrix
Red_channel=image_array [: 0] # red channel matrix
Green_channel=image_array [: 1] # green channel matrix
Blue_channel= image_array [: (2) # blue channel matrix
# Output matrix shape (number of rows, columns)
print("Red Channel Matrix Shape:",red_channel.shape)
print("Green Channel Matrix Shape:",green_channel.shape)
print("Blue ChannelMatrix Shape:",blue_channel.shape)
# If needed to be saved as a separate gray scale image:
Image.fromarray(red_channel).save('red_channel.png')
Image.fromarray(green_channel).save('green_channel.png')
Image.fromarray(blue_channel).save('blue_channel.png')
In the code, the image_array [:, 0] is to extract the red components of all pixel points to form a red channel matrix. image_array [: 1] is a green channel matrix. image_array [: 2] is a blue channel matrix. PIL is used to open and save pictures, numPy efficiently process the pixel matrix.
And respectively storing the three channel matrixes of red, green and blue as input basic data of subsequent sub-pixel mapping, brightness adjustment and virtual pixel reconstruction, so as to ensure that the brightness values of all the sub-pixels can independently participate in subsequent image processing.
And carrying out gray level distribution analysis on the brightness values of the three separated red, green and blue channels, counting the gray level distribution condition of each channel in the image frame, extracting the brightness characteristic, the contrast range and the brightness gradient distribution of the image, facilitating the subsequent brightness weight distribution and virtual pixel mapping optimization, extracting the basic pixel information to be displayed in each frame of image based on the gray level distribution analysis result, determining the target brightness value and the target color value of each pixel point in the current frame, and providing complete pixel input data for sub-pixel reconstruction and virtual pixel mapping.
Specifically, gray level distribution analysis is performed on brightness values of three separated red, green and blue channels, gray level distribution conditions of each channel in an image frame are counted, image brightness characteristics, contrast ranges and brightness gradient distribution are extracted, basic pixel information to be displayed in each frame of image is extracted based on gray level distribution analysis results, and target brightness values and target color values of each pixel point in a current frame are determined, wherein the method comprises the following steps:
And respectively carrying out gray value statistics on brightness value matrixes of the red, green and blue channels after separation of any color channel C (R, G and B), calculating the distribution quantity of brightness values in each channel within a range of 0 to 255, generating a gray histogram corresponding to each channel, and reflecting the distribution characteristics of the current frame image on different brightness levels.
For a luminance value i e [0,255], the number of pixels of the luminance value is equal to the number of pixels of the luminance value i of the gray histogram H C (i) =pixel point, wherein i is the luminance value, and the value range is 0 to 255.
According to the gray histogram H C (i), an average luminance value, a maximum luminance value, a minimum luminance value, and a luminance variance of each channel are calculated, and the expression of the average luminance value is:
Wherein μ C is the average luminance value of channel C, the overall luminance level is reflected, N is the total number of pixels in channel C, i.e The expression of the maximum brightness value is I C,max=max{i∣HC (I) >0}, wherein I C,max is the maximum brightness value of the channel C, the expression of the minimum brightness value is I C,min=min{i∣HC (I) >0}, wherein I C,min is the minimum brightness value of the channel C, the brightness difference value is obtained by subtracting the minimum brightness value from the maximum brightness value, the brightness contrast range is reflected, and the expression of the brightness variance is: In the formula, The luminance variance of the channel C reflects the luminance fluctuation characteristic.
And extracting the overall brightness level, the brightness contrast range and the brightness fluctuation characteristic as reference bases for dynamic adjustment and sub-pixel mapping of the subsequent images.
And judging the contrast uniformity and dynamic expression capacity of the image by combining the brightness contrast range and the brightness fluctuation characteristic.
And (3) carrying out space gradient calculation on the brightness matrixes of all channels, analyzing the brightness change rate between adjacent pixel points, generating an image brightness gradient map, identifying high gradient areas (such as edges, details and motion areas) and low gradient areas (such as smooth and background portions) in the image, and providing partition basis for a virtual pixel reconstruction mode.
For the luminance matrix of each channel C, a horizontal gradient and a vertical gradient are calculated as: Wherein I C (x, y) is the luminance value at the pixel (x, y), I C (x+1, y) is the luminance value at the pixel (x+1, y), I C (x, y+1) is the luminance value at the pixel (x, y+1), G C,x (x, y) is the horizontal luminance gradient value at the pixel (x, y), G C,y (x, y) is the vertical luminance gradient value at the pixel (x, y), the calculation expression of the luminance change rate is: Wherein G C (x, y) is the brightness change rate of the pixel points (x, y), and an image brightness gradient graph is constructed according to the brightness change rates of all the pixel points after calculating the brightness change rates of all the pixel points;
And comparing the brightness change rate of the pixel points with a preset change threshold, if the brightness change rate is greater than or equal to the change threshold, obtaining high-gradient pixel points, and if the brightness change rate is less than the change threshold, obtaining low-gradient pixel points, forming all the high-gradient pixel points into a high-gradient region, and forming all the low-gradient pixel points into a low-gradient region.
And screening basic pixel information which needs to be displayed in a key way in each frame of image based on the gray level distribution, the brightness characteristic, the contrast range and the brightness gradient analysis result. The method comprises the steps of determining a target brightness value of each pixel point (optimized according to original brightness and gray level distribution), determining a target color value of each pixel point (adjusted according to original RGB components and contrast), marking a motion area or a high gradient area pixel point, and preparing for a follow-up self-adaptive sub-pixel reconstruction strategy.
The extracted color information of each basic pixel point is further split into three independent channels of a red sub-pixel, a green sub-pixel and a blue sub-pixel, an independent sub-pixel brightness matrix is formed, target brightness values of each sub-pixel are respectively stored, and preparation is made for subsequent sub-pixel mapping and driving control.
Specifically, the extracted color information of each basic pixel point is further split into three independent channels of a red sub-pixel, a green sub-pixel and a blue sub-pixel, so as to form an independent sub-pixel brightness matrix, and target brightness values of each sub-pixel are respectively stored, and the method comprises the following steps:
And traversing all basic pixel points in an image frame row by row, extracting target color information corresponding to each pixel point, including a target red brightness value, a target green brightness value and a target blue brightness value, extracting the target red brightness value in each pixel point, sequentially filling the red brightness value into a red sub-pixel brightness matrix according to the position sequence of the pixel in the image, sequentially extracting the target green brightness value in each pixel point, sequentially filling the green sub-pixel brightness matrix according to the position sequence of the pixel in the image, sequentially extracting the target blue brightness value of each element in the matrix, and sequentially filling the blue sub-pixel brightness matrix according to the position sequence of the pixel in the image, wherein each element in the matrix corresponds to the target blue brightness value of one sub-pixel in the current frame.
Let the input be image frame data in the form of height (width, 3), 3 channels (R, G, B), the R, G, B luminance values of each pixel point are the target luminance values, the range is 0-255, the specific code example is as follows:
import numpy as np
# assume that there is one input image frame (height, width, 3), and the R, G, B luminance value of each pixel ranges from 0 to 255
height,width=1080,1920
image_frame=np.random.randint(0,256,size=(height,width,3),dtype=np.uint8)
Step 1, extracting the luminance matrix of the red sub-pixel
R_matrix=image_frame [: 0] # 0 th channel (R)
#R_matrix.shape==(height,width)
Step # 2, extracting the luminance matrix of the green sub-pixel
G_matrix=image_frame [: 1] # 1 st channel (G)
#G_matrix.shape==(height,width)
Step #3, extracting the luminance matrix of the blue sub-pixel
B_matrix=image_frame [: 2] # get channel 2 (B)
#B_matrix.shape==(height,width)
# Verify output
Print ('red subpixel luminance matrix shape:', r_matrix. Shape)
Print ('Green subpixel luminance matrix shape:', G_matrix. Shape)
Print ('blue subpixel luminance matrix shape:', b_matrix. Shape)
In the above code, image_frame [: 0] represents the 0 th channel (R) for all pixels selected, image_frame [: 1] represents the 1 st channel (G) for all pixels selected, image_frame [: 2] represents the 2 nd channel (B) for all pixels selected, and each matrix after extraction is (height, width) corresponding to the target luminance value at each pixel location in the image.
The generated red sub-pixel brightness matrix, green sub-pixel brightness matrix and blue sub-pixel brightness matrix are respectively stored, so that each sub-pixel can independently and accurately participate in dynamic display control.
The processing end uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in an image space based on the pixel density of an input image and the arrangement structure of each sub-pixel in a physical LED module, and comprises the following steps:
acquiring the proportional relation between the pixel density of the image and the distribution of the sub-pixels of the display screen, the expression is: Wherein, R d is a pixel mapping density ratio, which represents a spatial mapping ratio of an input image pixel to an actual sub-pixel, P r is a pixel number (pixel density) of the input image per unit length, and P s is a sub-pixel number of the LED module per unit length.
Dividing a virtual pixel grid in an image space according to the pixel mapping density proportion, wherein a mapping formula is as follows: Wherein (x s,ys) is the sub-pixel position of the physical LED module, (x v,yv) is the position of a pixel point in the virtual pixel grid, S x、Sy is the scaling factor of the virtual pixel and the sub-pixel, and Where W s、Hs is the sub-pixel matrix width and height, and W v、Hv is the virtual pixel grid width and height.
For each virtual pixel, a coverage range :C(xv,yv)={(xs,ys)∣|xs-xvSx|≤Δx,|ys-yvSy|≤Δy}, is defined, where C (x v,yv) is a physical subpixel set corresponding to a position (x v,yv) of a certain pixel point in the virtual pixel grid, and Δ x、Δy represents a tolerance of the coverage range, and depending on a subpixel arrangement structure, such as an RGB stripe, an RGB rectangle, or a hexagonal arrangement, describes around a certain virtual pixel point, which physical subpixel points belong to its coverage range, where a distance between a physical subpixel (x s,ys) and an actual position (x vSx,yvSy) of the virtual pixel after mapping must be within a certain tolerance range Δ x、Δy, and the subpixel is considered to be a "coverage" range of the virtual pixel.
And determining the mapping relation between the virtual pixels and the physical sub-pixels according to the pixel density of the input image and the arrangement structure of the sub-pixels of the LED module, and establishing a virtual pixel grid, thereby realizing high-precision dynamic display control.
Mapping the color information of each virtual pixel to a plurality of adjacent physical sub-pixels through a dynamic distribution mapping model, and carrying out brightness weight distribution on the pixels, wherein the method comprises the following steps of:
For each sub-pixel in a physical sub-pixel set C (x v,yv) corresponding to a pixel point position in the virtual pixel grid, calculating the distance between the sub-pixel and the central position of the virtual pixel, and determining the brightness weight according to the distance, wherein the expression is as follows: Where w (x s,ys) is a distance weight, d (x s,ys) is a euclidean distance from a physical sub-pixel point to a virtual pixel center, and the calculation expression is: Where (x s,ys) is the physical sub-pixel location and (x vSx,yvSy) is the virtual pixel center location.
All weights are normalized to sum to 1, and the expression is calculated as:
Wherein, W norm(xs,ys) is a distance weight normalized value, W (x s,ys) is a distance weight, and the color brightness value of the virtual pixel is distributed to the corresponding color channel of the adjacent sub-pixel according to the distance weight normalized value, and the expression is: In the formula, Representing the luminance value of the sub-pixel,The luminance value representing the virtual pixel, W norm(xs,ys) is the distance weight normalized value, C ε { R, G, B }.
A multi-frame pixel fusion technology is introduced between the continuous image frames for visual compensation, and in order to enhance the virtual pixel display effect, the multi-frame pixel fusion technology is introduced in the method, namely, the display content of the physical sub-pixels is time multiplexed between the continuous image frames. According to the persistence of vision characteristic of human eyes, the system carries out smooth transition and superposition on the brightness of sub-pixels in a plurality of adjacent frames to generate a dynamic fusion image, establishes an inter-frame synchronization mechanism and ensures complete restoration of virtual pixels in a time domain, and comprises the following steps:
In the continuous N frames of images, respectively extracting the brightness value of each physical sub-pixel in each frame, distributing a time weight for each frame, and controlling the fusion proportion of brightness among multiple frames to be w a, a=0, 1, N-1, wherein w a is the time weight of the a frame of image, and According to the time weight, the brightness values of the same physical sub-pixel in the continuous frames are weighted and overlapped to generate a fused dynamic brightness value: In the formula, For the dynamic luminance value after the fusion,The color channel C e { R, G, B } luminance value for the subpixel s at the time of the t+a frame.
And applying the fused dynamic brightness value to the current display frame, improving the visual reduction effect of virtual pixels in time, and enhancing the display smoothness and dynamic performance by utilizing the visual persistence of human eyes.
After identifying the motion region in the image, performing adaptive adjustment on the virtual pixel reconstruction mode of the motion region (based on the pixel change condition of the current image frame and the previous frame, identifying the motion region in the image in real time, and performing adaptive adjustment on the virtual pixel reconstruction mode of the motion region by using a dynamic visual perception model, and for the high-speed motion region, preferentially distributing the refresh frequency and the subpixel weight, and reducing the problems of image smear, edge blurring and the like), including the following steps:
In the current frame and the previous frame, calculating the difference of the brightness value or the color value of the corresponding pixel point, and obtaining a pixel change amplitude matrix, wherein D (x, y) = |F t(x,y)-Ft-1 (x, y) |, D (x, y) is the pixel change amplitude value, F t (x, y) is the brightness value or the color value of the current frame pixel, and F t-1 is the brightness value or the color value of the previous frame pixel.
The pixel points with the pixel change amplitude values larger than the motion threshold (wherein the motion threshold comprises a color change threshold and a brightness change threshold), the motion threshold is the color change threshold when the pixel change amplitude matrix is the color change, and the motion threshold is the brightness change threshold when the pixel change amplitude matrix is the brightness change) are marked as the motion pixels, and a motion region mask is formed:
Wherein M (x, y) is a moving region mask, 1 is a moving region, 0 is a static region, T m is a moving threshold, D (x, y) is a pixel change amplitude value, and a virtual pixel reconstruction strategy in the moving region is dynamically adjusted based on the moving region mask, wherein refresh frequency priority is improved for the moving region, refresh times of sub-pixels in the region are increased, brightness change rate of the sub-pixels is increased, visual ghost is reduced, reference refresh frequency is kept, brightness of the sub-pixels is stabilized, redundant flash is avoided, brightness and contrast are balanced, static image quality is improved, refresh priority of physical sub-pixels in the region is improved according to the position and strength of the moving region, refresh frequency is dynamically allocated, and display smoothness in the moving region is preferentially ensured.
The control end generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and the dynamic enhancement strategy, wherein the driving data comprises the brightness value, the luminous time sequence and the refreshing frequency of the sub-pixel. Transmitting the driving data to the LED module to control the display of the LED display screen, comprising the following steps:
The control end obtains a virtual pixel mapping result of the current frame, wherein the virtual pixel mapping result comprises a physical sub-pixel set corresponding to each virtual pixel and a distance weight normalization value distributed by each sub-pixel;
Drive data is generated for each physical subpixel, the drive data including subpixel coordinates, subpixel luminance values, light emission timing (Start-time/End-time/Duty-Cycle), and refresh frequency, the code example being as follows:
Encapsulating all the sub-pixel driving data in time sequence to form a corresponding control Frame, and ensuring that: the Frame synchronization, the sub-pixel time sequence coordination and the refresh period completely cover the display time, the control Frame is shown as the following, the following is shown as the following, each Frame comprises all sub-pixel brightness + time sequence + frequency and synchronous signal heads, driving data are transmitted to an LED module in real time through a special LED control interface (such as SPI/LVDS/HUB 75/Ethernet), the bandwidth is ensured to be enough, the time delay is controllable, the data integrity and the time sequence synchronization are ensured, the LED module receives the driving data, the sub-pixel state is circularly updated according to the designated refresh frequency by setting the sub-pixel brightness, controlling the luminous on-off time, and realizing the smooth continuous and dynamic enhanced virtual pixel display effect through the human eye visual persistence effect.
It should be understood that the term "and/or" is merely an association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B, and may mean that a exists alone, while a and B exist alone, and B exists alone, wherein a and B may be singular or plural. In addition, the character "/" herein generally indicates that the associated object is an "or" relationship, but may also indicate an "and/or" relationship, and may be understood by referring to the context.
It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application. It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1.一种亚像素LED显示屏动态显示方法,其特征在于:所述显示方法包括以下步骤:1. A sub-pixel LED display screen dynamic display method, characterized in that: the display method comprises the following steps: 采集端接收外部输入的图像帧数据,对图像帧数据进行预处理操作;The acquisition end receives the image frame data input from the outside and performs preprocessing operations on the image frame data; 处理端使用嵌入式亚像素映射算法在图像空间中重建虚拟像素网格,将每个虚拟像素的颜色信息映射到相邻多个物理子像素,识别图像中的运动区域后,对运动区域的虚拟像素重构方式进行自适应调整;The processing end uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in the image space, maps the color information of each virtual pixel to multiple adjacent physical sub-pixels, and after identifying the motion area in the image, adaptively adjusts the virtual pixel reconstruction method of the motion area; 控制端根据虚拟像素映射结果与动态增强策略,生成控制各个物理子像素的驱动数据,并将驱动数据传输至LED模组以控制LED显示屏显示。The control end generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and the dynamic enhancement strategy, and transmits the driving data to the LED module to control the display of the LED display screen. 2.根据权利要求1所述的一种亚像素LED显示屏动态显示方法,其特征在于:识别图像中的运动区域后,对运动区域的虚拟像素重构方式进行自适应调整,包括以下步骤:2. A sub-pixel LED display screen dynamic display method according to claim 1, characterized in that: after identifying the motion area in the image, the virtual pixel reconstruction method of the motion area is adaptively adjusted, comprising the following steps: 在当前帧与前一帧中,计算对应像素点亮度值或颜色值的差异,获取像素变化幅度矩阵;In the current frame and the previous frame, the difference in brightness or color value of the corresponding pixel is calculated to obtain the pixel change amplitude matrix; 将像素变化幅度值大于运动阈值的像素点标记为运动像素,并形成运动区域掩模:Pixels whose pixel change amplitude is greater than the motion threshold are marked as motion pixels, and a motion area mask is formed: 基于运动区域掩模,对运动区域内的虚拟像素重构策略进行动态调整;Based on the motion region mask, the virtual pixel reconstruction strategy in the motion region is dynamically adjusted; 对于运动区域提高刷新频率优先级,增加该区域子像素的刷新次数,增加子像素亮度变化速率。For the motion area, the refresh frequency priority is increased, the refresh times of the sub-pixels in the area are increased, and the sub-pixel brightness change rate is increased. 3.根据权利要求2所述的一种亚像素LED显示屏动态显示方法,其特征在于:获取像素变化幅度矩阵:D(x,y)=|Ft(x,y)-Ft-1(x,y)|,式中,D(x,y)为像素变化幅度值,Ft(x,y)为当前帧像素亮度或颜色值,Ft-1为前一帧像素亮度或颜色值;3. A sub-pixel LED display screen dynamic display method according to claim 2, characterized in that: obtaining a pixel change amplitude matrix: D(x,y)=| Ft (x,y)-Ft -1 (x,y)|, wherein D(x,y) is the pixel change amplitude value, Ft (x,y) is the current frame pixel brightness or color value, and Ft -1 is the previous frame pixel brightness or color value; 形成运动区域掩模:式中,M(x,y)为运动区域掩模,1表示运动区域,0表示静止区域,Tm为运动阈值。Form the motion region mask: Where M(x, y) is the motion area mask, 1 represents the motion area, 0 represents the static area, and Tm is the motion threshold. 4.根据权利要求3所述的一种亚像素LED显示屏动态显示方法,其特征在于:控制端根据虚拟像素映射结果与动态增强策略,生成控制各个物理子像素的驱动数据,并将驱动数据传输至LED模组以控制LED显示屏显示,包括以下步骤:4. A sub-pixel LED display screen dynamic display method according to claim 3, characterized in that: the control end generates driving data for controlling each physical sub-pixel according to the virtual pixel mapping result and the dynamic enhancement strategy, and transmits the driving data to the LED module to control the LED display screen display, comprising the following steps: 控制端获取当前帧的虚拟像素映射结果,包括每个虚拟像素对应的物理子像素集合以及每个子像素分配的距离权重归一化值;The control end obtains the virtual pixel mapping result of the current frame, including the set of physical sub-pixels corresponding to each virtual pixel and the normalized distance weight value assigned to each sub-pixel; 为每个物理子像素生成驱动数据,驱动数据包含子像素坐标、子像素亮度值、发光时序以及刷新频率;Generate driving data for each physical sub-pixel, the driving data including sub-pixel coordinates, sub-pixel brightness value, light emission timing and refresh frequency; 将所有子像素驱动数据按时间顺序封装形成控制帧,控制帧的帧间同步、子像素时序协调、刷新周期覆盖显示时间,控制帧包含所有子像素亮度+时序+频率以及同步信号头;All sub-pixel driving data are packaged in time sequence to form a control frame. The inter-frame synchronization, sub-pixel timing coordination, and refresh cycle of the control frame cover the display time. The control frame contains all sub-pixel brightness + timing + frequency and synchronization signal header; 通过LED控制接口将驱动数据实时传输到LED模组,LED模组接收驱动数据后按驱动指令设定子像素亮度、控制发光开启与关闭时间、按指定刷新频率循环更新子像素状态。The driving data is transmitted to the LED module in real time through the LED control interface. After receiving the driving data, the LED module sets the sub-pixel brightness according to the driving instructions, controls the light on and off time, and cyclically updates the sub-pixel status at the specified refresh frequency. 5.根据权利要求4所述的一种亚像素LED显示屏动态显示方法,其特征在于:将每个虚拟像素的颜色信息映射到相邻多个物理子像素,包括以下步骤:5. A sub-pixel LED display screen dynamic display method according to claim 4, characterized in that: mapping the color information of each virtual pixel to a plurality of adjacent physical sub-pixels comprises the following steps: 对于虚拟像素网格内某像素点位置对应的物理子像素集合中的每个子像素,计算其与虚拟像素中心位置的距离,依据距离确定亮度权重,对所有权重进行归一化,获取距离权重归一化值;For each sub-pixel in the physical sub-pixel set corresponding to a pixel point position in the virtual pixel grid, calculate the distance between the sub-pixel and the center position of the virtual pixel, determine the brightness weight according to the distance, normalize all the weights, and obtain the distance weight normalization value; 将虚拟像素的颜色亮度值按距离权重归一化值分配到相邻子像素的对应颜色通道上,表达式为:式中,表示子像素的亮度值,表示虚拟像素的亮度值,Wnorm(xs,ys)为距离权重归一化值,C∈{R,G,B}。The color brightness value of the virtual pixel is assigned to the corresponding color channel of the adjacent sub-pixel according to the distance weight normalized value. The expression is: In the formula, represents the brightness value of the sub-pixel, represents the brightness value of the virtual pixel, W norm (x s ,y s ) is the distance weight normalized value, C∈{R,G,B}. 6.根据权利要求1所述的一种亚像素LED显示屏动态显示方法,其特征在于:处理端使用嵌入式亚像素映射算法在图像空间中重建虚拟像素网格,包括以下步骤:6. A sub-pixel LED display screen dynamic display method according to claim 1, characterized in that: the processing end uses an embedded sub-pixel mapping algorithm to reconstruct a virtual pixel grid in the image space, comprising the following steps: 获取图像像素密度与显示屏子像素分布比例关系,根据像素映射密度比例在图像空间内划分虚拟像素网格,映射公式为:式中,(xs,ys)为物理LED模组子像素位置,(xv,yv)为虚拟像素网格内某像素点位置,Sx、Sy为虚拟像素与子像素的比例缩放系数;Obtain the relationship between the image pixel density and the sub-pixel distribution ratio of the display screen, and divide the virtual pixel grid in the image space according to the pixel mapping density ratio. The mapping formula is: Where ( xs , ys ) is the physical LED module sub-pixel position, ( xv , yv ) is the position of a pixel point in the virtual pixel grid, Sx , Sy are the scaling factors of the virtual pixel and sub-pixel; 对于每个虚拟像素,确定覆盖的相邻物理子像素集合,定义覆盖范围:C(xv,yv)={(xs,ys)∣|xs-xvSx|≤Δx,|ys-yvSy|≤Δy},式中,C(xv,yv)为虚拟像素网格内某像素点位置(xv,yv)对应的物理子像素集合,Δx、Δy表示覆盖范围的容差。For each virtual pixel, determine the set of adjacent physical sub-pixels that it covers, and define the coverage range: C( xv , yv ) = {( xs , ys )|| xs - xvSx | ≤Δx ,| ys - yvSy | ≤Δy }, where C( xv , yv ) is the set of physical sub-pixels corresponding to a pixel position ( xv , yv ) in the virtual pixel grid, and Δx and Δy represent the tolerance of the coverage range. 7.根据权利要求6所述的一种亚像素LED显示屏动态显示方法,其特征在于:获取图像像素密度与显示屏子像素分布比例关系,表达式为:式中,Rd为像素映射密度比例,表示输入图像像素与实际子像素的空间映射比例,Pr为输入图像每单位长度内的像素数量,Ps为LED模组每单位长度内的子像素数量;7. A sub-pixel LED display screen dynamic display method according to claim 6, characterized in that: the relationship between the image pixel density and the sub-pixel distribution ratio of the display screen is obtained, and the expression is: Where Rd is the pixel mapping density ratio, which indicates the spatial mapping ratio of the input image pixels to the actual sub-pixels, Pr is the number of pixels per unit length of the input image, and Ps is the number of sub-pixels per unit length of the LED module; 虚拟像素与子像素的比例缩放系数的计算表达式为: 式中,Ws、Hs为子像素矩阵宽高,Wv、Hv为虚拟像素网格宽高。The calculation expression of the scaling factor of virtual pixel to sub-pixel is: Where Ws and Hs are the width and height of the sub-pixel matrix, and Wv and Hv are the width and height of the virtual pixel grid. 8.根据权利要求5所述的一种亚像素LED显示屏动态显示方法,其特征在于:采集端接收外部输入的图像帧数据,对图像帧数据进行预处理操作,包括以下步骤:8. A sub-pixel LED display screen dynamic display method according to claim 5, characterized in that: the acquisition end receives the image frame data input from the outside and performs a pre-processing operation on the image frame data, comprising the following steps: 对接收到的原始图像帧数据按照LED显示屏的分辨率要求进行采样,对采样后的图像帧数据进行颜色分离操作,将每个像素点的颜色信息分解为红色、绿色和蓝色三个通道,分别保存每个通道的亮度值;The received original image frame data is sampled according to the resolution requirements of the LED display screen, and the sampled image frame data is subjected to color separation operation, the color information of each pixel is decomposed into three channels of red, green and blue, and the brightness value of each channel is saved respectively; 对分离后的红、绿、蓝三个通道的亮度值进行灰度分布分析,统计图像帧内每个通道的灰度值分布情况,提取图像亮度特性、对比度范围和亮度梯度分布;Perform grayscale distribution analysis on the brightness values of the separated red, green and blue channels, calculate the grayscale value distribution of each channel in the image frame, and extract the image brightness characteristics, contrast range and brightness gradient distribution; 基于灰度分布分析结果,提取每一帧图像中需要显示的像素信息,确定每个像素点在当前帧中的颜色信息,颜色信息包括目标亮度值和目标颜色值;Based on the grayscale distribution analysis results, the pixel information to be displayed in each frame of the image is extracted, and the color information of each pixel in the current frame is determined. The color information includes the target brightness value and the target color value. 将提取到的每个像素点的颜色信息,进一步拆分为红色子像素、绿色子像素和蓝色子像素三个通道,形成子像素亮度矩阵。The extracted color information of each pixel is further split into three channels: red sub-pixel, green sub-pixel and blue sub-pixel to form a sub-pixel brightness matrix. 9.根据权利要求8所述的一种亚像素LED显示屏动态显示方法,其特征在于:对分离后的红、绿、蓝三个通道的亮度值进行灰度分布分析,统计图像帧内每个通道的灰度值分布情况,提取图像亮度特性、对比度范围和亮度梯度分布,包括以下步骤:9. A sub-pixel LED display screen dynamic display method according to claim 8, characterized in that: grayscale distribution analysis is performed on the brightness values of the separated red, green and blue channels, the grayscale value distribution of each channel in the image frame is counted, and the image brightness characteristics, contrast range and brightness gradient distribution are extracted, comprising the following steps: 对分离后的红、绿、蓝三个通道的亮度值矩阵,分别进行灰度值统计,计算每个通道内亮度值在0至255范围内的分布数量,生成每个通道对应的灰度直方图;The grayscale values of the brightness value matrices of the separated red, green and blue channels are counted respectively, and the distribution number of brightness values in each channel within the range of 0 to 255 is calculated to generate the grayscale histogram corresponding to each channel; 根据灰度直方图,计算每个通道的平均亮度值、最大亮度值、最小亮度值以及亮度方差,提取整体亮度水平、亮度对比度范围和亮度波动特性;According to the grayscale histogram, the average brightness value, maximum brightness value, minimum brightness value and brightness variance of each channel are calculated to extract the overall brightness level, brightness contrast range and brightness fluctuation characteristics; 结合亮度对比度范围和亮度波动特性判断图像的对比度均匀性与动态表现能力;Combine the brightness contrast range and brightness fluctuation characteristics to judge the contrast uniformity and dynamic performance of the image; 对各通道亮度矩阵进行空间梯度计算,分析相邻像素点之间的亮度变化速率,生成图像亮度梯度图,并识别图像中的高梯度区域和低梯度区域。The spatial gradient of the brightness matrix of each channel is calculated, the brightness change rate between adjacent pixels is analyzed, the image brightness gradient map is generated, and the high gradient area and low gradient area in the image are identified. 10.根据权利要求9所述的一种亚像素LED显示屏动态显示方法,其特征在于:对各通道亮度矩阵进行空间梯度计算,分析相邻像素点之间的亮度变化速率,生成图像亮度梯度图,并识别图像中的高梯度区域和低梯度区域,包括以下步骤:10. A sub-pixel LED display screen dynamic display method according to claim 9, characterized in that: performing spatial gradient calculation on the brightness matrix of each channel, analyzing the brightness change rate between adjacent pixels, generating an image brightness gradient map, and identifying high gradient areas and low gradient areas in the image, comprising the following steps: 对于每个通道C的亮度矩阵,计算水平梯度和垂直梯度,表达式为:式中,IC(x,y)为像素点(x,y)处的亮度值,IC(x+1,y)为像素点(x+1,y)处的亮度值,IC(x,y+1)为像素点(x,y+1)处的亮度值,GC,x(x,y)为像素点(x,y)处的水平方向亮度梯度值,GC,y(x,y)为像素点(x,y)处的垂直方向亮度梯度值;For the brightness matrix of each channel C, the horizontal gradient and vertical gradient are calculated, and the expression is: Where IC (x, y) is the brightness value at the pixel point (x, y), IC (x+1, y) is the brightness value at the pixel point (x+1, y), IC (x, y+1) is the brightness value at the pixel point (x, y+1), GC ,x (x, y) is the horizontal brightness gradient value at the pixel point (x, y), and GC ,y (x, y) is the vertical brightness gradient value at the pixel point (x, y); 亮度变化速率的计算表达式为:式中,GC(x,y)为像素点(x,y)处亮度变化速率,计算所有像素点的亮度变化速率后,依据所有像素点的亮度变化速率构建图像亮度梯度图;The calculation expression of brightness change rate is: Where G C (x, y) is the brightness change rate at the pixel point (x, y). After calculating the brightness change rate of all pixels, the image brightness gradient map is constructed based on the brightness change rate of all pixels. 将像素点亮度变化速率与预设的变化阈值进行比较,若亮度变化速率大于等于变化阈值,为高梯度像素点,若亮度变化速率小于变化阈值,为低梯度像素点,将所有高梯度像素点组成高梯度区域,所有低梯度像素点组成低梯度区域。Compare the pixel brightness change rate with the preset change threshold. If the brightness change rate is greater than or equal to the change threshold, it is a high-gradient pixel. If the brightness change rate is less than the change threshold, it is a low-gradient pixel. All high-gradient pixels are grouped into a high-gradient region, and all low-gradient pixels are grouped into a low-gradient region.
CN202510535060.1A 2025-04-27 2025-04-27 A dynamic display method for sub-pixel LED display screen Pending CN120164413A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202510535060.1A CN120164413A (en) 2025-04-27 2025-04-27 A dynamic display method for sub-pixel LED display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202510535060.1A CN120164413A (en) 2025-04-27 2025-04-27 A dynamic display method for sub-pixel LED display screen

Publications (1)

Publication Number Publication Date
CN120164413A true CN120164413A (en) 2025-06-17

Family

ID=96004006

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202510535060.1A Pending CN120164413A (en) 2025-04-27 2025-04-27 A dynamic display method for sub-pixel LED display screen

Country Status (1)

Country Link
CN (1) CN120164413A (en)

Similar Documents

Publication Publication Date Title
JP4116330B2 (en) Image processor and image processing method for combining different graphics formats in a digital video pipeline
CN113823234B (en) RGB Mini-LED field sequence backlight control system and method
US5153576A (en) Mapping of color images to black-and-white textured images
CN102663741B (en) Method for carrying out visual stereo perception enhancement on color digit image and system thereof
RU2312404C2 (en) Hardware acceleration of graphical operations during construction of images based on pixel sub-components
US20050083348A1 (en) Type size dependent anti-aliasing in sub-pixel precision rendering systems
CN114071150B (en) Image compression method and device, image display method and device and medium
CN106506983A (en) A HDR video generation method suitable for LDR video
US7352373B2 (en) Systems and methods for multi-dimensional dither structure creation and application
CN105070270B (en) The compensation method of RGBW panel sub-pixels and device
CN113596573A (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CA2611676A1 (en) Terrain map summary elements
CN106997608A (en) A kind of method and device for generating halation result figure
CN106991959B (en) Image processing method and device for L ED display screen
CN105913794A (en) LED virtual display model
CN120164413A (en) A dynamic display method for sub-pixel LED display screen
CN118870207A (en) A method, system and device for processing automatic white balance of an image
CN113378923A (en) Image generation device acquisition method and image generation device
CN113068011A (en) Image sensor, image processing method and system
CN117911604A (en) Neural radiation field training and rendering acceleration method based on sampling optimization
US20050046631A1 (en) System and method for communicating digital display data and auxiliary processing data within a computer graphics system
CN1241161C (en) Method and apparatus for processing video pictures
Pyun et al. CNN-based subpixel rendering technique with additional pixel arrangement information for high quality displays
CN105989793A (en) Pixel array, organic light emitting diode display and method for presenting images on the display
CN113014839B (en) Self-adaptive ring Jing Guangshi method

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载