WO2023040721A1 - Method, apparatus and system for calibrating two spatial light modulation devices, and electronic device - Google Patents

Method, apparatus and system for calibrating two spatial light modulation devices, and electronic device Download PDF

Info

Publication number
WO2023040721A1
WO2023040721A1 PCT/CN2022/117542 CN2022117542W WO2023040721A1 WO 2023040721 A1 WO2023040721 A1 WO 2023040721A1 CN 2022117542 W CN2022117542 W CN 2022117542W WO 2023040721 A1 WO2023040721 A1 WO 2023040721A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
spatial light
light modulator
imaged
pixel
Prior art date
Application number
PCT/CN2022/117542
Other languages
French (fr)
Chinese (zh)
Inventor
弓殷强
陈彦哲
赵鹏
李屹
Original Assignee
深圳光峰科技股份有限公司
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 深圳光峰科技股份有限公司 filed Critical 深圳光峰科技股份有限公司
Publication of WO2023040721A1 publication Critical patent/WO2023040721A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01MTESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
    • G01M11/00Testing of optical apparatus; Testing structures by optical methods not otherwise provided for
    • G01M11/02Testing optical properties
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]

Definitions

  • the present application relates to the field of optical technology, in particular, to a calibration method, device, system and electronic equipment for a dual spatial light modulation device.
  • Embodiments of the present application provide a calibration method, device, system and electronic equipment for dual spatial light modulators, which can improve the calibration efficiency of dual spatial light modulators at least to a certain extent and ensure the accuracy of calibration results.
  • a calibration method for a dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, including:
  • the second spatial light modulator outputs the first image light according to the output light of the turned-on pixels in the first spatial light modulator
  • the pixel distribution of the second spatial light modulator and the position information of the first imaged image determine and store each pixel in the first spatial light modulator and each pixel in the second spatial light modulator Correspondence between.
  • a calibration device for a dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, and the device includes:
  • a first acquiring module configured to acquire the pixel distribution of the second spatial light modulator
  • a pixel turning-on module configured to turn on pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs light according to the output light of the turned-on pixels in the first spatial light modulator first image light;
  • a second acquisition module configured to acquire a first image to be processed including a first imaged image, the first imaged image is obtained by imaging the first image light;
  • the first determination module determines the position information of the first imaged image according to the preprocessed first image to be processed
  • the second determining module is configured to determine and store the relationship between each pixel in the first spatial light modulator and the second image based on the pixel distribution of the second spatial light modulator and the position information of the first imaged image. Correspondence between pixels in the spatial light modulator.
  • a calibration system for a dual spatial light modulation device includes:
  • a light source for providing source light to the first spatial light modulator
  • an image processing device configured to acquire and process the projection image output by the second spatial light modulator
  • the image processing apparatus can execute the calibration method of the dual spatial light modulation device as described in the above embodiments.
  • a computer-readable medium on which a computer program is stored, and when the computer program is executed by a processor, the calibration of the dual spatial light modulation device as described in the above-mentioned embodiments is realized method.
  • an electronic device including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more When multiple processors execute, the one or more processors implement the calibration method for the dual spatial light modulation device as described in the foregoing embodiments.
  • the pixels in the first spatial light modulator are turned on according to predetermined rules, so that the second spatial light modulator
  • the output light of the turned-on pixel in a spatial light modulator outputs the first image light, acquires the first image to be processed including the first imaged image, the first imaged image is obtained by imaging the first image light, and Determine the position information of the first imaged image according to the preprocessed first image to be processed, and then determine and store the first spatial light modulation according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image.
  • the corresponding relationship between each pixel in the second spatial light modulator and each pixel in the second spatial light modulator is obtained to complete the calibration, and at the same time, the accuracy of the calibration result can be guaranteed.
  • Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
  • Fig. 2 shows a schematic flowchart of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • Fig. 3 shows a schematic flowchart of determining a center position of a first imaged image in a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of step S250 in the calibration method of the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
  • Fig. 5 shows a schematic flowchart of step S410 in the calibration method of the dual spatial light modulation device in Fig. 4 according to an embodiment of the present application.
  • Fig. 6 shows a schematic flowchart of determining the topography of the first imaged image further included in the calibration method of the dual spatial light modulation device according to an embodiment of the present application.
  • Fig. 7 shows a schematic flowchart of determining shape information of an unimaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • FIG. 8 shows a schematic flowchart of step S210 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
  • Fig. 9a to Fig. 9e show a schematic processing flow diagram of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • Fig. 10 shows a block diagram of a calibration device of a dual spatial light modulation device according to an embodiment of the present application.
  • FIG. 11 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
  • Example embodiments will now be described more fully with reference to the accompanying drawings.
  • Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art.
  • Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
  • the system architecture may include an imaging carrier 110 , a dual spatial light modulation device 120 , an image acquisition device 130 and a processor 140 .
  • the dual spatial light modulation device 120 and the processor 140, and the image acquisition device 130 and the processor 140 can be connected through a network, and the network can include various connection types, such as wired communication links, wireless communication links etc.
  • the image acquisition device 130 may be a camera, or an imaging luminance meter disposed on the outgoing light path of the second spatial light modulator, which is not specifically limited in this application.
  • the processor 140 may be a processor independent of the dual spatial light modulation device 120, such as a processing server, a processing terminal (such as a smart phone, a tablet computer, a portable computer or a desktop computer, etc.), a processor 140 may also be a processor provided in the dual spatial light modulation device 120, which is not specifically limited in this application.
  • imaging carriers dual spatial light modulation devices, image acquisition devices and processors in Fig. 1 are only illustrative. According to the implementation requirements, there may be any number of imaging carriers, dual spatial light modulation devices, image acquisition devices, and processors.
  • the processor 140 obtains the pixel distribution of the second spatial light modulator, and turns on the pixels in the first spatial light modulator according to predetermined rules, so that the second spatial light modulator
  • the output light of the turned-on pixel in the light modulator outputs the first image light, and the first image to be processed including the first imaged image is acquired by the image acquisition device 130, and the first imaged image is imaged by the first image light obtained, and according to the preprocessed first image to be processed, determine the position information of the first imaged image, and then determine and store the first image according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image
  • the corresponding relationship between each pixel in the spatial light modulator and each pixel in the second spatial light modulator is used to complete the calibration of the dual spatial light modulation device.
  • Fig. 2 shows a schematic flowchart of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • the calibration method of the dual spatial light modulation device includes at least step S210 to step S250, which are described in detail as follows:
  • step S210 pixel distribution of the second spatial light modulator is acquired.
  • the pixel distribution may be the distribution of the projection positions of the pixels in the second spatial light modulator.
  • a projection image for determining the pixel distribution of the second spatial light modulator may be pre-stored in the processor, and the processor may control the pixels in the first spatial light modulator to perform turn on, so that the second spatial light modulator outputs the projected image according to the output light of each pixel in the first spatial light modulator.
  • the processor may determine the pixel distribution of the second spatial light modulator based on the projection image output by the second spatial light modulator, that is, the distribution positions of the projection images output by each pixel in the second spatial light modulator. It should be noted that, in the actual calibration process, the processor controls each pixel of the first spatial light modulation to be fully open, collects the projection image output by the second spatial light modulator, and processes the projection image The pixel distribution of the second spatial light modulator is obtained.
  • step S220 turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs the first An image light.
  • the predetermined rule may be preset by those skilled in the art, and is used to control the turn-on of each pixel in the first spatial light modulator so as to realize the pixel turn-on rule of pixel calibration of the dual spatial light modulation device.
  • the predetermined rule may be to turn on the pixels in the first spatial light modulator one by one in order, or the predetermined rule may also be to turn on the pixels in the first spatial light modulator at predetermined intervals, etc.
  • Those skilled in the art may The corresponding predetermined rule is determined according to actual implementation requirements, which is not specifically limited in the present application.
  • the first spatial light modulator and the second spatial light modulator connected in series each include a plurality of pixels, and the plurality of pixels may be arranged in a certain order.
  • the pixels in the first spatial light modulator can be used as the illumination pixels of the pixels in the second spatial light modulator, that is, the source light emitted by the light source is transmitted from the pixels in the first spatial light modulator to the The outgoing light is formed outside, and the pixels in the second spatial light modulator can receive the outgoing light, and output image light outside.
  • a pixel in the first spatial light modulator can serve as an illuminated pixel for a pixel in the second spatial light modulator
  • a pixel in the second spatial light modulator can serve as a display pixel for a pixel in the first spatial light modulator
  • the processor can turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the first spatial light modulator can turn on the light-passing ability, and at the same time, turn on all the pixels in the second spatial light modulator, so that the second spatial light modulator can
  • the pixels in the modulator can receive the outgoing light of the pixels in the first spatial light modulator, so as to output the first image light, and the first image light can be imaged on the imaging carrier to form an image spot.
  • step S230 a first image to be processed including a first imaged image obtained by imaging with the first image light is acquired.
  • those skilled in the art can set a receiving screen (ie, an imaging carrier), and the first image light output by the second spatial light modulator is projected on the screen to form an image spot (ie, first imaged image).
  • the processor may use the image acquisition device to capture the screen on which the image spot is formed, so as to acquire the first image to be processed including the first imaged image.
  • the image acquisition device may be a camera, or an electronic device with an image acquisition function such as an imaging luminance meter, which is not specifically limited in this application.
  • step S240 the location information of the first imaged image is determined according to the preprocessed first image to be processed.
  • the preprocessing may be a processing process of straightening the image. It should be understood that, due to the influence of the shooting angle of the image capturing device, the image captured by the image capturing device may be tilted and not directly facing the imaging carrier. Therefore, by preprocessing the first image to be processed, the first image to be processed taken from an oblique angle of view can be adjusted, for example, if the figure formed by the sides of the first image to be processed is a trapezoid, then the first image to be processed can be adjusted The sides of the image to be processed are adjusted to obtain a rectangular first image to be processed.
  • the location information may be location information of the first imaged image on the screen.
  • a corresponding screen coordinate system may be established based on the screen, so as to determine position information of the first imaged image on the screen, that is, coordinate information of the first imaged image in the screen coordinate system.
  • the processor performs preprocessing on the first image to be processed according to the acquired first image to be processed, so as to obtain a converted first image to be processed.
  • the processor may perform image processing on the converted first image to be processed, so as to determine the position information of the first imaged image.
  • the processor may determine the center position of the first imaged image according to brightness information of the first imaged image included in the image to be processed.
  • the processor can identify the range of the first imaged image based on the brightness information of each first imaged image in the first image to be processed.
  • the processor uses the position information of the brightest point in the range as the center position of the first imaged image, and uses the center position as the position information of the first imaged image.
  • the processor may also perform edge recognition according to the first image to be processed, so as to determine the edge information of the first imaged image included in the first image to be processed, and then determine the first image based on the edge information.
  • the geometric center of the imaged image is used to determine the position information of the first imaged image.
  • the preprocessing may further include threshold denoising, Gaussian filtering, etc., so as to improve the accuracy of the determined position information of the first imaged image.
  • step S250 according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image, determine and store the relationship between each pixel in the first spatial light modulator and Correspondence between pixels in the second spatial light modulator.
  • the pixel distribution of the second spatial light modulator may include the projection position of each pixel in the second spatial light modulator, and the processor may combine the position information of the first imaged image with the second spatial light modulator
  • the projection position of each pixel in the light modulator is matched, so as to determine that the position of the first imaged image corresponds to the projection position corresponding to which pixel in the second spatial light modulator, thus, when the processor knows the current first
  • the pixel turned on by the first optical spatial light modulator and the pixel whose projection position matches the position information of the first imaged image in the second spatial light modulator can determine that the two pixels are in a corresponding relationship, and then can determine the first Correspondence between pixels in the spatial light modulator and pixels in the second spatial light modulator.
  • the processor may store the corresponding relationship, so as to complete the calibration.
  • the pixels in the first spatial light modulator and the pixels in the second spatial light modulator may have a one-to-one correspondence or a one-to-many correspondence, which is not specifically limited in this application.
  • the pixel distribution of the second spatial light modulator is obtained in advance, and then the pixels in the first spatial light modulator are turned on according to predetermined rules, based on the pixel distribution of the second spatial light modulator and the position information of the first imaged image are compared to determine the corresponding relationship between the pixels of the first spatial light modulator and the second spatial light modulator, which improves the calibration efficiency and ensures the accuracy of the calibration results sex.
  • turning on the pixels in the first spatial light modulator according to a predetermined rule includes:
  • Pixels in the first spatial light modulator are turned on at predetermined pixel intervals.
  • the predetermined pixel interval may be pre-configured, and is used to determine the quantity information of pixels separated between turned-on pixels in the first spatial light modulator.
  • the predetermined pixel interval can be 1, which means that there is one pixel between adjacent turned-on pixels, and if the predetermined pixel interval is 2, it means that there are two pixels between adjacent turned-on pixels, and so on.
  • the above numbers are only illustrative examples, and the present application does not make any special limitation thereto.
  • the setting of the predetermined pixel interval should be based on the fact that the initial patterns formed by the second spatial light modulator do not interfere with each other, that is, there will be no boundary between the images formed by the second spatial light modulator , so that the position information of each image spot can be accurately identified in the follow-up, thereby ensuring the accuracy of subsequent calibration.
  • the predetermined pixel interval may be the pixel interval between horizontal pixels, or the interval between vertical pixels.
  • the pixel interval corresponding to each dimension may also be set according to multiple dimensions of pixel arrangement, which is not specifically limited in the present application.
  • the determining the position information of the first imaged image according to the preprocessed first image to be processed includes:
  • the center position of each of the first imaged images is determined according to the brightness information of each pixel in the preprocessed first image to be processed.
  • the processor may perform image recognition on the preprocessed first image to be processed, and acquire brightness information of each pixel in the first image to be processed. It should be understood that the luminance information of the pixels in the area where the first imaged image is located should be significantly greater than that in the surrounding areas. Thus, based on the brightness information of each pixel in the first image to be processed, the region where the first imaged image is located can be identified, and then the position information of the pixel with the largest brightness information in the region where the first imaged image is located as the center position of the first imaged image.
  • the processor may respectively determine the regions where the plurality of first imaged images are located, and The center positions of the multiple first imaged images are determined, so that the subsequent calibration efficiency can be improved.
  • FIG. 3 shows a schematic flowchart of determining a center position of a first imaged image in a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • the first imaged image includes three sub-spots of red, green and blue, then determining the center position of the first imaged image includes at least steps S310 to S320, which are described in detail as follows:
  • step S310 the center position of each sub-spot in each of the first imaged images is determined according to the brightness information of each pixel in the first image to be processed after preprocessing.
  • the first imaged image may be an image spot in RGB format, which may include three sub-spots of red, green and blue.
  • the processor respectively obtains the pixel points with the highest brightness of the three colors in the determined area where the first imaged image is located, as the center positions of the three sub-spots of the first imaged image.
  • step S320 the center position of each of the first imaged images is determined by taking an average value according to the center positions of each of the sub-spots in each of the first imaged images.
  • the processor may average the center positions of the three sub-spots included in each imaged image, so as to determine the center position of the first imaged image.
  • the center positions of the three sub-spots contained in the first imaged image A are respectively (x 1 , y 1 ), (x 2 , y 2 ) and (x 3 , y 3 ), then the center of the first imaged image A The position is ((x 1 +x 2 +x 3 )/3, (y 1 +y 2 +y 3 )/3).
  • the processor can determine the center position of the first imaged image according to the center positions of the three sub-spots included in the first imaged image, which ensures the accuracy of the center position of the first imaged image.
  • FIG. 4 shows a schematic flowchart of step S250 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
  • step S250 includes at least step S410 to step S420, which are described in detail as follows:
  • step S410 according to the center position of each of the first imaged images, determine the center position of the unimaged image, the unimaged image is related to other pixels except the turned-on pixels in the first spatial light modulator corresponding to pixels.
  • the non-imaged image may be an image spot corresponding to a pixel of which the first spatial light modulator is not turned on, that is, an image spot corresponding to other pixels except the pixel for which the first spatial light modulator is turned on. Since the pixels of the first spatial light modulator are turned on according to a predetermined pixel interval, the unimaged images should be respectively located between two adjacent first imaged images. At the same time, it should be understood that the central position of the unimaged image should have a certain degree of correlation with the central positions of the two adjacent first imaged images, so the unimaged image adjacent to it can be determined according to the central position of the first imaged image. Like the center position of the image.
  • the processor may determine a center position of an unimaged image located between the two adjacent first imaged images according to the center positions of two adjacent first imaged images. Specifically, based on the center positions of two adjacent first imaged images, the distance between two adjacent first imaged images can be determined, and according to the distance and the predetermined pixel interval, it can be determined that the distance between the two adjacent imaged images is The center position of the unimaged image between images.
  • the distance between the center positions of two adjacent first imaged images can be determined. If the predetermined pixel interval is n, it means that between two adjacent There should be n unimaged images between the first imaged images, and the distance can be divided into (n+1) equal parts, and the nodes of each equal part are the central positions of the unimaged images.
  • step S420 according to the pixel distribution of the second spatial light modulator, the center position of the first imaged image, and the center position of the unimaged image, determine and store the Correspondence between each pixel and each pixel in the second spatial light modulator.
  • the processor may match the center position of the unimaged image, the center position of the first imaged image, and the pixel distribution of the second spatial light modulator. It should be understood that because the unimaged image corresponds to the unturned-on pixels in the first spatial light modulator, and the first imaged image corresponds to the turned-on pixels in the first spatial light modulator. Thus, through matching, the corresponding relationship between all the pixels in the first spatial light modulator and the pixels in the second spatial light modulator can be determined, so as to complete the calibration between the two pixels. Moreover, the calibration can be completed without turning on all the pixels in the first spatial light modulator, which improves the calibration efficiency and ensures the accuracy of the calibration result.
  • FIG. 5 shows a schematic flowchart of step S410 in the calibration method for the dual spatial light modulation device in FIG. 4 according to an embodiment of the present application.
  • step S410 includes at least step S510 to step S520, which are described in detail as follows:
  • step S510 the distance between adjacent first imaged images is determined according to the center position of each of the first imaged images.
  • the processor may determine the distance between adjacent first imaged images according to the center position of each first imaged image.
  • the first imaged image A and the first imaged image B are two adjacent image spots, the center position of the first imaged image A is (x 1 , y 1 ), and the center position of the first imaged image B is is (x 2 , y 2 ), then the distance between the first imaged image A and the first imaged image B is
  • step S520 according to the distance between the adjacent first imaged images and the predetermined pixel interval, the center position of the non-imaged image between the adjacent first imaged images is determined.
  • the processor may determine the distance between two adjacent first imaged images based on the center positions of the two adjacent first imaged images, and according to the distance and the predetermined pixel interval, Then the position information of the unimaged image located between the two first imaged images can be determined.
  • the distance between the center positions of two adjacent first imaged images can be determined. If the predetermined pixel interval is n, it means that between two adjacent There should be n unimaged spots (i.e., unimaged images) between the first imaged images, and the distance can be equally divided into (n+1), and each equally divided node is the central position of the unimaged image, by This determines the location information of the unimaged image.
  • the center position of the image including:
  • the center positions of the sub-spots of the same type in the adjacent first imaged images are determined.
  • the processor may determine the distance between the center positions of the same type of sub-spots in the adjacent imaged images and the predetermined pixel interval to determine the unformed spot between the adjacent first imaged images.
  • Center positions of sub-spots of the same category in the image For example, the center position of the red sub-spots of the unimaged images between the adjacent first imaged images may be determined according to the distance between the central positions of the red sub-spots in the adjacent first imaged images and the predetermined pixel interval.
  • FIG. 6 shows a schematic flow chart of determining the topography of the first imaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • determining the topography of the first imaged image includes at least steps S610 to S630, which are described in detail as follows:
  • step S610 the distance between adjacent first imaged images is determined according to the center position of each of the first imaged images.
  • step S620 according to the distance between the adjacent first imaged images, with the center position of each of the first imaged images as the center, acquire sub-images respectively including each of the first imaged images.
  • the processor may take the center position of each first imaged image as the center according to the distance between adjacent first imaged images, and use the distance as the width and height of the sub-image , perform segmentation from the first image to be processed to obtain sub-images respectively including each first imaged image.
  • the first imaged image A and the first imaged image B are two adjacent first imaged images
  • the center position of the first imaged image A is (x 1 , y 1 )
  • the first imaged image The center position of the image B is (x 2 , y 2 )
  • the distance between the first imaged image A and the imaged image B is 10, then the acquired four corners of the sub-image containing the first imaged image A
  • the positions of the points are (x 1 -5, y 1 -5), (x 1 +5, y 1 -5), (x 1 +5, y 1 +5) and (x 1 -5, y 1 +5 ).
  • step S630 according to each of the sub-images, the topography of the first imaged image included in the sub-images is determined.
  • the topography may be information related to the display state of the image spot, for example, the topography of the image spot may include but not limited to information such as shape, brightness, and color of the image spot. According to the shape of each image spot, the display state of the image spot on the screen can be determined.
  • the processor may perform image analysis on each sub-image, so as to determine the shape of the first imaged image included in the sub-image.
  • the processor may perform image analysis on each sub-image, so as to determine the shape of the first imaged image included in the sub-image.
  • the shape includes brightness information
  • the processor may also determine the difference between the adjacent first imaged images according to the brightness information of each first imaged image in the adjacent first imaged images. The brightness information of the unimaged image in between.
  • the processor may calculate an average value of brightness according to the brightness information of two adjacent first imaged images, and use it as the brightness information of the unimaged image.
  • the processor may also calculate the difference according to the difference between the brightness information of two adjacent first imaged images according to the predetermined pixel interval Aliquoting is performed to determine brightness information of the unimaged image. For example, if the difference in brightness information between two adjacent first imaged images A and B is 9, and the predetermined pixel interval is 2, it means that there should be two unimaged images between the first imaged images A and B .
  • the determined shape of the unimaged image complies with the gradual change rule of the image spot, so as to ensure the accuracy of the determined shape of the unimaged image.
  • the luminance information of the first imaged image can be represented by the luminance information of its center position, for example, the luminance information of the center position of the first imaged image is a, then the luminance information of the first imaged image is a. If the first imaged image includes three sub-spots, the brightness information of the central positions of the three sub-spots may be used as the brightness information of the first imaged image.
  • one first imaged image can correspond to three luminance information, and when subsequently determining the luminance information of the unimaged image, the brightness information of the sub-spots of the same type in the unimaged image can be calculated according to the luminance information of the sub-spots of the same type.
  • the brightness information for example, according to the brightness information of the red sub-spots of two adjacent first imaged images, the brightness information of the red sub-spots of the unimaged image between the two adjacent first imaged images can be calculated, and the calculation For the method, reference may be made to the above description, and the present application will not repeat it here.
  • FIG. 7 shows a schematic flowchart of determining shape information of an unimaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • determine The shape information of the unimaged image includes at least step S710 to step S720, which are described in detail as follows:
  • step S710 according to the shape information of each of the first imaged images in the adjacent first imaged images, the size difference between the adjacent first imaged images is determined.
  • the processor may compare the shape information of the adjacent first imaged images according to the shape information of the adjacent first imaged images, so as to determine the size difference between them.
  • the shape information may be size information related to the shape of the image spot, for example, the shape information may include but not limited to information such as width, height, and diameter of the image spot.
  • the processor may subtract shape information of the same category of adjacent first imaged images to determine a size difference between the adjacent first imaged images.
  • step S720 the shape information of the non-imaged image between adjacent first imaged images is determined according to the size difference.
  • the processor may also equally divide the size difference between two adjacent first imaged images according to a predetermined pixel interval, so as to determine the unimaged image shape information.
  • the width of the unimaged image near A should be the width of the imaged image A plus 3
  • the width of the unimaged image near B should be the width of the imaged image A plus 6 (3+3), and so on.
  • FIG. 8 shows a schematic flowchart of step S210 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
  • step S210 includes at least step S810 to step S830, which are described in detail as follows:
  • step S810 turn on a designated pixel in the first spatial light modulator for determining the projection position of the second spatial light modulator, so that the second spatial light modulator The emitted light outputs the second image light.
  • the specified pixel may be a pixel used to determine the pixel distribution of the second spatial light modulator.
  • the specified pixel may be a pixel at an edge position among the pixels of the first spatial light modulator. For example, if the first The pixels of the spatial light modulator are arranged in a square, and the designated pixels are the pixels on the four sides of the square, and so on.
  • the designated pixel may also be a pixel located at a corner position among the pixels of the first spatial light modulator. For example, if the pixels of the first spatial light modulator are arranged in a square, the designated pixel is located in the square. Pixels at the four corner locations, etc.
  • all pixels in the first spatial light modulator may also be turned on, that is, all pixels in the first spatial light modulator are specified pixels.
  • Those skilled in the art can determine the corresponding designated pixel according to the implementation requirements, which is not specifically limited in the present application.
  • the processor may turn on a designated pixel in the first spatial light modulator, so that the pixels in the second spatial light modulator may receive the outgoing light of the designated pixel, thereby outputting the second image light .
  • the processor may project an easily identifiable figure (such as a straight line or a square image, etc.) through the first spatial light modulator and the second spatial light modulator, so that the second spatial light modulator outputs corresponding to the second image light.
  • step S820 a second image to be processed including a second imaged image obtained by imaging with the second image light is acquired.
  • those skilled in the art can set a receiving screen (ie, an imaging carrier), and the second image light output by the second spatial light modulator is projected on the screen to form an image spot (ie, second imaged image).
  • the processor may use the image acquisition device to capture the screen on which the image spot is formed, so as to acquire the second image to be processed including the second imaged image.
  • the image acquisition device may be a camera, or an electronic device with an image acquisition function such as an imaging luminance meter, which is not specifically limited in this application.
  • step S830 pixel distribution in the second spatial light modulator is determined according to the preprocessed second image to be processed.
  • the preprocessing may be a process of performing conversion processing on an image. It should be understood that, due to the influence of the shooting angle of the image capturing device, the image captured by the image capturing device may be tilted and not directly facing the imaging carrier. Therefore, by preprocessing the second image to be processed, the second image to be processed taken from an oblique angle of view can be adjusted, for example, if the figure formed by the sides of the second image to be processed is a trapezoid, then the second image to be processed can be The image to be processed is adjusted to obtain a rectangular second image to be processed.
  • the processor may perform image recognition on the second image to be processed based on the preprocessed second image to be processed, so as to identify the position information of the second image to be imaged included in the preprocessed second image to be processed, and then A pixel distribution of the second spatial light modulation device is determined.
  • determination method reference may be made to the content described above, which will not be repeated here in this application.
  • Fig. 9a to Fig. 9e show a schematic processing flow diagram of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
  • the processor may turn on the pixels of the first spatial light modulator at predetermined intervals, and turn on all the pixels in the second spatial light modulator.
  • the second spatial light modulator may receive the light emitted by the turned-on pixels of the first spatial light modulator, and project the light on the screen to form an imaged image.
  • the image acquiring device can acquire the image to be processed including the imaged image and transmit the image to be processed to the processor for processing.
  • the processor may perform image processing based on the image to be processed, and determine the center position of the sub-spot contained in each imaged image, thereby determining the position information of each imaged image. Thereby, the distance between adjacent imaged images can be determined based on the position information of the imaged images.
  • the processor can take the center position of each imaged image as the center, and according to the determined distance between adjacent imaged images, segment the image to be processed, so as to obtain subimage of the .
  • the processor may perform image processing based on each sub-image to determine the topography of each imaged image.
  • the processor can interpolate the center position of the unimaged image between adjacent imaged images according to the distance between adjacent imaged images and the predetermined pixel interval, so as to obtain the corresponding first spatial light The center position of the image spot for all pixels in the modulator. And based on the position information of the imaged image and the position information of the unimaged image, match the pixel distribution of the second spatial light modulator acquired in advance, so as to determine the pixel distribution of the first spatial light modulator and the second spatial light modulator The corresponding relationship between the pixels in and stored for subsequent calls to complete the calibration.
  • the processor can also determine the topography between the unimaged images located between the adjacent imaged images according to the topography of the adjacent imaged images, so as to obtain the topography of the imaged images and the unimaged images.
  • the shape of the image The processing terminal can perform normalization processing on the topography of all image spots, and then store the normalized topography of the image spots for subsequent calling.
  • the calibration can be completed without turning on all the pixels of the first spatial light modulator, which improves the calibration efficiency. At the same time, mutual interference between image spots can be avoided, ensuring the accuracy of calibration results.
  • Fig. 10 shows a block diagram of a calibration device of a dual spatial light modulation device according to an embodiment of the present application.
  • a calibration device for a dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, and the device includes:
  • a first acquiring module 1010 configured to acquire the pixel distribution of the second spatial light modulator
  • a pixel turning-on module 1020 configured to turn on pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs light according to the turned-on pixels in the first spatial light modulator outputting the first image light;
  • the second acquisition module 1030 is configured to acquire a first image to be processed including a first imaged image, the first imaged image is obtained by imaging the first image light;
  • the first determination module 1040 is configured to determine the position information of the first imaged image according to the preprocessed first image to be processed
  • the second determination module 1050 is configured to determine and store the relationship between each pixel in the first spatial light modulator and the first imaged image according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image. Correspondence between pixels in two spatial light modulators.
  • the embodiment of the present application also provides a calibration system for a dual spatial light modulation device, the system comprising:
  • a light source for providing source light to the first spatial light modulator
  • an image processing device configured to acquire and process the projection image output by the second spatial light modulator
  • the image processing apparatus can execute the calibration method of the dual spatial light modulation device as described in the above-mentioned embodiments.
  • FIG. 11 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
  • the computer system includes a central processing unit (Central Processing Unit, CPU) 1101, which can be stored in a program in a read-only memory (Read-Only Memory, ROM) 1102 or loaded to random access from a storage part 1108 Various appropriate actions and processes are executed by programs in the RAM (Random Access Memory, RAM) 1103, for example, the methods described in the above-mentioned embodiments are executed. In RAM 1103, various programs and data necessary for system operation are also stored.
  • the CPU 1101, ROM 1102, and RAM 1103 are connected to each other via a bus 1104.
  • An input/output (Input/Output, I/O) interface 1105 is also connected to the bus 1104 .
  • the following components are connected to the I/O interface 1105: an input part 1106 including a keyboard, a mouse, etc.; an output part 1107 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker ; the storage part 1108 including hard disk etc.; and the communication part 1109 including the network interface cards such as LAN (Local Area Network, local area network) card, modem etc.
  • the communication section 1109 performs communication processing via a network such as the Internet.
  • a drive 1110 is also connected to the I/O interface 1105 as needed.
  • a removable medium 1111 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc. is mounted on the drive 1110 as necessary so that a computer program read therefrom is installed into the storage section 1108 as necessary.
  • the processes described above with reference to the flowcharts can be implemented as computer software programs.
  • the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes a computer program for executing the method shown in the flowchart.
  • the computer program may be downloaded and installed from a network via communication portion 1109, and/or installed from removable media 1111.
  • this computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are performed.
  • CPU central processing unit
  • the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
  • a computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
  • Computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable one of the above The combination.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which a computer-readable computer program is carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
  • a computer program embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
  • each block in the flowchart or block diagram may represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or part of the code includes one or more executable instruction.
  • the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
  • each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
  • the units described in the embodiments of the present application may be implemented by software or by hardware, and the described units may also be set in a processor. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances.
  • the present application also provides a computer-readable medium.
  • the computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle.
  • the above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, the electronic device is made to implement the methods described in the above-mentioned embodiments.
  • the technical solutions according to the embodiments of the present application can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, server, touch terminal, or network device, etc.) execute the method according to the embodiment of the present application.
  • a non-volatile storage medium which can be CD-ROM, U disk, mobile hard disk, etc.
  • a computing device which may be a personal computer, server, touch terminal, or network device, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Image Processing (AREA)

Abstract

A method, apparatus and system for calibrating two spatial light modulation devices, and an electronic device. The method comprises: acquiring a pixel distribution of a second spatial light modulator (S210); turning on pixels in a first spatial light modulator according to a predetermined rule, such that the second spatial light modulator outputs first image light according to output light of the turned-on pixels in the first spatial light modulator (S220); acquiring a first image to be processed that includes a first imaged image, wherein the first imaged image is obtained by means of imaging by the first image light (S230); according to a pre-processed first image to be processed, determining position information of the first imaged image (S240); and according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image, determining and storing a correspondence between each pixel in the first spatial light modulator and each pixel in the second spatial light modulator (S250). Therefore, the calibration efficiency of two spatial light modulation devices can be improved, thereby ensuring the accuracy of a calibration result.

Description

双空间光调制设备的标定方法、装置、系统及电子设备Calibration method, device, system and electronic equipment for dual spatial light modulation equipment 技术领域technical field
本申请涉及光学技术领域,具体而言,涉及一种双空间光调制设备的标定方法、装置、系统及电子设备。The present application relates to the field of optical technology, in particular, to a calibration method, device, system and electronic equipment for a dual spatial light modulation device.
背景技术Background technique
随着投影技术的发展,其在人们日常生活得到了普遍应用,例如在会议、教学或者娱乐场所等都随处可见。在目前的技术方案中,为了提高投影系统的动态范围(HDR),一般采用双空间光调制器进行相互配合。然而,在使用双空间光调制器之前,需要对双空间光调制器中两个空间光调制器之间的像素关系进行标定。由此,如何提高双空间光调制器之间的像素标定效率,保证标定结果的准确性成为了亟待解决的技术问题。With the development of projection technology, it has been widely used in people's daily life, for example, it can be seen everywhere in conferences, teaching or entertainment places. In the current technical solution, in order to improve the dynamic range (HDR) of the projection system, two spatial light modulators are generally used for mutual cooperation. However, before using the dual spatial light modulator, the pixel relationship between the two spatial light modulators in the dual spatial light modulator needs to be calibrated. Therefore, how to improve the pixel calibration efficiency between the dual spatial light modulators and ensure the accuracy of the calibration results has become an urgent technical problem to be solved.
发明内容Contents of the invention
本申请的实施例提供了一种双空间光调制设备的标定方法、装置、系统及电子设备,进而至少在一定程度上可以提高双空间光调制器的标定效率,保证标定结果的准确性。Embodiments of the present application provide a calibration method, device, system and electronic equipment for dual spatial light modulators, which can improve the calibration efficiency of dual spatial light modulators at least to a certain extent and ensure the accuracy of calibration results.
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other features and advantages of the present application will become apparent from the following detailed description, or in part, be learned by practice of the present application.
根据本申请实施例的一个方面,提供了一种双空间光调制设备的标定方法,所述双空间调制设备包括相串联的第一空间光调制器和第二空间光调制器,包括:According to an aspect of an embodiment of the present application, a calibration method for a dual spatial light modulation device is provided, the dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, including:
获取所述第二空间光调制器的像素分布;acquiring pixel distribution of the second spatial light modulator;
按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光;Turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs the first image light according to the output light of the turned-on pixels in the first spatial light modulator;
获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到;Acquiring a first image to be processed including a first imaged image obtained by imaging the first imaged image;
根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息;determining position information of the first imaged image according to the preprocessed first image to be processed;
根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。According to the pixel distribution of the second spatial light modulator and the position information of the first imaged image, determine and store each pixel in the first spatial light modulator and each pixel in the second spatial light modulator Correspondence between.
根据本申请实施例的一个方面,提供了一种双空间光调制设备的标定装置,所述双空间调制设备包括相串联的第一空间光调制器和第二空间光调制器,该装置包括:According to an aspect of an embodiment of the present application, a calibration device for a dual spatial light modulation device is provided, the dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, and the device includes:
第一获取模块,用于获取所述第二空间光调制器的像素分布;a first acquiring module, configured to acquire the pixel distribution of the second spatial light modulator;
像素开启模块,用于按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光;A pixel turning-on module, configured to turn on pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs light according to the output light of the turned-on pixels in the first spatial light modulator first image light;
第二获取模块,用于获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到;A second acquisition module, configured to acquire a first image to be processed including a first imaged image, the first imaged image is obtained by imaging the first image light;
第一确定模块,根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息;The first determination module determines the position information of the first imaged image according to the preprocessed first image to be processed;
第二确定模块,用于根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。The second determining module is configured to determine and store the relationship between each pixel in the first spatial light modulator and the second image based on the pixel distribution of the second spatial light modulator and the position information of the first imaged image. Correspondence between pixels in the spatial light modulator.
根据本申请实施例的一个方面,提供了一种双空间光调制设备的标定系统,该系统包括:According to an aspect of an embodiment of the present application, a calibration system for a dual spatial light modulation device is provided, and the system includes:
相串联的第一空间光调制器和第二空间光调制器;a first spatial light modulator and a second spatial light modulator connected in series;
光源,用于向所述第一空间光调制器提供源光;a light source for providing source light to the first spatial light modulator;
图像处理装置,用于获取并处理第二空间光调制器输出的投影图像;an image processing device, configured to acquire and process the projection image output by the second spatial light modulator;
其中,所述图像处理装置能够执行如上述实施例中所述的双空间光调制设备的标定方法。Wherein, the image processing apparatus can execute the calibration method of the dual spatial light modulation device as described in the above embodiments.
根据本申请实施例的一个方面,提供了一种计算机可读介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上述实施例中所述的双空间光调制设备的标定方法。According to an aspect of the embodiments of the present application, a computer-readable medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the calibration of the dual spatial light modulation device as described in the above-mentioned embodiments is realized method.
根据本申请实施例的一个方面,提供了一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程 序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上述实施例中所述的双空间光调制设备的标定方法。According to an aspect of the embodiments of the present application, an electronic device is provided, including: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more When multiple processors execute, the one or more processors implement the calibration method for the dual spatial light modulation device as described in the foregoing embodiments.
在本申请的一些实施例所提供的技术方案中,通过获取第二空间光调制器的像素分布,按照预定规则开启第一空间光调制器中的像素,以使第二空间光调制器根据第一空间光调制器中被开启的像素的输出光输出第一图像光,获取包含第一已成像图像的第一待处理图像,该第一已成像图像由该第一图像光进行成像得到,并根据预处理后的第一待处理图像,确定第一已成像图像的位置信息,再根据第二空间光调制器的像素分布以及第一已成像图像的位置信息,确定并存储第一空间光调制器中各像素与第二空间光调制器中各像素之间的对应关系。由此,可以快速确定第一空间光调制器中各像素与第二空间光调制器中各像素之间的对应关系,完成标定,同时也可以保证标定结果的准确性。In the technical solution provided by some embodiments of the present application, by obtaining the pixel distribution of the second spatial light modulator, the pixels in the first spatial light modulator are turned on according to predetermined rules, so that the second spatial light modulator The output light of the turned-on pixel in a spatial light modulator outputs the first image light, acquires the first image to be processed including the first imaged image, the first imaged image is obtained by imaging the first image light, and Determine the position information of the first imaged image according to the preprocessed first image to be processed, and then determine and store the first spatial light modulation according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image The corresponding relationship between each pixel in the second spatial light modulator and each pixel in the second spatial light modulator. In this way, the corresponding relationship between each pixel in the first spatial light modulator and each pixel in the second spatial light modulator can be quickly determined to complete the calibration, and at the same time, the accuracy of the calibration result can be guaranteed.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application. Apparently, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative efforts. In the attached picture:
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图。Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
图2示出了根据本申请的一个实施例的双空间光调制设备的标定方法的流程示意图。Fig. 2 shows a schematic flowchart of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
图3示出了根据本申请的一个实施例的双空间光调制设备的标定方法中确定第一已成像图像的中心位置的流程示意图。Fig. 3 shows a schematic flowchart of determining a center position of a first imaged image in a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
图4示出了根据本申请的一个实施例图2的双空间光调制设备的标定方法中步骤S250的流程示意图。FIG. 4 shows a schematic flowchart of step S250 in the calibration method of the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
图5示出了根据本申请的一个实施例的图4的双空间光调制设备的标 定方法中步骤S410的流程示意图。Fig. 5 shows a schematic flowchart of step S410 in the calibration method of the dual spatial light modulation device in Fig. 4 according to an embodiment of the present application.
图6示出了根据本申请的一个实施例的双空间光调制设备的标定方法中还包括的确定第一已成像图像的形貌的流程示意图。Fig. 6 shows a schematic flowchart of determining the topography of the first imaged image further included in the calibration method of the dual spatial light modulation device according to an embodiment of the present application.
图7示出了根据本申请的一个实施例的双空间光调制设备的标定方法中还包括的确定未成像图像的形状信息的流程示意图。Fig. 7 shows a schematic flowchart of determining shape information of an unimaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application.
图8示出了根据本申请的一个实施例的图2的双空间光调制设备的标定方法中步骤S210的流程示意图。FIG. 8 shows a schematic flowchart of step S210 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application.
图9a至图9e示出了根据本申请的一个实施例的双空间光调制设备的标定方法的处理流程示意图。Fig. 9a to Fig. 9e show a schematic processing flow diagram of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
图10示出了根据本申请的一个实施例的双空间光调制设备的标定装置的框图。Fig. 10 shows a block diagram of a calibration device of a dual spatial light modulation device according to an embodiment of the present application.
图11示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 11 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
具体实施方式Detailed ways
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be thorough and complete, and will fully convey the concepts of example embodiments to those skilled in the art.
此外,所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施例中。在下面的描述中,提供许多具体细节从而给出对本申请的实施例的充分理解。然而,本领域技术人员将意识到,可以实践本申请的技术方案而没有特定细节中的一个或更多,或者可以采用其它的方法、组元、装置、步骤等。在其它情况下,不详细示出或描述公知方法、装置、实现或者操作以避免模糊本申请的各方面。Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided in order to give a thorough understanding of the embodiments of the application. However, those skilled in the art will appreciate that the technical solutions of the present application may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be employed. In other instances, well-known methods, apparatus, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
附图中所示的方框图仅仅是功能实体,不一定必须与物理上独立的实体相对应。即,可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。The block diagrams shown in the drawings are merely functional entities and do not necessarily correspond to physically separate entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices entity.
附图中所示的流程图仅是示例性说明,不是必须包括所有的内容和操 作/步骤,也不是必须按所描述的顺序执行。例如,有的操作/步骤还可以分解,而有的操作/步骤可以合并或部分合并,因此实际执行的顺序有可能根据实际情况改变。The flow charts shown in the drawings are only exemplary illustrations, and do not necessarily include all contents and operations/steps, nor must they be performed in the order described. For example, some operations/steps can be decomposed, and some operations/steps can be combined or partly combined, so the actual order of execution may be changed according to the actual situation.
图1示出了可以应用本申请实施例的技术方案的示例性系统架构的示意图。Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solutions of the embodiments of the present application can be applied.
如图1所示,系统架构可以包括成像载体110、双空间光调制设备120、图像获取装置130以及处理器140。其中,双空间光调制设备120与处理器140之间、图像获取装置130与处理器140之间可以通过网络进行连接,该网络可以包含各种连接类型,例如有线通信链路、无线通信链路等等。需要说明的,该图像获取装置130可以是摄像头、也可以是设置于第二空间光调制器的出射光路上的成像亮度计,本申请对此不作特殊限定。As shown in FIG. 1 , the system architecture may include an imaging carrier 110 , a dual spatial light modulation device 120 , an image acquisition device 130 and a processor 140 . Wherein, the dual spatial light modulation device 120 and the processor 140, and the image acquisition device 130 and the processor 140 can be connected through a network, and the network can include various connection types, such as wired communication links, wireless communication links etc. It should be noted that the image acquisition device 130 may be a camera, or an imaging luminance meter disposed on the outgoing light path of the second spatial light modulator, which is not specifically limited in this application.
需要说明的是,处理器140可以是独立于双空间光调制设备120之外的处理器,例如可以是处理服务器、处理终端(例如智能手机、平板电脑、便携式电脑或者台式电脑等),处理器140也可以是双空间光调制设备120中所设置的处理器,本申请对此不作特殊限定。It should be noted that the processor 140 may be a processor independent of the dual spatial light modulation device 120, such as a processing server, a processing terminal (such as a smart phone, a tablet computer, a portable computer or a desktop computer, etc.), a processor 140 may also be a processor provided in the dual spatial light modulation device 120, which is not specifically limited in this application.
应该理解,图1中的成像载体、双空间光调制设备、图像获取装置以及处理器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的成像载体、双空间光调制设备、图像获取装置以及处理器。It should be understood that the numbers of imaging carriers, dual spatial light modulation devices, image acquisition devices and processors in Fig. 1 are only illustrative. According to the implementation requirements, there may be any number of imaging carriers, dual spatial light modulation devices, image acquisition devices, and processors.
在本申请一具体应用场景中,处理器140通过获取第二空间光调制器的像素分布,按照预定规则开启第一空间光调制器中的像素,以使第二空间光调制器根据第一空间光调制器中被开启的像素的输出光输出第一图像光,通过图像获取装置130获取包含第一已成像图像的第一待处理图像,该第一已成像图像由该第一图像光进行成像得到,并根据预处理后的第一待处理图像,确定第一已成像图像的位置信息,再根据第二空间光调制器的像素分布以及第一已成像图像的位置信息,确定并存储第一空间光调制器中各像素与第二空间光调制器中各像素之间的对应关系,从而完成双空间光调制设备的标定。In a specific application scenario of the present application, the processor 140 obtains the pixel distribution of the second spatial light modulator, and turns on the pixels in the first spatial light modulator according to predetermined rules, so that the second spatial light modulator The output light of the turned-on pixel in the light modulator outputs the first image light, and the first image to be processed including the first imaged image is acquired by the image acquisition device 130, and the first imaged image is imaged by the first image light obtained, and according to the preprocessed first image to be processed, determine the position information of the first imaged image, and then determine and store the first image according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image The corresponding relationship between each pixel in the spatial light modulator and each pixel in the second spatial light modulator is used to complete the calibration of the dual spatial light modulation device.
以下对本申请实施例的技术方案的实现细节进行详细阐述:The implementation details of the technical solutions of the embodiments of the present application are described in detail below:
图2示出了根据本申请的一个实施例的双空间光调制设备的标定方法 的流程示意图。参照图2所示,该双空间光调制设备的标定方法至少包括步骤S210至步骤S250,详细介绍如下:Fig. 2 shows a schematic flowchart of a calibration method for a dual spatial light modulation device according to an embodiment of the present application. Referring to Figure 2, the calibration method of the dual spatial light modulation device includes at least step S210 to step S250, which are described in detail as follows:
在步骤S210中,获取所述第二空间光调制器的像素分布。In step S210, pixel distribution of the second spatial light modulator is acquired.
其中,像素分布可以是第二空间光调制器中各像素的投影位置的分布。Wherein, the pixel distribution may be the distribution of the projection positions of the pixels in the second spatial light modulator.
在本申请一示例性实施例中,处理器中可以预先存储有用于确定第二空间光调制器的像素分布的投影图像,处理器可以控制第一空间光调制器中的像素依据该投影图像进行开启,使得第二空间光调制器根据第一空间光调制器中各像素的输出光从而输出该投影图像。处理器可以基于第二空间光调制器所输出的投影图像,从而确定该第二空间光调制器的像素分布,即第二空间光调制器中各像素输出的投影图像的分布位置。需要说明的是,在实际的标定过程中,处理器控制第一空间光调制的各像素处于全开的状态下,对第二空间光调制器输出的投影图像进行采集,并对投影图像进行处理得到第二空间光调制器的像素分布。In an exemplary embodiment of the present application, a projection image for determining the pixel distribution of the second spatial light modulator may be pre-stored in the processor, and the processor may control the pixels in the first spatial light modulator to perform turn on, so that the second spatial light modulator outputs the projected image according to the output light of each pixel in the first spatial light modulator. The processor may determine the pixel distribution of the second spatial light modulator based on the projection image output by the second spatial light modulator, that is, the distribution positions of the projection images output by each pixel in the second spatial light modulator. It should be noted that, in the actual calibration process, the processor controls each pixel of the first spatial light modulation to be fully open, collects the projection image output by the second spatial light modulator, and processes the projection image The pixel distribution of the second spatial light modulator is obtained.
在步骤S220中,按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光。In step S220, turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs the first An image light.
其中,预定规则可以是由本领域技术人员预先设定的,用以控制第一空间光调制器中各像素的开启从而实现双空间光调制设备的像素标定的像素开启规则。例如该预定规则可以是按照顺序逐一开启第一空间光调制器中的像素,又或者该预定规则也可以是按照预定间隔开启第一空间光调制器中的像素,等等,本领域技术人员可以根据实际实现需要,确定对应的预定规则,本申请对此不作特殊限定。Wherein, the predetermined rule may be preset by those skilled in the art, and is used to control the turn-on of each pixel in the first spatial light modulator so as to realize the pixel turn-on rule of pixel calibration of the dual spatial light modulation device. For example, the predetermined rule may be to turn on the pixels in the first spatial light modulator one by one in order, or the predetermined rule may also be to turn on the pixels in the first spatial light modulator at predetermined intervals, etc. Those skilled in the art may The corresponding predetermined rule is determined according to actual implementation requirements, which is not specifically limited in the present application.
在本申请一示例性实施例中,相串联的第一空间光调制器和第二空间光调制器中均包含有多个像素,多个像素可以按照一定的排列顺序进行排列。第一空间光调制器中的像素可以作为第二空间光调制器中的像素的照明像素,即光源所发出的源光经由第一空间光调制器,由第一空间光调制器中的像素向外形成出射光,而第二空间光调制器中的像素则可以接收该出射光,再向外输出图像光。因此,第一空间光调制器中的像素可以作为第二空间光调制器中的像素的照明像素,而第二空间光调制器中的像素可 以作为第一空间光调制器中像素的显示像素。In an exemplary embodiment of the present application, the first spatial light modulator and the second spatial light modulator connected in series each include a plurality of pixels, and the plurality of pixels may be arranged in a certain order. The pixels in the first spatial light modulator can be used as the illumination pixels of the pixels in the second spatial light modulator, that is, the source light emitted by the light source is transmitted from the pixels in the first spatial light modulator to the The outgoing light is formed outside, and the pixels in the second spatial light modulator can receive the outgoing light, and output image light outside. Thus, a pixel in the first spatial light modulator can serve as an illuminated pixel for a pixel in the second spatial light modulator, and a pixel in the second spatial light modulator can serve as a display pixel for a pixel in the first spatial light modulator.
处理器可以按照预定规则开启第一空间光调制器中的像素,以使第一空间光调制器能够开启通光能力,同时,打开第二空间光调制器中的所有像素,便于第二空间光调制器中的像素能够接收第一空间光调制器中像素的出射光,从而输出第一图像光,该第一图像光可以在成像载体上进行成像,形成图像光斑。The processor can turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the first spatial light modulator can turn on the light-passing ability, and at the same time, turn on all the pixels in the second spatial light modulator, so that the second spatial light modulator can The pixels in the modulator can receive the outgoing light of the pixels in the first spatial light modulator, so as to output the first image light, and the first image light can be imaged on the imaging carrier to form an image spot.
在步骤S230中,获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到。In step S230, a first image to be processed including a first imaged image obtained by imaging with the first image light is acquired.
在本申请一示例性实施例中,本领域技术人员可以设置一接收屏幕(即成像载体),由第二空间光调制器所输出的第一图像光投影在屏幕中,以形成图像光斑(即第一已成像图像)。处理器可以通过图像获取装置对形成图像光斑的屏幕进行拍摄,从而获取包含第一已成像图像的第一待处理图像。In an exemplary embodiment of the present application, those skilled in the art can set a receiving screen (ie, an imaging carrier), and the first image light output by the second spatial light modulator is projected on the screen to form an image spot (ie, first imaged image). The processor may use the image acquisition device to capture the screen on which the image spot is formed, so as to acquire the first image to be processed including the first imaged image.
需要说明的,该图像获取装置可以是摄像头,其也可以是成像亮度计等具有图像获取功能的电子设备,本申请对此不作特殊限定。It should be noted that the image acquisition device may be a camera, or an electronic device with an image acquisition function such as an imaging luminance meter, which is not specifically limited in this application.
在步骤S240中,根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息。In step S240, the location information of the first imaged image is determined according to the preprocessed first image to be processed.
其中,预处理可以是对图像进行调直处理的处理过程。应该理解的,通过图像获取装置所获取的图像,由于图像获取装置的拍摄角度的影响,其所拍摄的图像可能为倾斜的,并不是正对成像载体。因此,通过对第一待处理图像进行预处理,可以将倾斜的视角所拍摄的第一待处理图像调正,例如将第一待处理图像的边形成的图形为梯形,则可以通过对第一待处理图像的边进行调整,从而得到矩形的第一待处理图像。Wherein, the preprocessing may be a processing process of straightening the image. It should be understood that, due to the influence of the shooting angle of the image capturing device, the image captured by the image capturing device may be tilted and not directly facing the imaging carrier. Therefore, by preprocessing the first image to be processed, the first image to be processed taken from an oblique angle of view can be adjusted, for example, if the figure formed by the sides of the first image to be processed is a trapezoid, then the first image to be processed can be adjusted The sides of the image to be processed are adjusted to obtain a rectangular first image to be processed.
位置信息可以是第一已成像图像在屏幕上的位置信息。在一示例中,可以基于该屏幕建立对应的屏幕坐标系,从而确定第一已成像图像在屏幕上的位置信息,即第一已成像图像在屏幕坐标系中的坐标信息。The location information may be location information of the first imaged image on the screen. In an example, a corresponding screen coordinate system may be established based on the screen, so as to determine position information of the first imaged image on the screen, that is, coordinate information of the first imaged image in the screen coordinate system.
在本申请一示例性实施例中,处理器根据所获取的第一待处理图像,对该第一待处理图像进行预处理,从而得到转换后的第一待处理图像。处理器可以对转换后的第一待处理图像进行图像处理,从而确定第一已成像 图像的位置信息。在一示例中,处理器可以根据待处理图像中包含的第一已成像图像的亮度信息,确定第一已成像图像的中心位置。具体地,处理器基于第一待处理图像中各第一已成像图像的亮度信息,可以识别出第一已成像图像的范围。例如相邻的两个点的亮度信息的差值达到一定阈值,则表示该两个点处于第一已成像图像的边界上,由此识别出第一已成像图像的范围。处理器再将该范围内最亮的点的位置信息作为该第一已成像图像的中心位置,并将该中心位置作为第一已成像图像的位置信息。In an exemplary embodiment of the present application, the processor performs preprocessing on the first image to be processed according to the acquired first image to be processed, so as to obtain a converted first image to be processed. The processor may perform image processing on the converted first image to be processed, so as to determine the position information of the first imaged image. In an example, the processor may determine the center position of the first imaged image according to brightness information of the first imaged image included in the image to be processed. Specifically, the processor can identify the range of the first imaged image based on the brightness information of each first imaged image in the first image to be processed. For example, if the difference between the brightness information of two adjacent points reaches a certain threshold, it means that the two points are on the boundary of the first imaged image, thereby identifying the range of the first imaged image. The processor then uses the position information of the brightest point in the range as the center position of the first imaged image, and uses the center position as the position information of the first imaged image.
在另一示例中,处理器也可以根据第一待处理图像进行边缘识别,从而确定该第一待处理图像中所包含的第一已成像图像的边缘信息,再基于该边缘信息确定该第一已成像图像的几何中心,从而确定第一已成像图像的位置信息。In another example, the processor may also perform edge recognition according to the first image to be processed, so as to determine the edge information of the first imaged image included in the first image to be processed, and then determine the first image based on the edge information. The geometric center of the imaged image is used to determine the position information of the first imaged image.
在一示例中,该预处理还可以包括阈值去噪和高斯滤波等,从而提高所确定的第一已成像图像的位置信息的准确性。In an example, the preprocessing may further include threshold denoising, Gaussian filtering, etc., so as to improve the accuracy of the determined position information of the first imaged image.
请继续参考图2,在步骤S250中,根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。Please continue to refer to FIG. 2, in step S250, according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image, determine and store the relationship between each pixel in the first spatial light modulator and Correspondence between pixels in the second spatial light modulator.
在本申请一示例性实施例中,第二空间光调制器的像素分布可以包括第二空间光调制器中各像素的投影位置,处理器可以将第一已成像图像的位置信息与第二空间光调制器中各个像素的投影位置进行匹配,从而确定该第一已成像图像所在的位置对应于第二空间光调制器中哪一像素对应的投影位置上,由此,在处理器知晓当前第一光空间调制器所开启的像素,以及第二空间光调制器中投影位置与该第一已成像图像的位置信息相匹配的像素,可以确定该两个像素为对应关系,进而可以确定第一空间光调制器中像素与第二空间光调制器中像素之间的对应关系。当确定该对应关系后,处理器可以将该对应关系进行存储,从而完成标定。In an exemplary embodiment of the present application, the pixel distribution of the second spatial light modulator may include the projection position of each pixel in the second spatial light modulator, and the processor may combine the position information of the first imaged image with the second spatial light modulator The projection position of each pixel in the light modulator is matched, so as to determine that the position of the first imaged image corresponds to the projection position corresponding to which pixel in the second spatial light modulator, thus, when the processor knows the current first The pixel turned on by the first optical spatial light modulator and the pixel whose projection position matches the position information of the first imaged image in the second spatial light modulator can determine that the two pixels are in a corresponding relationship, and then can determine the first Correspondence between pixels in the spatial light modulator and pixels in the second spatial light modulator. After the corresponding relationship is determined, the processor may store the corresponding relationship, so as to complete the calibration.
需要说明的,第一空间光调制器中像素与第二空间光调制器中像素可以是一对一的对应关系,也可以是一对多的对应关系,本申请对此不作特殊限定。It should be noted that the pixels in the first spatial light modulator and the pixels in the second spatial light modulator may have a one-to-one correspondence or a one-to-many correspondence, which is not specifically limited in this application.
由此,在图2所示的实施例中,预先获取第二空间光调制器的像素分 布,再按照预定规则开启第一空间光调制器中的像素,基于第二空间光调制器的像素分布以及第一已成像图像的位置信息进行比对,从而确定第一空间光调制器与第二空间光调制器二者像素之间的对应关系,提高了标定效率,同时也保证了标定结果的准确性。Therefore, in the embodiment shown in FIG. 2 , the pixel distribution of the second spatial light modulator is obtained in advance, and then the pixels in the first spatial light modulator are turned on according to predetermined rules, based on the pixel distribution of the second spatial light modulator and the position information of the first imaged image are compared to determine the corresponding relationship between the pixels of the first spatial light modulator and the second spatial light modulator, which improves the calibration efficiency and ensures the accuracy of the calibration results sex.
基于图2所示的实施例,在本申请一示例性实施例中,所述按照预定规则开启所述第一空间光调制器中的像素,包括:Based on the embodiment shown in FIG. 2, in an exemplary embodiment of the present application, turning on the pixels in the first spatial light modulator according to a predetermined rule includes:
按照预定像素间隔开启所述第一空间光调制器中的像素。Pixels in the first spatial light modulator are turned on at predetermined pixel intervals.
在该实施例中,预定像素间隔可以是预先配置的,用以确定第一空间光调制器中被开启的像素之间所间隔的像素的数量信息。例如该预定像素间隔可以为1个,则表示相邻被开启的像素之间间隔了一个像素,若该预定像素间隔为2个,则表示相邻被开启的像素之间间隔了两个像素,以此类推。以上数字仅为示例性举例,本申请对此不作特殊限定。In this embodiment, the predetermined pixel interval may be pre-configured, and is used to determine the quantity information of pixels separated between turned-on pixels in the first spatial light modulator. For example, the predetermined pixel interval can be 1, which means that there is one pixel between adjacent turned-on pixels, and if the predetermined pixel interval is 2, it means that there are two pixels between adjacent turned-on pixels, and so on. The above numbers are only illustrative examples, and the present application does not make any special limitation thereto.
需要说明的,该预定像素间隔的设定应以第二空间光调制器形成的初设图案不互相干扰为标准,即经第二空间光调制器所形成的图像之间不会存在交界的情况,由此在后续可以准确识别出每一图像光斑的位置信息,进而保证后续标定的准确性。It should be noted that the setting of the predetermined pixel interval should be based on the fact that the initial patterns formed by the second spatial light modulator do not interfere with each other, that is, there will be no boundary between the images formed by the second spatial light modulator , so that the position information of each image spot can be accurately identified in the follow-up, thereby ensuring the accuracy of subsequent calibration.
应该理解的,该预定像素间隔,可以是横向像素之间的像素间隔,也可以是纵向像素之间的间隔。在另一示例中,也可以根据像素排列的多个维度,设定每一维度所对应像素间隔,本申请对此不作特殊限定。It should be understood that the predetermined pixel interval may be the pixel interval between horizontal pixels, or the interval between vertical pixels. In another example, the pixel interval corresponding to each dimension may also be set according to multiple dimensions of pixel arrangement, which is not specifically limited in the present application.
基于前述实施例,在本申请一示例性实施例中,所述根据预处理后的第一待处理图像,确定所述第一已成像图像的位置信息,包括:Based on the foregoing embodiments, in an exemplary embodiment of the present application, the determining the position information of the first imaged image according to the preprocessed first image to be processed includes:
根据预处理后的所述第一待处理图像中各像素点的亮度信息,确定各所述第一已成像图像的中心位置。The center position of each of the first imaged images is determined according to the brightness information of each pixel in the preprocessed first image to be processed.
在该实施例中,处理器可以对预处理后的第一待处理图像进行图像识别,获取第一待处理图像中各像素点的亮度信息。应该理解的,第一已成像图像所在区域的像素点的亮度信息应该明显大于周边区域。由此,可以基于第一待处理图像中各像素点的亮度信息,识别出第一已成像图像的所在区域,再将该第一已成像图像的所在区域中亮度信息最大的像素点的位置信息作为该第一已成像图像的中心位置。In this embodiment, the processor may perform image recognition on the preprocessed first image to be processed, and acquire brightness information of each pixel in the first image to be processed. It should be understood that the luminance information of the pixels in the area where the first imaged image is located should be significantly greater than that in the surrounding areas. Thus, based on the brightness information of each pixel in the first image to be processed, the region where the first imaged image is located can be identified, and then the position information of the pixel with the largest brightness information in the region where the first imaged image is located as the center position of the first imaged image.
应该理解的,当按照预定像素间隔开启第一空间光调制器的像素时,可以形成多个第一已成像图像,由此,处理器可以分别确定多个第一已成像图像的所在区域,并确定多个第一已成像图像的中心位置,从而可以提高后续的标定效率。It should be understood that when the pixels of the first spatial light modulator are turned on according to a predetermined pixel interval, a plurality of first imaged images may be formed, so that the processor may respectively determine the regions where the plurality of first imaged images are located, and The center positions of the multiple first imaged images are determined, so that the subsequent calibration efficiency can be improved.
基于前述实施例,图3示出了根据本申请的一个实施例的双空间光调制设备的标定方法中确定第一已成像图像的中心位置的流程示意图。参照图3所示,第一已成像图像包括红色、绿色和蓝色三个子光斑,则确定第一已成像图像的中心位置至少包括步骤S310至步骤S320,详细介绍如下:Based on the foregoing embodiments, FIG. 3 shows a schematic flowchart of determining a center position of a first imaged image in a calibration method for a dual spatial light modulation device according to an embodiment of the present application. As shown in FIG. 3, the first imaged image includes three sub-spots of red, green and blue, then determining the center position of the first imaged image includes at least steps S310 to S320, which are described in detail as follows:
在步骤S310中,根据预处理后的所述第一待处理图像中各像素点的亮度信息,确定各所述第一已成像图像中各所述子光斑的中心位置。In step S310, the center position of each sub-spot in each of the first imaged images is determined according to the brightness information of each pixel in the first image to be processed after preprocessing.
在本申请一示例性实施例中,该第一已成像图像可以为RGB格式的图像光斑,其可以包含红色、绿色和蓝色三个子光斑。该处理器在确定第一已成像图像所在区域内分别获取三个颜色的亮度最大的像素点,以此作为该第一已成像图像的三个子光斑的中心位置。In an exemplary embodiment of the present application, the first imaged image may be an image spot in RGB format, which may include three sub-spots of red, green and blue. The processor respectively obtains the pixel points with the highest brightness of the three colors in the determined area where the first imaged image is located, as the center positions of the three sub-spots of the first imaged image.
在步骤S320中,根据各所述第一已成像图像中各所述子光斑的中心位置进行取平均值,确定各所述第一已成像图像的中心位置。In step S320, the center position of each of the first imaged images is determined by taking an average value according to the center positions of each of the sub-spots in each of the first imaged images.
在本申请一示例性实施例中,处理器可以根据每一已成像图像所包含的三个子光斑的中心位置,进行取平均值,从而确定该第一已成像图像的中心位置。例如第一已成像图像A包含的三个子光斑的中心位置分别为(x 1,y 1)、(x 2,y 2)和(x 3,y 3),则第一已成像图像A的中心位置为((x 1+x 2+x 3)/3,(y 1+y 2+y 3)/3)。 In an exemplary embodiment of the present application, the processor may average the center positions of the three sub-spots included in each imaged image, so as to determine the center position of the first imaged image. For example, the center positions of the three sub-spots contained in the first imaged image A are respectively (x 1 , y 1 ), (x 2 , y 2 ) and (x 3 , y 3 ), then the center of the first imaged image A The position is ((x 1 +x 2 +x 3 )/3, (y 1 +y 2 +y 3 )/3).
由此,处理器可以根据第一已成像图像所包含的三个子光斑的中心位置,确定该第一已成像图像的中心位置,保证了第一已成像图像的中心位置的准确性。Thus, the processor can determine the center position of the first imaged image according to the center positions of the three sub-spots included in the first imaged image, which ensures the accuracy of the center position of the first imaged image.
基于前述实施例,图4示出了根据本申请的一个实施例图2的双空间光调制设备的标定方法中步骤S250的流程示意图。参照图4所示,步骤S250至少包括步骤S410至步骤S420,详细介绍如下:Based on the foregoing embodiments, FIG. 4 shows a schematic flowchart of step S250 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application. Referring to FIG. 4, step S250 includes at least step S410 to step S420, which are described in detail as follows:
在步骤S410中,根据各所述第一已成像图像的中心位置,确定未成像图像的中心位置,所述未成像图像与所述第一空间光调制器中除被开启的 像素之外的其他像素相对应。In step S410, according to the center position of each of the first imaged images, determine the center position of the unimaged image, the unimaged image is related to other pixels except the turned-on pixels in the first spatial light modulator corresponding to pixels.
其中,未成像图像可以是与第一空间光调制器未开启的像素相对应的图像光斑,即与除第一空间光调制器被开启的像素之外的其他像素相对应的图像光斑。由于是按照预定像素间隔开启第一空间光调制器的像素,所以未成像图像应分别位于相邻的两个第一已成像图像之间。同时应该理解的,未成像图像的中心位置应该与相邻的两个第一已成像图像的中心位置存在一定的关联度,所以可以根据第一已成像图像的中心位置,确定与其相邻的未成像图像的中心位置。Wherein, the non-imaged image may be an image spot corresponding to a pixel of which the first spatial light modulator is not turned on, that is, an image spot corresponding to other pixels except the pixel for which the first spatial light modulator is turned on. Since the pixels of the first spatial light modulator are turned on according to a predetermined pixel interval, the unimaged images should be respectively located between two adjacent first imaged images. At the same time, it should be understood that the central position of the unimaged image should have a certain degree of correlation with the central positions of the two adjacent first imaged images, so the unimaged image adjacent to it can be determined according to the central position of the first imaged image. Like the center position of the image.
在本申请一示例性实施例中,处理器可以根据相邻两个第一已成像图像的中心位置,确定位于该相邻两个第一已成像图像之间的未成像图像的中心位置。具体地,基于相邻两个第一已成像图像的中心位置,可以确定相邻两个第一已成像图像之间的距离,根据该距离以及预定像素间隔,则可以确定位于该两个已成像图像之间的未成像图像的中心位置。In an exemplary embodiment of the present application, the processor may determine a center position of an unimaged image located between the two adjacent first imaged images according to the center positions of two adjacent first imaged images. Specifically, based on the center positions of two adjacent first imaged images, the distance between two adjacent first imaged images can be determined, and according to the distance and the predetermined pixel interval, it can be determined that the distance between the two adjacent imaged images is The center position of the unimaged image between images.
例如,根据相邻两个第一已成像图像的中心位置,可以确定相邻两个第一已成像图像的中心位置之间的距离,若预定像素间隔为n个,则表示在相邻两个第一已成像图像之间应存在n个未成像图像,可以将该距离进行(n+1)等分,每一等分的节点即为未成像图像的中心位置。For example, according to the center positions of two adjacent first imaged images, the distance between the center positions of two adjacent first imaged images can be determined. If the predetermined pixel interval is n, it means that between two adjacent There should be n unimaged images between the first imaged images, and the distance can be divided into (n+1) equal parts, and the nodes of each equal part are the central positions of the unimaged images.
在步骤S420中,根据所述第二空间光调制器的像素分布、所述第一已成像图像的中心位置以及所述未成像图像的中心位置,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。In step S420, according to the pixel distribution of the second spatial light modulator, the center position of the first imaged image, and the center position of the unimaged image, determine and store the Correspondence between each pixel and each pixel in the second spatial light modulator.
在该实施例中,处理器可以将未成像图像的中心位置、第一已成像图像的中心位置与第二空间光调制器的像素分布进行匹配。应该理解的,因为未成像图像与第一空间光调制器中未开启的像素相对应,而第一已成像图像与第一空间光调制器中已开启的像素相对应。由此,通过匹配,可以确定第一空间光调制器中所有像素与第二空间光调制器中像素之间的对应关系,从而完成二者像素之间的标定。并且无需打开第一空间光调制器中的所有像素即可完成标定,提高了标定效率,也保证了标定结果的准确性。In this embodiment, the processor may match the center position of the unimaged image, the center position of the first imaged image, and the pixel distribution of the second spatial light modulator. It should be understood that because the unimaged image corresponds to the unturned-on pixels in the first spatial light modulator, and the first imaged image corresponds to the turned-on pixels in the first spatial light modulator. Thus, through matching, the corresponding relationship between all the pixels in the first spatial light modulator and the pixels in the second spatial light modulator can be determined, so as to complete the calibration between the two pixels. Moreover, the calibration can be completed without turning on all the pixels in the first spatial light modulator, which improves the calibration efficiency and ensures the accuracy of the calibration result.
基于图4所示的实施例,图5示出了根据本申请的一个实施例的图4 的双空间光调制设备的标定方法中步骤S410的流程示意图。参照图5所示,步骤S410至少包括步骤S510至步骤S520,详细介绍如下:Based on the embodiment shown in FIG. 4 , FIG. 5 shows a schematic flowchart of step S410 in the calibration method for the dual spatial light modulation device in FIG. 4 according to an embodiment of the present application. Referring to FIG. 5, step S410 includes at least step S510 to step S520, which are described in detail as follows:
在步骤S510中,根据各所述第一已成像图像的中心位置,确定相邻所述第一已成像图像之间的距离。In step S510, the distance between adjacent first imaged images is determined according to the center position of each of the first imaged images.
在本申请一示例性实施例中,处理器可以根据各第一已成像图像的中心位置,确定相邻第一已成像图像之间的距离。例如第一已成像图像A和第一已成像图像B为相邻的两个图像光斑,第一已成像图像A的中心位置为(x 1,y 1),第一已成像图像B的中心位置为(x 2,y 2),则第一已成像图像A和第一已成像图像B之间的距离为
Figure PCTCN2022117542-appb-000001
In an exemplary embodiment of the present application, the processor may determine the distance between adjacent first imaged images according to the center position of each first imaged image. For example, the first imaged image A and the first imaged image B are two adjacent image spots, the center position of the first imaged image A is (x 1 , y 1 ), and the center position of the first imaged image B is is (x 2 , y 2 ), then the distance between the first imaged image A and the first imaged image B is
Figure PCTCN2022117542-appb-000001
在步骤S520中,根据相邻所述第一已成像图像之间的距离以及所述预定像素间隔,确定相邻所述第一已成像图像之间的未成像图像的中心位置。In step S520, according to the distance between the adjacent first imaged images and the predetermined pixel interval, the center position of the non-imaged image between the adjacent first imaged images is determined.
在本申请一示例性实施例中,处理器可以基于相邻两个第一已成像图像的中心位置,确定相邻两个第一已成像图像之间的距离,根据该距离以及预定像素间隔,则可以确定位于该两个第一已成像图像之间的未成像图像的位置信息。In an exemplary embodiment of the present application, the processor may determine the distance between two adjacent first imaged images based on the center positions of the two adjacent first imaged images, and according to the distance and the predetermined pixel interval, Then the position information of the unimaged image located between the two first imaged images can be determined.
例如,根据相邻两个第一已成像图像的中心位置,可以确定相邻两个第一已成像图像的中心位置之间的距离,若预定像素间隔为n个,则表示在相邻两个第一已成像图像之间应存在n个未成像光斑(即未成像图像),可以将该距离进行(n+1)等分,每一等分的节点即为未成像图像的中心位置,由此确定未成像图像的位置信息。For example, according to the center positions of two adjacent first imaged images, the distance between the center positions of two adjacent first imaged images can be determined. If the predetermined pixel interval is n, it means that between two adjacent There should be n unimaged spots (i.e., unimaged images) between the first imaged images, and the distance can be equally divided into (n+1), and each equally divided node is the central position of the unimaged image, by This determines the location information of the unimaged image.
在本申请一示例性实施例中,当图像光斑为RGB格式时,根据相邻两个第一已成像图像之间的距离以及预定像素间隔,确定相邻第一已成像图像之间的未成像图像的中心位置,包括:In an exemplary embodiment of the present application, when the image spot is in RGB format, according to the distance between two adjacent first imaged images and the predetermined pixel interval, determine the non-imaged spot between adjacent first imaged images The center position of the image, including:
根据相邻第一已成像图像中相同类别的子光斑的中心位置之间的距离以及预定像素间隔,确定相邻第一已成像图像之间的未成像图像中相同类别的子光斑的中心位置。According to the distance between the center positions of the sub-spots of the same type in the adjacent first imaged images and the predetermined pixel interval, the center positions of the sub-spots of the same type in the non-imaged images between the adjacent first imaged images are determined.
在本申请一示例性实施例中,处理器可以根据相邻已成像图像中相同类别的子光斑的中心位置之间的距离以及该预定像素间隔,确定相邻第一已成像图像之间的未成像图像中相同类别的子光斑的中心位置。例如可以根据相邻第一已成像图像中红色子光斑的中心位置之间的距离以及预定像 素间隔,确定位于该相邻第一已成像图像之间的未成像图像的红色子光斑的中心位置。具体的确定步骤可以参照上文所述,本申请在此不在赘述。In an exemplary embodiment of the present application, the processor may determine the distance between the center positions of the same type of sub-spots in the adjacent imaged images and the predetermined pixel interval to determine the unformed spot between the adjacent first imaged images. Center positions of sub-spots of the same category in the image. For example, the center position of the red sub-spots of the unimaged images between the adjacent first imaged images may be determined according to the distance between the central positions of the red sub-spots in the adjacent first imaged images and the predetermined pixel interval. For specific determination steps, reference may be made to the above description, and the present application will not repeat them here.
基于图4所示的实施例,图6示出了根据本申请的一个实施例的双空间光调制设备的标定方法中还包括的确定第一已成像图像的形貌的流程示意图。参照图6所示,确定第一已成像图像的形貌至少包括步骤S610至步骤S630,详细介绍如下:Based on the embodiment shown in FIG. 4 , FIG. 6 shows a schematic flow chart of determining the topography of the first imaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application. Referring to FIG. 6, determining the topography of the first imaged image includes at least steps S610 to S630, which are described in detail as follows:
在步骤S610中,根据各所述第一已成像图像的中心位置,确定相邻所述第一已成像图像之间的距离。In step S610, the distance between adjacent first imaged images is determined according to the center position of each of the first imaged images.
在步骤S620中,根据相邻所述第一已成像图像之间的距离,以各所述第一已成像图像的中心位置为中心,获取分别包含各所述第一已成像图像的子图像。In step S620, according to the distance between the adjacent first imaged images, with the center position of each of the first imaged images as the center, acquire sub-images respectively including each of the first imaged images.
在本申请一示例性实施例中,处理器可以根据相邻第一已成像图像之间的距离,以每一第一已成像图像的中心位置为中心,将该距离作为子图像的宽度和高度,从第一待处理图像中进行分割,以获取分别包含每一第一已成像图像的子图像。例如第一已成像图像A和第一已成像图像B为相邻的两个第一已成像已成像图像,第一已成像图像A的中心位置为(x 1,y 1),第一已成像图像B的中心位置为(x 2,y 2),第一已成像图像A和已成像图像B之间的距离为10,则所获取的包含第一已成像图像A的子图像的四个角点的位置为(x 1-5,y 1-5)、(x 1+5,y 1-5)、(x 1+5,y 1+5)以及(x 1-5,y 1+5)。 In an exemplary embodiment of the present application, the processor may take the center position of each first imaged image as the center according to the distance between adjacent first imaged images, and use the distance as the width and height of the sub-image , perform segmentation from the first image to be processed to obtain sub-images respectively including each first imaged image. For example, the first imaged image A and the first imaged image B are two adjacent first imaged images, the center position of the first imaged image A is (x 1 , y 1 ), the first imaged image The center position of the image B is (x 2 , y 2 ), and the distance between the first imaged image A and the imaged image B is 10, then the acquired four corners of the sub-image containing the first imaged image A The positions of the points are (x 1 -5, y 1 -5), (x 1 +5, y 1 -5), (x 1 +5, y 1 +5) and (x 1 -5, y 1 +5 ).
在步骤S630中,根据各所述子图像,确定所述子图像中所包含的第一已成像图像的形貌。In step S630, according to each of the sub-images, the topography of the first imaged image included in the sub-images is determined.
其中,形貌可以是与图像光斑的显示状态相关的信息,例如图像光斑的形貌可以包括但不限于图像光斑的形状、亮度以及颜色等信息。根据每一图像光斑的形貌,即可确定该图像光斑在屏幕上的显示状态。The topography may be information related to the display state of the image spot, for example, the topography of the image spot may include but not limited to information such as shape, brightness, and color of the image spot. According to the shape of each image spot, the display state of the image spot on the screen can be determined.
在本申请一示例性实施例中,处理器可以对每一子图像进行图像分析,从而确定该子图像所包含的第一已成像图像的形貌。由此,通过获取包含每一第一已成像图像的子图像,再对每一子图像进行图像分析,可以提高所获取的第一已成像图像的形貌的准确性,避免从单一第一待处理图像中 获取多个第一已成像图像的形貌出现较大误差的情况发生。处理器可以将所获取的第一已成像图像的形貌进行存储,以备后续调用。In an exemplary embodiment of the present application, the processor may perform image analysis on each sub-image, so as to determine the shape of the first imaged image included in the sub-image. Thus, by acquiring sub-images containing each first imaged image, and then performing image analysis on each sub-image, the accuracy of the acquired first imaged image can be improved, avoiding the problem from a single first imaged image. In the processed image, a large error occurs in the topography of the acquired multiple first imaged images. The processor can store the acquired topography of the first imaged image for subsequent recall.
在本申请一示例性实施例中,该形貌包括亮度信息,则处理器还可以根据相邻第一已成像图像中各第一已成像图像的亮度信息,确定相邻第一已成像图像之间的未成像图像的亮度信息。In an exemplary embodiment of the present application, the shape includes brightness information, and the processor may also determine the difference between the adjacent first imaged images according to the brightness information of each first imaged image in the adjacent first imaged images. The brightness information of the unimaged image in between.
在一示例中,处理器可以根据相邻两个第一已成像图像的亮度信息,计算亮度的平均值,以此作为未成像图像的亮度信息。在另一示例中,在预定像素间隔为至少两个的情况下,处理器也可以根据相邻两个第一已成像图像的亮度信息之间的差值,根据预定像素间隔,对该差值进行等分,从而确定未成像图像的亮度信息。例如,若相邻两个第一已成像图像A和B之间亮度信息的差值为9,预定像素间隔为2,则表示第一已成像图像A和B之间应有两个未成像图像。所以,可以对该差值进行等分,9/(2+1)=3,所以靠近A的未成像图像的亮度信息应为已成像图像A的亮度加3,靠近B的未成像图像的亮度信息应为第一已成像图像A的亮度信息加6即(3+3),等等。由此,可以保证所确定的未成像图像的形貌符合图像光斑的渐变规律,以保证所确定的未成像图像的形貌的准确性。In an example, the processor may calculate an average value of brightness according to the brightness information of two adjacent first imaged images, and use it as the brightness information of the unimaged image. In another example, when the predetermined pixel interval is at least two, the processor may also calculate the difference according to the difference between the brightness information of two adjacent first imaged images according to the predetermined pixel interval Aliquoting is performed to determine brightness information of the unimaged image. For example, if the difference in brightness information between two adjacent first imaged images A and B is 9, and the predetermined pixel interval is 2, it means that there should be two unimaged images between the first imaged images A and B . Therefore, the difference can be equally divided, 9/(2+1)=3, so the brightness information of the unimaged image near A should be the brightness of the imaged image A plus 3, and the brightness of the unimaged image near B The information should be the luminance information of the first imaged image A plus 6, ie (3+3), and so on. Thus, it can be ensured that the determined shape of the unimaged image complies with the gradual change rule of the image spot, so as to ensure the accuracy of the determined shape of the unimaged image.
需要说明的,第一已成像图像的亮度信息可以以其中心位置的亮度信息进行表征,例如第一已成像图像的中心位置的亮度信息为a,则该第一已成像图像的亮度信息即为a。若第一已成像图像包含三个子光斑,则可以以三个子光斑的中心位置的亮度信息作为该第一已成像图像的亮度信息。It should be noted that the luminance information of the first imaged image can be represented by the luminance information of its center position, for example, the luminance information of the center position of the first imaged image is a, then the luminance information of the first imaged image is a. If the first imaged image includes three sub-spots, the brightness information of the central positions of the three sub-spots may be used as the brightness information of the first imaged image.
由此,一个第一已成像图像即可对应有三个亮度信息,在后续确定未成像图像的亮度信息时,则可以根据相同类别的子光斑的亮度信息计算未成像图像的相同类别的子光斑的亮度信息,例如根据相邻两个第一已成像图像的红色子光斑的亮度信息,可以计算位于该相邻两个第一已成像图像之间的未成像图像的红色子光斑的亮度信息,计算方法可以参照上文所述,本申请在此不再赘述。Thus, one first imaged image can correspond to three luminance information, and when subsequently determining the luminance information of the unimaged image, the brightness information of the sub-spots of the same type in the unimaged image can be calculated according to the luminance information of the sub-spots of the same type. The brightness information, for example, according to the brightness information of the red sub-spots of two adjacent first imaged images, the brightness information of the red sub-spots of the unimaged image between the two adjacent first imaged images can be calculated, and the calculation For the method, reference may be made to the above description, and the present application will not repeat it here.
基于上述实施例,图7示出了根据本申请的一个实施例的双空间光调制设备的标定方法中还包括的确定未成像图像的形状信息的流程示意图。参照图7所示,在根据相邻所述第一已成像图像中各第一已成像图像的亮 度信息,确定相邻所述第一已成像图像之间的未成像图像的亮度信息之前,确定未成像图像的形状信息至少包括步骤S710至步骤S720,详细介绍如下:Based on the above embodiments, FIG. 7 shows a schematic flowchart of determining shape information of an unimaged image further included in the calibration method for a dual spatial light modulation device according to an embodiment of the present application. Referring to FIG. 7 , before determining the brightness information of the non-imaged images between the adjacent first imaged images according to the brightness information of each first imaged image in the adjacent first imaged images, determine The shape information of the unimaged image includes at least step S710 to step S720, which are described in detail as follows:
在步骤S710中,根据相邻所述第一已成像图像中各第一已成像图像的形状信息,确定相邻所述第一已成像图像之间的尺寸差值。In step S710, according to the shape information of each of the first imaged images in the adjacent first imaged images, the size difference between the adjacent first imaged images is determined.
在本申请一示例性实施例中,处理器可以根据相邻第一已成像图像的形状信息,将相邻第一已成像图像的形状信息进行比较,从而确定二者之间的尺寸差值。需要说明的,该形状信息可以是与图像光斑的形状相关的尺寸信息,例如该形状信息可以包括但不限于图像光斑的宽度、高度以及直径等信息。处理器可以将相邻第一已成像图像的相同类别的形状信息进行相减,从而确定该相邻第一已成像图像之间的尺寸差值。In an exemplary embodiment of the present application, the processor may compare the shape information of the adjacent first imaged images according to the shape information of the adjacent first imaged images, so as to determine the size difference between them. It should be noted that the shape information may be size information related to the shape of the image spot, for example, the shape information may include but not limited to information such as width, height, and diameter of the image spot. The processor may subtract shape information of the same category of adjacent first imaged images to determine a size difference between the adjacent first imaged images.
在步骤S720中,根据所述尺寸差值,确定相邻所述第一已成像图像之间的未成像图像的形状信息。In step S720, the shape information of the non-imaged image between adjacent first imaged images is determined according to the size difference.
在本申请一示例性实施例中,处理器也可以根据相邻两个第一已成像图像之间的尺寸差值,根据预定像素间隔,对该尺寸差值进行等分,从而确定未成像图像的形状信息。以宽度为例,若相邻两个第一已成像图像A和B的宽度差值为9,预定像素间隔为2,则表示第一已成像图像A和B之间应有两个未成像图像,所以,可以对该宽度差值进行等分,9/(2+1)=3。由此,靠近A的未成像图像的宽度应为已成像图像A的宽度加3,靠近B的未成像图像的宽度应为已成像图像A的宽度加6即(3+3),等等。由此,可以保证所确定的未成像图像的形状信息符合图像光斑的渐变规律,以保证所确定的未成像图像的形状信息的准确性。In an exemplary embodiment of the present application, the processor may also equally divide the size difference between two adjacent first imaged images according to a predetermined pixel interval, so as to determine the unimaged image shape information. Taking the width as an example, if the width difference between two adjacent first imaged images A and B is 9, and the predetermined pixel interval is 2, it means that there should be two unimaged images between the first imaged images A and B , therefore, the width difference can be equally divided, 9/(2+1)=3. Thus, the width of the unimaged image near A should be the width of the imaged image A plus 3, the width of the unimaged image near B should be the width of the imaged image A plus 6 (3+3), and so on. Thus, it can be ensured that the determined shape information of the unimaged image complies with the gradual change rule of the image spot, so as to ensure the accuracy of the determined shape information of the unimaged image.
基于图2所示的实施例,图8示出了根据本申请的一个实施例的图2的双空间光调制设备的标定方法中步骤S210的流程示意图。参照图8所示,步骤S210至少包括步骤S810至步骤S830,详细介绍如下:Based on the embodiment shown in FIG. 2 , FIG. 8 shows a schematic flowchart of step S210 in the calibration method for the dual spatial light modulation device in FIG. 2 according to an embodiment of the present application. Referring to FIG. 8, step S210 includes at least step S810 to step S830, which are described in detail as follows:
在步骤S810中,开启所述第一空间光调制器中用于确定所述第二空间光调制器的投影位置的指定像素,以使所述第二空间光调制器根据所述指定像素的出射光输出第二图像光。In step S810, turn on a designated pixel in the first spatial light modulator for determining the projection position of the second spatial light modulator, so that the second spatial light modulator The emitted light outputs the second image light.
其中,指定像素可以是用以确定第二空间光调制器的像素分布的像素, 在一示例中,该指定像素可以是第一空间光调制器的像素中位于边缘位置的像素,例如若第一空间光调制器的像素为方形排列,则指定像素即为该方形的四条边上的像素,等等。在另一示例中,该指定像素也可以是第一空间光调制器的像素中位于角点位置的像素,例如若第一空间光调制器的像素为方形排列,则指定像素即为位于该方形四个角点位置的像素,等等。又一示例中,还可以将第一空间光调制器中的像素全部开启,即第一空间光调制器中的所有像素均为指定像素。本领域技术人员可以根据实现需要,确定对应的指定像素,本申请对此不作特殊限定。Wherein, the specified pixel may be a pixel used to determine the pixel distribution of the second spatial light modulator. In an example, the specified pixel may be a pixel at an edge position among the pixels of the first spatial light modulator. For example, if the first The pixels of the spatial light modulator are arranged in a square, and the designated pixels are the pixels on the four sides of the square, and so on. In another example, the designated pixel may also be a pixel located at a corner position among the pixels of the first spatial light modulator. For example, if the pixels of the first spatial light modulator are arranged in a square, the designated pixel is located in the square. Pixels at the four corner locations, etc. In yet another example, all pixels in the first spatial light modulator may also be turned on, that is, all pixels in the first spatial light modulator are specified pixels. Those skilled in the art can determine the corresponding designated pixel according to the implementation requirements, which is not specifically limited in the present application.
在本申请一示例性实施例中,处理器可以开启第一空间光调制器中的指定像素,以使第二空间光调制器中的像素可以接收指定像素的出射光,从而输出第二图像光。在一示例中,处理器可以将形状易于识别的图形(例如直线或者方形图像等)经由所述第一空间光调制器和第二空间光调制器进行投影,以使第二空间光调制器输出对应的第二图像光。In an exemplary embodiment of the present application, the processor may turn on a designated pixel in the first spatial light modulator, so that the pixels in the second spatial light modulator may receive the outgoing light of the designated pixel, thereby outputting the second image light . In an example, the processor may project an easily identifiable figure (such as a straight line or a square image, etc.) through the first spatial light modulator and the second spatial light modulator, so that the second spatial light modulator outputs corresponding to the second image light.
在步骤S820中,获取包含第二已成像图像的第二待处理图像,所述第二已成像图像由所述第二图像光进行成像得到。In step S820, a second image to be processed including a second imaged image obtained by imaging with the second image light is acquired.
在本申请一示例性实施例中,本领域技术人员可以设置一接收屏幕(即成像载体),由第二空间光调制器所输出的第二图像光投影在屏幕中,以形成图像光斑(即第二已成像图像)。处理器可以通过图像获取装置对形成图像光斑的屏幕进行拍摄,从而获取包含第二已成像图像的第二待处理图像。In an exemplary embodiment of the present application, those skilled in the art can set a receiving screen (ie, an imaging carrier), and the second image light output by the second spatial light modulator is projected on the screen to form an image spot (ie, second imaged image). The processor may use the image acquisition device to capture the screen on which the image spot is formed, so as to acquire the second image to be processed including the second imaged image.
需要说明的,该图像获取装置可以是摄像头,其也可以是成像亮度计等具有图像获取功能的电子设备,本申请对此不作特殊限定。It should be noted that the image acquisition device may be a camera, or an electronic device with an image acquisition function such as an imaging luminance meter, which is not specifically limited in this application.
在步骤S830中,根据预处理后的所述第二待处理图像,确定所述第二空间光调制器中的像素分布。In step S830, pixel distribution in the second spatial light modulator is determined according to the preprocessed second image to be processed.
在本申请一示例性实施例中,预处理可以是对图像进行转换处理的处理过程。应该理解的,通过图像获取装置所获取的图像,由于图像获取装置的拍摄角度的影响,其所拍摄的图像可能为倾斜的,并不是正对成像载体。因此,通过对第二待处理图像进行预处理,可以将倾斜的视角所拍摄的第二待处理图像调正,例如将第二待处理图像的边形成的图形为梯形, 则可以通过对第二待处理图像进行调整,从而得到矩形的第二待处理图像。In an exemplary embodiment of the present application, the preprocessing may be a process of performing conversion processing on an image. It should be understood that, due to the influence of the shooting angle of the image capturing device, the image captured by the image capturing device may be tilted and not directly facing the imaging carrier. Therefore, by preprocessing the second image to be processed, the second image to be processed taken from an oblique angle of view can be adjusted, for example, if the figure formed by the sides of the second image to be processed is a trapezoid, then the second image to be processed can be The image to be processed is adjusted to obtain a rectangular second image to be processed.
处理器可以基于预处理后的第二待处理图像,对第二待处理图像进行图像识别,从而识别出预处理后的第二待处理图像中所包含的第二待成像图像的位置信息,进而确定第二空间光调制设备的像素分布。确定方式可以参照上文所述内容,本申请在此不再赘述。The processor may perform image recognition on the second image to be processed based on the preprocessed second image to be processed, so as to identify the position information of the second image to be imaged included in the preprocessed second image to be processed, and then A pixel distribution of the second spatial light modulation device is determined. For the determination method, reference may be made to the content described above, which will not be repeated here in this application.
基于上述实施例的技术方案,以下介绍本申请实施例的一个具体应用场景:Based on the technical solutions of the above embodiments, a specific application scenario of the embodiments of the present application is introduced as follows:
图9a至图9e示出了根据本申请的一个实施例的双空间光调制设备的标定方法的处理流程示意图。Fig. 9a to Fig. 9e show a schematic processing flow diagram of a calibration method for a dual spatial light modulation device according to an embodiment of the present application.
如图9a所示,处理器可以按照预定间隔开启第一空间光调制器的像素,并开启第二空间光调制器中的所有像素。第二空间光调制器可以接收第一空间光调制器中已开启的像素的出射光,并在屏幕中进行投影形成已成像图像。图像获取装置可以获取包含已成像图像的待处理图像并将该待处理图像传输至处理器中进行处理。As shown in Fig. 9a, the processor may turn on the pixels of the first spatial light modulator at predetermined intervals, and turn on all the pixels in the second spatial light modulator. The second spatial light modulator may receive the light emitted by the turned-on pixels of the first spatial light modulator, and project the light on the screen to form an imaged image. The image acquiring device can acquire the image to be processed including the imaged image and transmit the image to be processed to the processor for processing.
如图9b所示,处理器可以基于待处理图像进行图像处理,确定每一已成像图像中所包含的子光斑的中心位置,从而确定每一已成像图像的位置信息。由此,可以基于已成像图像的位置信息,确定相邻已成像图像之间的距离。As shown in FIG. 9b, the processor may perform image processing based on the image to be processed, and determine the center position of the sub-spot contained in each imaged image, thereby determining the position information of each imaged image. Thereby, the distance between adjacent imaged images can be determined based on the position information of the imaged images.
如图9c所示,处理器可以以每一已成像图像的中心位置为中心,根据所确定的相邻已成像图像之间的距离,对待处理图像进行分割,从而获取分别包含每一已成像图像的子图像。处理器可以基于每一子图像进行图像处理,从而确定每一已成像图像的形貌。As shown in Fig. 9c, the processor can take the center position of each imaged image as the center, and according to the determined distance between adjacent imaged images, segment the image to be processed, so as to obtain subimage of the . The processor may perform image processing based on each sub-image to determine the topography of each imaged image.
如图9d所示,处理器可以根据相邻已成像图像之间的距离以及预定像素间隔,对未成像图像的中心位置在相邻已成像图像之间进行插值,从而得到对应于第一空间光调制器中所有像素的图像光斑的中心位置。并基于已成像图像的位置信息和未成像图像的位置信息,对预先获取的第二空间光调制器的像素分布进行匹配,从而确定第一空间光调制器中的像素与第二空间光调制器中的像素之间的对应关系,并进行存储,以备后续调用,完成标定。As shown in Figure 9d, the processor can interpolate the center position of the unimaged image between adjacent imaged images according to the distance between adjacent imaged images and the predetermined pixel interval, so as to obtain the corresponding first spatial light The center position of the image spot for all pixels in the modulator. And based on the position information of the imaged image and the position information of the unimaged image, match the pixel distribution of the second spatial light modulator acquired in advance, so as to determine the pixel distribution of the first spatial light modulator and the second spatial light modulator The corresponding relationship between the pixels in and stored for subsequent calls to complete the calibration.
如图9e所示,处理器还可以根据相邻已成像图像的形貌,确定位于相邻已成像图像之间的未成像图像之间的形貌,从而得到已成像图像的形貌以及未成像图像的形貌。处理终端可以对所有图像光斑的形貌进行归一化处理,再将归一化处理后的图像光斑的形貌进行存储,以备后续调用。As shown in Figure 9e, the processor can also determine the topography between the unimaged images located between the adjacent imaged images according to the topography of the adjacent imaged images, so as to obtain the topography of the imaged images and the unimaged images. The shape of the image. The processing terminal can perform normalization processing on the topography of all image spots, and then store the normalized topography of the image spots for subsequent calling.
由此,无需开启第一空间光调制器的所有像素即可完成标定,提高了标定效率。同时,可以避免图像光斑之间的互相干扰,保证了标定结果的准确性。Therefore, the calibration can be completed without turning on all the pixels of the first spatial light modulator, which improves the calibration efficiency. At the same time, mutual interference between image spots can be avoided, ensuring the accuracy of calibration results.
以下介绍本申请的装置实施例,可以用于执行本申请上述实施例中的双空间光调制设备的标定方法。对于本申请装置实施例中未披露的细节,请参照本申请上述的双空间光调制设备的标定方法的实施例。The apparatus embodiments of the present application are introduced below, which can be used to implement the calibration method for the dual spatial light modulation device in the foregoing embodiments of the present application. For the details not disclosed in the device embodiment of the present application, please refer to the embodiment of the calibration method for the dual spatial light modulation device mentioned above in the present application.
图10示出了根据本申请的一个实施例的双空间光调制设备的标定装置的框图。Fig. 10 shows a block diagram of a calibration device of a dual spatial light modulation device according to an embodiment of the present application.
参照图10所示,根据本申请的一个实施例的双空间光调制设备的标定装置,该双空间调制设备包括相串联的第一空间光调制器和第二空间光调制器,该装置包括:Referring to FIG. 10 , according to an embodiment of the present application, a calibration device for a dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, and the device includes:
第一获取模块1010,用于获取所述第二空间光调制器的像素分布;A first acquiring module 1010, configured to acquire the pixel distribution of the second spatial light modulator;
像素开启模块1020,用于按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光;A pixel turning-on module 1020, configured to turn on pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs light according to the turned-on pixels in the first spatial light modulator outputting the first image light;
第二获取模块1030,用于获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到;The second acquisition module 1030 is configured to acquire a first image to be processed including a first imaged image, the first imaged image is obtained by imaging the first image light;
第一确定模块1040,根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息;The first determination module 1040 is configured to determine the position information of the first imaged image according to the preprocessed first image to be processed;
第二确定模块1050,用于根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系.The second determination module 1050 is configured to determine and store the relationship between each pixel in the first spatial light modulator and the first imaged image according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image. Correspondence between pixels in two spatial light modulators.
本申请的实施例还提供了一种双空间光调制设备的标定系统,该系统包括:The embodiment of the present application also provides a calibration system for a dual spatial light modulation device, the system comprising:
相串联的第一空间光调制器和第二空间光调制器;a first spatial light modulator and a second spatial light modulator connected in series;
光源,用于向所述第一空间光调制器提供源光;a light source for providing source light to the first spatial light modulator;
图像处理装置,用于获取并处理第二空间光调制器输出的投影图像;an image processing device, configured to acquire and process the projection image output by the second spatial light modulator;
其中,所述图像处理装置能够执行如上述实施例所述的双空间光调制设备的标定方法。Wherein, the image processing apparatus can execute the calibration method of the dual spatial light modulation device as described in the above-mentioned embodiments.
图11示出了适于用来实现本申请实施例的电子设备的计算机系统的结构示意图。FIG. 11 shows a schematic structural diagram of a computer system suitable for implementing the electronic device of the embodiment of the present application.
需要说明的是,图11示出的电子设备的计算机系统仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。It should be noted that the computer system of the electronic device shown in FIG. 11 is only an example, and should not limit the functions and scope of use of the embodiments of the present application.
如图11所示,计算机系统包括中央处理单元(Central Processing Unit,CPU)1101,其可以根据存储在只读存储器(Read-Only Memory,ROM)1102中的程序或者从储存部分1108加载到随机访问存储器(Random Access Memory,RAM)1103中的程序而执行各种适当的动作和处理,例如执行上述实施例中所述的方法。在RAM 1103中,还存储有系统操作所需的各种程序和数据。CPU 1101、ROM 1102以及RAM 1103通过总线1104彼此相连。输入/输出(Input/Output,I/O)接口1105也连接至总线1104。As shown in Figure 11, the computer system includes a central processing unit (Central Processing Unit, CPU) 1101, which can be stored in a program in a read-only memory (Read-Only Memory, ROM) 1102 or loaded to random access from a storage part 1108 Various appropriate actions and processes are executed by programs in the RAM (Random Access Memory, RAM) 1103, for example, the methods described in the above-mentioned embodiments are executed. In RAM 1103, various programs and data necessary for system operation are also stored. The CPU 1101, ROM 1102, and RAM 1103 are connected to each other via a bus 1104. An input/output (Input/Output, I/O) interface 1105 is also connected to the bus 1104 .
以下部件连接至I/O接口1105:包括键盘、鼠标等的输入部分1106;包括诸如阴极射线管(Cathode Ray Tube,CRT)、液晶显示器(Liquid Crystal Display,LCD)等以及扬声器等的输出部分1107;包括硬盘等的储存部分1108;以及包括诸如LAN(Local Area Network,局域网)卡、调制解调器等的网络接口卡的通信部分1109。通信部分1109经由诸如因特网的网络执行通信处理。驱动器1110也根据需要连接至I/O接口1105。可拆卸介质1111,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1110上,以便于从其上读出的计算机程序根据需要被安装入储存部分1108。The following components are connected to the I/O interface 1105: an input part 1106 including a keyboard, a mouse, etc.; an output part 1107 including a cathode ray tube (Cathode Ray Tube, CRT), a liquid crystal display (Liquid Crystal Display, LCD), etc., and a speaker ; the storage part 1108 including hard disk etc.; and the communication part 1109 including the network interface cards such as LAN (Local Area Network, local area network) card, modem etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I/O interface 1105 as needed. A removable medium 1111 such as a magnetic disk, optical disk, magneto-optical disk, semiconductor memory, etc. is mounted on the drive 1110 as necessary so that a computer program read therefrom is installed into the storage section 1108 as necessary.
特别地,根据本申请的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本申请的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的计算机程序。在这样的实施例中,该计算机程序可以通过通信部分1109从网络上被下载和安装,和/或从可拆卸介质1111被 安装。在该计算机程序被中央处理单元(CPU)1101执行时,执行本申请的系统中限定的各种功能。In particular, according to the embodiments of the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments of the present application include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 1109, and/or installed from removable media 1111. When this computer program is executed by a central processing unit (CPU) 1101, various functions defined in the system of the present application are performed.
需要说明的是,本申请实施例所示的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、闪存、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的计算机程序。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的计算机程序可以用任何适当的介质传输,包括但不限于:无线、有线等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash memory, optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable one of the above The combination. In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which a computer-readable computer program is carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . A computer program embodied on a computer readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。其中,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框 图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Wherein, each block in the flowchart or block diagram may represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or part of the code includes one or more executable instruction. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams or flowchart illustrations, and combinations of blocks in the block diagrams or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a A combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现,所描述的单元也可以设置在处理器中。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定。The units described in the embodiments of the present application may be implemented by software or by hardware, and the described units may also be set in a processor. Wherein, the names of these units do not constitute a limitation of the unit itself under certain circumstances.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被一个该电子设备执行时,使得该电子设备实现上述实施例中所述的方法。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by an electronic device, the electronic device is made to implement the methods described in the above-mentioned embodiments.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. Actually, according to the embodiment of the present application, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided to be embodied by a plurality of modules or units.
通过以上的实施方式的描述,本领域的技术人员易于理解,这里描述的示例实施方式可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施方式的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、触控终端、或者网络设备等)执行根据本申请实施方式的方法。Through the description of the above implementations, those skilled in the art can easily understand that the example implementations described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of the present application can be embodied in the form of software products, which can be stored in a non-volatile storage medium (which can be CD-ROM, U disk, mobile hard disk, etc.) or on the network , including several instructions to make a computing device (which may be a personal computer, server, touch terminal, or network device, etc.) execute the method according to the embodiment of the present application.
本领域技术人员在考虑说明书及实践这里公开的实施方式后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application .
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

  1. 一种双空间光调制设备的标定方法,所述双空间调制设备包括相串联的第一空间光调制器和第二空间光调制器,其特征在于,包括:A calibration method for a dual spatial light modulation device, the dual spatial light modulation device comprising a first spatial light modulator and a second spatial light modulator connected in series, characterized in that it includes:
    获取所述第二空间光调制器的像素分布;acquiring pixel distribution of the second spatial light modulator;
    按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光;Turn on the pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs the first image light according to the output light of the turned-on pixels in the first spatial light modulator;
    获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到;Acquiring a first image to be processed including a first imaged image obtained by imaging the first imaged image;
    根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息;determining position information of the first imaged image according to the preprocessed first image to be processed;
    根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。According to the pixel distribution of the second spatial light modulator and the position information of the first imaged image, determine and store each pixel in the first spatial light modulator and each pixel in the second spatial light modulator Correspondence between.
  2. 根据权利要求1所述的方法,其特征在于,所述按照预定规则开启所述第一空间光调制器中的像素,包括:The method according to claim 1, wherein the turning on the pixels in the first spatial light modulator according to a predetermined rule comprises:
    按照预定像素间隔开启所述第一空间光调制器中的像素。Pixels in the first spatial light modulator are turned on at predetermined pixel intervals.
  3. 根据权利要求2所述的方法,其特征在于,所述根据预处理后的第一待处理图像,确定所述第一已成像图像的位置信息,包括:The method according to claim 2, wherein the determining the position information of the first imaged image according to the preprocessed first image to be processed comprises:
    根据预处理后的所述第一待处理图像中各像素点的亮度信息,确定各所述第一已成像图像的中心位置。The center position of each of the first imaged images is determined according to the brightness information of each pixel in the preprocessed first image to be processed.
  4. 根据权利要求3所述的方法,其特征在于,所述第一已成像图像包括红色、绿色和蓝色三个子光斑;The method according to claim 3, wherein the first imaged image comprises three sub-spots of red, green and blue;
    所述根据预处理后的所述第一待处理图像中各像素点的亮度信息,确定各所述第一已成像图像的中心位置,包括:The determining the center position of each of the first imaged images according to the brightness information of each pixel in the preprocessed first image to be processed includes:
    根据预处理后的所述第一待处理图像中各像素点的亮度信息,确定各所述第一已成像图像中各所述子光斑的中心位置;determining the center position of each of the sub-spots in each of the first imaged images according to the brightness information of each pixel in the first image to be processed after preprocessing;
    根据各所述第一已成像图像中各所述子光斑的中心位置进行取平均值,确定各所述第一已成像图像的中心位置。The center position of each of the first imaged images is determined by taking an average value according to the center positions of each of the sub-spots in each of the first imaged images.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述第二空间 光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系,包括:The method according to claim 3, wherein the first spatial light modulator is determined and stored according to the pixel distribution of the second spatial light modulator and the position information of the first imaged image. The corresponding relationship between each pixel in the second spatial light modulator and each pixel in the second spatial light modulator includes:
    根据各所述第一已成像图像的中心位置,确定未成像图像的中心位置,所述未成像图像与所述第一空间光调制器中除被开启的像素之外的其他像素相对应;determining the center position of an unimaged image according to the center position of each of the first imaged images, the unimaged image corresponding to other pixels in the first spatial light modulator except the turned-on pixel;
    根据所述第二空间光调制器的像素分布、所述第一已成像图像的中心位置以及所述未成像图像的中心位置,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。According to the pixel distribution of the second spatial light modulator, the central position of the first imaged image, and the central position of the unimaged image, determine and store the relationship between each pixel in the first spatial light modulator and the Correspondence between pixels in the second spatial light modulator.
  6. 根据权利要求5所述的方法,其特征在于,所述根据各所述第一已成像图像的中心位置,确定未成像图像的中心位置,包括:The method according to claim 5, wherein said determining the center position of the non-imaged image according to the center position of each said first imaged image comprises:
    根据各所述第一已成像图像的中心位置,确定相邻所述第一已成像图像之间的距离;determining the distance between adjacent first imaged images according to the center position of each of the first imaged images;
    根据相邻所述第一已成像图像之间的距离以及所述预定像素间隔,确定相邻所述第一已成像图像之间的未成像图像的中心位置。According to the distance between the adjacent first imaged images and the predetermined pixel interval, determine the center position of the non-imaged image between the adjacent first imaged images.
  7. 根据权利要求5所述的方法,其特征在于,所述方法还包括:The method according to claim 5, wherein the method further comprises:
    根据各所述第一已成像图像的中心位置,确定相邻所述第一已成像图像之间的距离;determining the distance between adjacent first imaged images according to the center position of each of the first imaged images;
    根据相邻所述第一已成像图像之间的距离,以各所述第一已成像图像的中心位置为中心,获取分别包含各所述第一已成像图像的子图像;Acquiring sub-images respectively including each of the first imaged images with the center position of each of the first imaged images as the center according to the distance between the adjacent first imaged images;
    根据各所述子图像,确定所述子图像中所包含的第一已成像图像的形貌。From each of the sub-images, the topography of the first imaged image contained in the sub-images is determined.
  8. 根据权利要求7所述的方法,其特征在于,所述形貌包括亮度信息,所述方法还包括:The method according to claim 7, wherein the profile includes brightness information, and the method further comprises:
    根据相邻所述第一已成像图像中各第一已成像图像的亮度信息,确定相邻所述第一已成像图像之间的未成像图像的亮度信息。According to the brightness information of each of the first imaged images in the adjacent first imaged images, the brightness information of the non-imaged images between the adjacent first imaged images is determined.
  9. 根据权利要求8所述的方法,其特征在于,所述形貌还包括形状信息;The method according to claim 8, wherein the profile further includes shape information;
    在根据相邻所述第一已成像图像中各第一已成像图像的亮度信息,确定相邻所述第一已成像图像之间的未成像图像的亮度信息之前,还包括:Before determining the brightness information of the non-imaged images between the adjacent first imaged images according to the brightness information of each first imaged image in the adjacent first imaged images, it also includes:
    根据相邻所述第一已成像图像中各第一已成像图像的形状信息,确定 相邻所述第一已成像图像之间的尺寸差值;According to the shape information of each of the first imaged images in the adjacent first imaged images, determine the size difference between the adjacent first imaged images;
    根据所述尺寸差值,确定相邻所述第一已成像图像之间的未成像图像的形状信息。Determine shape information of non-imaged images between adjacent first imaged images according to the size difference.
  10. 根据权利要求1所述的方法,其特征在于,所述获取所述第二空间光调制器的像素分布,包括:The method according to claim 1, wherein the acquiring the pixel distribution of the second spatial light modulator comprises:
    开启所述第一空间光调制器中用于确定所述第二空间光调制器的投影位置的指定像素,以使所述第二空间光调制器根据所述指定像素的出射光输出第二图像光;Turn on a designated pixel in the first spatial light modulator for determining the projection position of the second spatial light modulator, so that the second spatial light modulator outputs a second image according to the emitted light of the designated pixel Light;
    获取包含第二已成像图像的第二待处理图像,所述第二已成像图像由所述第二图像光进行成像得到;Acquiring a second image to be processed that includes a second imaged image, the second imaged image is obtained by imaging with the second image light;
    根据预处理后的所述第二待处理图像,确定所述第二空间光调制器中的像素分布。Determine pixel distribution in the second spatial light modulator according to the preprocessed second image to be processed.
  11. 一种双空间光调制设备的标定装置,所述双空间调制设备包括相串联的第一空间光调制器和第二空间光调制器,其特征在于,包括:A calibration device for a dual spatial light modulation device, the dual spatial light modulation device includes a first spatial light modulator and a second spatial light modulator connected in series, characterized in that it includes:
    第一获取模块,用于获取所述第二空间光调制器的像素分布;a first acquiring module, configured to acquire the pixel distribution of the second spatial light modulator;
    像素开启模块,用于按照预定规则开启所述第一空间光调制器中的像素,以使所述第二空间光调制器根据所述第一空间光调制器中被开启的像素的输出光输出第一图像光;A pixel turning-on module, configured to turn on pixels in the first spatial light modulator according to a predetermined rule, so that the second spatial light modulator outputs light according to the output light of the turned-on pixels in the first spatial light modulator first image light;
    第二获取模块,用于获取包含第一已成像图像的第一待处理图像,所述第一已成像图像由所述第一图像光进行成像得到;A second acquisition module, configured to acquire a first image to be processed including a first imaged image, the first imaged image is obtained by imaging the first image light;
    第一确定模块,根据预处理后的所述第一待处理图像,确定所述第一已成像图像的位置信息;The first determination module determines the position information of the first imaged image according to the preprocessed first image to be processed;
    第二确定模块,用于根据所述第二空间光调制器的像素分布以及所述第一已成像图像的位置信息,确定并存储所述第一空间光调制器中各像素与所述第二空间光调制器中各像素之间的对应关系。The second determining module is configured to determine and store the relationship between each pixel in the first spatial light modulator and the second image based on the pixel distribution of the second spatial light modulator and the position information of the first imaged image. Correspondence between pixels in the spatial light modulator.
  12. 一种双空间光调制设备的标定系统,其特征在于,包括:A calibration system for a dual spatial light modulation device, characterized in that it includes:
    相串联的第一空间光调制器和第二空间光调制器;a first spatial light modulator and a second spatial light modulator connected in series;
    光源,用于向所述第一空间光调制器提供源光;a light source for providing source light to the first spatial light modulator;
    图像处理装置,用于获取并处理第二空间光调制器输出的投影图像;an image processing device, configured to acquire and process the projection image output by the second spatial light modulator;
    其中,所述图像处理装置能够执行如权利要求1-10中任一项所述的双空间光调制设备的标定方法。Wherein, the image processing device is capable of executing the calibration method for a dual spatial light modulation device according to any one of claims 1-10.
  13. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;one or more processors;
    存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如权利要求1至10中任一项所述的双空间光调制设备的标定方法。A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors are configured to implement any one of claims 1 to 10 A method for calibrating a dual spatial light modulation device described in one item.
