Color combining prism testing method, device and system
The test image of the color combination prism is collected through the image acquisition component, and the number of peaks on the relationship curve between its gray value and pixel position is determined. This solves the problem of optical performance detection of the color combination prism, improves detection accuracy and efficiency, and is suitable for industrial applications. .
Patent Information
- Application Number
- CN202111155630.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-29
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-09-29
AI Technical Summary
It is difficult to effectively test the optical performance of the color combination prism with the existing technology, which affects the imaging quality of the optical display module.
The image acquisition component collects the light emitted after the color combination prism, generates a test image, and determines the first curve based on the gray value and pixel position in the image to determine whether the number of wave peaks meets the preset threshold to determine the qualification of the color combination prism. sex.
It improves the detection accuracy and efficiency of the color combination prism, avoids the impact of unqualified optical performance on the assembled optical module, is simple to operate and low in cost, and is convenient for industrial application.
Smart Images

Figure CN114088349B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of optical display modules. More specifically, the embodiments of the present disclosure relate to a method, device and system for testing a color combining prism. Background Art
[0002] The color combining prism is a common optical element in the optical display module. The color combining prism has the function of combining the three light beams of R, G, and B to form a color image. The optical performance of the color combining prism directly affects the imaging quality of the optical display module.
[0003] Based on this, it is necessary to provide a method for testing the optical performance of a color combining prism. Summary of the invention
[0004] The purpose of the embodiments of the present disclosure is to provide a new technical solution for testing the optical performance of a color combining prism.
[0005] According to a first aspect of the present disclosure, a method for testing a color combining prism is provided, which is applied to a testing system, wherein the testing system includes an image acquisition component and at least one light source component, and the method includes:
[0006] Controlling the at least one light source assembly to emit light toward the color combining prism to be tested;
[0007] The image acquisition component acquires the light emitted after the color combining prism to be tested, and obtains at least one test image, wherein the at least one test image includes a test image corresponding to each of the light source assemblies;
[0008] Whether the color combining prism to be tested is qualified is determined according to the at least one test image.
[0009] Optionally, determining whether the color combining prism to be tested is qualified according to the at least one test image includes:
[0010] Determining whether the at least one test image satisfies a preset condition;
[0011] When the at least one test image satisfies a preset condition, determining that the color combining prism to be tested is qualified;
[0012] When there is a test image that does not meet a preset condition in the at least one test image, it is determined that the color combining prism to be tested is unqualified.
[0013] Optionally, determining whether any of the at least one test image satisfies a preset condition includes:
[0014] Determine a first curve according to the grayscale value of a pixel in the test image and the position of the pixel, wherein the first curve is a curve of the relationship between the grayscale value of the pixel and the position of the pixel in the test image;
[0015] When the number of peaks appearing in the first curve is less than a first threshold, determining that the test image meets a preset condition;
[0016] When the number of peaks appearing in the first curve is greater than or equal to the first threshold, it is determined that the test image does not meet the preset condition.
[0017] Optionally, the at least one light source assembly includes a first light source assembly, a second light source assembly, and a third light source assembly, and the at least one test image includes a first image corresponding to the first light source assembly, a second image corresponding to the second light source assembly, and a third image corresponding to the third light source assembly; and controlling the at least one light source assembly to emit light to the color combining prism to be tested includes:
[0018] Respectively controlling the first light source assembly, the second light source assembly and the third light source assembly to emit light to the color combining prism to be tested;
[0019] The step of determining whether the color combining prism to be tested is qualified according to the at least one test image comprises:
[0020] Whether the color-combining prism to be tested is qualified is determined according to the first image, the second image and the third image.
[0021] Optionally, before controlling the at least one light source assembly to emit light to the color combining prism to be tested, the method further includes:
[0022] The image acquisition component is controlled to move to a target position, wherein the target position is an imaging position of the at least one light source component.
[0023] Optionally, after acquiring the light emitted from the color-combining prism to be tested by the image acquisition component to obtain at least one test image, the method further includes:
[0024] Performing binarization processing on each of the test images;
[0025] The test image after the binarization process is subjected to denoising process.
[0026] According to a second aspect of the present disclosure, a testing device for a color combining prism is provided, which is applied to a testing system, wherein the testing system comprises an image acquisition component and at least one light source component, and the device comprises:
[0027] A first control module, used for controlling the at least one light source assembly to emit light to the color combining prism to be tested;
[0028] A collection module, used for collecting the light emitted after the color-combining prism to be tested through the image collection component to obtain at least one test image, wherein the at least one test image includes a test image corresponding to each of the light source components;
[0029] A determination module, used to determine whether the color-combining prism to be tested is qualified according to the at least one test image;
[0030] or,
[0031] The device comprises:
[0032] A memory for storing executable computer programs;
[0033] The processor is used to execute the color combining prism testing method as described in the first aspect of the present disclosure according to the control of the executable computer program.
[0034] According to a third aspect of the present disclosure, a color combining prism testing system is provided, comprising:
[0035] At least one light source assembly, used to emit light to the color combining prism to be tested;
[0036] An image acquisition component, used for acquiring the light emitted after the color combining prism to be tested, and obtaining at least one test image, wherein the at least one test image includes a test image corresponding to each of the light source components;
[0037] A testing device for a color combining prism as described in the first aspect of the present disclosure or the second aspect of the present disclosure.
[0038] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program that can be read and executed by a computer, and the computer program is used to execute the test method of the color combining prism according to the first aspect of the present disclosure when being read and executed by the computer.
[0039] According to the embodiment of the present disclosure, at least one light source component is controlled to emit light to the color-combining prism to be tested, and the light emitted after passing through the color-combining prism to be tested is collected by the image acquisition component to obtain at least one test image. According to the at least one test image, it is determined whether the color-combining prism to be tested is qualified. In this way, before assembling the optical display module, the optical performance of the color-combining prism can be detected based on the test image formed by the color-combining prism to improve the accuracy of the detection and avoid the influence of the unqualified optical performance of the color-combining prism on the assembled optical module. Moreover, the embodiment of the present disclosure can realize the detection of the optical display module by detecting the optical performance of the color-combining prism, which can improve the detection efficiency. In addition, the embodiment of the present disclosure is simple to operate, low in cost, and convenient for industrial application.
[0040] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can also be obtained based on these drawings without creative work.
[0042] Figure 1 is a schematic diagram of the hardware configuration of a test system that can be used to implement an embodiment of the present disclosure;
[0043] Figure 2 A schematic diagram of a process of testing a color combining prism according to an embodiment of the present disclosure;
[0044] Figure 3 A schematic diagram of the working principle of a color combining prism according to an embodiment of the present disclosure;
[0045] Figure 4a is a schematic diagram of a test image according to an embodiment of the present disclosure;
[0046] Figure 4b is a schematic diagram of a first curve of an embodiment of the present disclosure;
[0047] Figure 5a is a schematic diagram of another test image according to an embodiment of the present disclosure;
[0048] Figure 5b is a schematic diagram of another first curve of an embodiment of the present disclosure;
[0049] Figure 6 It is a flowchart of another method for testing a color combining prism according to an embodiment of the present disclosure;
[0050] Figure 7 A schematic diagram of the hardware structure of a color combining prism testing device according to an embodiment of the present disclosure;
[0051] Figure 8 It is a schematic diagram of the hardware structure of another color combining prism testing device according to an embodiment of the present disclosure;
[0052] Fig. 9 The figure is a schematic diagram of the structure of a color combining prism testing system according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0053] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0054] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0055] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0056] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0057] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0058] Color combining prisms are often used in optical display modules, such as AR optical display modules, MR display modules, etc. Color combining prisms are important optical devices in optical display modules. Color combining prisms (X-cubes) have the function of combining red (R), green (G), and blue (B) light beams to form a color image. The optical performance of color combining prisms directly affects the imaging quality of optical display modules.
[0059] In the related art, the color-combining prism can be made by bonding prisms with different coatings. For example, the color-combining prism can have a red light reflecting surface and a blue light reflecting surface. Due to processing deviation, the angle of the reflecting surface of the color-combining prism may be deviated, causing the outgoing light beam of the color-combining prism to separate, affecting the imaging quality of the optical display module.
[0060] In order to ensure the imaging quality of the optical display module, it is necessary to test the optical performance of the color combining prism before assembling the optical display module. To this end, the disclosed embodiment proposes a method for testing the color combining prism, which can detect the optical performance of the color combining prism by using the image formed by the color combining prism acquired by the image acquisition component, with simple operation and high detection accuracy.
[0061] <Hardware Configuration>
[0062] Figure 1 FIG. 1 is a schematic diagram of a hardware configuration that can be used to implement a test system of an embodiment.
[0063] In one embodiment, the test system 1000 can be as follows Figure 1 As shown, it includes a testing device 1100 , an image acquisition component 1200 , and at least one light source component 1300 .
[0064] At least one light source assembly 1300 is used to emit light to the color combining prism to be tested.
[0065] The image acquisition component 1200 is used to collect the light emitted after passing through the color combining prism to be tested to obtain at least one test image, and the at least one test image includes a test image corresponding to each light source component.
[0066] The testing device 1100 is used to determine whether the color combining prism to be tested is qualified according to at least one test image.
[0067] In one embodiment, the testing device 1100 can be as follows Figure 1 As shown, it includes a processor 1110 , a memory 1120 , an interface device 1130 , a communication device 1140 , a display device 1150 , and an input device 1160 .
[0068] The processor 1110 may include, for example, but is not limited to, a central processing unit (CPU), a microprocessor (MCU), etc. The memory 1120 may include, for example, a ROM (read-only memory), a RAM (random access memory), a non-volatile memory such as a hard disk, etc. The interface device 1130 may include, for example, various bus interfaces, such as a serial bus interface (including a USB interface), a parallel bus interface, etc. The communication device 1140 may, for example, be capable of wired or wireless communication. The display device 1150 may, for example, be a liquid crystal display, an LED display, a touch display, etc. The input device 1160 may, for example, include a touch screen, a keyboard, etc.
[0069] In this embodiment, the memory 1120 of the testing device 1100 is used to store instructions, and the instructions are used to control the processor 1110 to operate to implement or support the implementation of the test method of the color combination prism according to any embodiment. The technician can design the instructions according to the scheme disclosed in this specification. How the instructions control the processor to operate is well known in the art, so it will not be described in detail here.
[0070] It should be understood by those skilled in the art that although Figure 1 , multiple devices of the test device 1100 are shown, but the test device 1100 of the embodiment of this specification may only involve some of the devices, for example, only the processor 1110 and the memory 1120, etc. Figure 1 The illustrated testing apparatus 1100 is illustrative only and is in no way intended to limit the present description, its application, or uses.
[0071] Hereinafter, various embodiments and examples according to the present disclosure are described with reference to the drawings.
[0072] <Method Example>
[0073] Figure 2 A method for testing a color combining prism according to an embodiment is shown. The method for testing a color combining prism can be performed as follows, for example: Figure 1 The test system 1000 shown in FIG. 1 includes an image acquisition component and at least one light source component. Figure 2 As shown, the method for testing the color combining prism may include the following steps S2100 to S2300.
[0074] Step S2100, controlling the at least one light source assembly to emit light to the color combining prism to be tested.
[0075] The light source assembly may be an optical device for emitting a monochromatic light beam to the color combining prism. The light source assembly may be a monochromatic light collimator, which may emit a monochromatic parallel light beam to the color combining prism to be tested. For example, a red light collimator, a green light collimator, or a blue light collimator.
[0076] In this embodiment, the test system may include one light source assembly or multiple light source assemblies. The number of light source assemblies may be set according to the actual use scenario of the color combining prism. For example, for a color combining prism used in an AR optical display module, the light source assembly may include a red light collimator, a green light collimator, and a blue light collimator.
[0077] In one embodiment, when the test system includes a first light source assembly, a second light source assembly, and a third light source assembly, controlling at least one of the light source assemblies to emit light to the color-combining prism to be tested includes: respectively controlling the first light source assembly, the second light source assembly, and the third light source assembly to emit light to the color-combining prism to be tested.
[0078] It should be noted that, according to the structure of the optical display assembly adapted to the color-combining prism to be tested, the first light source assembly, the second light source assembly and the third light source assembly are arranged to simulate the actual working scene of the optical display assembly, thereby improving the accuracy of detection.
[0079] Take the color combination prism used in AR optical display module as an example, see Figure 3 The color-combining prism 31 to be tested includes a red light reflecting surface 311 and a blue light reflecting surface 312. The red light reflecting surface 311 reflects red light and allows blue light and green light to pass through. The blue light reflecting surface 312 reflects blue light and allows red light and green light to pass through. A red light collimator 32 is arranged on the left side of the color-combining prism 31 to be tested, a green light collimator 33 is arranged on the right side of the color-combining prism 31 to be tested, and a blue light collimator 34 is arranged on the upper side of the color-combining prism 31 to be tested. In this way, when the AR optical display module is working, red light, green light and blue light are incident from three directions respectively, red light and blue light are reflected by the color-combining prism, and green light is emitted from the same direction after being transmitted by the color-combining prism to form a color test image.
[0080] In one embodiment, before controlling the at least one light source assembly to emit light to the color combining prism to be tested, the method may further include: controlling the image acquisition assembly to move to a target position.
[0081] The target position may be an imaging position of at least one light source assembly. For example, for a collimator, the imaging position of the collimator is at ∞, that is, the working distance of the image acquisition assembly is ∞. For another example, assuming that the imaging position of the light source assembly is at 4 meters, that is, the working distance of the image acquisition assembly is 4 meters.
[0082] Taking the collimator as an example, in the specific implementation, the collimator is used to correct the working distance of the image acquisition component to ∞, that is, the image acquisition component is controlled to move to the target position. According to the embodiment of the present disclosure, before controlling at least one light source component to emit light to the color-combining prism to be tested, the image acquisition component is controlled to move to the target position, which can ensure that the image acquisition component obtains a clear test image, thereby testing whether the optical performance of the color-combining prism is qualified based on the test image, avoiding the influence of image quality on the test result, and improving the accuracy of the detection.
[0083] After step S2100, step S2200 is executed to acquire the light emitted after the color combining prism to be tested by the image acquisition component to obtain at least one test image, wherein the at least one test image includes a test image corresponding to each of the light source components.
[0084] The image acquisition component is used to collect the light after being combined by the color combining prism to be tested to form a test image.
[0085] In this embodiment, when the test system includes multiple light source components, each light source component is controlled in turn to emit light to the color-combining prism to be tested, and the test images formed after the light emitted by each light source component to the color-combining prism to be tested is collected respectively. That is to say, at least one test image corresponds to at least one light source component one by one. Exemplarily, when the test system includes three light source components, namely, a red light collimator, a green light collimator, and a blue light collimator, the test images include a first image corresponding to the red light collimator, a second image corresponding to the green light collimator, and a third image corresponding to the blue light collimator.
[0086] In one embodiment, after the image acquisition component acquires the light emitted after the color combining prism to be tested to obtain at least one test image, the method may further include: step S3100-step S3200.
[0087] Step S3100: performing binarization processing on each of the test images.
[0088] In specific implementation, the test image can be binarized by an adaptive binarization processing algorithm in the computer vision library OpenCV to obtain a binarized test image. In this embodiment, the detection of the color-combining prism to be tested can be achieved based on the binarized test image.
[0089] OpenCV is a cross-platform computer vision library released under the BSD license (open source) and can run on operating systems such as Linux, Windows, Android, and MacOS. The OpenCV computer vision library provides interfaces for languages such as Python, Ruby, and MATLAB, and implements many common algorithms in image processing and computer vision.
[0090] Step S3200, performing denoising on the test image after the binarization process.
[0091] In this embodiment, after obtaining the binarized test image, the binarized test image may be further subjected to denoising processing to remove noise points or abnormal points in the test image, thereby avoiding interference from the noise points or abnormal points and improving the accuracy of detection. For example, the binarized test image may be subjected to erosion and dilation processing. For another example, the test image may be filtered according to preset parameters.
[0092] After step S2200, step S2300 is performed to determine whether the color combining prism to be tested is qualified according to the at least one test image.
[0093] In this embodiment, the test image may be an image including a preset pattern, so that the optical performance of the color combining prism can be subsequently detected according to the test image. In this embodiment, due to the processing error of the color combining prism, the light after the color combining prism is combined will be separated, and the preset pattern in the test image obtained after the color combining prism is combined will be separated. Based on this, it can be determined whether the optical performance of the color combining prism is qualified according to the test image.
[0094] It should be noted that the light source assembly can be configured to obtain test images with different preset patterns.
[0095] For example, the preset pattern may be as follows: Figure 4a In this embodiment, using a test image with a cross pattern is more conducive to determining whether the optical performance of the color combining prism is qualified through the test image, which can improve the test efficiency.
[0096] In one embodiment, at least one light source assembly includes a first light source assembly, a second light source assembly, and a third light source assembly, and at least one test image includes a first image corresponding to the first light source assembly, a second image corresponding to the second light source assembly, and a third image corresponding to the third light source assembly; determining whether the color-combining prism to be tested is qualified based on the at least one test image includes: determining whether the color-combining prism to be tested is qualified based on the first image, the second image, and the third image.
[0097] In this embodiment, when multiple light source assemblies are provided, the optical performance of the color combining prism to be tested is detected based on multiple test images obtained by the multiple light source assemblies, so that the accuracy of the detection can be improved.
[0098] In one embodiment, determining whether the color combining prism to be tested is qualified according to at least one test image may further include: step S4100 to step S4300.
[0099] Step S4100, determining whether the at least one test image satisfies a preset condition.
[0100] In this embodiment, when multiple test images are included, determining whether at least one test image meets the preset condition may be determining whether each test image meets the preset condition. In specific implementation, determining whether the test image meets the preset condition may be performed based on the grayscale value of each pixel in the test image.
[0101] Step S4200: When the at least one test image satisfies a preset condition, it is determined that the color combining prism to be tested is qualified.
[0102] Step S4300: When there is a test image that does not meet a preset condition in the at least one test image, it is determined that the color combining prism to be tested is unqualified.
[0103] Continuing with the example of the color-combining prism used in the AR optical display module, please continue to refer to Figure 3 The color-combining prism 31 to be tested includes a red light reflecting surface 311 and a blue light reflecting surface 312. The red light reflecting surface 311 reflects red light and allows blue light and green light to pass through. The blue light reflecting surface 312 reflects blue light and allows red light and green light to pass through. A red light collimator 32 is arranged on the left side of the color-combining prism 31 to be tested, a green light collimator 33 is arranged on the right side of the color-combining prism 31 to be tested, and a blue light collimator 34 is arranged on the upper side of the color-combining prism 31 to be tested. In this way, when the AR optical display module is working, red light, green light and blue light are incident from three directions respectively, and the red light and blue light are reflected by the color-combining prism, and the green light is transmitted by the color-combining prism, and then emitted from the same direction to form a color test image. If there is a deviation in the setting angle of the red light reflecting surface 311 of the color-combining prism 31, the reflected red light will be separated, which will affect the image quality of the test image. If there is a deviation in the setting angle of the blue light reflecting surface 312 of the color combining prism 31, the reflected blue light will be separated, which will affect the image quality of the test image. Based on this, it is necessary to detect the test image generated by each light source component separately. When each test image meets the preset conditions, it is determined that the color combining prism to be tested is qualified.
[0104] In this embodiment, it is determined whether at least one test image meets the preset conditions. When at least one test image meets the preset conditions, it is determined that the color-combining prism to be tested is qualified. When there is a test image that does not meet the preset conditions in at least one test image, it is determined that the color-combining prism to be tested is unqualified, which can improve the detection accuracy.
[0105] In a more specific example, determining whether any of the at least one test image satisfies a preset condition may further include: step S5100 to step S5300.
[0106] Step S5100: determining a first curve according to the grayscale value of a pixel in the test image and the position of the pixel.
[0107] The first curve is a curve of the relationship between the grayscale value of the pixel and the position of the pixel in the test image. The position of the pixel in the test image can be the number of rows of the pixel in the test image, or the number of columns of the pixel in the test image. In other words, the ordinate of the first curve is the grayscale value of the pixel, and the abscissa is the number of rows or columns of the pixel in the test image.
[0108] Step S5200: When the number of peaks appearing in the first curve is less than a first threshold, it is determined that the test image meets a preset condition.
[0109] Step S5300: When the number of peaks appearing in the first curve is greater than or equal to the first threshold, it is determined that the test image does not meet a preset condition.
[0110] The first threshold is used to measure whether the number of peaks appearing in the first curve meets the requirements. The first threshold may be, for example, 2. The first threshold may be set according to actual experience, and the embodiment of the present disclosure does not specifically limit this.
[0111] In this embodiment, if the preset pattern in the test image formed by the color combination prism does not separate, there is a pixel with the highest brightness in a row or a column of pixels in the test image, that is, a peak appears in the first curve. If the preset pattern in the test image formed by the color combination prism separates, there are multiple pixels with the highest brightness in a row or a column of pixels in the test image, that is, multiple peaks appear in the first curve. Based on this, the number of peaks of the first curve is compared with the first threshold to determine whether the test image meets the preset condition.
[0112] See also Figure 4a and Figure 4b , when there is only one peak in the first curve, it means that the cross pattern in the test image formed by the color-combining prism has not been separated, that is, the test image meets the preset conditions. Figure 5a and Figure 5b When two peaks appear in the first curve, it indicates that the cross pattern in the test image formed by the color combining prism is separated, that is, the test image does not meet the preset conditions.
[0113] In this embodiment, when multiple test images are included, determining whether at least one test image meets the preset condition may be determining whether each test image meets the preset condition. In specific implementation, determining whether the test image meets the preset condition may be performed based on the grayscale value of each pixel in the test image.
[0114] In this embodiment, the first curve is determined according to the gray value of the pixel point in the test image and the position of the pixel point. When the number of peaks appearing in the first curve is less than the first threshold, it is determined that the test image meets the preset condition. When the number of peaks appearing in the first curve is greater than or equal to the first threshold, it is determined that the test image does not meet the preset condition. The disclosed embodiment determines whether the test image meets the preset condition by using the first curve, which can improve the detection accuracy while reducing the amount of calculation and improving the detection speed.
[0115] According to the embodiment of the present disclosure, at least one light source component is controlled to emit light to the color-combining prism to be tested, and the light emitted after passing through the color-combining prism to be tested is collected by the image acquisition component to obtain at least one test image. According to the at least one test image, it is determined whether the color-combining prism to be tested is qualified. In this way, before assembling the optical display module, the optical performance of the color-combining prism can be detected based on the test image formed by the color-combining prism to improve the accuracy of the detection and avoid the influence of the unqualified optical performance of the color-combining prism on the assembled optical module. Moreover, the embodiment of the present disclosure can realize the detection of the optical display module by detecting the optical performance of the color-combining prism, which can improve the detection efficiency. In addition, the embodiment of the present disclosure is simple to operate, low in cost, and convenient for industrial application.
[0116] The following is a specific example to illustrate the testing method of the color combining prism of this embodiment. Figure 6 The method includes steps S601 to S611.
[0117] Step S601, controlling the color combining prism to be tested to move to a position to be tested.
[0118] Step S602, respectively controlling the red light collimator, the green light collimator and the blue light collimator to emit light to the color combining prism to be tested.
[0119] Step S603, respectively acquiring a first image corresponding to the red light collimator, a second image corresponding to the green light collimator, and a third image corresponding to the blue light collimator object through an image acquisition component.
[0120] Step S604: obtaining a first curve corresponding to the first image.
[0121] Step S605, determining whether the number of peaks appearing in the first curve corresponding to the first image is 1, if yes, executing step S606, otherwise, executing step S611.
[0122] Step S606: acquiring a first curve corresponding to the second image.
[0123] Step S607, determining whether the number of peaks appearing in the first curve corresponding to the second image is 1, if yes, executing step S607, otherwise, executing step S611.
[0124] Step S608: obtaining a first curve corresponding to the third image.
[0125] Step S609, determining whether the number of peaks appearing in the first curve corresponding to the third image is 1, if yes, executing step S610, otherwise, executing step S611.
[0126] Step S610, determining whether the color combining prism to be tested is qualified.
[0127] Step S611, determining that the color combining prism to be tested is unqualified.
[0128] According to this example, before assembling the optical display module, the optical performance of the color-combining prism can be detected based on the test image formed by the color-combining prism to improve the accuracy of the detection and avoid the impact of the unqualified optical performance of the color-combining prism on the assembled optical module. In addition, the embodiment of the present disclosure can detect the optical performance of the color-combining prism to achieve detection of the optical display module, which can improve the detection efficiency. In addition, the embodiment of the present disclosure is simple to operate, low in cost, and easy to industrialize.
[0129] <Device Example>
[0130] This embodiment provides a color-combining prism testing device, which is applied to a testing system. The testing system includes an image acquisition component and at least one light source component, such as Figure 7 As shown, the color combining prism testing device 700 may include a first control module 710 , a collection module 720 and a determination module 730 .
[0131] The first control module 710 is used to control the at least one light source assembly to emit light to the color combining prism to be tested.
[0132] The acquisition module 720 is used to acquire the light emitted after the color combining prism to be tested through the image acquisition component to obtain at least one test image, and the at least one test image includes a test image corresponding to each of the light source components.
[0133] The determination module 730 is used to determine whether the color combining prism to be tested is qualified according to the at least one test image.
[0134] In one embodiment, the determination module 730 is specifically used to: determine whether the at least one test image meets a preset condition; if the at least one test image meets the preset condition, determine that the color-combining prism to be tested is qualified; if there is a test image that does not meet the preset condition in the at least one test image, determine that the color-combining prism to be tested is unqualified.
[0135] In one embodiment, the determination module 730 includes: a first determination unit, used to determine a first curve based on the grayscale value of a pixel point in the test image and the position of the pixel point, wherein the first curve is a curve of the relationship between the grayscale value of a pixel point and the position of the pixel point in the test image; a second determination unit, used to determine that the test image meets a preset condition when the number of peaks appearing in the first curve is less than a first threshold; and a third determination unit, used to determine that the test image does not meet the preset condition when the number of peaks appearing in the first curve is greater than or equal to the first threshold.
[0136] In one embodiment, the at least one light source assembly includes a first light source assembly, a second light source assembly and a third light source assembly, and the at least one test image includes a first image corresponding to the first light source assembly, a second image corresponding to the second light source assembly and a third image corresponding to the third light source assembly; the first control module 710 includes: a control unit, used to respectively control the first light source assembly, the second light source assembly and the third light source assembly to emit light to the color-combining prism to be tested; the determination module 730 includes: a fourth determination unit, used to determine whether the color-combining prism to be tested is qualified based on the first image, the second image and the third image.
[0137] In one embodiment, the device further includes: a second control module, configured to control the image acquisition component to move to a target position, wherein the target position is an imaging position of the at least one light source component.
[0138] In one embodiment, the device further includes: a first image processing module, used for performing binarization processing on each of the test images; and a second image processing module, used for performing denoising processing on the test images after the binarization processing.
[0139] According to the embodiment of the present disclosure, before assembling the optical display module, the optical performance of the color-combining prism can be detected based on the test image formed by the color-combining prism to determine whether it is qualified, which can improve the accuracy of the detection and avoid the unqualified optical performance of the color-combining prism from affecting the assembled optical module. Moreover, the embodiment of the present disclosure can detect the optical performance of the color-combining prism to achieve detection of the optical display module, which can improve the detection efficiency. In addition, the embodiment of the present disclosure is simple to operate, low in cost, and convenient for industrial application.
[0140] This embodiment also provides another color-combining prism testing device, such as Figure 8 As shown, the color-combining prism testing device 800 includes a memory 820 and a processor 810. The memory 820 is used to store an executable computer program. The processor 810 is used to execute the color-combining prism testing method according to the embodiment of the method disclosed in the present invention under the control of the executable computer program.
[0141] The testing device 800 of the color combining prism can be as follows: Figure 1 The test device 1100 shown may also be a device with other hardware structures, which is not limited here.
[0142] In one embodiment, each module of the above color combining prism testing device 800 can be implemented by the processor 810 running computer instructions stored in the memory 820 .
[0143] <System Embodiment>
[0144] This embodiment provides a color combining prism testing system, and the testing system 900 is used to detect the optical performance of the color combining prism to be tested 910. The testing system 900 may include at least one light source component, an image acquisition component 930, and a testing device.
[0145] At least one light source assembly is used to emit light to the color combining prism 910 to be tested.
[0146] The image acquisition component 930 is used to collect the light emitted after the color combining prism 910 to be tested to obtain at least one test image, and the at least one test image includes a test image corresponding to each of the light source components.
[0147] The testing device is used to determine whether the color combining prism to be tested is qualified according to the at least one test image.
[0148] In one embodiment, the test device may be Figure 7 The test device 700 shown in FIG. 1 may also be Figure 8 A test apparatus 800 is shown.
[0149] In one embodiment, the at least one light source assembly includes a first light source assembly 921 located at a first incident direction of the color combining prism 910 to be tested, a second light source assembly 922 located at a second incident direction of the color combining prism 910 to be tested, and a third light source assembly 923 located at a third incident direction of the color combining prism 910 to be tested.
[0150] The first light source assembly 921, the second light source assembly 922 and the third light source assembly 923 are respectively a red light collimator, a green light collimator and a blue light collimator. Fig. 9 As shown, a first light source assembly 921 is disposed on the left side of the color-combining prism 910 to be tested, a second light source assembly 922 is disposed on the right side of the color-combining prism 910 to be tested, and a third light source assembly 923 is disposed on the upper side of the color-combining prism 910 to be tested. In this way, when the optical display module is working, red light, green light, and blue light are incident from three directions respectively, and after being combined by the color-combining prism, they are emitted from the same direction to form a color test image. Based on this, the test system can realize the detection of the color-combining prism.
[0151] According to the embodiment of the present disclosure, the working scene of the optical display module can be simulated by using the test system, based on which the optical performance of the color-combining prism can be detected. In this way, before assembling the optical display module, the optical performance of the color-combining prism can be detected based on the test image formed by the color-combining prism to determine whether it is qualified, which can improve the accuracy of the detection and avoid the influence of the unqualified optical performance of the color-combining prism on the assembled optical module. Moreover, the embodiment of the present disclosure can detect the optical display module by detecting the optical performance of the color-combining prism, which can improve the detection efficiency. In addition, the embodiment of the present disclosure is simple to operate, low in cost, and convenient for industrial application.
[0152] <Medium Example>
[0153] In this embodiment, a computer-readable storage medium is also provided, which stores a computer program that can be read and executed by a computer, and the computer program is used to execute a method for testing a color combining prism as in any of the above method embodiments of the present invention when read and executed by the computer.
[0154] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments, but it should be clear to those skilled in the art that the above embodiments can be used alone or in combination with each other as needed. In addition, for the device embodiment, since it corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the corresponding part of the method embodiment. The system embodiment described above is merely illustrative, and the modules described as separate components may or may not be physically separated.
[0155] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.
[0156] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0157] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0158] The computer program instructions for performing the operation of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "Like" languages or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, the electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be executed by using the state information of the computer-readable program instructions to personalize and customize the electronic circuit, thereby implementing various aspects of the present invention.
[0159] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.
[0160] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0161] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0162] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0163] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.
Claims
1. A method for testing a color combining prism. It is characterized in that Applied to a test system, the test system includes an image acquisition component and at least one light source component, the at least one light source component includes a first light source component located in a first incident direction of a color combining prism to be tested, a second light source component located in a second incident direction of the color combining prism to be tested, and a third light source component located in a third incident direction of the color combining prism to be tested, the method includes: Respectively controlling the first light source assembly, the second light source assembly and the third light source assembly to emit light to the color combining prism to be tested; The image acquisition component acquires the light emitted after passing through the color-combining prism to be tested, and obtains a test image corresponding to each of the light source assemblies; According to each test image, it is determined whether the color combining prism to be tested is qualified.
2. The method according to claim 1, It is characterized in that The step of determining whether the color-combining prism to be tested is qualified according to each test image includes: Determining whether each test image meets a preset condition; When all the test images meet the preset conditions, determining that the color combining prism to be tested is qualified; In the case that there is a test image that does not meet the preset condition in at least one test image, it is determined that the color combining prism to be tested is unqualified.
3. The method according to claim 2, It is characterized in that Determining whether any of the test images satisfies a preset condition includes: Determine a first curve according to the grayscale value of a pixel in the test image and the position of the pixel, wherein the first curve is a curve of the relationship between the grayscale value of the pixel and the position of the pixel in the test image; When the number of peaks appearing in the first curve is less than a first threshold, determining that the test image meets a preset condition; When the number of peaks appearing in the first curve is greater than or equal to the first threshold, it is determined that the test image does not meet the preset condition.
4. The method according to claim 1, It is characterized in that The test images include a first image corresponding to the first light source assembly, a second image corresponding to the second light source assembly, and a third image corresponding to the third light source assembly; The step of determining whether the color-combining prism to be tested is qualified according to each test image includes: Whether the color-combining prism to be tested is qualified is determined according to the first image, the second image and the third image.
5. The method according to claim 1, It is characterized in that Before respectively controlling the first light source assembly, the second light source assembly, and the third light source assembly to emit light to the color combining prism to be tested, the method further includes: The image acquisition component is controlled to move to a target position, wherein the target position is an imaging position of the at least one light source component.
6. The method according to claim 1, It is characterized in that After the image acquisition component acquires the light emitted after the color-combining prism to be tested to obtain a test image corresponding to each of the light source assemblies, the method further includes: Performing binarization processing on each of the test images; The test image after the binarization process is subjected to denoising process.
7. A testing device for a color combining prism, It is characterized in that Applied to a test system, the test system includes an image acquisition component and at least one light source component, the at least one light source component includes a first light source component located in a first incident direction of a color-combining prism to be tested, a second light source component located in a second incident direction of the color-combining prism to be tested, and a third light source component located in a third incident direction of the color-combining prism to be tested, the device includes: A first control module, used to respectively control the first light source assembly, the second light source assembly and the third light source assembly to emit light to the color combining prism to be tested; An acquisition module, used for acquiring the light emitted after the color-combining prism to be tested through the image acquisition component, and obtaining a test image corresponding to each of the light source components; A determination module, used to determine whether the color-combining prism to be tested is qualified according to each test image; or, The device comprises: A memory for storing executable computer programs; A processor is used to execute the test method of the color combining prism according to any one of claims 1-5 under the control of the executable computer program.
8. A color combining prism testing system, It is characterized in that include: At least one light source assembly, used to emit light to the color-combining prism to be measured; wherein the at least one light source assembly includes a first light source assembly located in a first incident direction of the color-combining prism to be measured, a second light source assembly located in a second incident direction of the color-combining prism to be measured, and a third light source assembly located in a third incident direction of the color-combining prism to be measured; An image acquisition component, used for acquiring the light emitted after passing through the color combining prism to be tested, and obtaining a test image corresponding to each of the light source components; A testing device for a color combining prism as claimed in claim 7.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program that can be read and executed by a computer, and the computer program is used to execute the method for testing the color combining prism according to any one of claims 1 to 6 when being read and executed by the computer.
