Digital image three-dimensional microscopic system and method for baseline-variable convergent angle photography

By adopting variable baseline intersection angle photography technology in the digital imaging stereoscopic microscope system, the ratio of the baseline to the photographic distance remains unchanged, and the image is corrected through a computer, thus solving the problems of unstable stereoscopic models and low image resolution in the existing technology. , achieving higher image overlap and observation field of view.

WO2024183686A1PCT designated stage expired Publication Date: 2024-09-12CHENGDU HONGZHAO TECH CO LTD +2
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/079880
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-09
Filing Date
2024-03-04
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing digital imaging stereomicroscope systems have problems such as strict manufacturing and installation requirements, unstable stereoscopic models, flattened stereoscopic images, low magnification, and low resolution of stereoscopic images.

Method used

By providing a digital image stereoscopic microscope system for variable baseline intersection angle photography, two digital area array photography cameras on the same sliding translation mechanism are used to keep the ratio of the baseline distance between the mirror cameras and the photography distance unchanged, and a computer Perform internal parameter correction and spatial projection position and posture correction, and rearrange the images to display correct three-dimensional images.

Benefits of technology

It reduces the requirements for precision manufacturing and installation of photographic cameras, maintains the stability and high resolution of stereoscopic images, increases the observation field of view, and overcomes the problems of image projection deformation and small field of view in the original technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024079880_12092024_PF_FP_ABST
    Figure CN2024079880_12092024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention are a digital image three-dimensional microscopic system and method for baseline-variable convergent angle photography. When a three-dimensional photography distance changes, left and right area array digital photographic cameras perform forward and reverse equivalent translational motions, and during the motions, the ratio K of a camera baseline of a three-dimensional image model to a photographic height remains unchanged, thereby solving the problems in existing digital image three-dimensional microscopic technology whereby a three-dimensional image model is unstable and a three-dimensional image is flattened, and maintaining large degrees of overlapping and large three-dimensional fields of view of three-dimensional images; and after the three-dimensional images are captured and collected by means of photography, intrinsic parameter correction and spatial projection position posture correction of the cameras are performed by means of a data processing apparatus, and digital images are rearranged, such that errors caused by pairing and manufacturing of the cameras and errors generated by manufacturing and mounting of a baseline-variable convergent angle photographic system are eliminated, thereby reducing the requirements for manufacturing of a three-dimensional photographic camera and manufacturing and mounting of a system device, and improving the technical performance of the digital image three-dimensional microscopic system.
Need to check novelty before this filing date? Find Prior Art

Description

A digital image stereo microscope system and method for variable baseline cross-phase angle photography Technical Field

[0001] The present invention belongs to the field of digital image stereomicroscopy observation and detection, specifically to the fields of digital image stereomicroscopy for medical surgery, digital image stereomicroscopy for biological observation and detection, digital image stereomicroscopy for material observation and detection, digital image stereomicroscopy for process observation and detection, and digital image stereomicroscopy for microscopic object observation and detection, and in particular to a digital image stereomicroscopy system and method for variable baseline phase angle photography. Background Art

[0002] Currently, microscopes include stereoscopic optical microscopes and digital stereoscopic (3D) microscopes. Both stereoscopic optical microscopes and digital stereoscopic (3D) microscopes use two design principles: the oblique optical path stereoscopic microscope principle and the parallel optical path stereoscopic microscope principle. Due to the limitations of these two principles, the observed stereoscopic image visual model is deformed and unstable, affecting people's perception and operational capabilities. The magnification of stereoscopic (stereoscopic) microscopes is limited, the resolution of stereoscopic images is not high, the stereoscopic image observation distance is limited to a short distance, and the stereoscopic image field of view is small. Due to the design principle requirements, the manufacturing and installation technology requirements are very high. If the manufacturing technical parameters of the two cameras are not exactly the same, the two cameras cannot be strictly, stably, and precisely installed, resulting in image projection deformation and vertical parallax, and dizziness during stereoscopic image observation.

[0003] In order to avoid image projection deformation problems, current digital image stereo (3D) microscope system equipment requires that the camera lens focal length is strictly the same, the lens physical distortion is the same, the CCD and other sensor installation centers of the two cameras are at the same center and cannot rotate, the center light projection of the camera lens must be at the center of the camera sensor, and the two cameras must be installed in strict parallel postures. The precision manufacturing, installation, and maintenance requirements of the system equipment are very demanding.

[0004] When observing stereoscopic images with variable object distance and height magnification, optical microscopes that apply the principles of inclined and parallel optical paths fix the baseline B distance between the two objective lenses. Digital stereoscopic (3D) microscopes fix the baseline B distance between the left and right cameras. When the stereoscopic observation distance H changes, the ratio of the camera installation baseline B to the photography distance H becomes unstable, and the height ratio of the stereoscopic image model changes unstably. The observed stereoscopic visual model fluctuates, and the stereoscopic image becomes flat, which affects the habitual perceptual and operational capabilities.

[0005] Digital imaging stereo (3D) microscope based on the principle of inclined optical path, because the camera installation baseline is fixed and the camera installation has an intersection angle, the image oblique projection is a deformed image, the intersection angle oblique projection reduces the image overlap, the stereo observation field becomes smaller, and the stereo vision field zoom rate is limited, and the observation distance is limited to a short.

[0006] Digital stereoscopic (3D) imaging microscopes based on the principle of parallel optical paths have low stereoscopic clarity, large distortion in height, and flattened stereoscopic vision because their optical structure and image projection do not fully meet the physiological conditions for human stereoscopic vision observation. They are only suitable for close-range, non-real-time stereoscopic image observation.

[0007] Optical stereo microscopes and digital stereo (3D) microscopes based on oblique and parallel optical paths produce distorted stereo models, resulting in unstable K values ​​and unmeasurable stereo image models. Changing the viewing or photographic distance of the microscope reduces the overlap between the left and right images, shrinking the stereo image field. Low-overlap stereo images utilize only the edges of the image, reducing stereo image resolution.

[0008] Summary of the Invention

[0009] The purpose of the present application is to provide a digital image stereo microscope system and method for variable baseline phase angle photography, which solves the problems in the prior art of strict requirements on the manufacture and installation of photographic equipment, reduced adjustment distance overlap, and resulting in unstable stereo models, flattened stereo images, low magnification, and low stereo image resolution.

[0010] The present invention is achieved through the following technical solutions:

[0011] In a first aspect, the present invention provides a digital imaging stereo microscope system for variable baseline cross-phase angle photography, comprising a first digital area array camera a, a second digital area array camera b, a computer data processing device, and a stereo display;

[0012] The first digital area array camera a and the second digital area array camera b are disposed on the same sliding translation mechanism, which is provided with a center limit point. The first digital area array camera a and the second digital area array camera b are mirror images disposed on either side of the center limit point, and the first digital area array camera a and the second digital area array camera b are equidistant from the center limit point. The first digital area array camera a and the second digital area array camera b employ the same model and have the same lens focal length f, and the focal lengths of the first digital area array camera a and the second digital area array camera b are fixed. The overlap of images captured by the first digital area array camera a and the second digital area array camera b remains greater than a set threshold value c.

[0013] The first digital area array camera a and the second digital area array camera b synchronously capture digital images to obtain a first photographic digital image and a second photographic digital image, respectively, and transmit the first photographic digital image and the second photographic digital image to a computer data processing device;

[0014] The computer data processing device is used to perform internal parameter correction and spatial projection position and posture correction on the first photographic digital image and the second photographic digital image, rearrange the digital images, obtain a digital image with a correct spatial projection posture, and transmit the digital image with a correct spatial projection posture to the stereoscopic display;

[0015] The stereoscopic display is used to display a stereoscopic image or a video stereoscopic image of the photographed object based on the digital images with correct spatial projection postures corresponding to the first digital area array camera a and the second digital area array camera b.

[0016] Furthermore, when the first digital area array camera a moves, the second digital area array camera b moves in the opposite direction to the first digital area array camera a by an equal amount.

[0017] Furthermore, when the distance between the first digital area array camera a and the second digital area array camera b changes, the overlap of the images captured by the first digital area array camera a and the second digital area array camera b remains greater than a set threshold value c;

[0018] Before and after the adjustment, the ratio K between the baseline distance B and the photographic distance H between the two digital area array cameras is kept unchanged. The baseline distance B represents the length of the line between the two digital area array cameras, and the photographic distance H represents the distance from the baseline to the object to be photographed.

[0019] Furthermore, the position parameters between the first digital area array camera a and the second digital area array camera b are set as:

[0020] K=B1 / H1=B2 / H2=……Bn / Hn

[0021] Δa1b1M1∽Δa2b2M2∽……ΔanbnMn

[0022] ∠a1M1b1=∠a2M2b2=……∠anMnbn

[0023] ∠Ra=∠Rb

[0024] H1≠H2≠……Hn

[0025] B1≠B2≠……Bn

[0026] Among them, B1 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the first position, and H1 represents the photographic distance in the first position; B2 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the second position, and H2 represents the photographic distance in the second position; Bn represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the nth position, and Hn represents the photographic distance in the nth position; Δa1b1M1 represents the triangle formed by the point a1 of the first digital area array camera, the point b1 of the second digital area array camera, and the position M1 of the photographed object, ∽ represents that the two triangles are similar triangles, and Δa2b2M2 represents the triangle formed by the point a2 of the first digital area array camera, the point b2 of the second digital area array camera, and the position M2 of the photographed object , ΔanbnMn represents the triangle formed by the point an at which the first digital area array camera is located, the point bn at which the second digital area array camera is located, and the position Mn of the photographed object; ∠a1M1b1 represents the angle formed by the point a1 at which the first digital area array camera is located, the position M1 of the photographed object, and the point b1 at which the second digital area array camera is located; ∠a2M2b2 represents the angle formed by the point a1 at which the first digital area array camera is located, the position M2 of the photographed object, and the point b1 at which the second digital area array camera is located; ∠anMnbn represents the angle formed by the point a1 at which the first digital area array camera is located, the position Mn of the photographed object, and the second digital area array camera point b1; ∠Ra represents the angle between the shooting direction of the first digital area array camera a and the baseline B; and ∠Rb represents the angle between the shooting direction of the second digital area array camera b and the baseline B.

[0027] Furthermore, the value ranges of the installation angle ∠Ra of the first digital area array camera a and the installation angle ∠Rb of the second digital area array camera b are both set to be 1°-15°.

[0028] Furthermore, a threshold value c corresponding to the overlap of the images captured by the first digital area array camera a and the second digital area array camera b is set to be maintained greater than 90%.

[0029] In a second aspect, the present invention provides a digital image stereoscopic microscopy method based on the digital image stereoscopic microscopy system of the first aspect, comprising:

[0030] The first digital area array camera a is used to capture a first digital image, and the second digital area array camera b is used to capture a second digital image.

[0031] Performing internal parameter correction and spatial projection position and posture correction on the first photographic digital image and the second photographic digital image by a computer data processing device to obtain a digital image with correct spatial projection posture;

[0032] The digital image with correct spatial projection posture is converted into three-dimensional image data through the three-dimensional display and displayed on the three-dimensional display.

[0033] Furthermore, internal parameter correction is performed, including:

[0034] A first calibration image of an intrinsic parameter calibration plate is captured by a first digital area array camera a; a second calibration image of the intrinsic parameter calibration plate is captured by a second digital area array camera b, wherein the intrinsic parameter calibration plate corresponds to reference calibration point coordinates;

[0035] Obtaining coordinates of a first calibration point in the first calibration image and coordinates of a second calibration point in the second calibration image, obtaining a first intrinsic parameter correction value between the coordinates of the first calibration point and the coordinates of the reference calibration point, and obtaining a second intrinsic parameter correction value between the coordinates of the second calibration point and the coordinates of the reference calibration point;

[0036] The first photographic digital image is rearranged according to the first intrinsic parameter correction value, and the second photographic digital image is rearranged according to the second intrinsic parameter correction value, thereby eliminating image deformation caused by intrinsic parameter errors.

[0037] Furthermore, the spatial projection position and posture correction is performed, including:

[0038] Using an image matching algorithm, obtaining spatial projection position and posture adjustment parameters of a second photographic digital image taken by the second digital area array camera b relative to the first photographic digital image taken by the first digital area array camera a;

[0039] Adjusting parameters according to the spatial projection position and posture, digitally rearranging the images of the first digital area array camera a and the second digital area array camera b to obtain corresponding rearranged images;

[0040] The rearranged images are used as digital images with correct projection posture in stereoscopic space.

[0041] Furthermore, an image matching algorithm is used to obtain spatial projection position and posture adjustment parameters of the second photographic digital image taken by the second digital area array camera b relative to the first photographic digital image taken by the first digital area array camera a, including:

[0042] Search for multiple projection points with the same name on the first photographic digital image and the second photographic digital image, and obtain the spatial projection rotation angle and scaling correction value of the second photographic digital image relative to the first photographic digital image at the time of photographing based on the multiple projection points with the same name, so as to obtain the spatial projection position and posture adjustment parameters.

[0043] The beneficial effects of the present invention are:

[0044] (1) The present invention obtains the parameters of two cameras by calculation and then rearranges and corrects the images, which greatly reduces the requirements for precise manufacturing and installation of the pairing of the two cameras. It solves the problem that the focal length and distortion of the lenses, the installation of the camera sensors, the correspondence of the center positions of the lenses and sensors, and the inability to be strictly identical during manufacturing of the two cameras of the digital stereo microscope during pairing lead to very high requirements for manufacturing and installation precision in the original digital image stereo microscope principle.

[0045] (2) The present invention obtains the correct posture correction parameters of the image space projection by a computer based on the changing baselines of the two cameras of stereo photography and the camera installation intersection angle, thereby reducing the requirements for precise manufacturing and installation of mechanical parts.

[0046] (3) When the stereoscopic photography distance changes, the photographic baseline of the present invention changes accordingly, and the ratio K coefficient of the baseline to the photographic distance can be kept unchanged, the stereoscopic model is stable, and a large stereoscopic image overlap is maintained. This overcomes the problem of the original fixed baseline microscope principle method that the stereoscopic image model is flattened and the stereoscopic image field is small during long-distance stereoscopic photography.

[0047] (4) The cross-angle stereo photography provided by the present invention can avoid the problem of image projection deformation caused by the flattening of the depth of field of the stereoscopic image model. The problem is solved by rearranging the images by obtaining the correct spatial projection posture through a computer.

[0048] (5) The variable baseline phase angle stereo photography provided by the present invention can effectively maintain a large overlap of the images of the two cameras, increase the stereoscopic image observation field, keep the stereoscopic model stable and not deformed, and overcome the weakness of the original stereo microscope with a small field of view and highly unstable deformation of the stereoscopic image.

[0049] (6) The variable baseline intersecting phase angle stereoscopic photography provided by the present invention has a large degree of stereoscopic image overlap, and the stereoscopic image field of view observes the middle part of the image with high resolution and small projection deformation, which overcomes the weaknesses of the original digital image stereoscopic microscopy technology, such as small degree of stereoscopic image overlap, low resolution images at the edge of the image field of view, and large image projection deformation.

[0050] (7) The variable baseline phase angle stereo photography provided by the present invention has a stable stereo image model and does not cause stereo image flattening. It overcomes the weakness of the original stereo microscope principle that causes serious flattening of the stereo image when performing long-distance stereo photography, and improves the stereo photography distance.

[0051] (8) The variable baseline phase angle stereo photography provided by the present invention can effectively maintain a large effective stereo image overlap and improve the magnification of digital image stereo microscopy by changing the stereo photography distance, thereby overcoming the weakness of the original digital image stereo microscopy principle that when the stereo image overlap is less than 50%, the stereo image has no observation field and cannot be further enlarged. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required for use in the examples. It should be understood that the following drawings only illustrate certain embodiments of the present invention and should not be considered as limiting the scope. A person of ordinary skill in the art can also derive other relevant drawings based on these drawings without inventive effort. In the drawings:

[0053] FIG1 is a schematic structural diagram of a digital image stereomicroscope system for variable baseline cross-phase angle photography provided by the present invention.

[0054] FIG2 is a flow chart of a digital image stereomicroscopy method for variable baseline cross-phase angle photography provided by the present invention.

[0055] FIG3 is a schematic diagram of the principle of spatial projection position and posture correction of digital image stereo photography provided by the present invention. DETAILED DESCRIPTION

[0056] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with examples and drawings. The exemplary embodiments of the present invention and their descriptions are only used to explain the present invention and are not intended to limit the present invention.

[0057] Example 1

[0058] As shown in FIG1 , the present invention provides a digital imaging stereomicroscope system for variable baseline cross-phase photography, comprising a first digital area array camera a, a second digital area array camera b, a computer data processing device, and a stereoscopic display. The first digital area array camera a and the second digital area array camera b are mounted on the same sliding translation mechanism, which is provided with a center limit point. The first digital area array camera a and the second digital area array camera b are mirror-imaged on either side of the center limit point (i.e., one camera is provided on the left and right sides of the center limit point, respectively), and the first digital area array camera a and the second digital area array camera b are spaced equidistant from the center limit point. The first digital area array camera a and the second digital area array camera b are of the same model, have fixed focal lengths, and maintain an image overlap greater than a set threshold between the first digital area array camera a and the second digital area array camera b.

[0059] Optionally, the sliding translation mechanism can be configured as an electric slide rail.

[0060] The system features a first digital area scan camera (a) and a second digital area scan camera (b) installed side by side. They simultaneously capture two-dimensional static images and dynamic images at a rate of >10 frames per second. The left and right cameras must have fixed-focal-length lenses with the same focal length and distortion coefficient.

[0061] The first digital area array camera a is used to collect a first photographic digital image of the photographed object on one side of the central limit point, and transmit the first photographic digital image to a computer data processing device.

[0062] The second digital area array camera b is used to collect a second photographic digital image of the photographed object on the other side of the central limit point, and transmit the second photographic digital image to the computer data processing device.

[0063] The computer data processing device is used to perform internal parameter correction and spatial projection position posture correction on the first photographic digital image and the second photographic digital image to obtain a digital image with correct spatial projection posture, and transmit the digital image with correct spatial projection posture to the stereoscopic display.

[0064] The stereoscopic display is used to display a stereoscopic image or a video stereoscopic image of the photographed object based on the digital images of the space projection posture corresponding to the first digital area array camera a and the second digital area array camera b.

[0065] In a possible implementation, when the first digital area array camera a moves, the second digital area array camera b moves in the opposite direction to the first digital area array camera a by an equal amount.

[0066] In one possible implementation, when the distance for capturing stereoscopic images changes, the distance between the first digital area array camera a and the second digital area array camera b is synchronously adjusted to ensure that the overlap between the images captured by the first digital area array camera a and the second digital area array camera b remains above a set threshold of 90%. After the distance is adjusted, the two digital area array cameras can be focused manually or automatically.

[0067] Before and after adjusting the stereo photography distance, the ratio K between the baseline distance B between the two digital area array cameras and the photography distance H is kept unchanged. The baseline distance B represents the length of the connection between the two digital area array cameras, and the photography distance H represents the distance from the baseline to the object to be photographed.

[0068] In a possible implementation, the position parameters between the first digital area array camera a and the second digital area array camera b are set to: K=B1 / H1=B2 / H2=…Bn / Hn Δa1b1M1∽Δa2b2M2∽…ΔanbnMn ∠a1M1b1=∠a2M2b2=…∠anMnbn ∠Ra=∠Rb H1≠H2≠…Hn B1≠B2≠…Bn

[0069] Where B1 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in their first position, and H1 represents the photographic distance in the first position. B2 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in their second position, and H2 represents the photographic distance in the second position. Bn represents the baseline distance between the first digital area array camera a and the second digital area array camera b in their nth position, and Hn represents the photographic distance in the nth position. Δa1b1M1 represents the triangle formed by point a1 of the first digital area array camera, point b1 of the second digital area array camera, and position M1 of the photographed object. ∽ indicates that the two triangles are similar. Δa2b2M2 represents the triangle formed by point a2 of the first digital area array camera, point b2 of the second digital area array camera, and position M2 of the photographed object. ΔanbnMn represents the triangle formed by point an of the first digital area array camera, point bn of the second digital area array camera, and position Mn of the photographed object. ∠a1M1b1 represents the angle formed by point a1 of the first digital area array camera, position M1 of the photographed object, and point b1 of the second digital area array camera. ∠a2M2b2 represents the angle formed by point a1 of the first digital area array camera, position M2 of the photographed object, and point b1 of the second digital area array camera. ∠anMnbn represents the angle formed by point a1 of the first digital area array camera, position Mn of the photographed object, and point b1 of the second digital area array camera. ∠Ra represents the angle between the shooting direction of the first digital area array camera a and the baseline B. ∠Rb represents the angle between the shooting direction of the second digital area array camera b and the baseline B.

[0070] Since the second digital area scan camera b moves in the opposite direction of the first digital area scan camera a, as long as the intersection angles ∠Ra and ∠Rb remain constant, the ratio K between the baseline distance B and the photographic distance H between the two digital area scan cameras will not change. It is worth noting that when the second digital area scan camera b moves, the first digital area scan camera a and the second digital area scan camera b move in the opposite direction of the first digital area scan camera a and the second digital area scan camera b.

[0071] Optionally, when the first digital area array camera a and the second digital area array camera b are mounted on a sliding translation mechanism, they should be mounted on a structure that allows the camera to rotate in the X-axis, Y-axis, and Z-axis directions, and the electric slide rails are mounted on the rotational motion structure to achieve intelligent electric control of the camera's multi-axis movement, which is more accurate and convenient than manual control of the camera's movement. In Figure 1, P a1b1 represents the overlapping images captured by the first digital area array camera at point a1 and the second digital area array camera at point b1; P a2b2 represents the overlapping images captured by the first digital area array camera at point a2 and the second digital area array camera at point b2; P anbn It represents the overlapping images captured by the first digital area array camera at point an and the second digital area array camera at point bn.

[0072] When shooting stereo images, the left and right cameras can focus manually or with intelligent synchronous electric control. The light source can also be set to enable shooting in low-light environments.

[0073] In a possible implementation, the installation angle ∠Ra of the first digital area array camera a and the installation angle ∠Rb of the second digital area array camera b are both set to a value range of 1°-15° to adjust the height of the stereo model required for stereo image observation.

[0074] In a possible implementation, a threshold value c corresponding to the overlap between the images captured by the first digital area array camera a and the second digital area array camera b is set to be greater than 90%.

[0075] The present invention provides a digital image stereo microscope system for variable baseline cross-phase photography. The system can achieve equal forward and reverse movement of two left and right area array cameras when the stereo shooting distance changes. During the movement, the ratio K of the stereo shooting distance H to the baseline B is maintained constant, the image overlap is maintained constant, and the height ratio of the stereo image model is maintained constant. After image acquisition, internal parameter correction and spatial position and posture correction are performed by a computer data processing device to eliminate errors in the cameras themselves and errors caused by system manufacturing and installation, thereby reducing the system's requirements for precision manufacturing and precision installation of machinery and cameras.

[0076] Example 2

[0077] As shown in FIG2 , the present invention provides a digital image stereoscopic microscopy method based on a digital image stereoscopic microscopy system, comprising:

[0078] S1. Capture a first digital image through a first digital area array camera a, and capture a second digital image through a second digital area array camera b.

[0079] S2. Performing internal parameter correction and spatial projection position and posture correction on the first photographic digital image and the second photographic digital image through a computer data processing device to obtain digital images with correct spatial projection posture.

[0080] S3. Convert the digital image with correct spatial projection posture into stereoscopic image data through the stereoscopic display, and display it on the stereoscopic display.

[0081] In one possible implementation, performing intrinsic parameter correction includes:

[0082] A first calibration image of the intrinsic parameter calibration plate is captured by a first digital area array camera a. A second calibration image of the intrinsic parameter calibration plate is captured by a second digital area array camera b, wherein the intrinsic parameter calibration plate corresponds to reference calibration point coordinates.

[0083] Obtain the coordinates of a first calibration point in the first calibration image and the coordinates of a second calibration point in the second calibration image, obtain a first intrinsic parameter correction value between the coordinates of the first calibration point and the coordinates of the reference calibration point, and obtain a second intrinsic parameter correction value between the coordinates of the second calibration point and the coordinates of the reference calibration point.

[0084] The first photographic digital image is rearranged according to the first intrinsic parameter correction value, and the second photographic digital image is rearranged according to the second intrinsic parameter correction value, thereby eliminating image deformation caused by intrinsic parameter errors.

[0085] The digital images captured by the left and right cameras have different intrinsic parameters, such as lens physical distortion q, focal length f, and projection position o of the lens center light onto the sensor CCD. These images need to be corrected to the same intrinsic parameters. The left and right cameras capture images of a dedicated image intrinsic parameter calibration plate. Image matching calculates the coordinates of the calibration points. The coordinates of the calibration points are compared with the coordinate differences obtained by image matching to calculate the intrinsic parameter correction values. These corrections are used to realign the images, eliminating image distortion caused by intrinsic parameter errors.

[0086] In one possible implementation, performing spatial projection position and posture correction includes:

[0087] An image matching algorithm is used to obtain spatial projection position and posture adjustment parameters of a second photographic digital image taken by the second digital area array camera b relative to the first photographic digital image taken by the first digital area array camera a.

[0088] According to the spatial projection position and posture adjustment parameters, the image of the first digital area array camera a and the image of the second digital area array camera b are digitally rearranged to obtain corresponding rearranged images.

[0089] In this embodiment, the spatial projection position posture adjustment parameter is the spatial projection posture difference between the second photographic digital image captured by the second digital area array camera b and the first photographic digital image captured by the first digital area array camera a. It can also be considered as the spatial projection posture difference between the first photographic digital image captured by the first digital area array camera a and the second photographic digital image captured by the second digital area array camera b. Therefore, the second photographic digital image or the first photographic digital image can be adjusted according to the spatial projection position posture adjustment parameter, and the first photographic digital image and the second photographic digital image can also be adjusted by half according to the spatial projection position posture adjustment parameter.

[0090] The rearranged images are used as digital images with correct projection posture in stereoscopic space.

[0091] After the computer device reads the left and right digital images with the error of the camera parameters eliminated, the projected images of the left and right images are deformed digital images because the images are shot in an inclined projection posture with an installation angle and the two left and right cameras have relative front-to-back, left-to-right, up-down and rotation installation errors. The left and right digital images are projected in different directions and have different deformations, and cannot directly form a three-dimensional image for observation. The image deformation must be corrected and the projected images must be rearranged to restore them to the correct digital image in the posture when shooting. The restoration principle is shown in Figure 3.

[0092] In one possible implementation, an image matching algorithm is used to obtain spatial projection position and posture adjustment parameters of the second digital image captured by the second digital area array camera b relative to the first digital image captured by the first digital area array camera a, including:

[0093] Search for multiple projection points with the same name on the first photographic digital image and the second photographic digital image, and obtain the spatial projection rotation angle and scaling correction value of the second photographic digital image relative to the first photographic digital image at the time of photographing based on the multiple projection points with the same name, so as to obtain the spatial projection position and posture adjustment parameters.

[0094] The process of restoring the correct digital image to its posture at the time of shooting is a computer-based error-free image matching calculation. The purpose of error-free image matching is to accurately find multiple projection points with the same name on the left and right images, calculate the spatial projection rotation angle and scaling correction value of the right image relative to the left image at the time of shooting, and calculate the relative spatial projection position and posture data results of the left and right cameras.

[0095] Eliminating the internal parameter error of the left and right digital images is to plan the focal length f and the image coordinate system of the left and right images to a unified parameter to construct stereoscopic vision.

[0096] As shown in FIG3 , a schematic diagram of a correct digital image principle for rearranging the spatial projection image to restore the spatial projection posture at the time of shooting is provided. In FIG3 , P1 is the left camera image, P2 is the right camera image, s1 is the focus of the left camera, s2 is the focus of the right camera, f1 is the focal length of the left camera, f2 is the focal length of the right camera, o1 is the center point of the left camera image, o2 is the center point of the right camera image, o1-xy is the left image coordinate system, o2-xy is the right image coordinate system, and O-XYZ coordinate system is based on the focus of the left camera image. The spatial projection correction coordinate system established parallel to f1 and the camera image coordinate system, o1-xy, κ, ω, Ф are the spatial projection rotation angles of the right camera image in the O-XYZ coordinate system, X2, Y2, Z2 are the spatial translations of the right camera image in the O-XYZ coordinate system, A and B are the spatial object points of the photography, a1 and b1 are the projection points of the spatial object points on the left image P1, a2 and b2 are the projection points of the spatial object points on the right image P2, and M is the stereo photography baseline, which is the distance between the focus of the left camera and the focus of the right camera.

[0097] Calculate the orientation and coordinates of the corresponding objects in the spatial coordinate system XYZ when the left and right cameras are photographed, match the results of the spatial projection intersection, the projection centers s1 and s2 of the left and right cameras, the spatial object points A and B of the stereoscopic object, the rotation orientation elements κ and Φ of the image in the spatial coordinate system XYZ, and the rotation angle ω. Calculate the rotation matrix R′, the spatial coordinates x′, y′, z′, and the relationship between the image point image coordinates x, y, and the camera lens focal length f is:

[0098] If the internal direction of the image in the spatial coordinate system XYZ is known

[0099] The position and direction of the object in the stereoscopic coordinate system XYZ

[0100] Where R0=R·(R′) -1

[0101] Obtain the relative spatial projection position and posture data results of the two cameras for the left and right images.

[0102] The left and right images are restored to their correct spatial projection orientation at the time of photography. These images are then transferred by a computer to a stereo display, where they form a stereoscopic image. Stereoscopic display observation uses frame-sequential active shutter, polarized light, and naked-eye stereo modes.

[0103] The digital image stereo microscope system and method for variable baseline cross-phase angle photography provided in the present application eliminates the manufacturing and installation errors of variable baseline phase angle photography and the manufacturing and pairing internal parameter errors of the two cameras by performing camera internal parameter correction and image space projection position posture correction on the first photographic image of the left camera and the second photographic image of the right camera, thereby reducing the system manufacturing and installation requirements.

[0104] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A digital stereoscopic microscope system for variable baseline cross-phase photography, characterized in that: It includes a first digital area array camera a, a second digital area array camera b, a computer data processing device and a stereo display; The first digital area array camera a and the second digital area array camera b are arranged on the same sliding translation mechanism, the sliding translation mechanism is provided with a central limit point, the first digital area array camera a and the second digital area array camera b are mirror-imaged and arranged on both sides of the central limit point, and the first digital area array camera a and the second digital area array camera b are at the same distance from the central limit point; the first digital area array camera a and the second digital area array camera b adopt the same model and the same lens focal length f, and the focal lengths of the first digital area array camera a and the second digital area array camera b are fixed, and the overlap of the images taken by the first digital area array camera a and the second digital area array camera b is kept greater than a set threshold value c; The first digital area array camera a and the second digital area array camera b synchronously capture digital images to obtain a first photographic digital image and a second photographic digital image, respectively, and transmit the first photographic digital image and the second photographic digital image to a computer data processing device; The computer data processing device is used to perform internal parameter correction and spatial projection position and posture correction on the first photographic digital image and the second photographic digital image, rearrange the digital images, obtain a digital image with a correct spatial projection posture, and transmit the digital image with a correct spatial projection posture to the stereoscopic display; The stereoscopic display is used to display a stereoscopic image or a video stereoscopic image of the photographed object according to the correct digital images of the spatial projection posture corresponding to the first digital area array camera a and the second digital area array camera b.

2. The digital image stereo microscope system of variable baseline cross-phase photography according to claim 1, characterized in that: When the first digital area array camera a moves, the second digital area array camera b moves in the opposite and equal amount to the first digital area array camera a.

3. The digital image stereo microscope system of variable baseline cross-phase photography according to claim 1, characterized in that: When the distance between the first digital area array camera a and the second digital area array camera b changes, the overlap of the images captured by the first digital area array camera a and the second digital area array camera b remains greater than a set threshold value c; Before and after the adjustment, the ratio K between the baseline distance B and the photographic distance H between the two digital area array cameras is kept unchanged, the baseline distance B represents the length of the connection between the two digital area array cameras, and the photographic distance H represents the distance from the baseline to the object to be photographed.