PCT/CN2022/117542 2021-09-14 2022-09-07 Method, apparatus and system for calibrating two spatial light modulation devices, and electronic device WO2023040721A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111074802.3 2021-09-14
CN202111074802.3A CN115808291A (en) 2021-09-14 2021-09-14 Calibration method, device and system of double-spatial light modulation equipment and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023040721A1 true WO2023040721A1 (en) 2023-03-23

Family

ID=85481511

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/117542 WO2023040721A1 (en) 2021-09-14 2022-09-07 Method, apparatus and system for calibrating two spatial light modulation devices, and electronic device

Country Status (2)

Country Link
CN (1) CN115808291A (en)
WO (1) WO2023040721A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050134613A1 (en) * 2003-12-19 2005-06-23 Texas Instruments Incorporated Transferring data directly between a processor and a spatial light modulator
CN101822043A (en) * 2007-10-09 2010-09-01 罗科威尔柯林斯视像显示系统有限公司 Image display
CN102667904A (en) * 2009-12-16 2012-09-12 杜比实验室特许公司 Method and system for backlight control using statistical attributes of image data blocks
CN105376483A (en) * 2015-10-27 2016-03-02 京东方科技集团股份有限公司 Image reconstruction method and device, eyeglass device and display system
CN105474637A (en) * 2013-08-16 2016-04-06 杜比实验室特许公司 Systems and methods for light field modeling techniques for multi-modulation displays
CN107797368A (en) * 2016-09-05 2018-03-13 深圳市光峰光电技术有限公司 Double space light modulation system and the method that light regulation is carried out using the system
CN108426585A (en) * 2018-03-12 2018-08-21 哈尔滨工业大学 A kind of geometric calibration method of light-field camera
CN111179353A (en) * 2019-12-17 2020-05-19 清华大学深圳国际研究生院 Micro-lens array calibration method and system of light field camera
CN113141438A (en) * 2021-04-13 2021-07-20 山东云海国创云计算装备产业创新中心有限公司 Gray level image projection method, device, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050134613A1 (en) * 2003-12-19 2005-06-23 Texas Instruments Incorporated Transferring data directly between a processor and a spatial light modulator
CN101822043A (en) * 2007-10-09 2010-09-01 罗科威尔柯林斯视像显示系统有限公司 Image display
CN102667904A (en) * 2009-12-16 2012-09-12 杜比实验室特许公司 Method and system for backlight control using statistical attributes of image data blocks
CN105474637A (en) * 2013-08-16 2016-04-06 杜比实验室特许公司 Systems and methods for light field modeling techniques for multi-modulation displays
CN105376483A (en) * 2015-10-27 2016-03-02 京东方科技集团股份有限公司 Image reconstruction method and device, eyeglass device and display system
CN107797368A (en) * 2016-09-05 2018-03-13 深圳市光峰光电技术有限公司 Double space light modulation system and the method that light regulation is carried out using the system
CN108426585A (en) * 2018-03-12 2018-08-21 哈尔滨工业大学 A kind of geometric calibration method of light-field camera
CN111179353A (en) * 2019-12-17 2020-05-19 清华大学深圳国际研究生院 Micro-lens array calibration method and system of light field camera
CN113141438A (en) * 2021-04-13 2021-07-20 山东云海国创云计算装备产业创新中心有限公司 Gray level image projection method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115808291A (en) 2023-03-17

Similar Documents

Publication Publication Date Title
CN109272459B (en) Image processing method, image processing device, storage medium and electronic equipment
US10614603B2 (en) Color normalization for a multi-camera system
CN109146814B (en) Image processing method, image processing device, storage medium and electronic equipment
CN109547701B (en) Image shooting method and device, storage medium and electronic equipment
CN109685746B (en) Image brightness adjusting method and device, storage medium and terminal
JP2024500555A (en) Image processing method, image processing device and non-temporary storage medium
CN109741281B (en) Image processing method, image processing device, storage medium and terminal
US9756303B1 (en) Camera-assisted automatic screen fitting
CN109727215B (en) Image processing method, device, terminal equipment and storage medium
JP2005253067A (en) System and method for visual echo cancellation in projector-camera-white board system
WO2020177584A1 (en) Graphic typesetting method and related device
US10438376B2 (en) Image processing apparatus replacing color of portion in image into single color, image processing method, and storage medium
EP3940633B1 (en) Image alignment method and apparatus, electronic device, and storage medium
CN109690611B (en) Image correction method and device
JP2019109624A (en) Information processing apparatus, program, and information processing method
CN109618098A (en) A kind of portrait face method of adjustment, device, storage medium and terminal
CN109040729B (en) Image white balance correction method and device, storage medium and terminal
WO2022105277A1 (en) Projection control method and apparatus, projection optical machine, and readable storage medium
US20210352253A1 (en) Image processing method and apparatus, terminal and storage medium
WO2022011975A1 (en) White balance correction method and apparatus, device, and storage medium
WO2023040721A1 (en) Method, apparatus and system for calibrating two spatial light modulation devices, and electronic device
JP2016197377A (en) Computer program for image correction, image correction device, and image correction method
WO2024055531A1 (en) Illuminometer value identification method, electronic device, and storage medium
CN116978308A (en) Display correction method and device and electronic equipment
WO2023151210A1 (en) Image processing method, electronic device and computer-readable storage medium

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE