CN114237472A - Display method and device suitable for different LED display screens and LED display screen - Google Patents

Display method and device suitable for different LED display screens and LED display screen Download PDF

Info

Publication number
CN114237472A
CN114237472A CN202210168638.0A CN202210168638A CN114237472A CN 114237472 A CN114237472 A CN 114237472A CN 202210168638 A CN202210168638 A CN 202210168638A CN 114237472 A CN114237472 A CN 114237472A
Authority
CN
China
Prior art keywords
image
frame
resolution
pixel points
displayed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210168638.0A
Other languages
Chinese (zh)
Other versions
CN114237472B (en
Inventor
余成文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yuer Technology Co ltd
Original Assignee
Shenzhen Yuer 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 Shenzhen Yuer Technology Co ltd filed Critical Shenzhen Yuer Technology Co ltd
Priority to CN202210168638.0A priority Critical patent/CN114237472B/en
Publication of CN114237472A publication Critical patent/CN114237472A/en
Application granted granted Critical
Publication of CN114237472B publication Critical patent/CN114237472B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4023Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The disclosure relates to a display method and device suitable for different LED display screens and the LED display screens. The method comprises the following steps: receiving an image to be displayed, and acquiring the number of display lattices of an LED display screen for displaying the image to be displayed; acquiring the number of original dot matrixes required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed; determining a scaling coefficient aiming at the image to be displayed according to the original lattice quantity and the display lattice quantity; and adjusting each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image to obtain a target display image for each frame, and displaying the target display image. The image to be displayed can adapt to the LED display screens with different sizes, and the visual effect is improved.

Description

Display method and device suitable for different LED display screens and LED display screen
Technical Field
The disclosure relates to the technical field of LED display screens, in particular to a display method and device suitable for different LED display screens and an LED display screen.
Background
An LED display screen is a display screen for displaying various information such as characters, graphics, images, animation, quotation, video, and video signals by controlling a display mode of a semiconductor light emitting diode, and is frequently used in occasions such as events and wedding.
For the LED display screen, the number of dot matrixes forming the LED display screen is different under different occasions, and generally, images, graphs and the like are displayed on the LED display screen with other sizes according to the size of the display screen of the original acquisition or recording equipment, so that the image size is not matched with the size of the LED display screen easily, the proportion of watching and displaying the images by a viewer is influenced, and the user experience is poor.
Disclosure of Invention
Therefore, it is necessary to provide a display method and device suitable for different LED display screens and an LED display screen, aiming at the problem that the image size is not matched with the size of the LED display screen, which affects the ratio of the viewer to view the displayed image and causes poor user experience.
In a first aspect of the present disclosure, a display method adapted to different LED display screens is provided, including:
receiving an image to be displayed, and acquiring the number of display lattices of an LED display screen for displaying the image to be displayed;
acquiring the number of original dot matrixes required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed;
determining a scaling coefficient aiming at the image to be displayed according to the original lattice quantity and the display lattice quantity;
and adjusting each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image to obtain a target display image for each frame, and displaying the target display image.
In one embodiment, the step of adjusting each frame of image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame of image to obtain a target display image for each frame includes:
under the condition that the scaling coefficient is larger than 1, calculating the average resolution of the pixel points of each frame of image according to the resolution of the pixel points of each frame of image;
determining pixel points to be eliminated in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient;
and eliminating the pixel points to be eliminated to obtain a target display image for each frame.
In one embodiment, the step of determining a pixel point to be removed in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient includes:
determining the number of layers of an optical flow pyramid according to the average resolution corresponding to each frame image, constructing an optical flow pyramid according to the number of layers of the optical flow pyramid, determining the optimal optical flow of the highest layer of the optical flow pyramid according to the average resolution and the resolution of the pixel points with the resolution lower than the average resolution, calculating an optical flow vector according to the optimal optical flow and the number of the layers of the optical flow pyramid, and determining the first pixel points to be eliminated from the pixel points with the resolution lower than the average resolution according to the optical flow vector;
calculating cumulative probability distribution of pixel points with resolution greater than or equal to the average resolution, and determining second pixel points to be eliminated from the pixel points with resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
the pixel points to be rejected comprise the first pixel points to be rejected and the second pixel points to be rejected.
In one embodiment, the step of determining, according to the scaling factor, the cumulative probability distribution, and a preset target value corresponding to the cumulative probability distribution, a second pixel to be eliminated from pixels having a resolution greater than or equal to the average resolution includes:
determining candidate pixel points to be eliminated from the pixel points with the resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
determining whether the candidate pixel point to be rejected and the first pixel point to be rejected are adjacent pixel points according to the display coordinates of the candidate pixel point to be rejected in the image to be displayed and the display coordinates of the first pixel point to be rejected in the image to be displayed;
and taking the candidate pixel point to be rejected and the pixel point of which the first pixel point to be rejected is not an adjacent pixel point as the second pixel point to be rejected.
In one embodiment, the step of adjusting each frame of image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame of image to obtain a target display image for each frame includes:
under the condition that the scaling coefficient is smaller than 1, calculating the pixel value variance and the mean value of pixel points in each frame of image in the image to be displayed;
determining an image boundary extension value and a mapping window boundary extension value according to the scaling coefficient, the pixel value variance and the mean value;
and according to the image boundary extension value and the mapping window boundary extension value, performing image boundary extension and mapping window boundary extension on the frame image to obtain a target display image for each frame.
In a second aspect of the present invention, a display device adapted to different LED display screens is provided, which includes:
the display device comprises a receiving module, a display module and a display module, wherein the receiving module is configured to be used for receiving an image to be displayed and acquiring the number of display lattices of an LED display screen for displaying the image to be displayed;
the acquisition module is configured to acquire the number of original lattices required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed;
a determining module configured to determine a scaling factor for the image to be displayed according to the original number of lattices and the number of display lattices;
and the display module is configured to adjust each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image, obtain a target display image for each frame, and display the target display image.
In one embodiment, the display module includes:
the first calculation submodule is configured to calculate the average resolution of the pixel points of each frame of image according to the resolution of the pixel points of each frame of image under the condition that the scaling coefficient is greater than 1;
the second determining submodule is configured to determine to-be-eliminated pixel points in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient;
and the eliminating submodule is configured to eliminate the pixel points to be eliminated to obtain a target display image for each frame.
In one embodiment, the determining sub-module is configured to:
determining the number of layers of an optical flow pyramid according to the average resolution corresponding to each frame image, constructing an optical flow pyramid according to the number of layers of the optical flow pyramid, determining the optimal optical flow of the highest layer of the optical flow pyramid according to the average resolution and the resolution of the pixel points with the resolution lower than the average resolution, calculating an optical flow vector according to the optimal optical flow and the number of the layers of the optical flow pyramid, and determining the first pixel points to be eliminated from the pixel points with the resolution lower than the average resolution according to the optical flow vector;
calculating cumulative probability distribution of pixel points with resolution greater than or equal to the average resolution, and determining second pixel points to be eliminated from the pixel points with resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
the pixel points to be rejected comprise the first pixel points to be rejected and the second pixel points to be rejected.
In one embodiment, according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution, candidate pixels to be eliminated are determined from pixels with resolution greater than or equal to the average resolution;
determining whether the candidate pixel point to be rejected and the first pixel point to be rejected are adjacent pixel points according to the display coordinates of the candidate pixel point to be rejected in the image to be displayed and the display coordinates of the first pixel point to be rejected in the image to be displayed;
and taking the candidate pixel point to be rejected and the pixel point of which the first pixel point to be rejected is not an adjacent pixel point as the second pixel point to be rejected.
In one embodiment, the display module includes:
the second calculation submodule is configured to calculate the variance and the mean of pixel values of pixel points in each frame of image in the image to be displayed under the condition that the scaling coefficient is smaller than 1;
a second determination submodule configured to determine an image boundary extension value and a mapping window boundary extension value from the scaling factor, the pixel value variance and a mean value;
and the extending submodule is configured to perform image boundary extension and mapping window boundary extension on the frame image according to the image boundary extension value and the mapping window boundary extension value to obtain a target display image for each frame.
In a third aspect of the present disclosure, there is provided an LED display screen, including:
the LED display screen body is used for displaying images;
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any one of the first aspect.
The display method suitable for different LED display screens receives the image to be displayed and acquires the number of display lattices of the LED display screen for displaying the image to be displayed; acquiring the number of original dot matrixes required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed; determining a scaling coefficient aiming at the image to be displayed according to the original lattice quantity and the display lattice quantity; and adjusting each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image to obtain a target display image for each frame, and displaying the target display image. The image to be displayed can adapt to the LED display screens with different sizes, and the visual effect is improved.
Drawings
FIG. 1 is a flowchart of a display method for accommodating different LED display screens according to an embodiment.
FIG. 2 is a flowchart of implementing step S14 in FIG. 1, according to one embodiment.
FIG. 3 is a flowchart of implementing step S142 in FIG. 2, according to one embodiment.
Fig. 4 is a flowchart of implementing step S14 in fig. 1 according to another embodiment.
FIG. 5 is a block diagram of a display device accommodating different LED display screens according to one embodiment.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, embodiments accompanying the present disclosure are described in detail below. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. This disclosure may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature.
Fig. 1 is a flowchart of a display method adapted to different LED display screens according to an embodiment, and is applied to the LED display screens, as shown in fig. 1, including:
in step S11, an image to be displayed is received, and the number of display dots of the LED display screen for displaying the image to be displayed is obtained.
In the embodiment of the disclosure, the LED display screen may be configured with a wireless transmission module, such as bluetooth, to be in communication connection with a mobile terminal, such as a mobile phone and a tablet, and receive an image to be displayed sent by the mobile terminal. The limited connection module can also be configured to receive the image to be displayed sent by a terminal such as a PC.
The image to be displayed in the embodiment of the invention can be characters, graphics, images, animation, quotation, video and the like.
In step S12, the number of original lattices required for displaying the image to be displayed and the resolution of the pixel point of each frame of image in the image to be displayed are obtained.
The number of the original lattices required for displaying the image to be displayed can be determined according to the resolution of the display screen of the electronic device for acquiring or shooting the image. Or may be determined according to the number of ideal lattices occupied by the image.
In step S13, a scaling factor for the image to be displayed is determined according to the original number of dots and the display number of dots.
It can be understood that, in the embodiment of the present invention, if the scaling factor is equal to 1, the number of the original lattices representing the requirement of the image to be displayed is equal to the number of the display lattices of the LED display screen for displaying the image to be displayed, and the image to be displayed does not need to be scaled.
It may be noted that, according to a ratio of the number of the original lattices to the number of the display lattices, a scaling factor for the image to be displayed is determined. For example, the present disclosure has taken as an example that the original number of lattices is divided by the number of display lattices to obtain a scaling factor for the image to be displayed. And dividing the number of the display dot matrixes by the number of the original dot matrixes to obtain the scaling coefficient for the image to be displayed, which is the same as the above and is not repeated.
In step S14, each frame of image in the image to be displayed is adjusted according to the scaling factor and the resolution of the pixel point of each frame of image, so as to obtain a target display image for each frame, and the target display image is displayed.
It can be noted that, if the scaling factor is equal to 1, it may be determined in this step that the target display image for each frame is obtained directly according to the image to be displayed without adjusting each frame image. If the scaling coefficient is larger than 1, the image to be displayed is reduced, and a target display image for each frame is obtained. And if the scaling coefficient is less than 1, amplifying the image to be displayed to obtain a target display image for each frame.
According to the technical scheme, the image to be displayed is received, and the number of display lattices of the LED display screen for displaying the image to be displayed is obtained; acquiring the number of original dot matrixes required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed; determining a scaling coefficient aiming at the image to be displayed according to the original lattice quantity and the display lattice quantity; and adjusting each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image to obtain a target display image for each frame, and displaying the target display image. The image to be displayed can adapt to the LED display screens with different sizes, and the visual effect is improved.
Based on the foregoing embodiment, fig. 2 is a flowchart of implementing step S14 in fig. 1 according to an embodiment, and in step S14, the step of adjusting each frame image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame image to obtain a target display image for each frame includes:
in step S141, under the condition that the scaling factor is greater than 1, the average resolution of the pixel points of each frame of image is calculated according to the resolution of the pixel points of each frame of image.
The original dot matrix number with the scaling coefficient larger than 1 for representing the requirement of the image to be displayed is larger than the display dot matrix number of the LED display screen for displaying the image to be displayed, and the image to be displayed needs to be reduced.
It can be understood that the resolution of the speed-limiting point in each frame of image is obtained, the sum of the resolutions of the pixel points is calculated, and the average resolution of the pixel points of the image frame is obtained by dividing the sum by the number of the pixel points in the image frame.
In step S142, determining a pixel point to be eliminated in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient.
In this embodiment, to improve the display definition, a first number of pixels to be eliminated may be determined from pixels having a resolution lower than the average resolution, and a second number of pixels to be eliminated may be determined from pixels having a resolution higher than the average resolution, where a size relationship between the first number and the second number satisfies: after the first number of pixel points to be eliminated and the second number of pixel points to be eliminated are eliminated, the density of the pixel points with the resolution in the unit dot array larger than the average resolution is larger than that of the pixel points with the resolution in the unit dot array larger than the average resolution before the pixel points to be eliminated are eliminated; similarly, after the first number of pixel points to be eliminated and the second number of pixel points to be eliminated are eliminated, the density of the pixel points with the resolution smaller than the average resolution in the unit dot array is smaller than the density of the pixel points with the resolution smaller than the average resolution in the unit dot array before the pixel points to be eliminated are eliminated.
On the basis of the foregoing embodiment, fig. 3 is a flowchart of implementing step S142 in fig. 2 according to an embodiment, where in step S142, the step of determining a pixel point to be removed in each frame image according to the average resolution corresponding to the frame image and the scaling coefficient includes:
in step S1421, the number of optical flow pyramid layers is determined according to the average resolution corresponding to each frame image, and an optical flow pyramid is constructed according to the number of optical flow pyramid layers.
For example, the correspondence between the average resolution and the number of optical flow pyramid layers may be stored in advance, and the number of optical flow pyramid layers may be determined from the average resolution and the correspondence.
In step S1422, an optimal optical flow of the highest layer of the optical flow pyramid is determined according to the average resolution and the resolution of the pixel having the resolution lower than the average resolution.
In the embodiment of the present invention, the optimal optical flow of the highest layer of the optical flow pyramid may be determined according to the average resolution and the gradient direction of the decrease in resolution of the pixel points lower than the average resolution.
In step S1423, an optical flow vector is calculated according to the optimal optical flow and the optical flow pyramid layer number.
In step S1424, a first pixel to be eliminated is determined from pixels having a resolution lower than the average resolution according to the optical flow vector.
For example, the resolution decreasing direction of the pixel point is determined according to the resolution of the pixel point with the resolution lower than the average resolution, the vector corresponding to the decreasing direction is determined according to the resolution decreasing direction of the pixel point, and the pixel point with the distance between the vector and the optical flow vector larger than the preset threshold is taken as the first pixel point to be eliminated. Wherein, the distance between the vector corresponding to the descending direction and the optical flow vector can be calculated based on the two norms between the vectors.
In step S1425, a cumulative probability distribution of the pixels with the resolution greater than or equal to the average resolution is calculated.
In the embodiment of the invention, according to the resolution, the accumulative probability distribution of the pixel points is calculated from the pixel point corresponding to the minimum resolution; or determining the number of pixel points corresponding to each resolution, and performing accumulative probability distribution calculation from the pixel points with the least number according to the number of the pixel points.
In step S1426, according to the scaling factor, the cumulative probability distribution, and a preset target value corresponding to the cumulative probability distribution, a second pixel to be eliminated is determined from pixels having a resolution greater than or equal to the average resolution.
In the embodiment of the invention, each cumulative probability distribution corresponds to a pre-stored preset target value, the difference between the preset target value and the scaling coefficient is calculated, and the pixel point of which the quotient of the difference and the cumulative probability distribution is smaller than a preset threshold value is determined as the second pixel point to be eliminated.
In one implementation manner, in step S1426, the step of determining, according to the scaling coefficient, the cumulative probability distribution, and a preset target value corresponding to the cumulative probability distribution, a second pixel to be eliminated from pixels having a resolution greater than or equal to the average resolution includes:
determining candidate pixel points to be eliminated from the pixel points with the resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
determining whether the candidate pixel point to be rejected and the first pixel point to be rejected are adjacent pixel points according to the display coordinates of the candidate pixel point to be rejected in the image to be displayed and the display coordinates of the first pixel point to be rejected in the image to be displayed;
and taking the candidate pixel point to be rejected and the pixel point of which the first pixel point to be rejected is not an adjacent pixel point as the second pixel point to be rejected.
In step S1427, the first pixel to be rejected and the second pixel to be rejected are collectively used as a pixel to be rejected.
In step S143, the pixel points to be eliminated are eliminated to obtain a target display image for each frame.
According to the technical scheme, when the original display requirement of the image to be displayed is larger than the size of the LED display screen, the pixel points in the image to be displayed are removed, the target display image which is suitable for the size of the LED display screen is obtained, the display adaptability can be improved, and the viewing experience is improved.
On the basis of the foregoing embodiment, fig. 4 is a flowchart of another embodiment of implementing step S14 in fig. 1, where in step S14, the step of adjusting each frame image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame image to obtain a target display image for each frame includes:
in step S1401, in a case that the scaling factor is smaller than 1, a variance and a mean of pixel values of pixel points in each frame of image in the image to be displayed are calculated.
Similarly, the number of original lattices with the scaling coefficient smaller than 1 for representing the requirement of the image to be displayed is smaller than the number of display lattices of the LED display screen for displaying the image to be displayed, and the image to be displayed needs to be amplified.
In step S1402, an image boundary extension value and a mapping window boundary extension value are determined according to the scaling factor, the pixel value variance and the mean.
In step S1403, image boundary extension and mapping window boundary extension are performed on the frame image according to the image boundary extension value and the mapping window boundary extension value, so as to obtain a target display image for each frame.
According to the technical scheme, when the original display requirement of the image to be displayed is smaller than the size of the LED display screen, the pixel points in the image to be displayed are expanded and extended to obtain the target display image which is suitable for the size of the LED display screen, so that the display adaptability can be improved, and the viewing experience is improved.
Based on the same inventive concept, the display device suitable for different LED display screens is provided by the disclosed invention, and can realize part or all of the steps of the display method suitable for different LED display screens in a software, hardware or software and hardware combination mode. Fig. 5 is a block diagram of a display device adapted to different LED display screens according to an embodiment, and referring to fig. 5, the display device 500 includes:
the receiving module 510 is configured to receive an image to be displayed and obtain the number of display lattices of an LED display screen for displaying the image to be displayed;
an obtaining module 520, configured to obtain the number of original lattices required for displaying the image to be displayed and the resolution of the pixel point of each frame of image in the image to be displayed;
a determining module 530 configured to determine a scaling factor for the image to be displayed according to the original number of lattices and the number of display lattices;
the display module 540 is configured to adjust each frame of image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame of image, obtain a target display image for each frame, and display the target display image.
In one embodiment, the display module 540 includes:
the first calculation submodule is configured to calculate the average resolution of the pixel points of each frame of image according to the resolution of the pixel points of each frame of image under the condition that the scaling coefficient is greater than 1;
the second determining submodule is configured to determine to-be-eliminated pixel points in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient;
and the eliminating submodule is configured to eliminate the pixel points to be eliminated to obtain a target display image for each frame.
In one embodiment, the determining sub-module is configured to:
determining the number of layers of an optical flow pyramid according to the average resolution corresponding to each frame image, constructing an optical flow pyramid according to the number of layers of the optical flow pyramid, determining the optimal optical flow of the highest layer of the optical flow pyramid according to the average resolution and the resolution of the pixel points with the resolution lower than the average resolution, calculating an optical flow vector according to the optimal optical flow and the number of the layers of the optical flow pyramid, and determining the first pixel points to be eliminated from the pixel points with the resolution lower than the average resolution according to the optical flow vector;
calculating cumulative probability distribution of pixel points with resolution greater than or equal to the average resolution, and determining second pixel points to be eliminated from the pixel points with resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
the pixel points to be rejected comprise the first pixel points to be rejected and the second pixel points to be rejected.
In one embodiment, according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution, candidate pixels to be eliminated are determined from pixels with resolution greater than or equal to the average resolution;
determining whether the candidate pixel point to be rejected and the first pixel point to be rejected are adjacent pixel points according to the display coordinates of the candidate pixel point to be rejected in the image to be displayed and the display coordinates of the first pixel point to be rejected in the image to be displayed;
and taking the candidate pixel point to be rejected and the pixel point of which the first pixel point to be rejected is not an adjacent pixel point as the second pixel point to be rejected.
In one embodiment, the display module 540 includes:
the second calculation submodule is configured to calculate the variance and the mean of pixel values of pixel points in each frame of image in the image to be displayed under the condition that the scaling coefficient is smaller than 1;
a second determination submodule configured to determine an image boundary extension value and a mapping window boundary extension value from the scaling factor, the pixel value variance and a mean value;
and the extending submodule is configured to perform image boundary extension and mapping window boundary extension on the frame image according to the image boundary extension value and the mapping window boundary extension value to obtain a target display image for each frame.
Based on the same inventive concept, the disclosed invention provides an LED display screen, comprising:
the LED display screen body is used for displaying images;
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement any of the aforementioned steps of the display method adapted to different LED display screens.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-described embodiments are merely illustrative of several embodiments of the present disclosure, which are described in more detail and detailed, but are not to be construed as limiting the scope of the disclosure. It should be noted that, for those skilled in the art, various changes and modifications can be made without departing from the concept of the present disclosure, and these changes and modifications are all within the scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the appended claims.

Claims (10)

1. A display method suitable for different LED display screens is characterized by comprising the following steps:
receiving an image to be displayed, and acquiring the number of display lattices of an LED display screen for displaying the image to be displayed;
acquiring the number of original dot matrixes required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed;
determining a scaling coefficient aiming at the image to be displayed according to the original lattice quantity and the display lattice quantity;
and adjusting each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image to obtain a target display image for each frame, and displaying the target display image.
2. The display method according to claim 1, wherein the step of adjusting each frame of image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame of image to obtain the target display image for each frame comprises:
under the condition that the scaling coefficient is larger than 1, calculating the average resolution of the pixel points of each frame of image according to the resolution of the pixel points of each frame of image;
determining pixel points to be eliminated in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient;
and eliminating the pixel points to be eliminated to obtain a target display image for each frame.
3. The display method according to claim 2, wherein the step of determining the pixel points to be removed in each frame of image according to the average resolution corresponding to the frame of image and the scaling coefficient comprises:
determining the number of layers of an optical flow pyramid according to the average resolution corresponding to each frame image, constructing an optical flow pyramid according to the number of layers of the optical flow pyramid, determining the optimal optical flow of the highest layer of the optical flow pyramid according to the average resolution and the resolution of the pixel points with the resolution lower than the average resolution, calculating an optical flow vector according to the optimal optical flow and the number of the layers of the optical flow pyramid, and determining the first pixel points to be eliminated from the pixel points with the resolution lower than the average resolution according to the optical flow vector;
calculating cumulative probability distribution of pixel points with resolution greater than or equal to the average resolution, and determining second pixel points to be eliminated from the pixel points with resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
the pixel points to be rejected comprise the first pixel points to be rejected and the second pixel points to be rejected.
4. The display method according to claim 3, wherein the step of determining, according to the scaling factor, the cumulative probability distribution, and a preset target value corresponding to the cumulative probability distribution, a second pixel to be eliminated from pixels having a resolution greater than or equal to the average resolution includes:
determining candidate pixel points to be eliminated from the pixel points with the resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
determining whether the candidate pixel point to be rejected and the first pixel point to be rejected are adjacent pixel points according to the display coordinates of the candidate pixel point to be rejected in the image to be displayed and the display coordinates of the first pixel point to be rejected in the image to be displayed;
and taking the candidate pixel point to be rejected and the pixel point of which the first pixel point to be rejected is not an adjacent pixel point as the second pixel point to be rejected.
5. The display method according to claim 1, wherein the step of adjusting each frame of image in the image to be displayed according to the scaling factor and the resolution of the pixel point of each frame of image to obtain the target display image for each frame comprises:
under the condition that the scaling coefficient is smaller than 1, calculating the pixel value variance and the mean value of pixel points in each frame of image in the image to be displayed;
determining an image boundary extension value and a mapping window boundary extension value according to the scaling coefficient, the pixel value variance and the mean value;
and according to the image boundary extension value and the mapping window boundary extension value, performing image boundary extension and mapping window boundary extension on the frame image to obtain a target display image for each frame.
6. A display device adapted to different LED display screens, comprising:
the display device comprises a receiving module, a display module and a display module, wherein the receiving module is configured to be used for receiving an image to be displayed and acquiring the number of display lattices of an LED display screen for displaying the image to be displayed;
the acquisition module is configured to acquire the number of original lattices required for displaying the image to be displayed and the resolution of pixel points of each frame of image in the image to be displayed;
a determining module configured to determine a scaling factor for the image to be displayed according to the original number of lattices and the number of display lattices;
and the display module is configured to adjust each frame of image in the image to be displayed according to the scaling coefficient and the resolution of the pixel point of each frame of image, obtain a target display image for each frame, and display the target display image.
7. The apparatus of claim 6, wherein the display module comprises:
the first calculation submodule is configured to calculate the average resolution of the pixel points of each frame of image according to the resolution of the pixel points of each frame of image under the condition that the scaling coefficient is greater than 1;
the second determining submodule is configured to determine to-be-eliminated pixel points in each frame of image according to the average resolution corresponding to each frame of image and the scaling coefficient;
and the eliminating submodule is configured to eliminate the pixel points to be eliminated to obtain a target display image for each frame.
8. The apparatus of claim 7, wherein the determination submodule is configured to:
determining the number of layers of an optical flow pyramid according to the average resolution corresponding to each frame image, constructing an optical flow pyramid according to the number of layers of the optical flow pyramid, determining the optimal optical flow of the highest layer of the optical flow pyramid according to the average resolution and the resolution of the pixel points with the resolution lower than the average resolution, calculating an optical flow vector according to the optimal optical flow and the number of the layers of the optical flow pyramid, and determining the first pixel points to be eliminated from the pixel points with the resolution lower than the average resolution according to the optical flow vector;
calculating cumulative probability distribution of pixel points with resolution greater than or equal to the average resolution, and determining second pixel points to be eliminated from the pixel points with resolution greater than or equal to the average resolution according to the scaling coefficient, the cumulative probability distribution and a preset target value corresponding to the cumulative probability distribution;
the pixel points to be rejected comprise the first pixel points to be rejected and the second pixel points to be rejected.
9. The apparatus of claim 6, wherein the display module comprises:
the second calculation submodule is configured to calculate the variance and the mean of pixel values of pixel points in each frame of image in the image to be displayed under the condition that the scaling coefficient is smaller than 1;
a second determination submodule configured to determine an image boundary extension value and a mapping window boundary extension value from the scaling factor, the pixel value variance and a mean value;
and the extending submodule is configured to perform image boundary extension and mapping window boundary extension on the frame image according to the image boundary extension value and the mapping window boundary extension value to obtain a target display image for each frame.
10. An LED display screen, comprising:
the LED display screen body is used for displaying images;
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 5.
CN202210168638.0A 2022-02-24 2022-02-24 Display method and device suitable for different LED display screens and LED display screen Active CN114237472B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210168638.0A CN114237472B (en) 2022-02-24 2022-02-24 Display method and device suitable for different LED display screens and LED display screen

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210168638.0A CN114237472B (en) 2022-02-24 2022-02-24 Display method and device suitable for different LED display screens and LED display screen

Publications (2)

Publication Number Publication Date
CN114237472A true CN114237472A (en) 2022-03-25
CN114237472B CN114237472B (en) 2022-05-17

Family

ID=80747841

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210168638.0A Active CN114237472B (en) 2022-02-24 2022-02-24 Display method and device suitable for different LED display screens and LED display screen

Country Status (1)

Country Link
CN (1) CN114237472B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234320A (en) * 2023-11-15 2023-12-15 深圳市鸿茂元智光电有限公司 Energy-saving display method and system for LED display screen and display screen

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068333A (en) * 2006-05-04 2007-11-07 新泰辉煌公司 Method for scaling and cropping images for television display
CN102298887A (en) * 2011-09-21 2011-12-28 上海大三和弦城市环境艺术有限公司 Method, device and system for simulative preview of LED program
CN103500555A (en) * 2013-10-08 2014-01-08 深圳市摩西尔电子有限公司 Method and system for matching and processing video resolution of LED (Light Emitting Diode) display screen
US20140258904A1 (en) * 2013-03-08 2014-09-11 Samsung Display Co., Ltd. Terminal and method of controlling the same
CN106506987A (en) * 2016-11-17 2017-03-15 西安诺瓦电子科技有限公司 LED display control methods, image mosaic Method of Edge Optimizing and processing meanss
CN106791915A (en) * 2016-11-24 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for showing video image
CN106875859A (en) * 2017-04-25 2017-06-20 安徽省博达广告装饰有限公司 A kind of billboard dynamic display device and its control method
CN107402734A (en) * 2017-07-25 2017-11-28 浪潮金融信息技术有限公司 A kind of method that text definition is automatically adjusted with screen resolution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101068333A (en) * 2006-05-04 2007-11-07 新泰辉煌公司 Method for scaling and cropping images for television display
CN102298887A (en) * 2011-09-21 2011-12-28 上海大三和弦城市环境艺术有限公司 Method, device and system for simulative preview of LED program
US20140258904A1 (en) * 2013-03-08 2014-09-11 Samsung Display Co., Ltd. Terminal and method of controlling the same
CN103500555A (en) * 2013-10-08 2014-01-08 深圳市摩西尔电子有限公司 Method and system for matching and processing video resolution of LED (Light Emitting Diode) display screen
CN106506987A (en) * 2016-11-17 2017-03-15 西安诺瓦电子科技有限公司 LED display control methods, image mosaic Method of Edge Optimizing and processing meanss
CN106791915A (en) * 2016-11-24 2017-05-31 广州华多网络科技有限公司 A kind of method and apparatus for showing video image
CN106875859A (en) * 2017-04-25 2017-06-20 安徽省博达广告装饰有限公司 A kind of billboard dynamic display device and its control method
CN107402734A (en) * 2017-07-25 2017-11-28 浪潮金融信息技术有限公司 A kind of method that text definition is automatically adjusted with screen resolution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑磊: "基于金字塔光流法的移动增强现实三维跟踪注册研究", 《物联网技术》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117234320A (en) * 2023-11-15 2023-12-15 深圳市鸿茂元智光电有限公司 Energy-saving display method and system for LED display screen and display screen
CN117234320B (en) * 2023-11-15 2024-02-23 深圳市鸿茂元智光电有限公司 Energy-saving display method and system for LED display screen and display screen

Also Published As

Publication number Publication date
CN114237472B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
ES2784905T3 (en) Image processing method and device, computer-readable storage medium and electronic device
US10789671B2 (en) Apparatus, system, and method of controlling display, and recording medium
US7356254B2 (en) Image processing method, apparatus, and program
US20190340737A1 (en) Image processing apparatus, image processing system, image capturing system, image processing method, and recording medium
CN114237472B (en) Display method and device suitable for different LED display screens and LED display screen
US9445073B2 (en) Image processing methods and systems in accordance with depth information
US20120106868A1 (en) Apparatus and method for image correction
CN114691069A (en) Image display adjustment method and device and electronic equipment
JP2004362443A (en) Parameter determination system
JP5207857B2 (en) MOVIE DISPLAY SYSTEM, SERVER AND DISPLAY DEVICE USED FOR MOVIE DISPLAY SYSTEM, MOVIE DISPLAY SYSTEM CONTROL METHOD, AND DISPLAY DEVICE CONTROL METHOD
KR102064695B1 (en) Non-uniformity evaluation method and non-uniformity evaluation device
CN107431744B (en) Camera device, image processing device, and image processing method
CN113284199A (en) Image gray area determination method, electronic device and server
KR20220025552A (en) Image processing device and image enhancing method
JP4396766B2 (en) Image degradation detection apparatus, image degradation detection method, program for executing image degradation detection method, and recording medium
US9449364B2 (en) Information processing apparatus, information processing method, and program to recognize circumstances of a subject from a moving image
CN117524073B (en) Super high definition image display jitter compensation method, system and storage medium
KR20150087708A (en) Apparatus and method for processing image
JP6381212B2 (en) Imaging apparatus and control method thereof
JP4318573B2 (en) Luminance data correction apparatus and luminance data correction method
WO2022262599A1 (en) Image processing method and apparatus, and computer device and storage medium
EP4040394A1 (en) Information processing device, information processing method, and carrier means
CN113033394B (en) Image signature generation method and device, electronic equipment and storage medium
CN113114930B (en) Information display method, device, equipment and medium
JP2019144827A (en) Image processing device, and control method and program of the same

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant