WO2013044642A1 - Brightness function obtaining method and related apparatus - Google Patents
Brightness function obtaining method and related apparatus Download PDFInfo
- Publication number
- WO2013044642A1 WO2013044642A1 PCT/CN2012/076157 CN2012076157W WO2013044642A1 WO 2013044642 A1 WO2013044642 A1 WO 2013044642A1 CN 2012076157 W CN2012076157 W CN 2012076157W WO 2013044642 A1 WO2013044642 A1 WO 2013044642A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- image
- display screen
- coordinates
- angle
- brightness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10004—Still image; Photographic image
- G06T2207/10012—Stereo images
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30108—Industrial image inspection
- G06T2207/30121—CRT, LCD or plasma display
Definitions
- the present invention relates to the field of image processing, and in particular, to a brightness function acquisition method and related apparatus. Background technique
- the display screen is an optical radiation surface for displaying an image, and may specifically include a flat or curved projection display screen and a flat panel display, wherein the projection display screen includes a front projection and a rear projection display screen, and the light radiation manner is a reflection, a transmission, and a self-lighting manner.
- the projection display screen includes a front projection and a rear projection display screen
- the light radiation manner is a reflection, a transmission, and a self-lighting manner.
- a projection display system consisting of a single projector may not be able to meet the display requirements of large resolution, so multiple projector combinations can be used to display an image together, breaking the resolution limit.
- a single projector may not be able or difficult to achieve a better display on the surface, and some researchers have used a multi-projector to fused display to achieve a combined display on a curved surface such as a curved surface or a spherical surface.
- This multi-projector combination display method is collectively referred to as a multi-projector fusion display system.
- Geometric correction and gamut fusion techniques are key technologies in multi-projector seamless fusion display systems. Geometric correction achieves the coherence of the spatial position of the object in the scene, while gamut fusion achieves the continuity of the multi-projector gamut transition. The geometric alignment and gamut fusion effects are not good, which directly leads to the splitting of the fusion display in the fusion zone.
- the goal of gamut fusion is to control the inconsistency of the color field of the projector screen beyond the physiological limits of the human eye's perception.
- the image is usually color corrected using a color gamut fusion algorithm and then output to the projector.
- the color aliasing algorithm of the single tube attenuates the image red, green and blue (RGB, Red Green Blue) values, and it is easy to present color stripes in the transition zone.
- the gamut fusion algorithm requires the spatial brightness distribution function of the projection display screen.
- the spatial brightness distribution function of these projection display screens may be related to the anisotropy of the projection display screen and the spatial brightness attenuation function of the projector.
- Single flat panel display shows system limitations in terms of resolution, display area and viewing angle Sex, some people use multiple flat panel display combination to break through this limitation.
- a video conferencing application scenario using multiple flat panel displays there may be a large difference in brightness between flat panel displays, which results in a splitting of the screen and affects display quality.
- the difference in brightness can be automatically corrected using software or circuitry, and the correction of these differences requires the use of a spatial luminance distribution function.
- the “acquisition of the luminance function” refers to the acquisition of the spatial distribution information of the luminance.
- the operation of “acquisition” includes the process of sensing and data calculation, and is not limited to sensing.
- the data calculation method is needed to process the sensor data that can be obtained, thereby obtaining indirectly.
- "Luminance function” is a function of brightness with respect to spatial coordinates and may be described as “luminance variations", “luminance distribution”, “photometric variations", "," The luminance response, or the "luminance surface”, is a different description of the same object as the "luminance function” in this paper.
- the “luminance function” in this paper describes the difference in brightness between different spatial values. It is not necessary to obtain an absolute lumen value. The ratio of the function value of the obtained luminance function to its lumen value at each spatial position is unknown but equal. constant. In many applications, the acquisition of standard lumen values is not necessary. That is, brightness can refer to relative values.
- the acquisition of the spatial luminance distribution function is a key technique in known display screen color correction or brightness correction schemes.
- the industry usually uses a camera to capture a brightness image, and then performs a coordinate conversion method to achieve the display screen space brightness function.
- the angle at which the camera acquires the brightness image of the display screen is generally the angle at which the camera is calibrated, and since the angle at which the camera is calibrated is generally on the side, when the display screen is viewed from the side, the brightness of each part of the entire screen is Inconsistent (non-Lambertian surface) results in inaccurate color correction or brightness correction of the display screen based on the brightness image acquired by the camera.
- Embodiments of the present invention provide a brightness function acquisition method and related apparatus for acquiring a brightness function of a display screen at an arbitrary angle.
- the method for obtaining a brightness function provided by the present invention includes:
- the brightness function acquiring device includes:
- a first acquiring unit configured to acquire a first image of the display screen taken from the first angle, the first angle is a shooting angle for camera calibration, and a second acquiring unit, configured to acquire a display photographed from the second angle a second image of the screen and a brightness image, the second angle being an arbitrary shooting angle specified by the user;
- a first calculating unit configured to calculate a camera parameter according to the first image;
- a first establishing unit configured to a parameter and a position parameter of the display screen establish a first coordinate mapping relationship from a coordinate of the display screen to an image coordinate taken from the first angle;
- a second establishing unit configured to: according to the first image and the The second image establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle;
- a third establishing unit configured to map according to the first coordinate relationship And calculating, by the second coordinate mapping relationship, a third coordinate from coordinates of the display screen to image coordinates captured from the second angle Shot relation;
- the brightness function acquisition system provided by the invention comprises:
- the camera device includes at least two lenses, respectively capturing a display screen of the display device from a first angle and a second angle, wherein the first angle is used for camera calibration a shooting angle, the second angle is an arbitrary shooting angle specified by the user;
- the display device is configured to display an image in the display screen;
- the brightness function acquiring device is configured to separately capture from the camera device from the first angle a first image of the display screen, and a second image of the display screen taken from the second angle and the brightness image, calculating camera parameters according to the first image; establishing a slave image according to the camera parameter and the position parameter of the display screen a first coordinate mapping relationship of coordinates of the display screen to image coordinates captured from the first angle; And establishing, according to the first image and the second image, a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle; according to the first coordinate mapping The relationship and the second coordinate mapping relationship calculate a third coordinate mapping relationship from
- the embodiments of the present invention have the following advantages:
- the present invention acquires a first image of a display screen photographed from a first angle, a second image of a display screen photographed from a second angle, and a brightness image with which coordinates from the display screen are established to from the first a first coordinate mapping relationship of the image coordinates of the angle shot, using the first image and the second image to establish a second coordinate map of the image coordinates captured from the first angle to the captured image coordinates of the second angle And obtaining, by the conversion of the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle, and finally according to the third coordinate
- the mapping relationship performs coordinate transformation on the brightness image captured from the second angle to obtain a linearized brightness function of the display screen; since the present invention respectively performs shooting from the first angle and the second angle, the first angle is a shooting angle for camera calibration,
- the second angle can be any angle specified by the user; thus, when performing luminance image acquisition Then, the second angle can be set to an angle observed by the
- FIG. 1 is a schematic flowchart of a method for acquiring a luminance function according to an embodiment of the present invention
- FIG. 2 is another schematic flowchart of a method for acquiring a luminance function according to an embodiment of the present invention
- FIG. 3 is an application scenario of a method for acquiring a luminance function according to an embodiment of the present invention
- 4 is a schematic diagram showing the logical structure of a luminance function acquiring apparatus according to an embodiment of the present invention
- FIG. 5 is a schematic diagram showing the logical structure of a luminance function acquiring system according to an embodiment of the present invention.
- Embodiments of the present invention provide a luminance function acquisition method and related apparatus for acquiring a luminance function of a display screen at an arbitrary angle.
- an embodiment of a method for acquiring a luminance function in an embodiment of the present invention includes:
- the brightness function acquisition means acquires a first image of the display screen taken from the first angle, the first angle being a shooting angle for camera calibration.
- the camera captures the display screen from a first angle, which may be a projection screen or a flat panel display.
- the brightness function acquiring device calculates the geometric information of the object in the three-dimensional space from the first image acquired by the camera, and thereby reconstructs and recognizes the object; the process of the camera calibration mainly determines the geometric and optical parameters of the camera, and determines the camera relative to the world coordinate system. Orientation.
- the brightness function acquiring means acquires the second image of the display screen photographed from the second angle and the brightness image, the second angle is any shooting specified by the user Angle; the brightness image is brightness data information corresponding to the second image.
- the camera photographed from the first angle and the camera photographed from the second angle may be the same camera or two different cameras, depending on the actual situation, which is not limited herein.
- the brightness function acquiring device calculates the camera parameter according to the first image acquired from the first angle. Specifically, the brightness function acquiring device calculates the geometric information of the object in the three-dimensional space according to the first image (such as the three-dimensional coordinates of the four corners of the display screen). , using the determined geometric information and the corresponding algorithm to calculate the camera.
- the brightness function acquiring means performs geometric calibration based on the camera parameters and the position parameters of the display screen, and establishes a first coordinate mapping relationship from coordinates of the display screen to image coordinates taken from the first angle.
- the position parameter of the display screen may be locally preset data, or may be a parameter that the brightness function acquiring device locates the display screen according to the camera parameter, which is determined according to actual conditions, and is not limited herein;
- the position parameter may specifically be a three-dimensional upper contour curve and a three-dimensional lower contour curve of the display screen.
- the brightness function acquiring means respectively extracts geometric information from the first image and the second image acquired from the first angle and the second angle, and establishes image coordinates captured from the first angle to the second according to the extracted geometric information.
- the second coordinate mapping relationship of the image coordinates of the angled image is a first coordinate mapping relationship of the image coordinates of the angled image.
- the first coordinate mapping relationship may not be directly used to perform the display screen.
- the calculation of the brightness function requires coordinate conversion from the first angle to the second angle to obtain a coordinate mapping relationship from the display screen to the position of the camera corresponding to the second angle, so it is necessary to first calculate the image from the first angle.
- the luminance function acquiring means calculates a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates photographed from the second angle based on the first coordinate mapping relationship and the second coordinate mapping relationship.
- the luminance function acquiring means calculates a linearized luminance function of the display screen based on the third coordinate mapping relationship and the luminance image.
- the brightness function acquiring device directly obtains the coordinate image after performing coordinate transformation on the brightness image according to the third coordinate mapping relationship. a linearized brightness function of the display screen;
- the brightness image of the display screen taken from the second angle is non-linearized data
- the brightness image may be coordinate-transformed according to the third coordinate mapping relationship to obtain a brightness function of the display screen coordinates, and then the display screen coordinates are
- the brightness function is linearized to obtain a linearized brightness function of the display screen; or the brightness image may be linearized to obtain a linearized brightness image captured by the second angle, and then according to the third coordinate mapping relationship
- the linearized luminance image is coordinate-transformed to obtain a linearized luminance function of the display screen.
- the specific coordinate transformation or the linearization processing may be performed according to actual conditions, which is not limited herein.
- the present invention acquires a first image of a display screen taken from a first angle, a second image of a display screen taken from a second angle, and a brightness image, with which the sitting from the display screen is established Marking a first coordinate mapping relationship of image coordinates taken from the first angle, using the first image and the second image to establish image coordinates captured from the first angle to the second angle of the captured image a second coordinate mapping relationship of the image coordinates, and obtaining, by the conversion of the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle Finally, performing coordinate transformation on the brightness image captured from the second angle according to the third coordinate mapping relationship to obtain a linearized brightness function of the display screen; since the present invention respectively performs shooting from the first angle and the second angle, the first angle is used
- the angle of the camera is calibrated, and the second angle can be any angle specified by the user; thus, when the brightness image is acquired, the second angle can be set to the angle observed by the user,
- Another embodiment of the method for acquiring the brightness function in the embodiment of the present invention includes:
- the brightness function acquiring means acquires a first image of the projection screen taken from the first angle, the first angle being a shooting angle for camera calibration.
- the display screen is a projection screen
- the projector projects a solid color image to the projection screen
- the "solid color” refers to the same color of each pixel of the input image of the projector, such as pure white, pure yellow or pure red.
- the solid color image is projected onto the projection screen for the purpose of facilitating the extraction of the contour image of the projection screen and for facilitating the extraction of the luminance image of the projection screen.
- the brightness function acquiring device may image the images projected by each projector one by one by the first angle of the camera, or may be unified from the first angle by the camera. Take a picture group (no overlap area) projected by each projector.
- the brightness function acquiring means acquires the second image of the projection screen taken from the second angle and the brightness image, the second angle is any shooting specified by the user Angle; the brightness image is brightness data information corresponding to the second image.
- the brightness function acquiring device captures an image (second image) projected by the projector from a second angle through a camera, and acquires a brightness image corresponding to the second image according to the second image. Since the second angle can be any angle specified by the user, the user can take the second angle It is set to the angle at which the user observes the projection screen such that the radiation of the respective positions on the entire projection screen is substantially the same.
- the luminance function acquiring means calculates the camera parameters from the first angle acquired from the first angle as described above.
- the camera parameters may specifically include:
- the internal parameters of the camera include: focal length, the optical center coordinate of the camera, the coordinates of the center point of the image, and the first-order coefficient of the radial distortion of the lens;
- the external parameters of the camera include: a rotation matrix and a translation vector between the three-dimensional world coordinate system and the camera coordinate system.
- the projection screen is a vertically extruded curved surface
- the vertically extruded curved surface is a curved surface obtained by sweeping a certain distance along a direction perpendicular to the plane in which the two-dimensional curved line is perpendicular.
- the brightness function acquiring device extracts the contour coordinates of the projection screen in the first image, and the contour coordinates may specifically be three-dimensional coordinates of the four corners of the projection screen; then, the brightness function acquiring device performs CANNY on the first image according to the contour coordinates. Extracting the edge of the operator to obtain the edge image; removing the edge data of the edge image except the upper contour and the lower contour to obtain the upper contour coordinate and the lower contour coordinate; respectively using the polynomial model and the least square method to the upper contour coordinate and The lower contour coordinates are fitted to the upper edge and the lower edge to obtain an upper contour curve and a lower contour curve. Finally, the nonlinear iterative optimization algorithm is used to initially estimate the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve.
- the brightness function acquiring means determines the positional parameter of the projection screen according to the camera parameter, and the positional parameter of the projection screen is specifically a three-dimensional upper contour curve and a three-dimensional lower contour curve.
- the brightness function acquiring device connects any point on the upper contour curve to the optical center of the camera to obtain a second line, and the second line intersects the plane where the three-dimensional upper contour curve is located, and the intersection point is a three-dimensional upper contour point, according to
- the set of contour points on the three-dimensional shape determines a three-dimensional upper contour curve; then, the three-dimensional lower contour curve can be obtained by the same method as determining the three-dimensional upper contour curve, or the three-dimensional upper contour curve can be translated downward by a distance equal to the height of the projection screen.
- a three-dimensional lower contour curve is obtained.
- the brightness function acquiring device may further use the camera parameter obtained in the above step 203 as an initial camera parameter, and calculate the initial camera parameter by using an upper contour curve and a lower contour curve of the projection screen.
- Estimated error, specific After determining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the brightness function acquiring device maps the three-dimensional lower contour curve back to the camera image according to the initially estimated camera parameter to obtain a re-casting contour curve, and re-casts the contour curve and the image.
- the error between the actual curves is used as the estimation error of the camera parameters.
- the estimation error of the specific camera parameters can be defined in various ways.
- the brightness function acquisition device uses a nonlinear iterative optimization algorithm to estimate a new set of camera parameters. Using this new camera parameter, a new estimation error can be obtained, and iteratively, until the estimation error is small.
- high-precision camera parameters can be obtained.
- the brightness function acquiring device acquires an arbitrary point coordinate of the first image in the imaging plane of the camera according to the camera parameter, and connects any point in the imaging plane with the optical center of the camera to obtain a first line; and restores according to the position parameter of the projection screen
- the curved surface of the projection screen (since the embodiment of the present invention assumes that the projection screen is a vertically extruded curved surface, therefore, after obtaining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the curved surface of the projection screen can be obtained), wherein the first straight line Intersecting the curved surface of the projection screen, the coordinates of the obtained intersection point are mapped one by one with the coordinates of the arbitrary point; the brightness function acquiring means can establish the projection screen from the projection screen to the first according to the coordinates of each arbitrary point and the coordinates of the corresponding intersection point The first coordinate mapping relationship of the angle.
- the brightness function acquiring device restores the curved surface of the projection screen according to the position parameter of the projection screen; and in other application scenarios
- the display screen is a pure plane (such as a flat panel display), when determining the surface of the display screen, it is not necessary to calculate the three-dimensional upper contour curve and the three-dimensional lower contour curve of the display screen, and directly through the three-dimensional coordinates of the four corners of the display screen.
- the brightness function acquiring means may construct the surface of the display screen using a triangulation technique based on stereo image matching point extraction according to the position parameter of the display screen.
- the positional parameters of the display screen are parameters that are calibrated using a three-dimensional calibration template.
- the brightness function acquiring means firstly obtains the first picture obtained from the first angle and the second angle, respectively And extracting the geometric information from the image and the second image. Specifically, the brightness function acquiring device respectively extracts the first feature point and the second feature point of the first image and the second image, where the first feature point and the second feature point are respectively used Position information indicating the first image and the second image; the image formed by the feature points may be a checkerboard image or a bitmap image;
- the brightness function acquiring device searches the first feature point and the second feature point of the one-to-one mapping by using the feature point detection algorithm. Specifically, if the image formed by the feature points is a checkerboard image, the brightness function acquiring device uses the chessboard The grid detection algorithm respectively detects the checkerboard corner points in the first image and the second image, and since the images taken from the first angle and the second angle are the same as the projection screen, the first image and the second image have a common
- the standard checkerboard through the mapping relationship between the checkerboards, can obtain the one-to-one mapping relationship of the checkerboard corner coordinates of the first image and the second image; finally, according to the first feature point and the second feature of the map
- the point establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle.
- the luminance function acquiring device may also detect the Gaussian feature points of each dot in the bitmap image by using the centroid detection method, and then establish a mapping relationship between the Gaussian feature points, and calculate the coordinate points of the mapped feature points.
- the coordinate mapping relationship between these two images For example, first assume that the coordinate mapping relationship between two images conforms to the rational Bessel model, and then use these known-mapped feature point coordinates to solve the parameters of the optimal rational Bessel model. After these parameters are obtained, the one-to-one mapping between the image and the image is known. Practice has proved that, at least in many cases, the coordinate mapping relationship between image and image has little error with the rational Bessel model, so the assumption of rational Bessel model is reasonable. For the solution of the parameters of the rational Bessel model, a constrained nonlinear optimization algorithm can be used.
- the model of the mapping relationship between images and images includes but is not limited to the rational Bessel model.
- the first coordinate mapping relationship may not be directly used to perform the projection screen.
- the calculation of the brightness function requires coordinate conversion from the first angle to the second angle to obtain a coordinate mapping relationship from the projection screen to the position of the camera corresponding to the second angle, so it is necessary to first calculate the image from the first angle.
- the brightness function acquiring means calculates the relationship between the first coordinate mapping relationship and the second coordinate mapping relationship A third coordinate mapping relationship from the coordinates of the projection screen to the image coordinates captured from the second angle described above is calculated.
- the brightness function acquiring means performs coordinate transformation on the brightness image of the projection screen taken from the second angle according to the third coordinate mapping relationship, and obtains a brightness function of the projected screen coordinates.
- the luminance function acquiring means linearizes the luminance function of the projection screen coordinates to obtain a linearized luminance function of the display screen.
- the luminance image of the projection screen photographed from the second angle is nonlinearized data, it is necessary to linearize the luminance function.
- the brightness function acquiring means linearizes the brightness function of the projection screen coordinates according to an inverse function of the nonlinear brightness transfer function of the camera.
- the nonlinear brightness transfer function can be directly provided by the camera manufacturer or indirectly according to the color management standard used by the camera supplier. For example: Some SLR cameras (a type of camera) suppliers claim to use the sRGB color management standard.
- the sRGB standard defines the camera's luminance transfer function, and the inverse function of the luminance transfer function is also determined accordingly.
- the luminance transfer function of the luminance transfer function of these cameras is relatively close to the luminance transfer function of the camera defined by the sRGB standard, and the luminance transfer function defined by the sRGB standard can be directly used as the luminance transfer function in the embodiment of the present invention.
- the brightness function acquiring device obtains an accurate brightness function in a scene in which the display screen is a projection screen is described, so that the user can obtain the brightness function acquiring device according to the embodiment of the present invention. Brightness function for better color correction of the projector.
- the method flow for obtaining the brightness function is basically the same as the method flow of the above embodiment, and the difference is: (1) the calculation method of the camera parameter; calculating the camera parameter according to the first image
- the position information of the flat panel display can be directly determined according to the three-dimensional coordinates of the four corners of the flat panel display, and the three-dimensional coordinates of the four corners of the flat panel display can be measured with a ruler in advance.
- the brightness function acquisition device can obtain the camera parameters by using the nonlinear iterative optimization algorithm; (2) the calculation method of the first coordinate mapping relationship; After the parameter is acquired, the relative spatial position of the camera and the flat panel display is determined, and the intersection point of the first straight line and the flat panel display plane forms a mapping relationship with the starting point of the first straight line in the imaging plane of the camera. , using multiple sets of such mappings
- the first coordinate line can be obtained from the flat panel display to the first angle; the first straight line is a line connecting the first image from the optical center of the camera at any point in the imaging plane of the camera.
- the projector No. 0 and the projector No. 1, and the projector No. 1 and the projector No. 2 respectively form an overlapping area of two projections
- the overlapping area is a bright band caused by the superposition of the projected light; the brightness of the bright band is obviously higher than other display areas, causing the viewer to have a color splitting effect on the screen, and therefore, it is necessary to perform color correction on the display image projected by the projector. Before performing color correction, it is necessary to obtain the brightness function of the projection screen.
- the display surface of the projection screen is approximately a vertical extruded curved surface.
- the display screen is photographed at two angles by two cameras, and the first angle is a shooting angle for performing camera calibration.
- the second angle is the angle at which the viewer observes the projection screen. Since the angle at which the viewer observes the projection screen is on the front side, the bright band display of the captured projection screen is relatively uniform, close to the Lambertian surface.
- the brightness function acquiring device respectively acquires the first image captured from the first angle and the second image captured from the second angle by the two cameras; the brightness function acquiring device calculates the camera parameter through the first image (the specific calculation process may Referring to the description of steps 203 and 204 above, the camera parameters can be divided into internal parameters and external parameters.
- the internal parameters include: the focal length of the camera, the optical center coordinates of the camera, the coordinates of the center point of the image, and the first-order coefficient of the radial distortion of the lens.
- the external parameters include: a rotation matrix R and a translation vector T between the three-dimensional world coordinate system and the camera coordinate system.
- the angle ( ⁇ ) is rotated counterclockwise around the X axis
- the angle ( ⁇ ) is rotated counterclockwise around the ⁇ axis
- the angle ( ⁇ ) is rotated counterclockwise around the ⁇ axis.
- the rotation matrix is:
- , and 1 are the amount of translation along the three coordinate axes (after rotation) from the world coordinate system to the camera coordinate system, respectively.
- the brightness function acquiring device After acquiring the camera parameters, the brightness function acquiring device connects any point on the upper contour curve with the optical center of the camera to obtain a second line, which intersects the plane where the three-dimensional upper contour curve is located, and the intersection point is three-dimensionally a contour point, determining a three-dimensional upper contour curve according to the set of contour points on the three-dimensional contour; and then shifting the three-dimensional upper contour curve downward by a distance equal to a height of the projection screen to obtain a three-dimensional lower contour curve; the brightness function acquiring device passes the three-dimensional upper contour The curve and the 3D lower contour curve determine the surface of the projection screen.
- the brightness function acquiring device acquires an arbitrary point coordinate of the first image in the imaging plane of the camera according to the camera parameter, and connects any point in the imaging plane with the optical center of the camera to obtain a first line; wherein, the first line Intersecting with the curved surface of the projection screen, the coordinates of the intersecting point and the coordinates of the arbitrary point are mapped; the brightness function acquiring means can establish the coordinates from the projection screen to the first according to the coordinates of each arbitrary point and the coordinates of the corresponding intersection point.
- the first coordinate mapping relationship of the angle is
- the brightness function acquiring means establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image, and the calculation method of the specific second coordinate mapping relationship may be Refer to the description of step 206 above.
- the brightness function acquiring device further calculates a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the second angle according to the first coordinate mapping relationship and the second coordinate mapping relationship, and then uses the third coordinate mapping relationship to
- the brightness image of the projection screen of the two-angle shooting is subjected to coordinate transformation and linearization processing to obtain a linearized luminance function of the projection screen.
- the process of specific coordinate transformation and linearization processing can be referred to the description of steps 208 and 209 above.
- the color correction device can perform color correction on the overlapping area on the projection screen, specifically:
- the color correction device acquires the width of the overlapping area as w, and acquires the coordinates (mx, my) of a point P in the overlapping area on the projection screen, which is a distance d from the left boundary of the projection area of the projector No. 1.
- the method for specifically obtaining the width w and the left boundary distance d is: according to the linearized brightness function of the obtained projection screen, the projection boundary of each projector can be extracted (specifically, image segmentation can be used)
- the method, the edge extraction method, or the manual editing method performs extraction), and the distance between the left boundary of the display area 1 and the right boundary of the 0 display area is the width w of the first overlap area.
- the distance from P m ( mx,my ) to the left boundary of the display area of No. 1 is d.
- the chromaticity coordinates of the projection area generated by the No. 0 projector alone are , y. ), its standard color system
- the chromaticity coordinates of the projection area of the projector No. 1 are ( , y) , and the color vector under the CIE-XYZ space is ( , ); the chromaticity coordinates of the two in the overlap region are CIE-XYZ space.
- the color vector below is a linear system that assumes a projection screen approximation
- r (d) is the transition function of the chromaticity coordinates
- r (d) ( 1 + cos (; rd/w) )/2
- ⁇ (d) can be designed as needed.
- the above B PB i is the brightness response of the projection screen of the No. 0 projector and the No. 1 projector independently of the projection screen at point P. Since the brightness function is the mapping relationship between the brightness and the projection screen coordinates, the brightness function value corresponding to the P point coordinate on the projector screen of No. 0 is the brightness response of the projector independently at the point P of the No. 0 projector, therefore,
- the linearized luminance function obtained by the luminance function obtaining means can obtain the values of ⁇ and ⁇ .
- the chromaticity correction of the projection screen can be completed.
- the spatial luminance function under the projection screen coordinates is subjected to ⁇ attenuation.
- the color correction device In order to obtain the overall brightness distribution under the projection screen coordinates, although the brightness distribution eliminates the smearing of the chromaticity, but does not eliminate the splitting feeling on the brightness, the color correction device also needs to perform the brightness correction method.
- the color correction device obtains a spatial brightness function of each projection area at the projection screen coordinates
- the brightness function may be a linearized brightness function acquired by the brightness function acquiring device, or may be a spatial brightness distribution after the attenuation is performed, and specifically The choice depends on whether the user needs chromaticity correction. In some cases where the requirements are not high, the chromaticity correction can be omitted.
- Both the spatial luminance function and the function are two-dimensional functions of the mural coordinates. The multiplication of the two functions is the operation of the attenuation, and the product is the spatial luminance distribution after the implementation of the attenuation.
- the color correction device adds the input spatial luminance functions at the same position to obtain a composite spatial luminance function.
- the brightness smoothing algorithm for solving the target space luminance function can be considered as an optimization problem with constraints. The constraint is that the difference in brightness is not perceptible by the human eye, and the goal of optimization is to maximize the sum of the dynamic ranges of each pixel.
- the color correction device non-linearizes the color-corrected linear image and outputs it to the input end of the display device to complete the color correction operation.
- the non-linearized operation requires an inverse function of the transfer function of the luminance function corresponding to the display device.
- the color contains brightness and chromaticity. Both the brightness and the chromaticity can be corrected according to the method described in this embodiment, and the requirement can be lowered to correct only the brightness or the chromaticity.
- An embodiment of the brightness function acquiring device of the present invention for performing the above-described brightness function obtaining method is described below.
- An embodiment of the brightness function acquiring device in the embodiment of the present invention includes:
- the first obtaining unit 401 is configured to acquire a first image of the display screen taken from the first angle,
- the first angle is a shooting angle for camera calibration
- a second acquiring unit 402 configured to acquire a second image of the display screen taken from the second angle and a brightness image, where the second angle is an arbitrary shooting angle specified by the user;
- a first calculating unit 403 configured to calculate a camera according to the first image
- a first establishing unit 404 configured to establish a first coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the first angle according to the camera parameter and the position parameter of the display screen;
- the second establishing unit 405 is configured to The first image and the second image establish a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle;
- the third establishing unit 406 is configured to calculate, according to the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the second angle;
- the second calculating unit 407 is configured to obtain a linearized brightness function of the display screen according to the third coordinate mapping relationship and the brightness image.
- the second calculating unit 407 in the embodiment of the present invention may include: a first coordinate transforming module 4071 and a first linearization module 4072, or a second coordinate transforming module 4074 and a second linearizing module 4073.
- the first coordinate transformation module 4071 is configured to perform coordinate transformation on the brightness image according to the third coordinate mapping relationship, and if the brightness image captured from the second angle is nonlinear data, obtain a brightness function of the display screen coordinates. And triggering the first linearization module 4072; if the luminance image captured from the second angle is linear data, directly obtaining a linearized luminance function of the display screen coordinates;
- a first linearization module 4072 configured to linearize the brightness function of the display screen coordinates to obtain a linearized brightness function of the display screen
- a second linearization module 4073 configured to linearize the brightness image, obtain a linearized brightness image captured from the second angle, and trigger a second coordinate transformation module 4074; a second coordinate transformation module 4074, Performing coordinate transformation on the linearized luminance image according to the third coordinate mapping relationship to obtain a linearized luminance function of the display screen.
- the first calculating unit 403 in the embodiment of the present invention may include:
- a first extraction module 4031 configured to extract a contour coordinate of the display screen according to the first image
- a first obtaining module 4032 configured to acquire an upper contour curve of the display screen according to the contour coordinates And the lower contour curve;
- the estimation module 4033 is configured to estimate the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve using the nonlinear iterative optimization algorithm.
- the first establishing unit 404 in the embodiment of the present invention may include:
- a second acquisition block 4041 configured to acquire an arbitrary point coordinate of the first image in an imaging plane of the camera
- a third obtaining module 4042 configured to connect an arbitrary point in the imaging plane to an optical center of the camera to obtain a first straight line
- a fourth obtaining module 4043 configured to restore a curved surface of the display screen according to a position parameter of the display screen, where the first straight line intersects a curved surface of the display screen to obtain intersection point coordinates, and the coordinates of the arbitrary point and the intersection point coordinate Mapping
- the first establishing module 4044 is configured to establish, according to each of the foregoing arbitrary point coordinates and the intersection point coordinates corresponding to the arbitrary point coordinates, a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle.
- the second establishing unit 405 in the embodiment of the present invention may include:
- a second lifting block 4051 configured to respectively extract a first feature point and a second feature point of the first image and the second image, wherein the first feature point and the second feature point are respectively used to represent the first image And location information of the second image;
- the searching module 4052 is configured to search, by using a feature point detection algorithm, the first feature point and the second feature point of the mapping;
- a second establishing module 4053 configured to establish, according to the first feature point and the second feature point of the mapping, a second coordinate mapping relationship between the image coordinates captured from the first angle and the captured image coordinates of the second angle .
- the specific interaction process of each unit in the brightness function acquiring device in the embodiment of the present invention is as follows:
- the first obtaining unit 401 acquires a first image of the display screen taken from the first angle, and the first angle is a shooting angle for camera calibration.
- the camera captures the display screen from a first angle, and the display screen may be a projection screen or a flat panel display.
- the second acquiring unit 402 takes a second image of the display screen taken from the second angle and a brightness image, and the second angle is an arbitrary shooting angle specified by the user; the brightness image is brightness data information corresponding to the second image.
- the camera photographed from the first angle and the camera photographed from the second angle may be the same camera or two different cameras, which may be determined according to actual conditions, and are not limited herein.
- the first calculating unit 403 calculates the camera parameters according to the above-described first image acquired from the first angle.
- the camera parameters are divided into internal parameters and external parameters.
- the internal parameters of the camera include: focal length, the optical center coordinate of the camera, the coordinates of the center point of the image, the first-order coefficient of the radial distortion of the lens;
- the external parameters of the camera include: 3D space world coordinates The rotation matrix and translation vector between the camera and the camera coordinate system.
- the first extraction module 4031 of the first calculating unit 403 may extract the contour coordinates of the display screen in the first image, and the contour coordinates may specifically be three-dimensional coordinates of the four corners of the display screen; the first calculating unit 403
- the first obtaining module 403 performs edge extraction of the CANNY operator on the first image according to the contour coordinate to obtain an edge image; and removes edge data of the edge image except the upper contour and the lower contour to obtain upper contour coordinates and lower contour Coordinates:
- the upper and lower edges are respectively fitted to the upper and lower contours using a polynomial model and a least squares method to obtain an upper contour curve and a lower contour curve;
- the estimation module 4033 of the first calculating unit 403 utilizes The linear iterative optimization algorithm initially estimates the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve.
- the estimation module 4033 may also use the obtained camera parameters as the initial camera. Parameters, and use the upper contour curve and lower of the display screen
- the profile curve calculates the estimation error of the initial camera parameter. Specifically, after determining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the brightness function acquiring device maps the three-dimensional lower contour curve back to the camera according to the initially estimated camera parameter. The image obtains a re-casting contour curve, and the error between the contour curve and the actual curve in the image is taken as the estimation error of the camera parameter.
- the estimation error of the specific camera parameters can be defined in various ways.
- the brightness function acquisition device uses a nonlinear iterative optimization algorithm to estimate a new set of camera parameters. Using this new camera parameter, a new estimation error can be obtained, and iteratively, until the estimation error is small.
- high-precision camera parameters can be obtained.
- the first establishing unit 404 establishes a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle according to the camera parameters and the position parameters of the display screen; specifically, may be first
- the second obtaining module 4041 of the establishing unit 404 acquires any point coordinates of the first image in the imaging plane of the camera; and the third acquiring module 4042 of the first establishing unit 404 connects any point in the imaging plane to the optical center of the camera.
- the fourth obtaining module 4043 of the first establishing unit 404 is configured according to the position parameter of the display screen Restoring the curved surface of the display screen, the first straight line intersects the curved surface of the display screen to obtain the intersection point coordinates, the arbitrary point coordinates and the intersection point coordinate-map; finally, the first establishing module by the first establishing unit 404 4044 establishes a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle according to each of the above-mentioned arbitrary point coordinates and the intersection point coordinates corresponding to the arbitrary point coordinates.
- the fourth obtaining module 4043 can obtain the curved surface of the projected screen by using the three-dimensional upper contour curve and the three-dimensional lower contour curve; if the display screen is a pure plane (such as a flat panel display), determining When the surface of the screen is displayed, it is not necessary to calculate the three-dimensional upper contour curve and the three-dimensional lower contour curve of the display screen, and the fourth obtaining module 4043 can directly determine the curved surface of the display screen by displaying the three-dimensional coordinates of the four corners of the display screen; or, in the display In the application scenario where the screen is an irregular plane, the fourth obtaining module 4043 may construct a curved surface of the display screen according to a positional parameter of the display screen, using a triangulation technique based on stereo image matching point extraction, where the position parameter of the display screen is three-dimensional
- the calibration template is used to calibrate the parameters.
- the second establishing unit 405 establishes a second coordinate map of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image.
- the first feature point and the second feature point of the first image and the second image may be respectively extracted by the second extraction module 4051 of the second establishing unit 405, where the first feature point and the second feature point are respectively
- the image formed by the feature points may be a checkerboard image or a bitmap image; and the lookup module 4052 of the second establishing unit 405 searches using the feature point detection algorithm- Mapping the first feature point and the second feature point; specifically, if the image formed by the feature point is a checkerboard image, the brightness function acquiring device detects the first image and the second image respectively by using a checkerboard detection algorithm a checkerboard corner point, since the image taken from the first angle and the second angle is the same as the projection screen, therefore, the first
- the first coordinate mapping relationship may not be directly used to perform the projection screen.
- the calculation of the brightness function needs to be from the first angle to the second
- the coordinate conversion is performed to obtain the coordinate mapping relationship of the position of the camera corresponding to the second angle from the projection screen, so it is necessary to first calculate the image coordinates captured from the first angle to the captured image coordinates of the second angle.
- the second coordinate mapping relationship since the angle at which the camera calibration is performed (ie, the first angle) and the angle at which the luminance image is acquired (ie, the second angle) are different, the first coordinate mapping relationship may not be directly used to perform the projection screen.
- the calculation of the brightness function needs to be from the first angle to the second
- the coordinate conversion is performed to obtain the coordinate mapping relationship of the position of the camera corresponding to the second angle from the projection screen, so it is necessary to first calculate the image coordinates captured from the first angle to the captured image coordinates of the second angle.
- the second coordinate mapping relationship since the angle at which the camera calibration is performed (ie, the first angle)
- the third establishing unit 406 calculates a third coordinate mapping relationship from the projection screen to the second angle according to the first coordinate mapping relationship and the second coordinate mapping relationship. That is, the coordinate mapping relationship from the projection screen to the position of the camera corresponding to the second angle).
- the second calculating unit 407 calculates the linearized luminance function of the display screen by the third coordinate mapping relationship and the luminance image.
- the first coordinate transformation module 4071 of the second calculation unit 407 may be configured according to the third coordinate mapping. Correlate the coordinate image of the brightness image to obtain a brightness function of the display screen coordinates, and trigger the first linearization module 4072 to linearize the brightness function of the display screen coordinate to obtain a linearized brightness function of the display screen; or The second linearization module 4073 of the second calculating unit 407 may first linearize the brightness image to obtain a linearized brightness image captured from the second angle, and trigger the second coordinate transformation module 4074 according to the above The three-coordinate mapping relationship performs coordinate transformation on the linearized luminance image to obtain a linearized luminance function of the display screen.
- the first coordinate transformation module 4071 can directly obtain the linearization of the display screen after performing coordinate transformation on the brightness image according to the third coordinate mapping relationship. Brightness function.
- An embodiment of the brightness function acquisition system of the present invention for performing the above-described brightness function acquisition method is described below.
- An embodiment of the brightness function acquisition system in the embodiment of the present invention includes:
- Camera device 501 display device 502, brightness function acquisition device 503;
- the camera device 501 includes at least two lenses, and respectively captures a display screen of the display device 502 from a first angle and a second angle, the first angle is a shooting angle for camera calibration, and the second angle is specified by a user. Any angle of shooting.
- the camera device 501 may be composed of one or two cameras. If it is a camera, the camera includes at least two lenses. If two cameras are used, the two cameras are respectively displayed from the first angle and the second angle.
- Device 502 takes a picture.
- the display device 502 is for displaying an image in a display screen.
- the display device 502 can be a flat panel display or a projection display system; if it is a projection display system, the projection screen is a display screen of the display device 502, and the projection display system can include a plurality of projectors, The images projected by multiple projectors make up the image that needs to be displayed.
- the brightness function acquiring means 503 is configured to respectively acquire, from the camera device 501, a first image of the display screen photographed from the first angle, and a second image of the display screen photographed from the second angle and the brightness image, according to the first Calculating camera parameters according to an image; establishing a first coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the first angle according to the camera parameters and position parameters of the display screen; And the second image establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle; according to the first coordinate mapping relationship and the second coordinate The mapping relationship calculates a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle; calculating linearity of the display screen according to the third coordinate mapping relationship and the brightness image The brightness function.
- the disclosed apparatus and method may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
- the components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium.
- a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
Landscapes
- Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Image Processing (AREA)
- Controls And Circuits For Display Device (AREA)
- Studio Devices (AREA)
Abstract
Description
亮度函数获取方法以及相关装置 本申请要求于 2011 年 9 月 27 日提交中国专利局、 申请号为 201110301810.7、 发明名称为"亮度函数获取方法以及相关装置"的中国专利 申请的优先权, 其全部内容通过引用结合在本申请中。 技术领域 The present invention claims the priority of the Chinese patent application filed on September 27, 2011, the Chinese Patent Office, the application number is 201110301810.7, and the invention name is "the brightness function acquisition method and related device", the entire contents thereof This is incorporated herein by reference. Technical field
本发明涉及图像处理领域, 尤其涉及一种亮度函数获取方法以及相关装 置。 背景技术 The present invention relates to the field of image processing, and in particular, to a brightness function acquisition method and related apparatus. Background technique
显示屏幕是用于显示图像的光辐射表面, 具体可以包括平面或曲面的投 影显示屏幕和平板显示器, 其中投影显示幕包括正投和背投显示幕, 光辐射 方式是反射、 透射和自发光方式之一或其组合。 The display screen is an optical radiation surface for displaying an image, and may specifically include a flat or curved projection display screen and a flat panel display, wherein the projection display screen includes a front projection and a rear projection display screen, and the light radiation manner is a reflection, a transmission, and a self-lighting manner. One or a combination thereof.
现有的技术水平条件下 ,单个投影仪构成的投影显示系统可能无法满足 大分辨率的显示需求, 因此可使用多个投影仪组合, 共同显示一个图像, 突 破分辨率的限制。单个投影仪还有可能无法或者难以在曲面上实现较好的显 示效果, 而有研究者在利用多投影仪融合显示的方式, 在曲面如弧面或者球 面上实现了组合显示的方式, 本文把这种多投影仪组合显示的方式统一称为 多投影仪融合显示系统。 Under the current state of the art, a projection display system consisting of a single projector may not be able to meet the display requirements of large resolution, so multiple projector combinations can be used to display an image together, breaking the resolution limit. A single projector may not be able or difficult to achieve a better display on the surface, and some researchers have used a multi-projector to fused display to achieve a combined display on a curved surface such as a curved surface or a spherical surface. This multi-projector combination display method is collectively referred to as a multi-projector fusion display system.
在多投影仪无缝融合显示系统中,几何校正和色域融合技术是关键技术。 几何校正实现的是场景中对象空间位置的连贯性, 而色域融合则实现多投影 仪色域的过渡的连贯性。 几何对齐和色域融合效果不好, 直接导致融合显示 画面在融合带的割裂感。 Geometric correction and gamut fusion techniques are key technologies in multi-projector seamless fusion display systems. Geometric correction achieves the coherence of the spatial position of the object in the scene, while gamut fusion achieves the continuity of the multi-projector gamut transition. The geometric alignment and gamut fusion effects are not good, which directly leads to the splitting of the fusion display in the fusion zone.
色域融合的目标是将投影仪幕上色域的不连贯性控制在人眼的感知的 生理极限以外。通常采用色域融合算法对图像进行颜色校正之后再输出给投 影仪。研究表明,筒单的颜色混叠算法筒单地对图像红绿蓝( RGB , Red Green Blue )值进行衰减, 在过渡带容易呈现彩色条纹。 色域融合算法需要用到投 影显示屏幕的空间亮度分布函数。 其中, 这些投影显示屏幕的空间亮度分布 函数可能和投影显示屏幕的各向同异性与投影机的空间亮度衰减函数有关。 The goal of gamut fusion is to control the inconsistency of the color field of the projector screen beyond the physiological limits of the human eye's perception. The image is usually color corrected using a color gamut fusion algorithm and then output to the projector. Studies have shown that the color aliasing algorithm of the single tube attenuates the image red, green and blue (RGB, Red Green Blue) values, and it is easy to present color stripes in the transition zone. The gamut fusion algorithm requires the spatial brightness distribution function of the projection display screen. Among them, the spatial brightness distribution function of these projection display screens may be related to the anisotropy of the projection display screen and the spatial brightness attenuation function of the projector.
单个平板显示器显示系统存在分辨率, 显示面积和视角等方面的局限 性, 有人使用多平板显示器组合显示的方式突破了这种局限性。 在使用多个平板显示器的视频会议应用场景中,平板显示器之间的亮度 可能存在较大差异, 这导致画面的割裂感, 影响显示品质。 这种情况下, 可 以使用软件或者电路对亮度差异进行自动校正, 而校正这些亮度差异需要使 用空间亮度分布函数。 Single flat panel display shows system limitations in terms of resolution, display area and viewing angle Sex, some people use multiple flat panel display combination to break through this limitation. In a video conferencing application scenario using multiple flat panel displays, there may be a large difference in brightness between flat panel displays, which results in a splitting of the screen and affects display quality. In this case, the difference in brightness can be automatically corrected using software or circuitry, and the correction of these differences requires the use of a spatial luminance distribution function.
"亮度函数的获取", 是指对亮度的空间分布信息的获取。 "获取"的操作 中包含了传感和数据计算的过程, 而不仅限于传感, 当需要获取的数据无法 直接获取的时候, 则需要用数据计算的方法处理能够获取的传感数据从而间 接得到需要获取的数据。 "亮度函数 (luminance function)"是亮度关于空间坐标 的函数, 可能被描述为 "亮度变化 (luminance variations ) "、 "亮度分布 ( luminance distribution ),,、 "光度变化 ( photometric variations ),,、 "亮度响 应 ( luminance response ),,或者"亮度表面 ( luminance surface ),,,与本文中"亮 度函数 "是同一个对象的不同描述方法。 本文中的"亮度函数"描述的是不同 空间值亮度差异, 并非一定要获取绝对的流明值, 允许所获得的亮度函数的 函数值在每个空间位置上与其流明值的比值是一个未知但是相等常数。在很 多应用中, 标准的流明值的获取是没有必要的。 也就是说, 亮度可以指相对 值。 The "acquisition of the luminance function" refers to the acquisition of the spatial distribution information of the luminance. The operation of "acquisition" includes the process of sensing and data calculation, and is not limited to sensing. When the data to be acquired cannot be directly obtained, the data calculation method is needed to process the sensor data that can be obtained, thereby obtaining indirectly. The data that needs to be obtained. "Luminance function" is a function of brightness with respect to spatial coordinates and may be described as "luminance variations", "luminance distribution", "photometric variations", "," The luminance response, or the "luminance surface", is a different description of the same object as the "luminance function" in this paper. The "luminance function" in this paper describes the difference in brightness between different spatial values. It is not necessary to obtain an absolute lumen value. The ratio of the function value of the obtained luminance function to its lumen value at each spatial position is unknown but equal. constant. In many applications, the acquisition of standard lumen values is not necessary. That is, brightness can refer to relative values.
在已知的效果较好的显示屏幕颜色校正或者亮度校正方案中, 空间亮度 分布函数的获取是一个关键的技术。 目前, 业界通常采用摄像机拍摄亮度图 像, 然后进行坐标转换的方法实现显示屏幕空间亮度函数的获取。 The acquisition of the spatial luminance distribution function is a key technique in known display screen color correction or brightness correction schemes. At present, the industry usually uses a camera to capture a brightness image, and then performs a coordinate conversion method to achieve the display screen space brightness function.
但是, 在现有技术中, 摄像机获取显示屏幕的亮度图像的角度一般是进 行摄像机标定的角度, 而由于进行摄像机标定的角度一般在侧面, 从侧面观 测显示屏幕时, 整个屏幕各个部分的亮度都不一致(非朗伯表面) , 导致根 据该摄像机获取的亮度图像无法准确的进行显示屏幕的颜色校正或亮度校 正。 发明内容 However, in the prior art, the angle at which the camera acquires the brightness image of the display screen is generally the angle at which the camera is calibrated, and since the angle at which the camera is calibrated is generally on the side, when the display screen is viewed from the side, the brightness of each part of the entire screen is Inconsistent (non-Lambertian surface) results in inaccurate color correction or brightness correction of the display screen based on the brightness image acquired by the camera. Summary of the invention
本发明实施例提供了一种亮度函数获取方法以及相关装置, 用于在任意 角度下获取显示屏幕的亮度函数。 Embodiments of the present invention provide a brightness function acquisition method and related apparatus for acquiring a brightness function of a display screen at an arbitrary angle.
本发明提供的亮度函数获取方法, 包括: The method for obtaining a brightness function provided by the present invention includes:
获取从第一角度拍摄的显示屏幕的第一图像,所述第一角度为用于摄像 机标定的拍摄角度; 获取从第二角度拍摄的显示屏幕的第二图像以及亮度图 像, 所述第二角度为用户指定的任意拍摄角度; 根据所述第一图像计算摄像 机参数;根据所述摄像机参数和所述显示屏幕的位置参数建立从所述显示屏 幕的坐标到从所述第一角度拍摄的图像坐标的第一坐标映射关系; 根据所述 第一图像和所述第二图像建立从所述第一角度拍摄到的图像坐标到所述第 二角度的拍摄到的图像坐标的第二坐标映射关系; 根据所述第一坐标映射关 系和第二坐标映射关系计算得到从所述显示屏幕的坐标到从所述第二角度 拍摄的图像坐标的第三坐标映射关系; 根据所述第三坐标映射关系和所述亮 度图像计算得到所述显示屏幕的线性化亮度函数。 Obtaining a first image of a display screen taken from a first angle, the first angle being used for imaging a camera-calibrated shooting angle; acquiring a second image of the display screen taken from the second angle and the brightness image, the second angle being an arbitrary shooting angle specified by the user; calculating camera parameters according to the first image; a parameter and a position parameter of the display screen establish a first coordinate mapping relationship from coordinates of the display screen to image coordinates taken from the first angle; establishing a slave according to the first image and the second image a second coordinate mapping relationship of the image coordinates captured by the first angle to the captured image coordinates of the second angle; and calculating from the display screen according to the first coordinate mapping relationship and the second coordinate mapping relationship Coordinates to a third coordinate mapping relationship of image coordinates taken from the second angle; a linearized luminance function of the display screen is calculated according to the third coordinate mapping relationship and the luminance image.
本发明提供的亮度函数获取装置, 包括: The brightness function acquiring device provided by the present invention includes:
第一获取单元, 用于获取从第一角度拍摄的显示屏幕的第一图像, 所述 第一角度为用于摄像机标定的拍摄角度; 第二获取单元, 用于获取从第二角 度拍摄的显示屏幕的第二图像以及亮度图像, 所述第二角度为用户指定的任 意拍摄角度; 第一计算单元, 用于根据所述第一图像计算摄像机参数; 第一 建立单元, 用于根据所述摄像机参数和所述显示屏幕的位置参数建立从所述 显示屏幕的坐标到从所述第一角度拍摄的图像坐标的第一坐标映射关系; 第 二建立单元, 用于根据所述第一图像和所述第二图像建立从所述第一角度拍 摄到的图像坐标到所述第二角度的拍摄到的图像坐标的第二坐标映射关系; 第三建立单元,用于根据所述第一坐标映射关系和第二坐标映射关系计算得 到从所述显示屏幕的坐标到从所述第二角度拍摄的图像坐标的第三坐标映 射关系; 第二计算单元, 用于根据所述第三坐标映射关系和所述亮度图像计 算得到所述显示屏幕的线性化亮度函数。 a first acquiring unit, configured to acquire a first image of the display screen taken from the first angle, the first angle is a shooting angle for camera calibration, and a second acquiring unit, configured to acquire a display photographed from the second angle a second image of the screen and a brightness image, the second angle being an arbitrary shooting angle specified by the user; a first calculating unit, configured to calculate a camera parameter according to the first image; a first establishing unit, configured to a parameter and a position parameter of the display screen establish a first coordinate mapping relationship from a coordinate of the display screen to an image coordinate taken from the first angle; a second establishing unit, configured to: according to the first image and the The second image establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle; a third establishing unit, configured to map according to the first coordinate relationship And calculating, by the second coordinate mapping relationship, a third coordinate from coordinates of the display screen to image coordinates captured from the second angle Shot relation; second calculating means for obtaining a linear luminance function of the display screen according to the third coordinate mapping relationship between the luminance image is calculated.
本发明提供的亮度函数获取系统, 包括: The brightness function acquisition system provided by the invention comprises:
摄像机装置, 显示装置, 亮度函数获取装置; 所述摄像机装置至少包括 两个镜头, 分别从第一角度和第二角度拍摄所述显示装置的显示屏幕, 所述 第一角度为用于摄像机标定的拍摄角度, 所述第二角度为用户指定的任意拍 摄角度; 所述显示装置用于在显示屏幕中显示图像; 所述亮度函数获取装置 用于从所述摄像机装置中分别获取从第一角度拍摄的显示屏幕的第一图像, 和从第二角度拍摄的显示屏幕的第二图像以及亮度图像,根据所述第一图像 计算摄像机参数;根据所述摄像机参数和所述显示屏幕的位置参数建立从所 述显示屏幕的坐标到从所述第一角度拍摄的图像坐标的第一坐标映射关系; 根据所述第一图像和所述第二图像建立从所述第一角度拍摄到的图像坐标 到所述第二角度的拍摄到的图像坐标的第二坐标映射关系; 根据所述第一坐 标映射关系和第二坐标映射关系计算得到从所述显示屏幕的坐标到从所述 第二角度拍摄的图像坐标的第三坐标映射关系; 根据所述第三坐标映射关系 和所述亮度图像计算得到所述显示屏幕的线性化亮度函数。 a camera device, a display device, and a brightness function acquiring device; the camera device includes at least two lenses, respectively capturing a display screen of the display device from a first angle and a second angle, wherein the first angle is used for camera calibration a shooting angle, the second angle is an arbitrary shooting angle specified by the user; the display device is configured to display an image in the display screen; the brightness function acquiring device is configured to separately capture from the camera device from the first angle a first image of the display screen, and a second image of the display screen taken from the second angle and the brightness image, calculating camera parameters according to the first image; establishing a slave image according to the camera parameter and the position parameter of the display screen a first coordinate mapping relationship of coordinates of the display screen to image coordinates captured from the first angle; And establishing, according to the first image and the second image, a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle; according to the first coordinate mapping The relationship and the second coordinate mapping relationship calculate a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle; calculating the image according to the third coordinate mapping relationship and the brightness image The linearized luminance function of the display screen.
从以上技术方案可以看出, 本发明实施例具有以下优点: As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:
本发明获取从第一角度拍摄的显示屏幕的第一图像,从第二角度拍摄的 显示屏幕的第二图像以及亮度图像, 利用该第一图像建立从该显示屏幕的坐 标到从所述第一角度拍摄的图像坐标的第一坐标映射关系, 利用该第一图像 和第二图像建立从所述第一角度拍摄到的图像坐标到所述第二角度的拍摄 到的图像坐标的第二坐标映射关系,再通过该第一坐标映射关系和第二坐标 映射关系的转换获得从所述显示屏幕的坐标到从所述第二角度拍摄的图像 坐标的第三坐标映射关系, 最后根据该第三坐标映射关系对从第二角度拍摄 亮度图像进行坐标变换, 得到显示屏幕的线性化亮度函数; 由于本发明分别 从第一角度和第二角度进行拍摄, 第一角度为用于摄像机标定的拍摄角度, 而第二角度则可以为用户指定的任意拍摄角度; 如此, 在进行亮度图像获取 时, 则可以将第二角度设置为用户观测的角度, 使得从第二角度拍摄到的显 示屏幕的亮度均匀 (接近朗伯表面), 使用该亮度图像能更好的进行显示屏 幕的颜色校正或亮度校正。 附图说明 The present invention acquires a first image of a display screen photographed from a first angle, a second image of a display screen photographed from a second angle, and a brightness image with which coordinates from the display screen are established to from the first a first coordinate mapping relationship of the image coordinates of the angle shot, using the first image and the second image to establish a second coordinate map of the image coordinates captured from the first angle to the captured image coordinates of the second angle And obtaining, by the conversion of the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle, and finally according to the third coordinate The mapping relationship performs coordinate transformation on the brightness image captured from the second angle to obtain a linearized brightness function of the display screen; since the present invention respectively performs shooting from the first angle and the second angle, the first angle is a shooting angle for camera calibration, The second angle can be any angle specified by the user; thus, when performing luminance image acquisition Then, the second angle can be set to an angle observed by the user, so that the brightness of the display screen captured from the second angle is uniform (close to the Lambertian surface), and the brightness image can be used to better perform color correction or brightness correction of the display screen. . DRAWINGS
为了更清楚地说明本发明实施例中的技术方案, 下面将对实施例描述中 所需要使用的附图作筒单地介绍, 显而易见地, 下面描述中的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings may be obtained based on these drawings without any creative work.
图 1是本发明实施例中亮度函数获取方法的一个流程示意图; 图 2是本发明实施例中亮度函数获取方法的另一个流程示意图; 图 3是本发明实施例中亮度函数获取方法的应用场景示意图; 图 4是本发明实施例中亮度函数获取装置的逻辑结构示意图; 图 5是本发明实施例中亮度函数获取系统的逻辑结构示意图。 具体实施方式 1 is a schematic flowchart of a method for acquiring a luminance function according to an embodiment of the present invention; FIG. 2 is another schematic flowchart of a method for acquiring a luminance function according to an embodiment of the present invention; FIG. 3 is an application scenario of a method for acquiring a luminance function according to an embodiment of the present invention; 4 is a schematic diagram showing the logical structure of a luminance function acquiring apparatus according to an embodiment of the present invention; and FIG. 5 is a schematic diagram showing the logical structure of a luminance function acquiring system according to an embodiment of the present invention. detailed description
发明实施例提供了一种亮度函数获取方法以及相关装置, 用于在任意角 度下获取显示屏幕的亮度函数。 Embodiments of the present invention provide a luminance function acquisition method and related apparatus for acquiring a luminance function of a display screen at an arbitrary angle.
请参阅图 1 , 本发明实施例中亮度函数获取方法的一个实施例包括: Referring to FIG. 1 , an embodiment of a method for acquiring a luminance function in an embodiment of the present invention includes:
101、 获取从第一角度拍摄的显示屏幕的第一图像; 101. Acquire a first image of a display screen taken from a first angle;
亮度函数获取装置获取从第一角度拍摄的显示屏幕的第一图像, 该第一 角度为用于摄像机标定的拍摄角度。 在本发明实施例中, 摄像机从第一角度 对显示屏幕进行拍摄, 该显示屏幕可以为投影屏幕或平板显示器。 The brightness function acquisition means acquires a first image of the display screen taken from the first angle, the first angle being a shooting angle for camera calibration. In an embodiment of the invention, the camera captures the display screen from a first angle, which may be a projection screen or a flat panel display.
亮度函数获取装置从摄像机获取的第一图像计算三维空间中物体的几 何信息, 并由此重建和识别物体; 摄像机标定的过程主要是确定摄像机的几 何和光学参数, 以及确定摄像机相对于世界坐标系的方位。 The brightness function acquiring device calculates the geometric information of the object in the three-dimensional space from the first image acquired by the camera, and thereby reconstructs and recognizes the object; the process of the camera calibration mainly determines the geometric and optical parameters of the camera, and determines the camera relative to the world coordinate system. Orientation.
102、 获取从第二角度拍摄的显示屏幕的第二图像以及亮度图像; 亮度函数获取装置获取从第二角度拍摄的显示屏幕的第二图像以及亮 度图像, 该第二角度为用户指定的任意拍摄角度; 该亮度图像为该第二图像 对应的亮度数据信息。 102. Acquire a second image of the display screen taken from the second angle and the brightness image; the brightness function acquiring means acquires the second image of the display screen photographed from the second angle and the brightness image, the second angle is any shooting specified by the user Angle; the brightness image is brightness data information corresponding to the second image.
从第一角度拍摄的摄像机和从第二角度拍摄的摄像机可以为同一部摄 像机,也可以为两部不同的摄像机,具体根据实际情况而定,此处不作限定。 The camera photographed from the first angle and the camera photographed from the second angle may be the same camera or two different cameras, depending on the actual situation, which is not limited herein.
103、 根据第一图像计算摄像机参数; 103. Calculate camera parameters according to the first image.
亮度函数获取装置根据上述从第一角度获取到第一图像计算摄像机参 数, 具体的, 亮度函数获取装置根据该第一图像计算三维空间中物体的几何 信息(如显示屏幕四个角的三维坐标) , 利用确定好的几何信息以及相应的 算法计算摄像机 。 The brightness function acquiring device calculates the camera parameter according to the first image acquired from the first angle. Specifically, the brightness function acquiring device calculates the geometric information of the object in the three-dimensional space according to the first image (such as the three-dimensional coordinates of the four corners of the display screen). , using the determined geometric information and the corresponding algorithm to calculate the camera.
104、 根据摄像机参数和显示屏幕的位置参数建立从显示屏幕的坐标到 从第一角度拍摄的图像坐标的第一坐标映射关系; 104. Establish a first coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the first angle according to the camera parameters and the position parameters of the display screen;
亮度函数获取装置根据上述摄像机参数和显示屏幕的位置参数进行几 何标定,建立从该显示屏幕的坐标到从第一角度拍摄的图像坐标的第一坐标 映射关系。 The brightness function acquiring means performs geometric calibration based on the camera parameters and the position parameters of the display screen, and establishes a first coordinate mapping relationship from coordinates of the display screen to image coordinates taken from the first angle.
该显示屏幕的位置参数可以为本地预设好的数据,也可以由亮度函数获 取装置根据上述摄像机参数对显示屏幕进行定位的参数, 具体根据实际情况 而定, 此处不作限定; 该显示屏幕的位置参数具体可以为显示屏幕的三维上 轮廓曲线和三维下轮廓曲线。 105、 根据第一图像和第二图像建立从第一角度拍摄到的图像坐标到第 二角度的拍摄到的图像坐标的第二坐标映射关系; The position parameter of the display screen may be locally preset data, or may be a parameter that the brightness function acquiring device locates the display screen according to the camera parameter, which is determined according to actual conditions, and is not limited herein; The position parameter may specifically be a three-dimensional upper contour curve and a three-dimensional lower contour curve of the display screen. 105. Establish a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image;
亮度函数获取装置分别对从第一角度和第二角度获取到的第一图像和 第二图像进行几何信息的提取,根据提取到的几何信息建立从上述第一角度 拍摄到的图像坐标到第二角度的拍摄到的图像坐标的第二坐标映射关系。 The brightness function acquiring means respectively extracts geometric information from the first image and the second image acquired from the first angle and the second angle, and establishes image coordinates captured from the first angle to the second according to the extracted geometric information. The second coordinate mapping relationship of the image coordinates of the angled image.
在本发明实施例中, 由于进行摄像机标定的角度(即第一角度)和亮度 图像获取的角度(即第二角度)是不同的, 因此, 不可以直接使用第一坐标 映射关系进行显示屏幕的亮度函数的计算, 需要从上述第一角度到上述第二 角度进行坐标转换, 以获取从显示屏幕到第二角度对应的摄像机所在位置的 坐标映射关系,所以需要先计算出从上述第一角度拍摄到的图像坐标到第二 角度的拍摄到的图像坐标的第二坐标映射关系。 In the embodiment of the present invention, since the angle at which the camera calibration is performed (ie, the first angle) and the angle at which the luminance image is acquired (ie, the second angle) are different, the first coordinate mapping relationship may not be directly used to perform the display screen. The calculation of the brightness function requires coordinate conversion from the first angle to the second angle to obtain a coordinate mapping relationship from the display screen to the position of the camera corresponding to the second angle, so it is necessary to first calculate the image from the first angle. The second coordinate mapping relationship of the captured image coordinates to the second angle of the image coordinates.
106、 根据第一坐标映射关系和第二坐标映射关系计算得到从显示屏幕 的坐标到从第二角度拍摄的图像坐标的第三坐标映射关系; 106. Calculate, according to the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle;
亮度函数获取装置根据上述第一坐标映射关系和第二坐标映射关系计 算得到从显示屏幕的坐标到从第二角度拍摄的图像坐标的第三坐标映射关 系。 The luminance function acquiring means calculates a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates photographed from the second angle based on the first coordinate mapping relationship and the second coordinate mapping relationship.
107、 根据第三坐标映射关系对亮度图像进行坐标变换。 107. Perform coordinate transformation on the luminance image according to the third coordinate mapping relationship.
亮度函数获取装置根据上述第三坐标映射关系以及上述亮度图像计算 得到该显示屏幕的线性化亮度函数。 The luminance function acquiring means calculates a linearized luminance function of the display screen based on the third coordinate mapping relationship and the luminance image.
在本发明实施例中, 若从第二角度拍摄的显示屏幕的亮度图像为线性化 的数据, 则亮度函数获取装置根据上述第三坐标映射关系对该亮度图像进行 坐标变换之后, 直接可以得到该显示屏幕的线性化亮度函数; In the embodiment of the present invention, if the brightness image of the display screen captured from the second angle is linearized data, the brightness function acquiring device directly obtains the coordinate image after performing coordinate transformation on the brightness image according to the third coordinate mapping relationship. a linearized brightness function of the display screen;
若从第二角度拍摄的显示屏幕的亮度图像为非线性化的数据, 则可以先 根据第三坐标映射关系对该亮度图像进行坐标变换,得到显示屏幕坐标的亮 度函数, 再对该显示屏幕坐标的亮度函数进行线性化处理, 得到该显示屏幕 的线性化亮度函数; 也可以先对该亮度图像进行线性化处理, 得到第二角度 拍摄到的线性化亮度图像,再根据第三坐标映射关系对该线性化亮度图像进 行坐标变换, 得到该显示屏幕的线性化亮度函数; 具体先进行坐标变换还是 先进行线性化处理可以根据实际情况而定, 此处不作限定。 If the brightness image of the display screen taken from the second angle is non-linearized data, the brightness image may be coordinate-transformed according to the third coordinate mapping relationship to obtain a brightness function of the display screen coordinates, and then the display screen coordinates are The brightness function is linearized to obtain a linearized brightness function of the display screen; or the brightness image may be linearized to obtain a linearized brightness image captured by the second angle, and then according to the third coordinate mapping relationship The linearized luminance image is coordinate-transformed to obtain a linearized luminance function of the display screen. The specific coordinate transformation or the linearization processing may be performed according to actual conditions, which is not limited herein.
本发明获取从第一角度拍摄的显示屏幕的第一图像,从第二角度拍摄的 显示屏幕的第二图像以及亮度图像, 利用该第一图像建立从该显示屏幕的坐 标到从所述第一角度拍摄的图像坐标的第一坐标映射关系, 利用该第一图像 和第二图像建立从所述第一角度拍摄到的图像坐标到所述第二角度的拍摄 到的图像坐标的第二坐标映射关系,再通过该第一坐标映射关系和第二坐标 映射关系的转换获得从所述显示屏幕的坐标到从所述第二角度拍摄的图像 坐标的第三坐标映射关系, 最后根据该第三坐标映射关系对从第二角度拍摄 亮度图像进行坐标变换, 得到显示屏幕的线性化亮度函数; 由于本发明分别 从第一角度和第二角度进行拍摄, 第一角度为用于摄像机标定的拍摄角度, 而第二角度则可以为用户指定的任意拍摄角度; 如此, 在进行亮度图像获取 时, 则可以将第二角度设置为用户观测的角度, 使得从第二角度拍摄到的显 示屏幕的亮度均匀 (接近朗伯表面), 使用该亮度图像能更好的进行显示屏 幕的颜色校正或亮度校正。 The present invention acquires a first image of a display screen taken from a first angle, a second image of a display screen taken from a second angle, and a brightness image, with which the sitting from the display screen is established Marking a first coordinate mapping relationship of image coordinates taken from the first angle, using the first image and the second image to establish image coordinates captured from the first angle to the second angle of the captured image a second coordinate mapping relationship of the image coordinates, and obtaining, by the conversion of the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle Finally, performing coordinate transformation on the brightness image captured from the second angle according to the third coordinate mapping relationship to obtain a linearized brightness function of the display screen; since the present invention respectively performs shooting from the first angle and the second angle, the first angle is used The angle of the camera is calibrated, and the second angle can be any angle specified by the user; thus, when the brightness image is acquired, the second angle can be set to the angle observed by the user, so that the image is captured from the second angle. The brightness of the display screen is uniform (close to the Lambertian surface), and the brightness image can be used to better display the screen. Color correction or luminance correction.
下面以显示屏幕为投影屏幕的应用场景对本发明实施例中的亮度函数 获取方法进行描述, 本发明实施例中亮度函数获取方法的另一个实施例包 括: The following is a description of the method for obtaining the brightness function in the embodiment of the present invention in the application scenario in which the display screen is the projection screen. Another embodiment of the method for acquiring the brightness function in the embodiment of the present invention includes:
201、 获取从第一角度拍摄的投影屏幕的第一图像; 201. Acquire a first image of a projection screen taken from a first angle;
亮度函数获取装置获取从第一角度拍摄的投影屏幕的第一图像, 该第一 角度为用于摄像机标定的拍摄角度。 The brightness function acquiring means acquires a first image of the projection screen taken from the first angle, the first angle being a shooting angle for camera calibration.
在本发明实施例中, 显示屏幕为投影屏幕, 投影仪向投影屏幕投射纯色 图像, "纯色 "指的是投影仪的输入图像的每个像素的颜色相同, 如纯白色、 纯黄色或纯红色。 向投影屏幕投射纯色图像是为了便于提取投影屏幕的轮廓 图像, 以及便于提取投影屏幕的亮度图像。 In the embodiment of the present invention, the display screen is a projection screen, the projector projects a solid color image to the projection screen, and the "solid color" refers to the same color of each pixel of the input image of the projector, such as pure white, pure yellow or pure red. . The solid color image is projected onto the projection screen for the purpose of facilitating the extraction of the contour image of the projection screen and for facilitating the extraction of the luminance image of the projection screen.
在本发明实施例中, 若投影系统由多个投影仪构成, 则亮度函数获取装 置可以通过摄像^ 人第一角度逐一拍摄每个投影仪所投射的图像,也可以通 过摄像机从第一角度统一拍摄各个投影仪所投射成的图像组(无重叠区域)。 In the embodiment of the present invention, if the projection system is composed of a plurality of projectors, the brightness function acquiring device may image the images projected by each projector one by one by the first angle of the camera, or may be unified from the first angle by the camera. Take a picture group (no overlap area) projected by each projector.
202、 获取从第二角度拍摄的投影屏幕的第二图像以及亮度图像; 亮度函数获取装置获取从第二角度拍摄的投影屏幕的第二图像以及亮 度图像, 该第二角度为用户指定的任意拍摄角度; 该亮度图像为该第二图像 对应的亮度数据信息。 202: Acquire a second image of the projection screen taken from the second angle and the brightness image; the brightness function acquiring means acquires the second image of the projection screen taken from the second angle and the brightness image, the second angle is any shooting specified by the user Angle; the brightness image is brightness data information corresponding to the second image.
在本发明实施例中, 亮度函数获取装置通过摄像机从第二角度拍摄投影 仪所投射的图像(第二图像) , 并根据该第二图像采集第二图像对应的亮度 图像。 由于第二角度可为用户指定的任意角度, 因此, 用户可以将第二角度 设定为用户观察投影屏幕的角度,使得整个投影屏幕上各个位置对亮度的辐 射大致一样。 In the embodiment of the present invention, the brightness function acquiring device captures an image (second image) projected by the projector from a second angle through a camera, and acquires a brightness image corresponding to the second image according to the second image. Since the second angle can be any angle specified by the user, the user can take the second angle It is set to the angle at which the user observes the projection screen such that the radiation of the respective positions on the entire projection screen is substantially the same.
203、 根据第一图像计算摄像机参数; 203. Calculate camera parameters according to the first image.
亮度函数获取装置根据上述从第一角度获取到第一图像计算摄像机参 数。 The luminance function acquiring means calculates the camera parameters from the first angle acquired from the first angle as described above.
该摄像机参数具体可以包括: The camera parameters may specifically include:
摄像机的内部参数包括: 焦距,摄像机的光心坐标, 图像中心点的坐标, 镜头径向畸变的一阶系数; The internal parameters of the camera include: focal length, the optical center coordinate of the camera, the coordinates of the center point of the image, and the first-order coefficient of the radial distortion of the lens;
摄像机的外部参数包括: 三维空间世界坐标系与摄像机坐标系之间的旋 转矩阵和平移向量。 The external parameters of the camera include: a rotation matrix and a translation vector between the three-dimensional world coordinate system and the camera coordinate system.
在本发明实施例中, 假设投影屏幕为垂直挤压曲面, 垂直挤压曲面是用 一条二维曲线沿着与其所在平面垂直的方向扫过一定距离获得的曲面。 In the embodiment of the present invention, it is assumed that the projection screen is a vertically extruded curved surface, and the vertically extruded curved surface is a curved surface obtained by sweeping a certain distance along a direction perpendicular to the plane in which the two-dimensional curved line is perpendicular.
亮度函数获取装置在该第一图像中提取投影屏幕的轮廓坐标, 该轮廓坐 标具体可以为投影屏幕的四个角的三维坐标; 然后, 亮度函数获取装置再根 据该轮廓坐标对第一图像做 CANNY算子的边缘提取, 得到边缘图像; 去除 该边缘图像中除上轮廓以及下轮廓之外的边缘数据,得到上轮廓坐标和下轮 廓坐标;使用多项式模型和最小二乘法分别对该上轮廓坐标和下轮廓坐标进 行上边缘和下边缘的拟合, 得到上轮廓曲线和下轮廓曲线; 最后, 利用非线 性迭代优化算法根据上述轮廓坐标、上轮廓曲线和下轮廓曲线初步的估测摄 像机参数。 The brightness function acquiring device extracts the contour coordinates of the projection screen in the first image, and the contour coordinates may specifically be three-dimensional coordinates of the four corners of the projection screen; then, the brightness function acquiring device performs CANNY on the first image according to the contour coordinates. Extracting the edge of the operator to obtain the edge image; removing the edge data of the edge image except the upper contour and the lower contour to obtain the upper contour coordinate and the lower contour coordinate; respectively using the polynomial model and the least square method to the upper contour coordinate and The lower contour coordinates are fitted to the upper edge and the lower edge to obtain an upper contour curve and a lower contour curve. Finally, the nonlinear iterative optimization algorithm is used to initially estimate the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve.
204、 根据摄像机参数确定投影屏幕的位置参数; 204. Determine a position parameter of the projection screen according to the camera parameter.
亮度函数获取装置根据上述摄像机参数确定投影屏幕的位置参数, 该投 影屏幕的位置参数具体为三维上轮廓曲线和三维下轮廓曲线。 The brightness function acquiring means determines the positional parameter of the projection screen according to the camera parameter, and the positional parameter of the projection screen is specifically a three-dimensional upper contour curve and a three-dimensional lower contour curve.
具体的, 亮度函数获取装置将上轮廓曲线上的任意点与摄像机的光心相 连, 得到第二直线, 该第二直线与三维上轮廓曲线所在的平面相交, 相交点 为三维上轮廓点, 根据该三维上轮廓点的集合确定三维上轮廓曲线; 然后, 可以用与确定三维上轮廓曲线相同的方法得到三维下轮廓曲线, 或, 将三维 上轮廓曲线向下平移与投影屏幕高度相等的距离, 得到三维下轮廓曲线。 Specifically, the brightness function acquiring device connects any point on the upper contour curve to the optical center of the camera to obtain a second line, and the second line intersects the plane where the three-dimensional upper contour curve is located, and the intersection point is a three-dimensional upper contour point, according to The set of contour points on the three-dimensional shape determines a three-dimensional upper contour curve; then, the three-dimensional lower contour curve can be obtained by the same method as determining the three-dimensional upper contour curve, or the three-dimensional upper contour curve can be translated downward by a distance equal to the height of the projection screen. A three-dimensional lower contour curve is obtained.
可选的, 为了进一步提高摄像机参数的估测精度, 亮度函数获取装置还 可以将上述步骤 203得到的摄像机参数作为初始摄像机参数, 并使用投影屏 幕的上轮廓曲线和下轮廓曲线计算该初始摄像机参数的估测误差, 具体的, 在确定了三维上轮廓曲线和三维下轮廓曲线之后 , 亮度函数获取装置根据初 步估测的摄像机参数,将该三维下轮廓曲线映射回摄像机图像得到一条重投 下轮廓曲线,将重投下轮廓曲线与图像中实际的曲线之间的误差作为摄像机 参数的估测误差。 具体摄像机参数的估测误差可以有多种定义方式, 只要实 践证明在计算摄像机参数时满足精度要求就可以, 例如, 将两曲线的左端点 相连, 右端点相连, 计算所包围的面积。 获得估测误差之后, 亮度函数获取 装置利用非线性迭代优化算法会估计出新的一组摄像机参数, 利用这个新的 摄像机参数可以得到一个新的估测误差, 如此迭代, 直到估测误差小到满足 要求, 即可获得高精度的摄像机参数。 Optionally, in order to further improve the estimation accuracy of the camera parameter, the brightness function acquiring device may further use the camera parameter obtained in the above step 203 as an initial camera parameter, and calculate the initial camera parameter by using an upper contour curve and a lower contour curve of the projection screen. Estimated error, specific, After determining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the brightness function acquiring device maps the three-dimensional lower contour curve back to the camera image according to the initially estimated camera parameter to obtain a re-casting contour curve, and re-casts the contour curve and the image. The error between the actual curves is used as the estimation error of the camera parameters. The estimation error of the specific camera parameters can be defined in various ways. As long as it is proved that the accuracy requirements are met when calculating the camera parameters, for example, the left end points of the two curves are connected, the right end points are connected, and the enclosed area is calculated. After obtaining the estimation error, the brightness function acquisition device uses a nonlinear iterative optimization algorithm to estimate a new set of camera parameters. Using this new camera parameter, a new estimation error can be obtained, and iteratively, until the estimation error is small. When the requirements are met, high-precision camera parameters can be obtained.
205、 根据摄像机参数和投影屏幕的位置参数建立从投影屏幕的坐标到 从第一角度拍摄的图像坐标的第一坐标映射关系; 205. Establish a first coordinate mapping relationship from coordinates of the projection screen to image coordinates captured from the first angle according to the camera parameters and the position parameters of the projection screen;
亮度函数获取装置根据摄像机参数获取第一图像在摄像机的成像平面 内的任意点坐标, 将该成像平面内的任意点与摄像机的光心相连, 得到第一 直线; 根据投影屏幕的位置参数还原投影屏幕的曲面(由于本发明实施例假 设投影屏幕为垂直挤压曲面, 因此, 在得到三维上轮廓曲线和三维下轮廓曲 线后, 即可得到投影屏幕的曲面) , 其中, 该第一直线与投影屏幕的曲面相 交, 得到的相交点的坐标与该任意点的坐标一一映射; 亮度函数获取装置根 据各个任意点的坐标以及其对应的相交点的坐标即可建立从投影屏幕到第 一角度的第一坐标映射关系。 The brightness function acquiring device acquires an arbitrary point coordinate of the first image in the imaging plane of the camera according to the camera parameter, and connects any point in the imaging plane with the optical center of the camera to obtain a first line; and restores according to the position parameter of the projection screen The curved surface of the projection screen (since the embodiment of the present invention assumes that the projection screen is a vertically extruded curved surface, therefore, after obtaining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the curved surface of the projection screen can be obtained), wherein the first straight line Intersecting the curved surface of the projection screen, the coordinates of the obtained intersection point are mapped one by one with the coordinates of the arbitrary point; the brightness function acquiring means can establish the projection screen from the projection screen to the first according to the coordinates of each arbitrary point and the coordinates of the corresponding intersection point The first coordinate mapping relationship of the angle.
在本发明实施例中, 在获取到投影屏幕的位置参数 (三维上轮廓曲线和 三维下轮廓曲线)之后, 亮度函数获取装置会根据投影屏幕的位置参数还原 投影屏幕的曲面;而在其它应用场景中,显示屏幕为纯平面(如平板显示器), 在确定显示屏幕的曲面时, 则无需计算显示屏幕的三维上轮廓曲线和三维下 轮廓曲线, 直接通过显示屏幕四个角的顶点三维坐标就可以确定显示屏幕的 曲面; 或者, 在显示屏幕为不规则平面的应用场景中, 亮度函数获取装置可 以根据显示屏幕的位置参数,使用基于立体图像匹配点提取的三角测量技术 构造该显示屏幕的曲面, 该显示屏幕的位置参数为使用三维标定模板进行标 定的参数。 In the embodiment of the present invention, after acquiring the position parameters (the three-dimensional upper contour curve and the three-dimensional lower contour curve) of the projection screen, the brightness function acquiring device restores the curved surface of the projection screen according to the position parameter of the projection screen; and in other application scenarios In the display screen is a pure plane (such as a flat panel display), when determining the surface of the display screen, it is not necessary to calculate the three-dimensional upper contour curve and the three-dimensional lower contour curve of the display screen, and directly through the three-dimensional coordinates of the four corners of the display screen. Determining the surface of the display screen; or, in an application scenario where the display screen is an irregular plane, the brightness function acquiring means may construct the surface of the display screen using a triangulation technique based on stereo image matching point extraction according to the position parameter of the display screen. The positional parameters of the display screen are parameters that are calibrated using a three-dimensional calibration template.
206、 根据第一图像和第二图像建立从第一角度拍摄到的图像坐标到第 二角度的拍摄到的图像坐标的第二坐标映射关系; 206. Establish a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image;
亮度函数获取装置首先分别对从第一角度和第二角度获取到的第一图 像和第二图像进行几何信息的提取, 具体的, 亮度函数获取装置分别提取第 一图像和第二图像的第一特征点和第二特征点, 该第一特征点和第二特征点 分别用于表示第一图像和第二图像的位置信息; 上述特征点所组成的图像可 以为棋盘格图像或点阵图像; The brightness function acquiring means firstly obtains the first picture obtained from the first angle and the second angle, respectively And extracting the geometric information from the image and the second image. Specifically, the brightness function acquiring device respectively extracts the first feature point and the second feature point of the first image and the second image, where the first feature point and the second feature point are respectively used Position information indicating the first image and the second image; the image formed by the feature points may be a checkerboard image or a bitmap image;
然后, 亮度函数获取装置再使用特征点检测算法查找一一映射的第一特 征点和第二特征点; 具体的, 若上述特征点所组成的图像为棋盘格图像, 则 亮度函数获取装置使用棋盘格检测算法分别检测出第一图像和第二图像中 的棋盘格角点, 由于从第一角度和第二角度拍摄的同是投影屏幕的图像, 因 此, 第一图像和第二图像具有一个共同标准棋盘格, 通过棋盘格之间的映射 关系, 即可获得第一图像和第二图像的棋盘格角点坐标的一一映射关系; 最后,根据——映射的第一特征点和第二特征点建立从第一角度拍摄到 的图像坐标到第二角度的拍摄到的图像坐标的第二坐标映射关系。 Then, the brightness function acquiring device searches the first feature point and the second feature point of the one-to-one mapping by using the feature point detection algorithm. Specifically, if the image formed by the feature points is a checkerboard image, the brightness function acquiring device uses the chessboard The grid detection algorithm respectively detects the checkerboard corner points in the first image and the second image, and since the images taken from the first angle and the second angle are the same as the projection screen, the first image and the second image have a common The standard checkerboard, through the mapping relationship between the checkerboards, can obtain the one-to-one mapping relationship of the checkerboard corner coordinates of the first image and the second image; finally, according to the first feature point and the second feature of the map The point establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle.
亮度函数获取装置也可以使用质心检测方法检测点阵图像中的每一个 圆点的高斯特征点, 然后建立这些高斯特征点之间的——映射关系, 利用这 些——映射的特征点坐标计算出这两个图像之间的坐标映射关系。 例如, 首 先假设两个图像之间的坐标映射关系符合有理贝塞尔模型, 然后利用这些已 知的——映射的特征点坐标求解最优的有理贝塞尔模型的参数。这些参数获 得之后, 图像与图像之间的一一映射关系就已知了。 实践证明, 至少在很多 情况下, 图像与图像之间的坐标映射关系与有理贝塞尔模型的误差很小, 因 此有理贝塞尔模型的假设是合理的。 有理贝塞尔模型的参数的求解, 可以使 用带约束的非线性优化算法, 图像与图像之间映射关系的模型包含但不限于 有理贝塞尔模型。 The luminance function acquiring device may also detect the Gaussian feature points of each dot in the bitmap image by using the centroid detection method, and then establish a mapping relationship between the Gaussian feature points, and calculate the coordinate points of the mapped feature points. The coordinate mapping relationship between these two images. For example, first assume that the coordinate mapping relationship between two images conforms to the rational Bessel model, and then use these known-mapped feature point coordinates to solve the parameters of the optimal rational Bessel model. After these parameters are obtained, the one-to-one mapping between the image and the image is known. Practice has proved that, at least in many cases, the coordinate mapping relationship between image and image has little error with the rational Bessel model, so the assumption of rational Bessel model is reasonable. For the solution of the parameters of the rational Bessel model, a constrained nonlinear optimization algorithm can be used. The model of the mapping relationship between images and images includes but is not limited to the rational Bessel model.
在本发明实施例中, 由于进行摄像机标定的角度(即第一角度)和亮度 图像获取的角度(即第二角度)是不同的, 因此, 不可以直接使用第一坐标 映射关系进行投影屏幕的亮度函数的计算, 需要从上述第一角度到上述第二 角度进行坐标转换, 以获取从投影屏幕到第二角度对应的摄像机所在位置的 坐标映射关系,所以需要先计算出从上述第一角度拍摄到的图像坐标到第二 角度的拍摄到的图像坐标的第二坐标映射关系。 In the embodiment of the present invention, since the angle at which the camera calibration is performed (ie, the first angle) and the angle at which the luminance image is acquired (ie, the second angle) are different, the first coordinate mapping relationship may not be directly used to perform the projection screen. The calculation of the brightness function requires coordinate conversion from the first angle to the second angle to obtain a coordinate mapping relationship from the projection screen to the position of the camera corresponding to the second angle, so it is necessary to first calculate the image from the first angle. The second coordinate mapping relationship of the captured image coordinates to the second angle of the image coordinates.
207、 根据第一坐标映射关系和第二坐标映射关系计算得到从投影屏幕 的坐标到从第二角度拍摄的图像坐标的第三坐标映射关系; 207. Calculate, according to the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from coordinates of the projection screen to image coordinates captured from the second angle;
亮度函数获取装置根据上述第一坐标映射关系和第二坐标映射关系计 算得到从投影屏幕的坐标到上述从第二角度拍摄的图像坐标的第三坐标映 射关系。 The brightness function acquiring means calculates the relationship between the first coordinate mapping relationship and the second coordinate mapping relationship A third coordinate mapping relationship from the coordinates of the projection screen to the image coordinates captured from the second angle described above is calculated.
208、 根据第三坐标映射关系对亮度图像进行坐标变换; 208. Perform coordinate transformation on the luminance image according to the third coordinate mapping relationship.
亮度函数获取装置根据第三坐标映射关系对从第二角度拍摄的投影屏 幕的亮度图像进行坐标变换, 获得投影屏幕坐标的亮度函数。 The brightness function acquiring means performs coordinate transformation on the brightness image of the projection screen taken from the second angle according to the third coordinate mapping relationship, and obtains a brightness function of the projected screen coordinates.
209、 对投影屏幕坐标的亮度函数进行线性化处理。 209. Linearize the brightness function of the projection screen coordinates.
亮度函数获取装置对投影屏幕坐标的亮度函数进行线性化处理,得到显 示屏幕的线性化亮度函数。 在本发明实施例中, 由于从第二角度拍摄的投影 屏幕的亮度图像为非线性化的数据,因此,需要对亮度函数进行线性化处理。 The luminance function acquiring means linearizes the luminance function of the projection screen coordinates to obtain a linearized luminance function of the display screen. In the embodiment of the present invention, since the luminance image of the projection screen photographed from the second angle is nonlinearized data, it is necessary to linearize the luminance function.
具体的, 亮度函数获取装置根据摄像机的非线性亮度传递函数的逆函数 对投影屏幕坐标的亮度函数进行线性化处理。 非线性亮度传递函数可以又摄 像机的厂家直接提供,也可以根据摄像机供应商所使用的颜色管理标准间接 获取到, 如: 部分单反相机(摄像机的一种)供应商宣称使用了 sRGB颜色 管理标准, sRGB标准定义了相机的亮度传递函数, 相应地也确定了亮度传 递函数的逆函数。 因此, 这些相机的亮度传递函数的亮度传递函数与 sRGB 标准定义的相机的亮度传递函数比较接近, 可直接使用 sRGB标准定义的亮 度传递函数作为本发明实施例中的亮度传递函数。 Specifically, the brightness function acquiring means linearizes the brightness function of the projection screen coordinates according to an inverse function of the nonlinear brightness transfer function of the camera. The nonlinear brightness transfer function can be directly provided by the camera manufacturer or indirectly according to the color management standard used by the camera supplier. For example: Some SLR cameras (a type of camera) suppliers claim to use the sRGB color management standard. The sRGB standard defines the camera's luminance transfer function, and the inverse function of the luminance transfer function is also determined accordingly. Therefore, the luminance transfer function of the luminance transfer function of these cameras is relatively close to the luminance transfer function of the camera defined by the sRGB standard, and the luminance transfer function defined by the sRGB standard can be directly used as the luminance transfer function in the embodiment of the present invention.
在本发明实施例中, 描述了在显示屏幕为投影屏幕的场景下, 亮度函数 获取装置具体如何进行准确的亮度函数的获取,使得用户可以根据本发明实 施例的亮度函数获取装置所获取到的亮度函数,对投影仪进行效果更好的颜 色校正。 In the embodiment of the present invention, how the brightness function acquiring device obtains an accurate brightness function in a scene in which the display screen is a projection screen is described, so that the user can obtain the brightness function acquiring device according to the embodiment of the present invention. Brightness function for better color correction of the projector.
若在显示屏幕为平板显示器的应用场景, 则获取亮度函数的方法流程与 上述图 实施例的方法流程基本相同, 不同的是: ( 1 )摄像机参数的计算 方法; 在根据第一图像计算摄像机参数时, 由于平板显示器的显示区域通常 是一个尺寸已知的矩形, 平板显示器的位置信息可以根据平板显示器 4个角 的三维坐标直接确定, 而平板显示器 4个角的三维坐标可以事先用尺子测量 获得, 不需要进行额外的曲面计算; 根据该 4个角的三维坐标, 亮度函数获 取装置再使用非线性迭代优化算法即可求得摄像机参数; ( 2 ) 第一坐标映 射关系的计算方法; 在摄像机参数获取之后, 摄像机与平板显示器的相对空 间位置就确定了, 则第一直线与平板显示器平面的相交点, 与该第一直线在 摄像机的成像平面内的起点构成了——映射的关系, 利用多组这样的映射关 系点就可以获得从平板显示器到第一角度的第一坐标映射关系; 上述第一直 线为从第一图像在摄像机的成像平面内的任意点与摄像机光心相连的直线。 If the display screen is an application scenario of the flat panel display, the method flow for obtaining the brightness function is basically the same as the method flow of the above embodiment, and the difference is: (1) the calculation method of the camera parameter; calculating the camera parameter according to the first image When the display area of the flat panel display is usually a rectangle with a known size, the position information of the flat panel display can be directly determined according to the three-dimensional coordinates of the four corners of the flat panel display, and the three-dimensional coordinates of the four corners of the flat panel display can be measured with a ruler in advance. , no additional surface calculation is needed; according to the three-dimensional coordinates of the four corners, the brightness function acquisition device can obtain the camera parameters by using the nonlinear iterative optimization algorithm; (2) the calculation method of the first coordinate mapping relationship; After the parameter is acquired, the relative spatial position of the camera and the flat panel display is determined, and the intersection point of the first straight line and the flat panel display plane forms a mapping relationship with the starting point of the first straight line in the imaging plane of the camera. , using multiple sets of such mappings The first coordinate line can be obtained from the flat panel display to the first angle; the first straight line is a line connecting the first image from the optical center of the camera at any point in the imaging plane of the camera.
为了便于理解, 下面以一具体应用场景对上述的实施例中描述的亮度函 数获取方法再进行详细的描述, 具体为: For ease of understanding, the method for acquiring the luminance function described in the foregoing embodiment is further described in detail in a specific application scenario, specifically:
如图所示, 图中为三个投影仪组成的投影系统, 其中, 0号投影仪与 1 号投影仪, 以及 1号投影仪与 2号投影仪分别形成了两片投影的重叠区域, 该重叠区域是由于投影光线的叠加造成的亮带; 该亮带的亮度明显比其它显 示区域高, 给观众造成画面上的颜色割裂感, 因此, 需要对投影仪所投影的 显示图像进行颜色校正, 而在进行颜色校正之前则需要获取到该投影屏幕的 亮度函数。 As shown in the figure, there is a projection system composed of three projectors, wherein the projector No. 0 and the projector No. 1, and the projector No. 1 and the projector No. 2 respectively form an overlapping area of two projections, The overlapping area is a bright band caused by the superposition of the projected light; the brightness of the bright band is obviously higher than other display areas, causing the viewer to have a color splitting effect on the screen, and therefore, it is necessary to perform color correction on the display image projected by the projector. Before performing color correction, it is necessary to obtain the brightness function of the projection screen.
在上述图 2实施例已经提过, 投影屏幕的显示面近似为垂直挤压曲面, 本发明实施例通过两台摄像机分别在两个角度拍摄显示屏幕, 第一角度为进 行摄像机标定的拍摄角度, 第二角度为观众观察投影屏幕的角度, 由于观众 观察投影屏幕的角度在正面, 因此所拍摄到的投影屏幕的亮带显示比较均 匀, 接近于朗伯表面。 It has been mentioned in the above embodiment of FIG. 2 that the display surface of the projection screen is approximately a vertical extruded curved surface. In the embodiment of the present invention, the display screen is photographed at two angles by two cameras, and the first angle is a shooting angle for performing camera calibration. The second angle is the angle at which the viewer observes the projection screen. Since the angle at which the viewer observes the projection screen is on the front side, the bright band display of the captured projection screen is relatively uniform, close to the Lambertian surface.
亮度函数获取装置通过上述两台摄像机分别获取从第一角度拍摄到的 第一图像, 以及从第二角度拍摄到的第二图像; 亮度函数获取装置通过第一 图像计算摄像机参数(具体计算过程可以参考上述步骤 203和 204的描述 ) , 该摄像机参数可以分为内部参数和外部参数,内部参数包括:摄像机的焦距, 摄像机的光心坐标, 图像中心点的坐标, 镜头径向畸变的一阶系数; 外部参 数包括:三维空间世界坐标系与摄像机坐标系之间的旋转矩阵 R和平移向量 T。 The brightness function acquiring device respectively acquires the first image captured from the first angle and the second image captured from the second angle by the two cameras; the brightness function acquiring device calculates the camera parameter through the first image (the specific calculation process may Referring to the description of steps 203 and 204 above, the camera parameters can be divided into internal parameters and external parameters. The internal parameters include: the focal length of the camera, the optical center coordinates of the camera, the coordinates of the center point of the image, and the first-order coefficient of the radial distortion of the lens. The external parameters include: a rotation matrix R and a translation vector T between the three-dimensional world coordinate system and the camera coordinate system.
若相机坐标系在世界坐标系下的方向:绕 X轴逆时针旋转角度 (α),绕 Υ 轴逆时针旋转角度 (β), 绕 Ζ轴逆时针旋转角度 (γ), 则旋转矩阵为: If the camera coordinate system is in the direction of the world coordinate system: the angle (α) is rotated counterclockwise around the X axis, the angle (β) is rotated counterclockwise around the 轴 axis, and the angle (γ) is rotated counterclockwise around the Ζ axis. The rotation matrix is:
其中, , 和1分别为从世界坐标系到相机坐标系变换的沿三个坐标 轴的平移量 (旋转之后)。 Where, , and 1 are the amount of translation along the three coordinate axes (after rotation) from the world coordinate system to the camera coordinate system, respectively.
在获取到摄像机参数之后, 亮度函数获取装置将上轮廓曲线上的任意点 与摄像机的光心相连, 得到第二直线, 该第二直线与三维上轮廓曲线所在的 平面相交, 相交点为三维上轮廓点, 根据该三维上轮廓点的集合确定三维上 轮廓曲线; 然后, 将三维上轮廓曲线向下平移与投影屏幕高度相等的距离, 得到三维下轮廓曲线; 亮度函数获取装置通过该三维上轮廓曲线和三维下轮 廓曲线确定投影屏幕的曲面。 After acquiring the camera parameters, the brightness function acquiring device connects any point on the upper contour curve with the optical center of the camera to obtain a second line, which intersects the plane where the three-dimensional upper contour curve is located, and the intersection point is three-dimensionally a contour point, determining a three-dimensional upper contour curve according to the set of contour points on the three-dimensional contour; and then shifting the three-dimensional upper contour curve downward by a distance equal to a height of the projection screen to obtain a three-dimensional lower contour curve; the brightness function acquiring device passes the three-dimensional upper contour The curve and the 3D lower contour curve determine the surface of the projection screen.
亮度函数获取装置根据摄像机参数获取第一图像在摄像机的成像平面 内的任意点坐标, 将该成像平面内的任意点与摄像机的光心相连, 得到第一 直线; 其中, 该第一直线与投影屏幕的曲面相交, 得到的相交点的坐标与该 任意点的坐标——映射; 亮度函数获取装置根据各个任意点的坐标以及其对 应的相交点的坐标即可建立从投影屏幕到第一角度的第一坐标映射关系。 The brightness function acquiring device acquires an arbitrary point coordinate of the first image in the imaging plane of the camera according to the camera parameter, and connects any point in the imaging plane with the optical center of the camera to obtain a first line; wherein, the first line Intersecting with the curved surface of the projection screen, the coordinates of the intersecting point and the coordinates of the arbitrary point are mapped; the brightness function acquiring means can establish the coordinates from the projection screen to the first according to the coordinates of each arbitrary point and the coordinates of the corresponding intersection point. The first coordinate mapping relationship of the angle.
亮度函数获取装置根据上述第一图像和第二图像建立从第一角度拍摄 到的图像坐标到第二角度的拍摄到的图像坐标的第二坐标映射关系, 具体第 二坐标映射关系的计算方法可参考上述步骤 206的描述。 亮度函数获取装置 再根据第一坐标映射关系和第二坐标映射关系计算得到从显示屏幕的坐标 到从第二角度拍摄的图像坐标的第三坐标映射关系, 然后使用第三坐标映射 关系对从第二角度拍摄的投影屏幕的亮度图像进行坐标变换以及线性化处 理, 获得投影屏幕的线性化亮度函数。 具体坐标变换以及线性化处理的过程 可以参考上述步骤 208和 209的描述。 The brightness function acquiring means establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image, and the calculation method of the specific second coordinate mapping relationship may be Refer to the description of step 206 above. The brightness function acquiring device further calculates a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the second angle according to the first coordinate mapping relationship and the second coordinate mapping relationship, and then uses the third coordinate mapping relationship to The brightness image of the projection screen of the two-angle shooting is subjected to coordinate transformation and linearization processing to obtain a linearized luminance function of the projection screen. The process of specific coordinate transformation and linearization processing can be referred to the description of steps 208 and 209 above.
在得到投影屏幕的线性化亮度函数之后,颜色校正装置就可以针对投影 屏幕上的重叠区域进行颜色校正, 具体为: After obtaining the linearized luminance function of the projection screen, the color correction device can perform color correction on the overlapping area on the projection screen, specifically:
颜色校正装置获取重叠区域的宽度为 w,获取重叠区中的某点 P在投影 屏幕上的坐标 ( mx,my ) , 该点离 1号投影仪的投影区域的左边界距离为 d。 具体获取宽度 w和左边界距离 d的方法为: 根据上述获取到的投影屏幕的 线性化亮度函数, 可以提取每个投影仪的投影边界(具体可以使用图像分割 方法, 边沿提取方法, 或者手工编辑的方法进行提取), 1号显示区域左边界 与 0号显示区域右边界之间的距离即为第一个重叠区域宽度 w。 Pm ( mx,my ) 到 1号显示区域左边界的距离即为 d。 The color correction device acquires the width of the overlapping area as w, and acquires the coordinates (mx, my) of a point P in the overlapping area on the projection screen, which is a distance d from the left boundary of the projection area of the projector No. 1. The method for specifically obtaining the width w and the left boundary distance d is: according to the linearized brightness function of the obtained projection screen, the projection boundary of each projector can be extracted (specifically, image segmentation can be used) The method, the edge extraction method, or the manual editing method performs extraction), and the distance between the left boundary of the display area 1 and the right boundary of the 0 display area is the width w of the first overlap area. The distance from P m ( mx,my ) to the left boundary of the display area of No. 1 is d.
单独由 0号投影仪的产生投影区域的色品坐标为 , y。),其标准色度系统 The chromaticity coordinates of the projection area generated by the No. 0 projector alone are , y. ), its standard color system
( CIE-XYZ , X代表红原色 , Y代表绿原色 ,Ζ代表蓝原色,这三个原色不是物 理上的真实色, 而是虚构的假想色)空间下的颜色向量为(X。,X,Z。); 单独由(CIE-XYZ, X stands for red primary color, Y stands for green primary color, Ζ stands for blue primary color, these three primary colors are not physical real colors, but fictional imaginary colors) The color vector under space is (X., X, Z.); alone
1号投影仪的产生投影区域的色品坐标为( , y) ,其 CIE-XYZ空间下的颜色向 量为( , ); 两者在重叠区共同作用后的色品坐标为 其 CIE-XYZ 空间下的颜色向量为 假设投影屏幕近似的线性系统, 贝' J The chromaticity coordinates of the projection area of the projector No. 1 are ( , y) , and the color vector under the CIE-XYZ space is ( , ); the chromaticity coordinates of the two in the overlap region are CIE-XYZ space. The color vector below is a linear system that assumes a projection screen approximation,
( 1,y01) = T(dKx0,y0) + (l-T(d))(xl,y1) ( 1 , y 01 ) = T(dKx 0 , y 0 ) + (lT(d))(x l , y 1 )
(X01' )l'Z0l) = (Χ0' )'Ζθ)+(Χ1'Χ'Ζΐ) ( X 01')l' Z 0l) = (Χ 0 ')' Ζ θ)+( Χ 1'Χ' Ζ ΐ)
其中 r (d)是色品坐标的过渡函数, 可以定义 r (d) = ( 1 + cos (; rd/w) )/2, 也 可以根据需要设计其他的 τ (d)。 Where r (d) is the transition function of the chromaticity coordinates, r (d) = ( 1 + cos (; rd/w) )/2 can be defined, and other τ (d) can be designed as needed.
|Bo =(Xo, ),Zo) | B o =( X o, ), Z o)
记 =(Χι,Χ,Ζι) , Remember =( Χ ι,Χ, Ζ ι) ,
令 (A, 为以下方程组的解: Let (A, be the solution to the following equations:
χοΑΒο + χι Βι y0ABo + Υι Βι +(l— r(d))Xl),Wd)y。 + (l— r(d))yi)) 。 (i- · )χοΑ Β ο + χ ι Β ι y 0 A B o + Υι Β ι +(l- r (d)) Xl ), Wd)y. + (l- r(d)) yi )) . (i- · )
由上述公式可知, 只要 0号投影仪的投影区域的亮度衰减 ?。倍, 1号与 0 号投影的重叠区域就衰减 A倍, 因此, 可使重叠区域的色品坐标按照 r (d)函 数进行过渡, 筒称这种衰减为 衰减, 称 为色度平滑的衰减函数,在壁画坐 标下 β = y5(mx,my)。 As can be seen from the above formula, as long as the brightness of the projection area of the projector No. 0 is attenuated. Times, the overlap area of the projections of No.1 and No.0 is attenuated by A times. Therefore, the chromaticity coordinates of the overlapping area can be made to transition according to the r (d) function, and the attenuation is called attenuation, which is called chromatic smoothing attenuation. Function, under mural coordinates β = y5(mx, my).
上述 B PB i分别为 0号投影仪和 1号投影仪独立激励投影屏幕在 P点上的 亮度响应。 由于亮度函数是亮度关于投影屏幕坐标的映射关系, 0号投影仪 投影屏幕上的 P点坐标对应的亮度函数值即为 0号投影仪独立激励投影幕在 点 P的亮度响应, 因此, 通过上述亮度函数获取装置所获取的线性化亮度函 数即可获得 ^和^的值。 The above B PB i is the brightness response of the projection screen of the No. 0 projector and the No. 1 projector independently of the projection screen at point P. Since the brightness function is the mapping relationship between the brightness and the projection screen coordinates, the brightness function value corresponding to the P point coordinate on the projector screen of No. 0 is the brightness response of the projector independently at the point P of the No. 0 projector, therefore, The linearized luminance function obtained by the luminance function obtaining means can obtain the values of ^ and ^.
颜色校正装置将重叠区域的色品坐标按照 r (d)函数进行过渡之后, 即可 完成投影屏幕的色度校正。 After the color correction device transitions the chromaticity coordinates of the overlap region according to the r (d) function, the chromaticity correction of the projection screen can be completed.
实施色度矫正之后, 对投影屏幕坐标下空间亮度函数实施 β衰减后并可 以得到投影屏幕坐标下的总体亮度分布, 这个亮度分布虽然消除了色度的割 裂感, 却未能消除亮度上的割裂感, 因此, 颜色校正装置还需要进行亮度校 正方法。 After performing the chromaticity correction, the spatial luminance function under the projection screen coordinates is subjected to β attenuation. In order to obtain the overall brightness distribution under the projection screen coordinates, although the brightness distribution eliminates the smearing of the chromaticity, but does not eliminate the splitting feeling on the brightness, the color correction device also needs to perform the brightness correction method.
首先, 颜色校正装置获得各投影区域在投影屏幕坐标下的空间亮度函 数, 该亮度函数可以是亮度函数获取装置所获取的线性化亮度函数, 也可以 是实施 衰减后的空间亮度分布, 具体做何选择取决于用户是否需要色度校 正, 在有些要求不高的场合, 色度校正可以省略。 空间亮度函数和 函数都 是壁画坐标的 2元函数, 两个函数相乘即为衰减的运算过程, 乘积即为"实施 ^衰减后的空间亮度分布。 First, the color correction device obtains a spatial brightness function of each projection area at the projection screen coordinates, and the brightness function may be a linearized brightness function acquired by the brightness function acquiring device, or may be a spatial brightness distribution after the attenuation is performed, and specifically The choice depends on whether the user needs chromaticity correction. In some cases where the requirements are not high, the chromaticity correction can be omitted. Both the spatial luminance function and the function are two-dimensional functions of the mural coordinates. The multiplication of the two functions is the operation of the attenuation, and the product is the spatial luminance distribution after the implementation of the attenuation.
然后, 颜色校正装置将输入的空间亮度函数在相同的位置相加, 得到综 合空间亮度函数。 颜色校正装置使用综合空间亮度函数作为输入, 使用亮度 平滑算法获得目标空间亮度函数。 然后用目标亮度函数与输入的空间亮度函 数相除, 即可得到亮度平滑的衰减函数, 记为 , 在投影屏幕的坐标下 = (皿, my)。亮度平滑算法求解目标空间亮度函数可认为是一个带约束条件 的最优化问题。 约束条件是亮度差异人眼不可以感知, 优化的目标是每个像 素的动态范围之和最大化。 Then, the color correction device adds the input spatial luminance functions at the same position to obtain a composite spatial luminance function. The color correction device uses the integrated spatial luminance function as an input and uses the luminance smoothing algorithm to obtain the target spatial luminance function. Then divide the target luminance function by the input spatial luminance function to obtain a luminance smoothing attenuation function, which is recorded as = (dish, my) at the coordinates of the projection screen. The brightness smoothing algorithm for solving the target space luminance function can be considered as an optimization problem with constraints. The constraint is that the difference in brightness is not perceptible by the human eye, and the goal of optimization is to maximize the sum of the dynamic ranges of each pixel.
将输入图像线性化之后与综合亮度衰减函数 α相乘法即得到颜色校正 后的线性图像。 在需要使用色度校正和亮度校正的场合, 该亮度综合亮度衰 减函数 α = β^ , 在只需要亮度矫正的场合《 = 在只需要色度矫正的场合 α = β。 输入图像线性化根据显示设备的公共亮度传输函数执行。 After linearizing the input image and multiplying it by the integrated luminance decay function α, a color corrected linear image is obtained. In the case where chromaticity correction and luminance correction are required, the luminance comprehensive luminance attenuation function α = β^, where only luminance correction is required " = α = β where only chromaticity correction is required. The input image linearization is performed according to the common luminance transfer function of the display device.
最后, 颜色校正装置对颜色校正后的线性图像实施非线性化, 再输出到 显示设备的输入端, 即可完成颜色矫正的操作。 非线性化的操作需要使用对 应显示设备的亮度函数传递函数的逆函数。 Finally, the color correction device non-linearizes the color-corrected linear image and outputs it to the input end of the display device to complete the color correction operation. The non-linearized operation requires an inverse function of the transfer function of the luminance function corresponding to the display device.
颜色包含了亮度和色度。可以按照本实施例所述方法对亮度和色度都实 施校正, 也可以降低要求, 只校正亮度或者色度。 The color contains brightness and chromaticity. Both the brightness and the chromaticity can be corrected according to the method described in this embodiment, and the requirement can be lowered to correct only the brightness or the chromaticity.
上面仅以一些例子对本发明实施例中的应用场景进行了说明, 可以理解 的是, 在实际应用中, 还可以有更多的应用场景, 具体此处不作限定。 The application scenario in the embodiment of the present invention has been described above by using only some examples. It can be understood that there are more application scenarios in the actual application, which are not limited herein.
下面对用于执行上述亮度函数获取方法的本发明亮度函数获取装置的 实施例进行说明, 其逻辑结构请参考图 4, 本发明实施例中的亮度函数获取 装置的一个实施例包括: An embodiment of the brightness function acquiring device of the present invention for performing the above-described brightness function obtaining method is described below. For the logical structure, please refer to FIG. 4. An embodiment of the brightness function acquiring device in the embodiment of the present invention includes:
第一获取单元 401 , 用于获取从第一角度拍摄的显示屏幕的第一图像, 该第一角度为用于摄像机标定的拍摄角度; The first obtaining unit 401 is configured to acquire a first image of the display screen taken from the first angle, The first angle is a shooting angle for camera calibration;
第二获取单元 402, 用于获取从第二角度拍摄的显示屏幕的第二图像以 及亮度图像, 该第二角度为用户指定的任意拍摄角度; a second acquiring unit 402, configured to acquire a second image of the display screen taken from the second angle and a brightness image, where the second angle is an arbitrary shooting angle specified by the user;
第一计算单元 403 , 用于根据上述第一图像计算摄像机 a first calculating unit 403, configured to calculate a camera according to the first image
第一建立单元 404, 用于根据上述摄像机参数和显示屏幕的位置参数建 立从该显示屏幕的坐标到从第一角度拍摄的图像坐标的第一坐标映射关系; 第二建立单元 405 , 用于根据上述第一图像和第二图像建立从上述第一 角度拍摄到的图像坐标到第二角度的拍摄到的图像坐标的第二坐标映射关 系; a first establishing unit 404, configured to establish a first coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the first angle according to the camera parameter and the position parameter of the display screen; the second establishing unit 405 is configured to The first image and the second image establish a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle;
第三建立单元 406, 用于根据上述第一坐标映射关系和第二坐标映射关 系计算得到从上述显示屏幕的坐标到从第二角度拍摄的图像坐标的第三坐 标映射关系; The third establishing unit 406 is configured to calculate, according to the first coordinate mapping relationship and the second coordinate mapping relationship, a third coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the second angle;
第二计算单元 407, 用于根据上述第三坐标映射关系和上述亮度图像计 算得到上述显示屏幕的线性化亮度函数。 The second calculating unit 407 is configured to obtain a linearized brightness function of the display screen according to the third coordinate mapping relationship and the brightness image.
本发明实施例中的第二计算单元 407可以包括: 第一坐标变换模块 4071 和第一线性化模块 4072, 或第二坐标变换模块 4074和第二线性化模块 4073。 The second calculating unit 407 in the embodiment of the present invention may include: a first coordinate transforming module 4071 and a first linearization module 4072, or a second coordinate transforming module 4074 and a second linearizing module 4073.
第一坐标变换模块 4071 , 用于根据上述第三坐标映射关系对上述亮度图 像进行坐标变换, 若从上述第二角度拍摄到的亮度图像为非线性数据, 则得 到上述显示屏幕坐标的亮度函数, 并触发第一线性化模块 4072; 若从该第二 角度拍摄到的亮度图像为线性数据, 则直接得到该显示屏幕坐标的线性化亮 度函数; The first coordinate transformation module 4071 is configured to perform coordinate transformation on the brightness image according to the third coordinate mapping relationship, and if the brightness image captured from the second angle is nonlinear data, obtain a brightness function of the display screen coordinates. And triggering the first linearization module 4072; if the luminance image captured from the second angle is linear data, directly obtaining a linearized luminance function of the display screen coordinates;
第一线性化模块 4072, 用于对上述显示屏幕坐标的亮度函数进行线性化 处理, 得到上述显示屏幕的线性化亮度函数; a first linearization module 4072, configured to linearize the brightness function of the display screen coordinates to obtain a linearized brightness function of the display screen;
第二线性化模块 4073 , 用于对上述亮度图像进行线性化处理, 得到从上 述第二角度拍摄到的线性化亮度图像, 并触发第二坐标变换模块 4074; 第二坐标变换模块 4074, 用于根据上述第三坐标映射关系对上述线性化 亮度图像进行坐标变换, 得到上述显示屏幕的线性化亮度函数。 a second linearization module 4073, configured to linearize the brightness image, obtain a linearized brightness image captured from the second angle, and trigger a second coordinate transformation module 4074; a second coordinate transformation module 4074, Performing coordinate transformation on the linearized luminance image according to the third coordinate mapping relationship to obtain a linearized luminance function of the display screen.
本发明实施例中的第一计算单元 403可以包括: The first calculating unit 403 in the embodiment of the present invention may include:
第一提取模块 4031 , 用于根据上述第一图像提取上述显示屏幕的轮廓坐 标; a first extraction module 4031, configured to extract a contour coordinate of the display screen according to the first image;
第一获取模块 4032, 用于根据轮廓坐标获取上述显示屏幕的上轮廓曲线 和下轮廓曲线; a first obtaining module 4032, configured to acquire an upper contour curve of the display screen according to the contour coordinates And the lower contour curve;
估测模块 4033 , 用于使用非线性迭代优化算法根据上述轮廓坐标、 上轮 廓曲线和下轮廓曲线估测摄像机参数。 The estimation module 4033 is configured to estimate the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve using the nonlinear iterative optimization algorithm.
本发明实施例中的第一建立单元 404可以包括: The first establishing unit 404 in the embodiment of the present invention may include:
第二获耳 ^莫块 4041 , 用于获取第一图像在摄像机的成像平面内的任意点 坐标; a second acquisition block 4041, configured to acquire an arbitrary point coordinate of the first image in an imaging plane of the camera;
第三获取模块 4042, 用于将上述成像平面内的任意点与摄像机的光心相 连, 得到第一直线; a third obtaining module 4042, configured to connect an arbitrary point in the imaging plane to an optical center of the camera to obtain a first straight line;
第四获取模块 4043 , 用于根据上述显示屏幕的位置参数还原上述显示屏 幕的曲面, 上述第一直线与显示屏幕的曲面相交, 得到相交点坐标, 该任意 点坐标与该相交点坐标——映射; a fourth obtaining module 4043, configured to restore a curved surface of the display screen according to a position parameter of the display screen, where the first straight line intersects a curved surface of the display screen to obtain intersection point coordinates, and the coordinates of the arbitrary point and the intersection point coordinate Mapping
第一建立模块 4044, 用于根据各个上述任意点坐标以及该任意点坐标对 应的相交点坐标建立从上述显示屏幕的坐标到从第一角度拍摄的图像坐标 的第一坐标映射关系。 The first establishing module 4044 is configured to establish, according to each of the foregoing arbitrary point coordinates and the intersection point coordinates corresponding to the arbitrary point coordinates, a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle.
本发明实施例中的第二建立单元 405可以包括: The second establishing unit 405 in the embodiment of the present invention may include:
第二提耳 ^莫块 4051 , 用于分别提取上述第一图像和第二图像的第一特征 点和第二特征点,上述第一特征点和第二特征点分别用于表示该第一图像和 第二图像的位置信息; a second lifting block 4051, configured to respectively extract a first feature point and a second feature point of the first image and the second image, wherein the first feature point and the second feature point are respectively used to represent the first image And location information of the second image;
查找模块 4052, 用于使用特征点检测算法查找——映射的上述第一特征 点和第二特征点; The searching module 4052 is configured to search, by using a feature point detection algorithm, the first feature point and the second feature point of the mapping;
第二建立模块 4053 , 用于根据——映射的上述第一特征点和第二特征点 建立从上述第一角度拍摄到的图像坐标到第二角度的拍摄到的图像坐标的 第二坐标映射关系。 a second establishing module 4053, configured to establish, according to the first feature point and the second feature point of the mapping, a second coordinate mapping relationship between the image coordinates captured from the first angle and the captured image coordinates of the second angle .
本发明实施例亮度函数获取装置中各个单元具体的交互过程如下: 第一获取单元 401获取从第一角度拍摄的显示屏幕的第一图像, 该第一 角度为用于摄像机标定的拍摄角度。 在本发明实施例中, 摄像机从第一角度 对显示屏幕进行拍摄, 该显示屏幕可以为投影屏幕或平板显示器。 第二获取 单元 402取从第二角度拍摄的显示屏幕的第二图像以及亮度图像, 该第二角 度为用户指定的任意拍摄角度; 该亮度图像为该第二图像对应的亮度数据信 息。从第一角度拍摄的摄像机和从第二角度拍摄的摄像机可以为同一部摄像 机, 也可以为两部不同的摄像机, 具体根据实际情况而定, 此处不作限定。 在获取到第一图像之后, 第一计算单元 403根据上述从第一角度获取到 第一图像计算摄 几参数。 该摄像机参数分为内部参数和外部参数, 摄像机 的内部参数包括: 焦距, 摄像机的光心坐标, 图像中心点的坐标, 镜头径向 畸变的一阶系数; 摄像机的外部参数包括: 三维空间世界坐标系与摄像机坐 标系之间的旋转矩阵和平移向量。 The specific interaction process of each unit in the brightness function acquiring device in the embodiment of the present invention is as follows: The first obtaining unit 401 acquires a first image of the display screen taken from the first angle, and the first angle is a shooting angle for camera calibration. In an embodiment of the invention, the camera captures the display screen from a first angle, and the display screen may be a projection screen or a flat panel display. The second acquiring unit 402 takes a second image of the display screen taken from the second angle and a brightness image, and the second angle is an arbitrary shooting angle specified by the user; the brightness image is brightness data information corresponding to the second image. The camera photographed from the first angle and the camera photographed from the second angle may be the same camera or two different cameras, which may be determined according to actual conditions, and are not limited herein. After acquiring the first image, the first calculating unit 403 calculates the camera parameters according to the above-described first image acquired from the first angle. The camera parameters are divided into internal parameters and external parameters. The internal parameters of the camera include: focal length, the optical center coordinate of the camera, the coordinates of the center point of the image, the first-order coefficient of the radial distortion of the lens; the external parameters of the camera include: 3D space world coordinates The rotation matrix and translation vector between the camera and the camera coordinate system.
具体的, 可以由第一计算单元 403的第一提取模块 4031在该第一图像中 提取显示屏幕的轮廓坐标,该轮廓坐标具体可以为显示屏幕的四个角的三维 坐标; 第一计算单元 403的第一获取模块 403根据该轮廓坐标对第一图像做 CANNY算子的边缘提取, 得到边缘图像; 去除该边缘图像中除上轮廓以及 下轮廓之外的边缘数据, 得到上轮廓坐标和下轮廓坐标; 使用多项式模型和 最小二乘法分别对该上轮廓坐标和下轮廓坐标进行上边缘和下边缘的拟合, 得到上轮廓曲线和下轮廓曲线; 第一计算单元 403的估测模块 4033利用非线 性迭代优化算法根据上述轮廓坐标、上轮廓曲线和下轮廓曲线初步的估测摄 像机参数; 进一步的, 为了提高摄像机参数的估测精度, 估测模块 4033还可 以将上述得到的摄像机参数作为初始摄像机参数, 并使用显示屏幕的上轮廓 曲线和下轮廓曲线计算该初始摄像机参数的估测误差, 具体的, 在确定了三 维上轮廓曲线和三维下轮廓曲线之后, 亮度函数获取装置根据初步估测的摄 像机参数, 将该三维下轮廓曲线映射回摄像机图像得到一条重投下轮廓曲 线,将重投下轮廓曲线与图像中实际的曲线之间的误差作为摄像机参数的估 测误差。 具体摄像机参数的估测误差可以有多种定义方式, 只要实践证明在 计算摄像机参数时满足精度要求就可以, 例如, 将两曲线的左端点相连, 右 端点相连, 计算所包围的面积。 获得估测误差之后, 亮度函数获取装置利用 非线性迭代优化算法会估计出新的一组摄像机参数, 利用这个新的摄像机参 数可以得到一个新的估测误差, 如此迭代, 直到估测误差小到满足要求, 即 可获得高精度的摄像机参数。 Specifically, the first extraction module 4031 of the first calculating unit 403 may extract the contour coordinates of the display screen in the first image, and the contour coordinates may specifically be three-dimensional coordinates of the four corners of the display screen; the first calculating unit 403 The first obtaining module 403 performs edge extraction of the CANNY operator on the first image according to the contour coordinate to obtain an edge image; and removes edge data of the edge image except the upper contour and the lower contour to obtain upper contour coordinates and lower contour Coordinates: The upper and lower edges are respectively fitted to the upper and lower contours using a polynomial model and a least squares method to obtain an upper contour curve and a lower contour curve; the estimation module 4033 of the first calculating unit 403 utilizes The linear iterative optimization algorithm initially estimates the camera parameters according to the contour coordinates, the upper contour curve and the lower contour curve. Further, in order to improve the estimation accuracy of the camera parameters, the estimation module 4033 may also use the obtained camera parameters as the initial camera. Parameters, and use the upper contour curve and lower of the display screen The profile curve calculates the estimation error of the initial camera parameter. Specifically, after determining the three-dimensional upper contour curve and the three-dimensional lower contour curve, the brightness function acquiring device maps the three-dimensional lower contour curve back to the camera according to the initially estimated camera parameter. The image obtains a re-casting contour curve, and the error between the contour curve and the actual curve in the image is taken as the estimation error of the camera parameter. The estimation error of the specific camera parameters can be defined in various ways. As long as it is proved that the accuracy requirements are met when calculating the camera parameters, for example, the left end points of the two curves are connected, and the right end points are connected to calculate the enclosed area. After obtaining the estimation error, the brightness function acquisition device uses a nonlinear iterative optimization algorithm to estimate a new set of camera parameters. Using this new camera parameter, a new estimation error can be obtained, and iteratively, until the estimation error is small. When the requirements are met, high-precision camera parameters can be obtained.
在获取到摄像机参数之后, 第一建立单元 404根据摄像机参数和显示屏 幕的位置参数建立从显示屏幕的坐标到从第一角度拍摄的图像坐标的第一 坐标映射关系; 具体的, 可以由第一建立单元 404的第二获取模块 4041获取 第一图像在摄像机的成像平面内的任意点坐标; 由第一建立单元 404的第三 获取模块 4042将上述成像平面内的任意点与摄像机的光心相连,得到第一直 线; 由第一建立单元 404的第四获取模块 4043根据上述显示屏幕的位置参数 还原上述显示屏幕的曲面, 上述第一直线与显示屏幕的曲面相交, 得到相交 点坐标,该任意点坐标与该相交点坐标——映射; 最后, 由第一建立单元 404 的第一建立模块 4044根据各个上述任意点坐标以及该任意点坐标对应的相 交点坐标建立从上述显示屏幕的坐标到从第一角度拍摄的图像坐标的第一 坐标映射关系。 After acquiring the camera parameters, the first establishing unit 404 establishes a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle according to the camera parameters and the position parameters of the display screen; specifically, may be first The second obtaining module 4041 of the establishing unit 404 acquires any point coordinates of the first image in the imaging plane of the camera; and the third acquiring module 4042 of the first establishing unit 404 connects any point in the imaging plane to the optical center of the camera. Obtaining a first straight line; the fourth obtaining module 4043 of the first establishing unit 404 is configured according to the position parameter of the display screen Restoring the curved surface of the display screen, the first straight line intersects the curved surface of the display screen to obtain the intersection point coordinates, the arbitrary point coordinates and the intersection point coordinate-map; finally, the first establishing module by the first establishing unit 404 4044 establishes a first coordinate mapping relationship from the coordinates of the display screen to the image coordinates captured from the first angle according to each of the above-mentioned arbitrary point coordinates and the intersection point coordinates corresponding to the arbitrary point coordinates.
可选的, 若显示屏幕为垂直挤压曲面, 则第四获取模块 4043可以通过三 维上轮廓曲线和三维下轮廓曲线得到投影屏幕的曲面; 若显示屏幕为纯平面 (如平板显示器), 在确定显示屏幕的曲面时, 则无需计算显示屏幕的三维 上轮廓曲线和三维下轮廓曲线, 第四获取模块 4043直接通过显示屏幕四个角 的顶点三维坐标就可以确定显示屏幕的曲面; 或者, 在显示屏幕为不规则平 面的应用场景中, 第四获取模块 4043可以根据显示屏幕的位置参数, 使用基 于立体图像匹配点提取的三角测量技术构造该显示屏幕的曲面,该显示屏幕 的位置参数为使用三维标定模板进行标定的参数。 Optionally, if the display screen is a vertical extruded surface, the fourth obtaining module 4043 can obtain the curved surface of the projected screen by using the three-dimensional upper contour curve and the three-dimensional lower contour curve; if the display screen is a pure plane (such as a flat panel display), determining When the surface of the screen is displayed, it is not necessary to calculate the three-dimensional upper contour curve and the three-dimensional lower contour curve of the display screen, and the fourth obtaining module 4043 can directly determine the curved surface of the display screen by displaying the three-dimensional coordinates of the four corners of the display screen; or, in the display In the application scenario where the screen is an irregular plane, the fourth obtaining module 4043 may construct a curved surface of the display screen according to a positional parameter of the display screen, using a triangulation technique based on stereo image matching point extraction, where the position parameter of the display screen is three-dimensional The calibration template is used to calibrate the parameters.
在获取到第一图像和第二图像之后, 第二建立单元 405根据第一图像和 第二图像建立从第一角度拍摄到的图像坐标到第二角度的拍摄到的图像坐 标的第二坐标映射关系; 具体的, 可以由第二建立单元 405的第二提取模块 4051分别提取上述第一图像和第二图像的第一特征点和第二特征点, 上述第 一特征点和第二特征点分别用于表示该第一图像和第二图像的位置信息, 上 述特征点所组成的图像可以为棋盘格图像或点阵图像; 由第二建立单元 405 的查找模块 4052使用特征点检测算法查找——映射的第一特征点和第二特 征点; 具体的, 若上述特征点所组成的图像为棋盘格图像, 则亮度函数获取 装置使用棋盘格检测算法分别检测出第一图像和第二图像中的棋盘格角点, 由于从第一角度和第二角度拍摄的同是投影屏幕的图像, 因此, 第一图像和 第二图像具有一个共同标准棋盘格, 通过棋盘格之间的映射关系, 即可获得 第一图像和第二图像的棋盘格角点坐标的一一映射关系; 由第二建立单元 405的第二建立模块 4053根据——映射的第一特征点和第二特征点建立从第 一角度拍摄到的图像坐标到第二角度的拍摄到的图像坐标的第二坐标映射 关系。 After acquiring the first image and the second image, the second establishing unit 405 establishes a second coordinate map of the image coordinates captured from the first angle to the captured image coordinates of the second angle according to the first image and the second image. Specifically, the first feature point and the second feature point of the first image and the second image may be respectively extracted by the second extraction module 4051 of the second establishing unit 405, where the first feature point and the second feature point are respectively For displaying the position information of the first image and the second image, the image formed by the feature points may be a checkerboard image or a bitmap image; and the lookup module 4052 of the second establishing unit 405 searches using the feature point detection algorithm- Mapping the first feature point and the second feature point; specifically, if the image formed by the feature point is a checkerboard image, the brightness function acquiring device detects the first image and the second image respectively by using a checkerboard detection algorithm a checkerboard corner point, since the image taken from the first angle and the second angle is the same as the projection screen, therefore, the first image and the second image Having a common standard checkerboard, through the mapping relationship between the checkerboards, a one-to-one mapping relationship of the checkerboard corner coordinates of the first image and the second image is obtained; the second establishing module 4053 of the second establishing unit 405 And establishing, according to the first feature point and the second feature point of the mapping, a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle.
在本发明实施例中, 由于进行摄像机标定的角度(即第一角度)和亮度 图像获取的角度(即第二角度)是不同的, 因此, 不可以直接使用第一坐标 映射关系进行投影屏幕的亮度函数的计算,需要从上述第一角度到上述第二 角度进行坐标转换, 以获取从投影屏幕到第二角度对应的摄像机所在位置的 坐标映射关系,所以需要先计算出从上述第一角度拍摄到的图像坐标到第二 角度的拍摄到的图像坐标的第二坐标映射关系。 In the embodiment of the present invention, since the angle at which the camera calibration is performed (ie, the first angle) and the angle at which the luminance image is acquired (ie, the second angle) are different, the first coordinate mapping relationship may not be directly used to perform the projection screen. The calculation of the brightness function needs to be from the first angle to the second The coordinate conversion is performed to obtain the coordinate mapping relationship of the position of the camera corresponding to the second angle from the projection screen, so it is necessary to first calculate the image coordinates captured from the first angle to the captured image coordinates of the second angle. The second coordinate mapping relationship.
在得到第一坐标映射关系和第二坐标映射关系之后, 第三建立单元 406 根据上述第一坐标映射关系和第二坐标映射关系计算得到从投影屏幕到上 述第二角度的第三坐标映射关系(即从投影屏幕到第二角度对应的摄像机所 在位置的坐标映射关系) 。 After obtaining the first coordinate mapping relationship and the second coordinate mapping relationship, the third establishing unit 406 calculates a third coordinate mapping relationship from the projection screen to the second angle according to the first coordinate mapping relationship and the second coordinate mapping relationship. That is, the coordinate mapping relationship from the projection screen to the position of the camera corresponding to the second angle).
最后, 第二计算单元 407上述第三坐标映射关系和上述亮度图像计算得 到上述显示屏幕的线性化亮度函数。 Finally, the second calculating unit 407 calculates the linearized luminance function of the display screen by the third coordinate mapping relationship and the luminance image.
在本发明实施例中, 具体的, 若从第二角度拍摄的显示屏幕的亮度图像 为非线性化的数据, 则可以由第二计算单元 407的第一坐标变换模块 4071根 据上述第三坐标映射关系对上述亮度图像进行坐标变换,得到上述显示屏幕 坐标的亮度函数, 并触发第一线性化模块 4072对上述显示屏幕坐标的亮度函 数进行线性化处理, 得到上述显示屏幕的线性化亮度函数; 或者, 可以由第 二计算单元 407的第二线性化模块 4073先对上述亮度图像进行线性化处理, 得到从上述第二角度拍摄到的线性化亮度图像, 并触发第二坐标变换模块 4074根据上述第三坐标映射关系对上述线性化亮度图像进行坐标变换,得到 上述显示屏幕的线性化亮度函数。 In the embodiment of the present invention, specifically, if the brightness image of the display screen taken from the second angle is nonlinearized data, the first coordinate transformation module 4071 of the second calculation unit 407 may be configured according to the third coordinate mapping. Correlate the coordinate image of the brightness image to obtain a brightness function of the display screen coordinates, and trigger the first linearization module 4072 to linearize the brightness function of the display screen coordinate to obtain a linearized brightness function of the display screen; or The second linearization module 4073 of the second calculating unit 407 may first linearize the brightness image to obtain a linearized brightness image captured from the second angle, and trigger the second coordinate transformation module 4074 according to the above The three-coordinate mapping relationship performs coordinate transformation on the linearized luminance image to obtain a linearized luminance function of the display screen.
若从第二角度拍摄的显示屏幕的亮度图像为线性化的数据, 则第一坐标 变换模块 4071根据上述第三坐标映射关系对上述亮度图像进行坐标变换之 后, 直接可以得到该显示屏幕的线性化亮度函数。 If the brightness image of the display screen taken from the second angle is linearized data, the first coordinate transformation module 4071 can directly obtain the linearization of the display screen after performing coordinate transformation on the brightness image according to the third coordinate mapping relationship. Brightness function.
下面对用于执行上述亮度函数获取方法的本发明亮度函数获取系统的 实施例进行说明, 其逻辑结构请参考图 5 , 本发明实施例中的亮度函数获取 系统的一个实施例包括: An embodiment of the brightness function acquisition system of the present invention for performing the above-described brightness function acquisition method is described below. For a logical structure, please refer to FIG. 5. An embodiment of the brightness function acquisition system in the embodiment of the present invention includes:
摄像机装置 501 , 显示装置 502, 亮度函数获取装置 503; Camera device 501, display device 502, brightness function acquisition device 503;
摄像机装置 501至少包括两个镜头, 分别从第一角度和第二角度拍摄所 述显示装置 502的显示屏幕, 所述第一角度为用于摄像机标定的拍摄角度, 所述第二角度为用户指定的任意拍摄角度。 其中, 摄像机装置 501可以由一 部或两部摄像机组成, 若是一部摄像机, 则该部摄像机至少包括两个镜头; 若是两部摄像机, 则两部摄像机分别从第一角度和第二角度对显示装置 502 进行拍摄。 显示装置 502用于在显示屏幕中显示图像。 其中, 该显示装置 502可以为 平板显示器, 也可以为投影显示系统; 若是投影显示系统, 则投影屏幕则为 该显示装置 502的显示屏幕, 且该投影显示系统可以包括有多个投影仪, 由 多个投影仪所投影的图像组成所需要显示的图像。 The camera device 501 includes at least two lenses, and respectively captures a display screen of the display device 502 from a first angle and a second angle, the first angle is a shooting angle for camera calibration, and the second angle is specified by a user. Any angle of shooting. The camera device 501 may be composed of one or two cameras. If it is a camera, the camera includes at least two lenses. If two cameras are used, the two cameras are respectively displayed from the first angle and the second angle. Device 502 takes a picture. The display device 502 is for displaying an image in a display screen. The display device 502 can be a flat panel display or a projection display system; if it is a projection display system, the projection screen is a display screen of the display device 502, and the projection display system can include a plurality of projectors, The images projected by multiple projectors make up the image that needs to be displayed.
亮度函数获取装置 503用于从所述摄像机装置 501中分别获取从第一角 度拍摄的显示屏幕的第一图像, 和从第二角度拍摄的显示屏幕的第二图像以 及亮度图像, 根据所述第一图像计算摄像机参数; 根据所述摄像机参数和所 述显示屏幕的位置参数建立从所述显示屏幕的坐标到从所述第一角度拍摄 的图像坐标的第一坐标映射关系;根据所述第一图像和所述第二图像建立从 所述第一角度拍摄到的图像坐标到所述第二角度的拍摄到的图像坐标的第 二坐标映射关系;根据所述第一坐标映射关系和第二坐标映射关系计算得到 从所述显示屏幕的坐标到从所述第二角度拍摄的图像坐标的第三坐标映射 关系; 根据所述第三坐标映射关系和所述亮度图像计算得到所述显示屏幕的 线性化亮度函数。 The brightness function acquiring means 503 is configured to respectively acquire, from the camera device 501, a first image of the display screen photographed from the first angle, and a second image of the display screen photographed from the second angle and the brightness image, according to the first Calculating camera parameters according to an image; establishing a first coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the first angle according to the camera parameters and position parameters of the display screen; And the second image establishes a second coordinate mapping relationship of the image coordinates captured from the first angle to the captured image coordinates of the second angle; according to the first coordinate mapping relationship and the second coordinate The mapping relationship calculates a third coordinate mapping relationship from coordinates of the display screen to image coordinates captured from the second angle; calculating linearity of the display screen according to the third coordinate mapping relationship and the brightness image The brightness function.
本发明亮度函数获取系统具体的操作过程可以参考图 2实施例的流程, 此处不再赘述。 For the specific operation process of the brightness function acquisition system of the present invention, reference may be made to the process of the embodiment of FIG. 2, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的装置和方法, 可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可以有另外 的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个系统, 或 一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间的耦合或 直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合或通信连 接, 可以是电性, 机械或其它的形式。 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。 In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise. The components displayed for the unit may or may not be physical units, ie may be located in one place, or may be distributed over multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外, 在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一 个单元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用软件功 能单元的形式实现。 所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销 售或使用时, 可以存储在一个计算机可读取存储介质中。 基于这样的理解, 本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方 案的全部或部分可以以软件产品的形式体现出来, 该计算机软件产品存储在 一个存储介质中, 包括若干指令用以使得一台计算机设备(可以是个人计算 机, 服务器, 或者网络设备等)执行本发明各个实施例所述方法的全部或部 分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(ROM, Read-Only Memory ) 、 随机存取存储器 ( RAM, Random Access Memory ) 、 磁碟或者光盘等各种可以存储程序代码的介质。 In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may contribute to the prior art or all or part of the technical solution may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a removable hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and the like, which can store program codes. .
以上所述, 仅为本发明的具体实施方式, 但本发明的保护范围并不局限 于此, 任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易 想到变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护 范围应所述以权利要求的保护范围为准。 The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
Claims
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110301810.7 | 2011-09-27 | ||
| CN201110301810.7A CN103020950B (en) | 2011-09-27 | 2011-09-27 | Luminance function acquisition methods and relevant apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2013044642A1 true WO2013044642A1 (en) | 2013-04-04 |
Family
ID=47969517
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2012/076157 Ceased WO2013044642A1 (en) | 2011-09-27 | 2012-05-28 | Brightness function obtaining method and related apparatus |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN103020950B (en) |
| WO (1) | WO2013044642A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109036271B (en) * | 2018-08-17 | 2020-06-12 | 武汉华星光电半导体显示技术有限公司 | Method and device for correcting color cast of curved screen bending area, storage medium and terminal |
| CN109961739B (en) * | 2019-04-18 | 2021-03-23 | 京东方科技集团股份有限公司 | Display debugging method, compensation method and device, display device and storage medium |
| CN114792508A (en) * | 2021-01-25 | 2022-07-26 | 深圳市奥拓电子股份有限公司 | LED display screen brightness adjusting method based on shooting angle and shooting system |
| CN115938218B (en) * | 2021-08-16 | 2025-06-24 | 苏州佳世达电通有限公司 | Display device and control method of optical sensing unit |
| US12431054B2 (en) * | 2022-04-24 | 2025-09-30 | Xi'an Novastar Tech Co., Ltd. | Image processing method and apparatus of display screen, system and device |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1517784A (en) * | 2003-01-17 | 2004-08-04 | 精工爱普生株式会社 | Image processing system, projector and image processing method |
| CN101140661A (en) * | 2007-09-04 | 2008-03-12 | 杭州镭星科技有限公司 | Real time object identification method taking dynamic projection as background |
| WO2010117004A1 (en) * | 2009-04-09 | 2010-10-14 | 旭硝子株式会社 | Method for detecting ream of light-transmitting platy object |
-
2011
- 2011-09-27 CN CN201110301810.7A patent/CN103020950B/en not_active Expired - Fee Related
-
2012
- 2012-05-28 WO PCT/CN2012/076157 patent/WO2013044642A1/en not_active Ceased
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1517784A (en) * | 2003-01-17 | 2004-08-04 | 精工爱普生株式会社 | Image processing system, projector and image processing method |
| CN101140661A (en) * | 2007-09-04 | 2008-03-12 | 杭州镭星科技有限公司 | Real time object identification method taking dynamic projection as background |
| WO2010117004A1 (en) * | 2009-04-09 | 2010-10-14 | 旭硝子株式会社 | Method for detecting ream of light-transmitting platy object |
Non-Patent Citations (1)
| Title |
|---|
| CAO, SHUANGXI ET AL.: "Implementation of Multi-Projector Displays", COMPUTER ENGINEERING AND APPLICATIONS, no. 2, February 2005 (2005-02-01), pages 84 - 86 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103020950B (en) | 2015-09-09 |
| CN103020950A (en) | 2013-04-03 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN106651794B (en) | A Projection Speckle Correction Method Based on Virtual Camera | |
| US9241147B2 (en) | External depth map transformation method for conversion of two-dimensional images to stereoscopic images | |
| WO2022127918A1 (en) | Stereo calibration method, apparatus, and system for binocular camera, and binocular camera | |
| CN110809786B (en) | Calibration device, calibration chart, chart pattern generating device and calibration method | |
| CN101630406B (en) | Camera calibration method and camera calibration device | |
| US11282232B2 (en) | Camera calibration using depth data | |
| CN109147027B (en) | Method, system and device for three-dimensional reconstruction of monocular image based on reference plane | |
| CN114697623B (en) | Projection plane selection and projection image correction method, device, projector and medium | |
| CN109920004B (en) | Image processing method, device, calibration object combination, terminal equipment and calibration system | |
| CN106846410A (en) | Based on three-dimensional environment imaging method and device | |
| CN104616284A (en) | Pixel-level alignment algorithm for color images to depth images of color depth camera | |
| JP2011253376A (en) | Image processing device, image processing method and program | |
| CN103337094A (en) | Method for realizing three-dimensional reconstruction of movement by using binocular camera | |
| CN112734860B (en) | Arc-screen prior information-based pixel-by-pixel mapping projection geometric correction method | |
| WO2022100668A1 (en) | Temperature measurement method, apparatus, and system, storage medium, and program product | |
| WO2020048461A1 (en) | Three-dimensional stereoscopic display method, terminal device and storage medium | |
| CN106683071A (en) | Image splicing method and image splicing device | |
| WO2020024684A1 (en) | Method and device for modeling three-dimensional scene, electronic device, readable storage medium, and computer apparatus | |
| WO2012175029A1 (en) | Multi-projection splicing geometric calibration method and calibration device | |
| CN109785390B (en) | Method and device for image correction | |
| TWI581051B (en) | Three - dimensional panoramic image generation method | |
| US20170289516A1 (en) | Depth map based perspective correction in digital photos | |
| WO2021238070A1 (en) | Three-dimensional image generation method and apparatus, and computer device | |
| CN107610183A (en) | New striped projected phase height conversion mapping model and its scaling method | |
| WO2013044642A1 (en) | Brightness function obtaining method and related apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12837356 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 12837356 Country of ref document: EP Kind code of ref document: A1 |