CN114359220A - Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium - Google Patents

Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium Download PDF

Info

Publication number
CN114359220A
CN114359220A CN202111679882.5A CN202111679882A CN114359220A CN 114359220 A CN114359220 A CN 114359220A CN 202111679882 A CN202111679882 A CN 202111679882A CN 114359220 A CN114359220 A CN 114359220A
Authority
CN
China
Prior art keywords
image
display screen
shape
sampling
optical information
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
CN202111679882.5A
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.)
Xian Novastar Electronic Technology Co Ltd
Original Assignee
Xian Novastar Electronic 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 Xian Novastar Electronic Technology Co Ltd filed Critical Xian Novastar Electronic Technology Co Ltd
Priority to CN202111679882.5A priority Critical patent/CN114359220A/en
Publication of CN114359220A publication Critical patent/CN114359220A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application discloses a method and a device for acquiring optical information of a special-shaped screen and a nonvolatile storage medium. Wherein, the method comprises the following steps: acquiring a first image displayed by a display screen in a lighting state; carrying out perspective change processing on the first image to obtain a second image; obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of the following: luminance information, chrominance information, and luminous flux information. The application solves the technical problems that in the prior art, the optical information of the special-shaped display screen is acquired, point positioning and development of an optical information module are required to be performed in a targeted mode aiming at a specific lamp point arrangement mode and a lamp panel shape, and time and labor are consumed.

Description

Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium
Technical Field
The application relates to the field of display, in particular to a method and a device for acquiring optical information of an irregular screen and a nonvolatile storage medium.
Background
When the display screen is optically processed, it is often necessary to acquire optical information of the display screen and optically process the display screen based on the optical information of the display screen. The optical processing of the display screen includes various processes, such as display screen correction, display screen uniformity evaluation, display screen defect evaluation, and the like.
At present, optical processing is mainly performed on a conventional display screen (namely a rectangular screen) in the market, but the market has a growing demand for special-shaped display screens due to some special application occasions or purposes. Different from a conventional display screen, the special-shaped display screen is formed by splicing a plurality of lamp panels with different sizes according to a certain rule. For example, the spherical screen is formed by splicing a plurality of groups of trapezoids with different sizes, the lamp panels at the same latitude are the same in shape, the lamp panels at different latitudes are different in size, but the heights of the lamp panels are the same, and the shapes of the lamp panels are basically the same. In addition to the difference in shape, the light points in different rows are not necessarily ordered, and the light points may be staggered.
In the prior art, when optical information of such a special-shaped display screen is acquired, point positioning and development of an optical information module need to be performed according to a specific lamp point arrangement mode and a lamp panel shape, and time and labor are consumed.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a method and a device for acquiring optical information of a special-shaped screen and a nonvolatile storage medium, which are used for at least solving the technical problems that in the prior art, when the optical information of the special-shaped display screen is acquired, point positioning and development of an optical information module are required to be performed in a specific light point arrangement mode and a specific lamp panel shape, time and labor are consumed.
According to an aspect of the embodiments of the present application, there is provided a method for acquiring optical information of a special-shaped screen, including: acquiring a first image displayed by a display screen in a lighting state; carrying out perspective change processing on the first image to obtain a second image; obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of the following: luminance information, chrominance information, and luminous flux information.
Optionally, the first image is quadrilateral in shape; the perspective change processing is carried out on the first image to obtain a second image, and the method comprises the following steps: and performing straightening processing on the shape of the first image to obtain a second image, wherein the shape of the second image is quadrilateral.
Optionally, the first image is trapezoidal or fan-like in shape.
Optionally, when the shape of the first image is a trapezoid, performing perspective change processing on the first image to obtain a second image includes: and adjusting the first image into a second image with a shape of a first target shape, wherein the first target shape is a rectangle.
Optionally, when the shape of the first image is a fan-like ring, performing perspective change processing on the first image to obtain a second image includes: and adjusting the first image into a second image with a second target shape, wherein the second target shape comprises at least one of the following: the device comprises a first shape and a second shape, wherein the left side and the right side of a quadrangle corresponding to the first shape are straight lines and are mutually parallel lines, and the upper side and the lower side are curves with preset radians; the upper side and the lower side of the quadrangle corresponding to the second shape are straight lines and are mutually parallel lines, and the left side and the right side are curves with preset radians.
Optionally, in a case that the shape of the second image is the first shape, sampling the second image includes: sampling each row of pixel points in the second image respectively until the resolution of each row in the sampled image data is the same as the resolution of the display screen in the vertical direction; and sampling the second image in the row direction according to the number of the lamp points of each row of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
Optionally, in a case that the shape of the second image is the second shape, sampling the second image includes: sampling each line of pixel points in the second image respectively until the resolution of each line in the sampled image data is the same as the resolution of the display screen in the horizontal direction; and sampling the second image in the column direction according to the number of the lamp points in each column of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
Optionally, in a case that the shape of the second image is the first target shape, sampling the second image includes: and sampling the second image until the second image with the resolution same as that of the display screen is obtained through sampling.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for acquiring optical information of a special-shaped screen, including: the acquisition module is used for acquiring a first image displayed by the display screen in a lighting state; the processing module is used for carrying out perspective change processing on the first image to obtain a second image; the sampling module is used for obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as that of the display screen, and the optical information comprises at least one of the following components: luminance information, chrominance information, and luminous flux information.
According to still another aspect of the embodiments of the present application, there is provided a non-volatile storage medium, where the non-volatile storage medium includes a stored program, and when the program runs, the apparatus in which the non-volatile storage medium is located is controlled to execute the above method for acquiring optical information of an irregular screen.
According to still another aspect of the embodiments of the present application, there is also provided a processor for executing a program stored in a memory, where the program executes the above method for acquiring optical information of a shaped screen.
In the embodiment of the application, a first image displayed by a display screen in a lighting state is acquired; carrying out perspective change processing on the first image to obtain a second image; obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of the following: the method for extracting the point-by-point optical information of the special-shaped display screen achieves the aim of extracting the point-by-point optical information of the special-shaped display screen by performing perspective change processing on an image displayed on the special-shaped display screen and then sampling the image subjected to the perspective change processing, thereby achieving the technical effect of reducing the cost for acquiring the optical information of the special-shaped display screen, and further solving the technical problems that the acquisition of the optical information of the special-shaped display screen in the prior art requires point positioning and development of an optical information module in a targeted manner according to a specific lamp point arrangement mode and a lamp panel shape, and is time-consuming and labor-consuming.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of a method of acquiring optical information of a contoured screen according to an embodiment of the present application;
FIG. 2 is a schematic illustration of an initial corrected image displayed by the contoured display screen;
FIG. 3a is a schematic diagram of perspective change processing of an initial corrected image displayed on a display screen according to an embodiment of the present application;
FIG. 3b is a schematic diagram of another perspective change process performed on an initial corrected image displayed on a display screen according to an embodiment of the present application;
FIG. 3c is a schematic diagram of another perspective change process performed on an initial corrected image displayed on a display screen according to an embodiment of the present application;
FIG. 4 is a flow chart of another method for correcting a display screen according to an embodiment of the present application;
fig. 5 is a block diagram of an apparatus for acquiring optical information of a shaped screen according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present application, there is provided an embodiment of a method of acquiring optical information of a shaped screen, it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in an order different from that here.
It should be understood that the method for acquiring the optical information of the special-shaped screen in the application can be used in various application scenarios. For example, the optical information obtained by the method of the present application can be used for correction of a display screen. For another example, the optical information obtained by the method of the present application may be used for uniformity evaluation, and for another example, the optical information obtained by the method of the present application may be used for defect detection of a display screen, and the like. For convenience of explanation, the following description will be given taking optical information as an example for correction.
It should be understood that the display screen in the present application can be various types of display screens, for example, various types of display screens such as LED, LCD, OLED micro LED, miniLED, SMD, COB, etc. The method can be adopted for extracting optical information from the display screen which can be used for displaying.
Fig. 1 is a flowchart of a method for acquiring optical information of a shaped screen according to an embodiment of the present application, as shown in fig. 1, the method includes the following steps:
step S102, acquiring a first image displayed by a display screen in a lighting state;
it should be noted that, the above-mentioned display screen is the special-shaped display screen, can carry out the display screen that certain regular concatenation formed by the inconsistent lamp plate of a plurality of sizes or box.
The first image is an initial image displayed by the display screen in a lighting state and used for acquiring optical information of the display screen.
Assuming that optical information is acquired for correction of the display screen, the first image may be an image for correction displayed in a lit state of the display screen. For example, an alternate-point corrected image or a point-by-point corrected image, etc.
Step S104, carrying out perspective change processing on the first image to obtain a second image;
step S106, obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as that of the display screen, and the optical information includes at least one of the following: luminance information, chrominance information, and luminous flux information.
The resolution of the image obtained by sampling the second image is the same as the resolution of the display screen. By sampling the second image, optical information of the display screen can be obtained, including but not limited to luminance information, chrominance information, and luminous flux information.
Through the steps, the image displayed on the special-shaped display screen is subjected to perspective change processing, and then the image subjected to the perspective change processing is sampled, so that the purpose of point-by-point optical information extraction of the special-shaped display screen is achieved, and the cost for acquiring the optical information of the special-shaped display screen is reduced.
According to an alternative embodiment of the application, the first image is quadrilateral in shape.
Preferably, the first image is trapezoidal or fan-like in shape.
Fig. 2 is a schematic diagram of an initial corrected image displayed by a special-shaped display screen, which is shaped like a fan-ring (image on the right side in fig. 2) or as a trapezoid (image on the left side in fig. 2) as shown in fig. 2.
Step S104 is executed to perform perspective change processing on the first image to obtain a second image, and the method is implemented by: and performing straightening processing on the shape of the first image to obtain a second image, wherein the shape of the second image is quadrilateral.
The second image is a quadrilateral image obtained by performing straightening processing on the initial corrected image.
In some optional embodiments of the present application, in a case that the shape of the first image is a trapezoid, performing step S104 to perform perspective change processing on the first image to obtain a second image includes: and adjusting the first image into a second image with a shape of a first target shape, wherein the first target shape is a rectangle.
Fig. 3a is a schematic diagram of perspective change processing performed on an initial corrected image displayed on a display screen according to an embodiment of the present application, and as shown in fig. 3a, if a shape of a first image is a trapezoid, a shape of a second image obtained after the first image is subjected to straightening processing is a rectangle (image on the right side in fig. 3 a).
In some optional embodiments of the present application, in the case that the shape of the first image is a fan-like ring, performing step S104 to perform perspective change processing on the first image to obtain a second image includes the following steps: and adjusting the first image into a second image with a second target shape, wherein the second target shape comprises at least one of the following: the device comprises a first shape and a second shape, wherein the left side and the right side of a quadrangle corresponding to the first shape are straight lines and are mutually parallel lines, and the upper side and the lower side are curves with preset radians; the upper side and the lower side of the quadrangle corresponding to the second shape are straight lines and are mutually parallel lines, and the left side and the right side are curves with preset radians.
Fig. 3b is a schematic diagram of another perspective change processing performed on the initial corrected image displayed on the display screen according to the embodiment of the present application, and as shown in fig. 3b, if the shape of the first image is a fan-like ring, the shape of the second image obtained after the first image is straightened is a non-inclined quadrangle (the image on the right side of fig. 3 b). The image shown in fig. 3b is not a standard rectangle, and the left and right sides of the quadrangle are straight lines and parallel to each other. The upper and lower sides are curves with a certain radian.
The second image may be an image obtained by rotating the second image shown in fig. 3b by 90 degrees, as shown in the right image of fig. 3c, that is, the upper and lower sides of the second image are straight lines and parallel to each other, and the left and right sides are curves having a certain radian.
According to another alternative embodiment of the present application, in the case that the shape of the second image is the first shape, the step S106 is executed to sample the second image, and the method is implemented by: sampling each row of pixel points in the second image respectively until the resolution of each row in the sampled image data is the same as the resolution of the display screen in the vertical direction; and sampling the second image in the row direction according to the number of the lamp points of each row of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
Due to the particularity of the shape of the special-shaped display screen, two steps are needed to be taken when the lower sampling is carried out. Since the image has been straightened out, as shown in fig. 3b, the upper and lower curved sides of the quadrilateral of the second image, as shown in fig. 3b, are actually the intensities of the lamp contributions of the first and last rows of the display screen, on the basis of which the image is first drawn up in rows and columns, each column being mean-sampled to the height resolution of the actual LEDs. This ensures that the last line of optical information and the last line of optical information is presented in a one-to-one correspondence with the actual light points of the display screen.
After the columns are aligned, the average down-sampling in the row direction is performed according to the actual number of light points of each row, so that the optical information which is the same as the actual number of light points of the display screen is generated. Here, sampling the second image with the same resolution as the display screen corresponds to generating the same number of optical information as the actual light points of the display screen.
In an alternative embodiment of the present application, in the case that the shape of the second image is the second shape, the sampling of the second image further includes the following steps: sampling each line of pixel points in the second image respectively until the resolution of each line in the sampled image data is the same as the resolution of the display screen in the horizontal direction; and sampling the second image in the column direction according to the number of the lamp points in each column of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
As shown in fig. 3c, the left and right curved sides of the quadrilateral of the second image are actually the intensities contributed by the lamps in the first and last columns of the display screen, based on which the image is first downsampled line-up, with each line being downsampled to the actual LED width resolution on average. This ensures that the last optical information column and the last optical information column are in one-to-one correspondence with the actual light points of the display screen.
After the rows are aligned, the average down-sampling in the column direction is performed according to the actual number of light points in each column, so that the optical information which is the same as the actual number of light points in the display screen is generated.
In other alternative embodiments of the present application, in the case that the shape of the second image is the first target shape, performing step S106 to sample the second image includes: and sampling the second image until the second image with the resolution same as that of the display screen is obtained through sampling.
Referring to fig. 3a, the second image is rectangular, and in the process of sampling the second image, sampling may be performed first according to rows and then according to columns; or sampling can be performed according to the columns and then according to the rows; point-by-point sampling is also possible. No matter which sampling method is adopted for sampling, the sampling is stopped until a second image with the same resolution as that of the display screen is obtained.
After sampling is finished, optical information is output, and the optical information extracted by the scheme contains gap information without repairing the gap. The method can be used for correcting the special-shaped display screen subsequently and can also be used for evaluating the uniformity of the special-shaped display screen.
The method provided by the embodiment of the application corrects the opposite-sex screen formed by taking the similar fan shape or the trapezoid shape as a unit, firstly corrects the whole imaging, and then respectively performs down-sampling on the corrected image. The purposes of point-by-point correction and gap correction of the special-shaped display screen can be achieved.
The method is explained below by using a brightness correction solution for a spherical display screen, in which the spherical display screen is formed by splicing a plurality of trapezoids with different shapes, the trapezoids have different dimensions but the same height at different latitudes, and the trapezoids have the same dimension at the same latitude.
Fig. 4 is a flowchart of another display screen calibration method according to an embodiment of the present application, and as shown in fig. 4, the detailed implementation case is described as follows:
the first step is as follows: and controlling and correcting the pure color image by the computer terminal.
The whole spherical screen is divided into a plurality of areas, wherein the top end and the bottom end (the two areas are imaged to be triangular and have very small occupation ratio) are not considered, and the area is subjected to the screen shooting correction.
The second step is that: and acquiring image data on a screen and carrying out perspective change processing.
Referring to fig. 3b, the collected image is drawn into a graph consisting of four sides through perspective change, the left side and the right side of the graph are mutually parallel straight lines, and the upper side and the lower side of the graph are curves with certain radian.
The third step: and (4) downsampling.
The image is firstly subjected to column-column downsampling and aligning, and each column is downsampled to the height resolution of the actual display screen in an average mode. After the columns are aligned, the average down-sampling in the row direction is performed according to the actual number of the light points in each row. Thereby generating a luminous flux of an actual number of lamp spots.
The fourth step: the light flux is output.
And generating luminous flux and outputting the luminous flux to a subsequent module for brightness correction. The optical information includes gap information, and no gap correction is needed.
Fig. 5 is a block diagram of an apparatus for acquiring optical information of a shaped screen according to an embodiment of the present application, as shown in fig. 5, the apparatus includes:
an obtaining module 50, configured to obtain a first image displayed by a display screen in an illuminated state;
it should be noted that, the above-mentioned display screen is the special-shaped display screen, can carry out the display screen that certain regular concatenation formed by the inconsistent lamp plate of a plurality of sizes or box.
The first image is an initial image displayed by the display screen in a lighting state and used for acquiring optical information of the display screen.
Assuming that optical information is acquired for correction of the display screen, the first image may be an image for correction displayed in a lit state of the display screen. For example, an alternate-point corrected image or a point-by-point corrected image, etc.
The processing module 52 is configured to perform perspective change processing on the first image to obtain a second image;
a sampling module 54, configured to obtain a sampled second image by sampling the second image, so as to obtain optical information of the display screen, where a resolution of the sampled second image is the same as a resolution of the display screen, and the optical information includes at least one of: luminance information, chrominance information, and luminous flux information.
According to an alternative embodiment of the application, the resolution of the image obtained by sampling the second image is the same as the resolution of the display screen. By sampling the second image, optical information of the display screen can be obtained, including but not limited to luminance information, chrominance information, and luminous flux information.
Through the steps, the image displayed on the special-shaped display screen is subjected to perspective change processing, and then the image subjected to the perspective change processing is sampled, so that the purpose of extracting point-by-point optical information of the special-shaped display screen is achieved, and the cost for acquiring the optical information of the special-shaped display screen is reduced.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 1 for a preferred implementation of the embodiment shown in fig. 5, and details are not described here again.
According to an alternative embodiment of the application, the first image is quadrilateral in shape.
Preferably, the first image is trapezoidal or fan-like in shape.
Referring to fig. 2, the shape of the initial corrected image is a fan-like ring (image on the right side in fig. 2) or a trapezoid (image on the left side in fig. 2).
According to an optional embodiment of the present application, the processing module 52 is further configured to perform a straightening process on the shape of the first image to obtain a second image, where the shape of the second image is a quadrilateral.
The second image is a quadrangular image obtained by subjecting the initial corrected image to the straightening processing.
According to another alternative embodiment of the present application, in the case that the first image has a trapezoid shape, the processing module 52 is further configured to adjust the first image into a second image having a first target shape, wherein the first target shape is a rectangle.
Referring to fig. 3a, if the shape of the first image is a trapezoid, the second image obtained by performing the straightening process on the first image is a rectangle (the right image in fig. 3 a).
In some optional embodiments of the present application, in the case that the first image is shaped like a sector ring, the processing module 52 is further configured to adjust the first image into a second image shaped as a second target shape, where the second target shape includes at least one of: the device comprises a first shape and a second shape, wherein the left side and the right side of a quadrangle corresponding to the first shape are straight lines and are mutually parallel lines, and the upper side and the lower side are curves with preset radians; the upper side and the lower side of the quadrangle corresponding to the second shape are straight lines and are mutually parallel lines, and the left side and the right side are curves with preset radians.
Referring to fig. 3b, if the shape of the first image is a fan-like ring, the second image obtained by performing the straightening process on the first image is a non-inclined quadrangle (the right image in fig. 3 b). The image shown in fig. 3b is not a standard rectangle, and the left and right sides of the quadrangle are straight lines and parallel to each other. The upper and lower sides are curves with a certain radian.
The second image may be an image obtained by rotating the second image shown in fig. 3b by 90 degrees, as shown in the right image of fig. 3c, that is, the upper and lower sides of the second image are straight lines and parallel to each other, and the left and right sides are curves having a certain radian.
In other optional embodiments of the present application, in a case that the shape of the second image is the first shape, the sampling module 54 is further configured to sample each column of pixel points in the second image respectively until the resolution of each column in the sampled image data is the same as the resolution of the display screen in the vertical direction; and sampling the second image in the row direction according to the number of the lamp points of each row of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
Due to the particularity of the shape of the special-shaped display screen, two steps are needed to be taken when the lower sampling is carried out. Since the image has been straightened out, as shown in fig. 3b, the upper and lower curved sides of the quadrilateral of the second image, as shown in fig. 3b, are actually the intensities of the lamp contributions of the first and last rows of the display screen, on the basis of which the image is first drawn up in rows and columns, each column being mean-sampled to the height resolution of the actual LEDs. This ensures that the last line of optical information and the last line of optical information is presented in a one-to-one correspondence with the actual light points of the display screen.
After the columns are aligned, the average down-sampling in the row direction is performed according to the actual number of light points of each row, so that the optical information which is the same as the actual number of light points of the display screen is generated. Here, sampling the second image with the same resolution as the display screen corresponds to generating the same number of optical information as the actual light points of the display screen.
In an optional embodiment, in the case that the shape of the second image is the second shape, the sampling module 54 is further configured to sample each line of pixel points in the second image respectively until the resolution of each line in the sampled image data is the same as the resolution of the display screen in the horizontal direction; and sampling the second image in the column direction according to the number of the lamp points in each column of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
As shown in fig. 3c, the left and right curved sides of the quadrilateral of the second image are actually the intensities contributed by the lamps in the first and last columns of the display screen, based on which the image is first downsampled line-up, with each line being downsampled to the actual LED width resolution on average. This ensures that the last optical information column and the last optical information column are in one-to-one correspondence with the actual light points of the display screen.
After the rows are aligned, the average down-sampling in the column direction is performed according to the actual number of light points in each column, so that the optical information which is the same as the actual number of light points in the display screen is generated.
According to an alternative embodiment of the present application, in the case that the shape of the second image is the first target shape, the sampling module 54 is further configured to sample the second image until the second image with the resolution same as the resolution of the display screen is obtained.
Referring to fig. 3a, the second image is rectangular, and in the process of sampling the second image, sampling may be performed first according to rows and then according to columns; or sampling can be performed according to the columns and then according to the rows; point-by-point sampling is also possible. No matter which sampling method is adopted for sampling, the sampling is stopped until a second image with the same resolution as that of the display screen is obtained.
After sampling is finished, optical information is output, and the optical information extracted by the scheme contains gap information without repairing the gap. The method can be used for correcting the display screen subsequently and can also be used for evaluating the uniformity of the special-shaped screen.
The embodiment of the application also provides a nonvolatile storage medium, the nonvolatile storage medium comprises a stored program, and when the program runs, the device where the nonvolatile storage medium is located is controlled to execute the method for acquiring the optical information of the special-shaped screen.
The nonvolatile storage medium stores a program for executing the following functions: acquiring a first image displayed by a display screen in a lighting state; carrying out perspective change processing on the first image to obtain a second image; obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of the following: luminance information, chrominance information, and luminous flux information.
The embodiment of the application also provides a processor for running the program stored in the memory, wherein the program runs to execute the above method for acquiring the optical information of the special-shaped screen.
The processor is used for running a program for executing the following functions: acquiring a first image displayed by a display screen in a lighting state; carrying out perspective change processing on the first image to obtain a second image; obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of the following: luminance information, chrominance information, and luminous flux information.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method of obtaining optical information from a contoured screen, comprising:
acquiring a first image displayed by a display screen in a lighting state;
carrying out perspective change processing on the first image to obtain a second image;
obtaining a sampled second image by sampling the second image to obtain optical information of the display screen, wherein the resolution of the sampled second image is the same as the resolution of the display screen, and the optical information includes at least one of: luminance information, chrominance information, and luminous flux information.
2. The method of claim 1,
the shape of the first image is quadrilateral;
the perspective change processing of the first image to obtain a second image includes:
and performing straightening processing on the shape of the first image to obtain the second image, wherein the shape of the second image is quadrilateral.
3. The method of claim 2, wherein the first image is trapezoidal or fan-like in shape.
4. The method according to claim 3, wherein, when the first image has the shape of the trapezoid, performing perspective change processing on the first image to obtain a second image comprises:
adjusting the first image into the second image shaped as a first target shape, wherein the first target shape is a rectangle.
5. The method according to claim 3, wherein, in a case that the shape of the first image is the fan-like ring shape, performing perspective change processing on the first image to obtain a second image comprises:
adjusting the first image into a second image shaped as a second target shape, wherein the second target shape includes at least one of: a first shape and a second shape, wherein,
the left side and the right side of the quadrangle corresponding to the first shape are straight lines and are mutually parallel lines, and the upper side and the lower side are curves with preset radians;
the upper side and the lower side of the quadrangle corresponding to the second shape are straight lines and are parallel lines with each other, and the left side and the right side are curves with the preset radian.
6. The method of claim 5, wherein sampling the second image if the shape of the second image is the first shape comprises:
sampling each row of pixel points in the second image respectively until the resolution of each row in the sampled image data is the same as the resolution of the display screen in the vertical direction;
and sampling the second image in a row direction according to the number of the lamp points in each row of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
7. The method of claim 5, wherein sampling the second image if the shape of the second image is the second shape comprises:
sampling each line of pixel points in the second image respectively until the resolution of each line in the sampled image data is the same as the resolution of the display screen in the horizontal direction;
and sampling the second image in the column direction according to the number of the lamp points in each column of the display screen until the second image with the resolution same as that of the display screen is obtained through sampling.
8. The method of claim 4, wherein sampling the second image if the shape of the second image is the first target shape comprises:
and sampling the second image until the second image with the resolution same as that of the display screen is obtained through sampling.
9. An apparatus for acquiring optical information of a contoured screen, comprising:
the acquisition module is used for acquiring a first image displayed by the display screen in a lighting state;
the processing module is used for carrying out perspective change processing on the first image to obtain a second image;
a sampling module, configured to obtain a sampled second image by sampling the second image, so as to obtain optical information of the display screen, where a resolution of the sampled second image is the same as a resolution of the display screen, and the optical information includes at least one of: luminance information, chrominance information, and luminous flux information.
10. A non-volatile storage medium, characterized in that the non-volatile storage medium comprises a stored program, wherein when the program runs, the non-volatile storage medium is controlled to a device to execute the method for acquiring optical information of the special-shaped screen according to any one of claims 1 to 8.
CN202111679882.5A 2021-12-31 2021-12-31 Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium Pending CN114359220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111679882.5A CN114359220A (en) 2021-12-31 2021-12-31 Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111679882.5A CN114359220A (en) 2021-12-31 2021-12-31 Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium

Publications (1)

Publication Number Publication Date
CN114359220A true CN114359220A (en) 2022-04-15

Family

ID=81104937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111679882.5A Pending CN114359220A (en) 2021-12-31 2021-12-31 Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium

Country Status (1)

Country Link
CN (1) CN114359220A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114927090A (en) * 2022-05-30 2022-08-19 卡莱特云科技股份有限公司 Method, device and system for sorting light points in special-shaped LED display screen
CN114927090B (en) * 2022-05-30 2023-11-28 卡莱特云科技股份有限公司 Method, device and system for ordering lamp points in special-shaped LED display screen
CN114974090A (en) * 2022-05-31 2022-08-30 深圳市裕铭数智装备科技有限公司 Method and system for processing pixel change wiring diagram of special-shaped LED screen

Similar Documents

Publication Publication Date Title
CN114359220A (en) Method and device for acquiring optical information of special-shaped screen and nonvolatile storage medium
CN107025881B (en) Correction method and device for display unit
US7835592B2 (en) Calibration technique for heads up display system
CN103997631B (en) A kind of LED pointwise position contour extraction method based on camera shooting and system
WO2018090597A1 (en) Point-by-point correction method
CN108596908B (en) LED display screen detection method and device and terminal
CN110514406B (en) Detection method of LED lamp panel, electronic equipment and storage medium
CN101923825B (en) Regional correction method for planar lighting device
CN112687231B (en) Brightness and chrominance data extraction method, equipment and computer readable storage medium
CN110853105B (en) Method and device for simultaneously positioning RGB (red, green and blue) sub-pixels and application
CN112258429B (en) Image position marking method and device for display screen sub-pixels and storage medium
CN112185299B (en) Correction method and device for display screen
CN114495803A (en) Mura repairing method of display panel
US10349086B2 (en) Picture compression method for display panel and picture compression apparatus
US20150356903A1 (en) Image display method
CN109922574B (en) Light effect adjusting and controlling method and system for LED landscape lighting and storage medium
CN116634624B (en) Illumination control method and device for transparent screen display cabinet
US6927890B2 (en) Image display system and method
CN104539922A (en) Processing method and device for projection fusion dark field
CN115953981A (en) Method for positioning special-shaped plane screen lamp points and method for acquiring brightness information
CN113470567B (en) Display screen correction method, device and system
CN112489115B (en) Light-emitting module positioning method, device, electronic equipment, storage medium and system
US20030160805A1 (en) Image-processing method, image-processing apparatus, and display equipment
CN110874862A (en) System and method for three-dimensional reconstruction
CN107103318B (en) Image point positioning method and image point positioning device

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