CN-122027785-A - Link sampling mode test method and related equipment
Abstract
The invention discloses a link sampling mode test method and related equipment, and relates to the technical field of link sampling mode test, the method comprises the steps of generating a test signal diagram, wherein the test signal diagram at least comprises a first area and a second area, outputting the test signal diagram, and transmitting the test signal diagram to display equipment for display through a link to be tested; and judging whether the sampling mode actually adopted by the link to be tested is a first type sampling mode, a second type sampling mode or a third type sampling mode according to the visual characteristics presented by the first area and the second area on the display equipment. According to the invention, the interpretation result is clear at a glance through the visual characteristic change easy to distinguish, and professional knowledge and complex data analysis are not needed, so that the intuitiveness and reliability of the test are greatly enhanced.
Inventors
- ZHAO XIAFEI
- TONG LU
- MAO KE
- FANG HAIDONG
Assignees
- 北京数字电视国家工程实验室有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20251230
Claims (10)
- 1. A method for testing a link sampling mode, comprising: Generating a test signal diagram, wherein the test signal diagram at least comprises a first area and a second area, the first area is configured to present a first visual characteristic when a link to be tested adopts a first type sampling mode for carrying out chromaticity downsampling on chromaticity information in the horizontal direction, present a second visual characteristic different from the first visual characteristic when the link to be tested adopts a second type sampling mode for carrying out full sampling on the chromaticity information, and present a third visual characteristic when the link to be tested adopts a third type sampling mode for carrying out chromaticity downsampling on the chromaticity information in the horizontal and vertical directions; outputting the test signal diagram, and transmitting the test signal diagram to display equipment for display through a link to be tested; and judging whether the sampling mode actually adopted by the link to be tested is the first type sampling mode, the second type sampling mode or the third type sampling mode according to the visual characteristics presented by the first area and the second area on the display equipment.
- 2. The method for testing the sampling mode of the link according to claim 1, wherein determining, according to the visual features presented by the first area and the second area on the display device, whether the sampling mode actually adopted by the link to be tested is the first type sampling mode, the second type sampling mode or the third type sampling mode includes: Judging that the link to be tested actually adopts the second type sampling mode if the first area presents the second visual characteristic and the second area presents the fourth visual characteristic, judging that the link to be tested actually adopts the first type sampling mode if the first area presents the first visual characteristic, and judging that the link to be tested actually adopts the third type sampling mode if the second area presents the third visual characteristic.
- 3. The link sampling pattern test method according to claim 2, wherein the first visual feature is green, the second visual feature is brown, the third visual feature is blue, and the fourth visual feature is purple, wherein changing the first area from brown of the second visual feature to green of the first visual feature indicates the first type of sampling pattern, and changing the second area from purple of the fourth visual feature to blue of the third visual feature indicates the third type of sampling pattern.
- 4. A method of testing a link sampling mode according to any one of claims 1 to 3, wherein the first type of sampling mode is YCbCr 4:2:2 sampling mode, the second type of sampling mode is YCbCr 4:4:4 sampling mode, and the third type of sampling mode is YCbCr 4:2:0 sampling mode.
- 5. The link sampling mode test system is characterized by comprising a test signal diagram generation module, a display module and a discrimination module; The test signal diagram generation module is used for generating a test signal diagram, wherein the test signal diagram at least comprises a first area and a second area, the first area is configured to present a first visual characteristic when a link to be tested adopts a first type sampling mode for carrying out chromaticity downsampling on chromaticity information in the horizontal direction, present a second visual characteristic different from the first visual characteristic when the link to be tested adopts a second type sampling mode for carrying out full sampling on the chromaticity information, and present a third visual characteristic when the link to be tested adopts a third type sampling mode for carrying out chromaticity downsampling on the chromaticity information in the horizontal and vertical directions; The display module is used for outputting the test signal diagram and transmitting the test signal diagram to display equipment for display through a link to be tested; the judging module is used for judging whether the sampling mode actually adopted by the link to be tested is the first type sampling mode, the second type sampling mode or the third type sampling mode according to the visual characteristics presented by the first area and the second area on the display equipment.
- 6. The link sampling mode test system according to claim 5, wherein the judging module is specifically configured to judge that the link to be tested actually adopts the second type sampling mode if the first area presents the second visual characteristic and the second area presents the fourth visual characteristic, judge that the link to be tested actually adopts the first type sampling mode if the first area presents the first visual characteristic, and judge that the link to be tested actually adopts the third type sampling mode if the second area presents the third visual characteristic.
- 7. The link sampling pattern test system of claim 6, wherein the first visual feature is green and the second visual feature is brown, the third visual feature is blue and the fourth visual feature is purple, and wherein changing the first region from brown to green of the first visual feature indicates the first type of sampling pattern and changing the second region from purple of the fourth visual feature to blue of the third visual feature indicates the third type of sampling pattern.
- 8. The link sampling pattern test system according to any one of claims 5 to 7, wherein the first type of sampling pattern is YCbCr 4:2:2 sampling pattern, the second type of sampling pattern is YCbCr 4:4:4 sampling pattern, and the third type of sampling pattern is YCbCr 4:2:0 sampling pattern.
- 9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a link sampling pattern test method according to any one of claims 1 to 4 when the computer program is executed.
- 10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a link sampling pattern test method according to any of claims 1 to 4.
Description
Link sampling mode test method and related equipment Technical Field The present invention relates to the field of link sampling mode testing technologies, and in particular, to a link sampling mode testing method and related devices. Background In the field of video transmission and processing, the YCbCr chroma sampling mode which is actually effective in the current link is accurately judged, and the method has important significance for guaranteeing the picture quality of the final image and debugging the display equipment and the transmission equipment. Video signals may be automatically converted from a high quality full sampling mode for chrominance information to a low quality downsampling mode for chrominance information when transmitted over a complete path formed by the cable, interface and processing chip, which may result in loss of color detail. Therefore, the method for testing the link final sampling mode can be intuitively and efficiently judged, and the method is a clear technical problem to be solved urgently. In order to solve the technical problems, the closest scheme in the prior art is a test chart comparison analysis method. The method comprises the steps of firstly generating a high-precision reference picture containing fine color stripes or gradient colors at a signal source end in a YCbCr 4:4:4 sampling mode. The reference map is then sent to the display device over the link under test. At the display end, a high-precision scientific camera or an image acquisition card is used for capturing images displayed on a screen. And then, transmitting the captured image and the original reference image to a computer, running professional analysis software to perform pixel level comparison, and analyzing complex indexes such as frequency spectrum distribution of chromaticity information or calculating structural similarity. Finally, according to the attenuation degree of the chrominance information in the horizontal or vertical direction, a software algorithm judges whether a YCbCr 4:2:2 sampling mode or a YCbCr 4:2:0 sampling mode is actually adopted by the link. The system of this scheme is built up from a high precision signal generator, a link under test, expensive image capture equipment, and a computer running specialized analysis software. However, there are several significant drawbacks to this prior art approach. The first point is that the test system relies on expensive specialized image capturing and analyzing equipment, such as high-precision cameras and special software, resulting in high overall cost and difficulty in popularizing in the context of mass test of production lines or quick verification by common users. The second point is that the operation flow is complex and the efficiency is low, the testing process involves a plurality of independent steps such as image capturing, data transmission, software analysis and the like, professional operation is needed, quick one-key judgment cannot be realized, the testing efficiency is severely restricted, and the method is especially not suitable for the requirement of large-scale quick detection of a production line. The third point is that the interpretation of the test result is not visual, the result is presented in a form of a spectrogram or a data index, and an operator needs to have professional image processing knowledge to interpret the result, so that the human eyes cannot directly and intuitively obtain a clear conclusion of the link sampling mode. In summary, the prior art scheme has limitations in terms of cost, efficiency and intuitiveness, and a new link sampling mode test method is urgently needed to overcome the above drawbacks and achieve the test purposes of low cost, high efficiency and intuitiveness in interpretation. Disclosure of Invention The invention aims to solve the technical problems of the prior art, and particularly provides a link sampling mode test method and related equipment, wherein the method comprises the following steps of: 1) In a first aspect, the present invention provides a link sampling mode test method, which specifically includes the following technical schemes: Generating a test signal diagram, wherein the test signal diagram at least comprises a first area and a second area, the first area is configured to present a first visual characteristic when a link to be tested adopts a first type sampling mode for carrying out chromaticity downsampling on chromaticity information in the horizontal direction, present a second visual characteristic different from the first visual characteristic when the link to be tested adopts a second type sampling mode for carrying out full sampling on the chromaticity information, and present a third visual characteristic when the link to be tested adopts a third type sampling mode for carrying out chromaticity downsampling on the chromaticity information in the horizontal and vertical directions; Outputting the test signal diagram, and transmitting the