4. The digital image stereo microscope system of variable baseline cross-phase photography according to claim 3, characterized in that: The position parameters between the first digital area array camera a and the second digital area array camera b are set as: K=B1 / H1=B2 / H2=…Bn / Hn Δa1b1M1∽Δa2b2M2∽…ΔanbnMn ∠a1M1b1=∠a2M2b2=…∠anMnbn ∠Ra=∠Rb H1≠H2≠…Hn B1≠B2≠…Bn Among them, B1 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the first position, and H1 represents the photographic distance in the first position; B2 represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the second position, and H2 represents the photographic distance in the second position; Bn represents the baseline distance between the first digital area array camera a and the second digital area array camera b in the nth position, and Hn represents the photographic distance in the nth position; Δa1b1M1 represents the triangle formed by the point a1 where the first digital area array camera is located, the point b1 where the second digital area array camera is located, and the position M1 of the photographed object, ∽ represents that the two triangles are similar triangles, and Δa2b2M2 represents the triangle formed by the point a2 where the first digital area array camera is located, the point b2 where the second digital area array camera is located, and the position M2 of the photographed object , ΔanbnMn represents the triangle formed by the point an at which the first digital area array camera is located, the point bn at which the second digital area array camera is located, and the position Mn of the photographed object; ∠a1M1b1 represents the angle formed by the point a1 at which the first digital area array camera is located, the position M1 of the photographed object, and the point b1 at which the second digital area array camera is located; ∠a2M2b2 represents the angle formed by the point a1 at which the first digital area array camera is located, the position M2 of the photographed object, and the point b1 at which the second digital area array camera is located; ∠anMnbn represents the angle formed by the point a1 at which the first digital area array camera is located, the position Mn of the photographed object, and the point b1 at which the second digital area array camera is located; ∠Ra represents the angle between the shooting direction of the first digital area array camera a and the baseline B; and ∠Rb represents the angle between the shooting direction of the second digital area array camera b and the baseline B.

5. The digital image stereo microscope system of variable baseline cross-phase photography according to claim 4, characterized in that: The value ranges of the installation angle ∠Ra of the first digital area array camera a and the installation angle ∠Rb of the second digital area array camera b are both set to be 1°-15°.

6. The digital stereoscopic microscopy system of variable baseline cross-phase photography according to claim 4, characterized in that: The threshold value c corresponding to the overlap degree of the images captured by the first digital area array camera a and the second digital area array camera b is set to be maintained greater than >90%.

7. A digital image stereoscopic microscopy method based on the digital image stereoscopic microscopy system according to any one of claims 1 to 6, characterized in that: include: The first digital area array camera a is used to collect a first photographic digital image, and the second digital area array camera b is used to collect a second photographic digital image; Performing internal parameter correction and spatial projection position and posture correction on the first photographic digital image and the second photographic digital image by a computer data processing device to obtain a digital image with a correct spatial projection posture; The digital image with correct spatial projection posture is converted into three-dimensional image data through the three-dimensional display, and then displayed on the three-dimensional display Displayed on.

8. The digital image stereomicroscopy method according to claim 7, characterized in that: Perform internal parameter correction, including: A first calibration image of an intrinsic parameter calibration plate is captured by a first digital area array camera a; a second calibration image of the intrinsic parameter calibration plate is captured by a second digital area array camera b, wherein the intrinsic parameter calibration plate corresponds to reference calibration point coordinates; Obtaining coordinates of a first calibration point in the first calibration image and coordinates of a second calibration point in the second calibration image, and obtaining a first intrinsic parameter correction value between the coordinates of the first calibration point and the coordinates of the reference calibration point, and obtaining a second intrinsic parameter correction value between the coordinates of the second calibration point and the coordinates of the reference calibration point; The first photographic digital image is rearranged according to the first intrinsic parameter correction value, and the second photographic digital image is rearranged according to the second intrinsic parameter correction value, so as to eliminate image deformation caused by intrinsic parameter errors.

9. The digital image stereomicroscopy method according to claim 7, characterized in that: Perform spatial projection position and posture correction, including: Using an image matching algorithm, obtaining a spatial projection position and posture adjustment parameter of a second photographic digital image taken by the second digital area array camera b relative to the first photographic digital image taken by the first digital area array camera a; According to the spatial projection position and posture adjustment parameters, the digital images of the first digital array camera a and the second digital array camera b are rearranged to obtain corresponding rearranged images; The rearranged images are used as digital images with correct posture projection in stereoscopic photography space.

10. The digital image stereomicroscopy method according to claim 9, characterized in that: The image matching algorithm is used to obtain the spatial projection position and posture adjustment parameters of the second photographic digital image taken by the second digital area array camera b relative to the first photographic digital image taken by the first digital area array camera a, including: Search for multiple projection points with the same name on the first photographic digital image and the second photographic digital image, and obtain the spatial projection rotation angle and scaling correction value of the second photographic digital image relative to the first photographic digital image at the time of photography based on the multiple projection points with the same name, and obtain the spatial projection position and posture adjustment parameters.

Citation Information

Patent Citations

  • Active binocular depth sensing method of structured light

    CN103796004A

  • Three-dimensional measurement method, apparatus, and system, and image processing device

    CN104428624A

  • Device and method for detecting dust accumulation on basis of stereo vision

    CN108181319A

  • Digital image stereoscopic microscope system and method for variable-baseline alternating-phase-angle photography

    CN116300039A

  • Device for stereoscopic pictures with a base-defining system

    EP0146476A2