Video measuring instrument

By using a beam splitter and a rotary drive mechanism in the image measuring instrument to achieve rapid switching of the light source, the problem of the need for separate configuration of the light source device in the prior art is solved, thereby improving detection efficiency and accuracy.

CN120947485BActive Publication Date: 2026-04-28GOOD VISION PRECISION INSTR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GOOD VISION PRECISION INSTR CO LTD
Filing Date
2025-08-20
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In existing technologies, the light source device of an image measuring instrument needs to be configured and replaced individually according to the object being measured, resulting in cumbersome operation and low efficiency.

Method used

By employing a beam splitter prism and a rotation drive mechanism, the reflective surface of the beam splitter prism is rotated to align with the first and second light source components, respectively, thereby enabling the light source to switch between parallel light and diffused light without disassembly.

Benefits of technology

It simplifies the light source switching operation, avoids optical path calibration errors, ensures the consistency of measurement standards, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120947485B_ABST
    Figure CN120947485B_ABST
Patent Text Reader

Abstract

The application discloses an image measuring instrument, and relates to the technical field of visual detection.The image measuring instrument comprises an imaging device, a lens and a light source device.The light source device is used for irradiating a measured object and comprises a light splitting prism, a rotating driving mechanism, a first light source assembly and a second light source assembly.The rotating driving mechanism can drive the light splitting prism to rotate, the angle of the light splitting prism is adjusted, the reflecting surface of the light splitting prism is positioned opposite the first light source assembly or the second light source assembly, parallel light is output when the reflecting surface of the light splitting prism is positioned opposite the first light source assembly, and diffused light is output when the reflecting surface of the light splitting prism is positioned opposite the second light source assembly.The scheme can realize non-disassembly switching of the light source, the quick switching of the parallel light and the diffused light can be completed only by rotating the light splitting prism, the operation process is simplified, the light path calibration error caused by frequent disassembly and assembly is avoided, and the consistency of the measurement reference before and after the switching of the light source is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of visual inspection technology, and in particular to an image measuring instrument. Background Technology

[0002] In the field of visual imaging and inspection, measuring instruments need to be used in conjunction with light sources, and different object surface features have significantly different requirements for the type of light source. For example, for object surfaces with indistinct transition edge contrast, parallel light illumination is required to enhance edge sharpness; for object surfaces with strong transition edge contrast but many noise points, diffuse light illumination is required to filter out interference.

[0003] In existing technologies, various types of light sources are mostly independent devices. In practical applications, they need to be configured and replaced separately according to the object being detected, which leads to cumbersome operation and low efficiency. Summary of the Invention

[0004] This application provides an image measuring instrument that allows the light source of the image measuring instrument to switch between parallel light and diffused light.

[0005] The image measuring instrument provided in this application includes an imaging device, a lens, and a light source device; the light source device is used to illuminate the object being measured, and the light source device includes a beam splitter, a rotation drive mechanism, a first light source assembly, and a second light source assembly; the rotation drive mechanism can drive the beam splitter to rotate.

[0006] When the reflective surface of the beam splitter is rotated to a position opposite to the first light source assembly, the light beam emitted by the first light source assembly is reflected by the beam splitter to form parallel light, which then illuminates the surface of the object being measured.

[0007] When the reflective surface of the beam splitter is rotated to a position opposite to the second light source assembly, the light beam emitted by the second light source assembly is reflected by the beam splitter to form diffuse light, which then illuminates the surface of the object being measured.

[0008] The imaging device is configured correspondingly to the lens and is used to receive the light reflected from the object under test transmitted through the lens and to form an image.

[0009] Optionally, the imaging device, the lens, and the light source device are located at the center of the same optical axis.

[0010] Optionally, the rotation drive mechanism includes an angle rotation component and a rotation support component, wherein the rotation support component is used to provide rotational support for the beam splitter.

[0011] The angle rotation component is connected to the rotation support component by transmission. By driving the angle rotation component, the rotation support component is rotated, thereby driving the beam splitter to rotate.

[0012] Optionally, the rotating support assembly includes a first rotating shaft and a second rotating shaft; both ends of the beam splitter are connected to the first rotating shaft and the second rotating shaft respectively, and the second rotating shaft is fixedly connected to the angle rotation assembly.

[0013] Optionally, the light source device further includes a limiting mechanism, which is used to fix the position of the angle rotation component after the angle rotation component has rotated to the target position.

[0014] Optionally, the limiting mechanism includes a first positioning block and a second positioning block disposed on the rotation path of the angle rotation component;

[0015] When the angle rotation component rotates and comes into contact with the first positioning block, the reflective surface of the beam splitter is rotated to a position opposite to the light emission direction of the first light source component;

[0016] When the angle rotation component rotates and comes into contact with the second positioning block, the reflective surface of the beam splitter is rotated to a position opposite to the light emission direction of the second light source component.

[0017] Optionally, the limiting mechanism further includes a magnetic element disposed on the angle rotation component. When the angle rotation component rotates and abuts against the first positioning block or the second positioning block, the magnetic element attracts the first positioning block or the second positioning block.

[0018] Optionally, the first light source assembly includes a single LED light emitter and a focusing lens, wherein the light beam emitted by the single LED light emitter is converted into a parallel light beam by the focusing lens; the second light source assembly includes multiple LED light emitters and a diffuser plate, wherein the light beam emitted by the multiple LED light emitters is converted into a diffused light beam by the diffuser plate.

[0019] Optionally, the beam splitter is square in shape.

[0020] Optionally, the beam splitter is formed by bonding two isosceles right-angled triangular prisms with the same cross-sectional dimensions together at their inclined surfaces, and a beam splitting film is provided on the 45° inclined surface of one of the prisms, wherein the ratio of reflectivity to transmittance of the beam splitting film is 5:5.

[0021] The image measuring instrument provided in this application has the following beneficial effects:

[0022] The image measuring instrument provided in this application includes an imaging device, a lens, and a light source device. The light source device is used to illuminate the object being measured and includes a beam splitter, a rotation drive mechanism, a first light source assembly, and a second light source assembly. The rotation drive mechanism can drive the beam splitter to rotate. By adjusting the angle of the beam splitter, its reflective surface is aligned with either the first or second light source assembly. When the reflective surface of the beam splitter is aligned with the first light source assembly, parallel light is output; when the reflective surface of the beam splitter is aligned with the second light source assembly, diffuse light is output. This solution enables seamless switching of the light source without disassembly. The rapid switching between parallel and diffuse light can be achieved solely through the rotation of the beam splitter, simplifying the operation process and avoiding optical path calibration errors caused by frequent disassembly and assembly, thus ensuring the consistency of the measurement reference before and after light source switching. Attached Figure Description

[0023] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 A three-dimensional structural diagram provided for an embodiment of the image measuring instrument of this application;

[0026] Figure 2 A perspective structural diagram of an embodiment of the light source device of this application;

[0027] Figure 3 This is a cross-sectional view of the light source device according to an embodiment of this application;

[0028] Figure 4 This is another cross-sectional view of the light source device according to an embodiment of this application;

[0029] Figure 5 A state diagram of the rotation drive mechanism when the reflective surface of the beam splitter provided in the embodiment of this application is switched to the first light source assembly;

[0030] Figure 6 This is a schematic diagram of the optical path when the reflective surface of the beam splitter provided in the embodiments of this application is switched to the first light source assembly;

[0031] Figure 7 A state diagram of the rotation drive mechanism when the reflective surface of the beam splitter provided in the embodiment of this application is switched to the second light source assembly;

[0032] Figure 8 This is a schematic diagram of the optical path when the reflective surface of the beam-splitting prism provided in the embodiments of this application is switched to the second light source assembly;

[0033] Figure 9 A schematic diagram illustrating the working principle of the beam splitter provided in the embodiments of this application;

[0034] In the diagram, 100 is an image measuring instrument; 1 is a light source device; 11 is a beam splitter; 111 is a beam splitter film; 12 is a first light source assembly; 121 is a single LED light emitter; 122 is a condenser lens; 13 is a second light source assembly; 131 is an LED light emitter; 132 is a diffuser plate; 141 is an angle rotation assembly; 142 is a rotation support assembly; 1421 is a first rotation shaft; 1422 is a second rotation shaft; 151 is a front sealing plate; 152 is a lower sealing plate; and 153 is a... 154. Right sealing plate; 155. Top sealing plate; 156. Rear sealing plate; 161. Transparent glass; 162. Flange; 163. Light source sleeve; 171. Lamp holder; 172. First plug; 173. Second plug; 18. Limiting mechanism; 184. First positioning block; 185. Second positioning block; 186. Fine-tuning screw; 19. Lens; 20. Imaging device; 31. Light receiving surface; 20. Optical axis centerline; 31. Measured object; 22. Incident light; 33. Reflected light; 44. Transmitted light. Detailed Implementation

[0035] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0036] Image measuring instruments, also known as precision image mapping instruments, overcome the shortcomings of traditional projectors. They are new high-precision, high-tech measuring instruments integrating optics, mechanics, electronics, and computer imaging technology. An optical microscope performs high-magnification optical imaging of the object under test. After the magnified image is transmitted to a computer via a camera system, it can efficiently detect the contours, surface shapes, dimensions, angles, and positions of various complex workpieces, especially for the microscopic inspection and quality control of precision parts.

[0037] Please see Figure 1 This application provides an image measuring instrument 100, including an imaging device 3, a lens 2, and a light source device 1. The light source device 1 is used to illuminate the object A being measured, and the lens 2 is used to receive the light reflected from the object A being measured and transmit it to the imaging device 3. The imaging device 3 is correspondingly arranged with the lens 2 and is used to receive the light reflected from the object being measured transmitted through the lens 2 and to form an image.

[0038] In some embodiments, the imaging device 3, the lens 2, and the light source device 1 are located on the same optical axis centerline O. This reduces measurement errors caused by optical path offset, ensures that light is incident perpendicularly on the surface of the object being measured, and improves edge detection accuracy.

[0039] In some embodiments, the imaging device 3 employs a CCD sensor or a CMOS sensor. CCD sensors are suitable for static high-precision measurements, exhibiting high sensitivity and low noise characteristics, while CMOS sensors are suitable for dynamic, rapid measurements.

[0040] The light source device of this application embodiment is a dual-channel scanning imaging light source design, which can realize the switching of different types of light sources. The light source device of this application embodiment will be described in detail below.

[0041] Please see Figure 2-4 The light source device 1 includes a beam splitter 11, a rotation drive mechanism, a first light source assembly 12, and a second light source assembly 13. The rotation drive mechanism can drive the beam splitter 11 to rotate. When the reflective surface of the beam splitter 11 is rotated to a position opposite to the first light source assembly 12, the light beam emitted by the first light source assembly 12 is reflected by the beam splitter 11 to form parallel light, which illuminates the surface of the object being measured. When the reflective surface of the beam splitter 11 is rotated to a position opposite to the second light source assembly 13, the light beam emitted by the second light source assembly 13 is reflected by the beam splitter 11 to form diffuse light, which illuminates the surface of the object being measured.

[0042] In some embodiments, the first light source assembly 12 includes a single LED light emitter 121 and a focusing lens 122, wherein the light beam emitted by the single LED light emitter 121 is converted into a parallel light beam by the focusing lens 122; the second light source assembly 13 includes multiple LED light emitters 131 and a diffuser plate 132, wherein the light beam emitted by the multiple LED light emitters 131 is converted into a diffused light beam by the diffuser plate 132.

[0043] Specifically, such as Figure 2 As shown, the light source device 1 is housed within a housing, which includes multiple sealing plates. The front sealing plate 151 serves as the reference surface for the front end of the housing, with a lower sealing plate 152 connected below it and a right sealing plate 153 connected to its right side. The surface of the right sealing plate 153 has multiple grooves, which increase the contact area with air and accelerate heat dissipation, effectively reducing the temperature of the light source during operation. An upper sealing plate 154 is positioned parallel above the front sealing plate 151, forming a accommodating space perpendicular to the front sealing plate 151 with the lower sealing plate 152. The core optical components are installed inside this space.

[0044] Between the upper sealing plate 154 and the lower sealing plate 152, two grooves are formed along both sides of the beam splitter 11. A condenser lens 122 is fixed in one of the grooves, and a light source sleeve 162 is correspondingly provided on this side. A lamp holder 163 is connected to the inside of the light source sleeve 162 by threads. A single LED light emitter 121 is embedded in the center of the lamp holder 163. The condenser lens 122 and the single LED light emitter 121 cooperate to form the first light source assembly 12. A diffuser plate 132 is fixed in the groove on the other side. Multiple LED light emitters 131 are provided on the inner side of the sealing plate on this side. The multiple LED light emitters 131 are arranged in a regular and uniform manner, and cooperate with the diffuser plate 132 to form the second light source assembly 13.

[0045] The upper sealing plate 154 has an opening at the path of the reflected light from the corresponding object. A transparent glass 156 is embedded in the opening, and a flange 161 is installed on one side (near the condenser lens 122). The upper sealing plate 154 and the light source sleeve 162 are rigidly fixed through the bolt connection structure of the flange 161, which not only ensures the installation accuracy of the light source sleeve, but also enhances the structural stability of the housing. The transparent glass design can effectively isolate external dust and prevent the core optical components such as the condenser lens and beam splitter from being contaminated and affecting their performance. On the other hand, after the light from the light source device shines on the object surface, the light reflected from the object surface can be smoothly transmitted to the lens through the transparent glass, which can minimize the loss of reflected light during transmission and ensure image quality.

[0046] In some implementation methods, please participate Figure 2 and Figure 4 The rotary drive includes an angle rotation component 141 and a rotation support component 142. The rotation support component 142 is used to provide rotational support for the beam splitter 11. The angle rotation component 141 is connected to the rotation support component 142 by transmission. By driving the angle rotation component 141 to drive the rotation support component 142 to rotate, the beam splitter 11 will be rotated.

[0047] For example, the angle rotation assembly 141 is disposed on the outer wall of the housing, such as on the surface of the front end plate 151. The rotation support assembly 142 is disposed in the receiving space of the housing.

[0048] For example, the angle rotation component 141 employs an angle rotation switch for easy manual operation.

[0049] In some embodiments, the rotating support assembly 142 includes a first rotating shaft 1421 and a second rotating shaft 1422; the two ends of the beam splitter 11 are respectively connected to the first rotating shaft 1421 and the second rotating shaft 1422, and the second rotating shaft 1422 is fixedly connected to the angle rotating assembly 11.

[0050] Specifically, the outer end face of the first rotating shaft 1421 is provided with a spindle, which is interference-fitted with the inner ring of the bearing 19, and the outer ring of the bearing 19 is clearance-fitted with the center hole of the rear sealing plate 155 of the housing to achieve rotational support; the inner end face of the first rotating shaft 1421 is provided with a groove that matches the end of the beam splitter prism 11. The groove can be a square groove, and one end of the beam splitter prism 11 is bonded and fixed in the groove to ensure connection rigidity.

[0051] The inner end face of the second rotating shaft 1422 is also provided with a groove, which is bonded and fixed to the other end of the beam splitter 11 and maintains coaxiality with the first rotating shaft 1421. The outer end face of the second rotating shaft 1422 is fitted with the inner ring of another bearing, and the outer ring of the bearing is fitted with the center hole of the front cover plate 151. The end of the spindle is fixedly connected to the angle rotating assembly 141 by a screw, so that the rotational force of the angle rotating assembly can be directly transmitted to the second rotating shaft.

[0052] In some implementation methods, please participate Figure 2 The light source device also includes a limiting mechanism 18, which is used to fix the position of the angle rotation component 141 after it has rotated to the target position.

[0053] In some embodiments, the limiting mechanism 18 includes a first positioning block 181 and a second positioning block 182. The first positioning block 181 and the second positioning block 182 are arranged at intervals along the rotation path of the angle rotation assembly 141, and the included angle between the first positioning block 181 and the second positioning block 182 corresponds to the switching angle of the beam splitter 11. When the angle rotation assembly 141 rotates and abuts against the first positioning block 181, the reflective surface of the beam splitter 11 is rotated to a position opposite to the light emission direction of the first light source assembly 12; when the angle rotation assembly 141 rotates and abuts against the second positioning block 182, the reflective surface of the beam splitter 11 is rotated to a position opposite to the light emission direction of the second light source assembly 13.

[0054] As an example, see Figure 5-6 With the reference axis perpendicular to the front cover plate as a reference (which can be understood as the optical axis centerline O), when the angle rotation assembly 141 rotates to abut against the first positioning block 181, the angle rotation assembly 141 forms a -45° angle with the optical axis centerline O. Since the angle rotation assembly 141 is rigidly connected to the beam splitter 11 through a rotation shaft, the rotation angle of the beam splitter 11 at this time is -45° relative to the initial position (optical axis centerline O). This angle causes the reflecting surface of the beam splitter 11 to face the parallel light path of the first light source assembly 12, forming a 45° incident angle with the parallel light beam. According to the law of reflection of light, the parallel light achieves a 90° turn after reflection, satisfying the optical path requirement of perpendicularly illuminating the object under test.

[0055] Please see Figure 7-8 When the angle rotation component 141 rotates to abut against the second positioning block 182, the angle rotation component 141 forms a +45° angle with the optical axis centerline O, corresponding to a +45° rotation angle of the beam splitter 11 relative to its initial position (optical axis centerline O). At this time, the reflective surface of the beam splitter 11 turns towards the diffuse light path of the second light source component 13. After reflection, the diffuse light also achieves a 90° turn, ultimately illuminating the surface of the object under test in a uniform diffuse state, ensuring that the illumination effect of the diffuse light meets the detection requirements.

[0056] In some embodiments, the limiting mechanism 18 further includes a magnetic element (not shown) disposed on the angle rotation assembly 141. When the angle rotation assembly 141 rotates and abuts against the first positioning block 181 or the second positioning block 182, the magnetic element attracts the first positioning block 181 or the second positioning block 182.

[0057] Specifically, the angle rotation assembly has a circular hole in which a magnetic element (such as a cylindrical magnet) is embedded. When the angle rotation assembly 141 abuts against the first positioning block 181 or the second positioning block 182, the magnetic element is attracted to the first positioning block 181 or the second positioning block 182, ensuring that the angle rotation assembly does not loosen when subjected to external impact (such as equipment vibration).

[0058] In some embodiments, the limiting mechanism 18 further includes fine-tuning screws 183 disposed on the first positioning block 181 and the second positioning block (only the fine-tuning screw on the second positioning block is shown in the figure). When the angle rotation component 141 is attracted to the first positioning block 181 or the second positioning block 182, by tightening or loosening the fine-tuning screws 184 on the first positioning block 181 or the second positioning block 182, the angle rotation component can be pushed to produce a slight deflection, thereby finely calibrating the reflecting surface angle of the beam splitter, compensating for accumulated assembly errors, and ensuring the accuracy of optical path switching.

[0059] In some implementations, such as Figure 2 As shown, the light source device 1 also includes a first plug 171 and a second plug 172. The first plug 171 is the power supply interface for a single LED light-emitting body 121, and the second plug 172 is the power supply interface for multiple LED light-emitting bodies 131.

[0060] In some embodiments, the beam splitter 11 adopts a square structure design, specifically formed by bonding two isosceles right-angled triangular prisms with the same cross-sectional dimensions together at an angle. One of the prisms has a beam-splitting film on its 45° inclined surface, and the reflectivity to transmittance ratio of the beam-splitting film is 5:5. This design enables the beam splitter prism to simultaneously realize the dual functions of reflecting illumination light and transmitting imaging light.

[0061] Please see Figure 9 , Figure 9 The diagram illustrates the working principle of a beam splitter prism. Incident light S passes through the beam splitter 111 and is reflected by the beam splitter 111 to form reflected light T, which illuminates the surface of the object A being measured. The light reflected back from the surface of the illuminated object A, i.e., transmitted light Y, is projected again onto the beam splitter 111 and transmitted to the light-receiving surface 31 of the imaging device 3. When incident light S is projected onto the beam splitter 111, 50% of the light is reflected back to the surface of the object A being measured (for illumination). When the light reflected back from the illuminated object is projected back onto the beam splitter 111, 50% of the light passes through the beam splitter 111 and is transmitted to the light-receiving surface 31 of the imaging device, ultimately completing the imaging process. This structure achieves optical path multiplexing through a single optical element, simplifying the device structure while ensuring the coaxiality of the illumination light and the imaging light.

[0062] In some embodiments, the emitting surface of the light source device 1 is designed as a rectangular area with an aspect ratio of 3:1. This design is an optimized choice that comprehensively adapts to different application scenarios: for static imaging scenarios using area array CCDs, the rectangular emitting surface can cover its imaging field of view and provide uniform coaxial illumination; for dynamic scanning scenarios using linear array CCDs, the elongated emitting area can match the linear imaging characteristics of the linear array sensor, reduce ineffective illumination areas, and improve light utilization.

[0063] The coaxial dual-optical-path design of the light source device in this embodiment can be specifically adapted to different object surface features. Parallel light is suitable for object surfaces with indistinct contrast at transition edges. The perpendicular and parallel beams can enhance the light transmission of the lens, improve the contrast at the transition of feature edges, and make the imaging details clearer. Diffuse light is suitable for object surfaces with strong contrast at transition edges but many noise interferences. While ensuring imaging clarity, the diffuse characteristics can effectively filter out noise and reduce the impact of noise on the measurement.

[0064] By combining the shape of the light-emitting surface with the characteristics of dual optical paths, the light source device can flexibly meet diverse detection needs and improve the versatility and detection accuracy of the image measuring instrument.

[0065] In some embodiments, the image measuring instrument further includes:

[0066] The processing unit is used to identify the surface features of the object under test and determine the light source mode that matches the object under test based on the surface features.

[0067] The control unit is used to control the light source device to switch to a matching light source mode based on the results of the processing unit.

[0068] The light source mode is either parallel light mode or diffuse light mode.

[0069] Specifically, identifying the surface features of the object being measured and determining the light source mode that matches the current object based on the surface features can include:

[0070] In the initial light source mode, the imaging device acquires the original image of the surface of the object being measured, and the original image is preprocessed.

[0071] Edge extraction is performed on the preprocessed image, and the contrast between the extracted edge pixels and the image background pixels is calculated.

[0072] Identify all breakpoints in the image and calculate the proportion of breakpoints;

[0073] Identify all noise in the image and calculate the noise density and distribution variance;

[0074] If the contrast is less than the first threshold and the proportion of breakpoints is greater than the second threshold, then the light source mode matched with the current object under test is determined to be the parallel light mode.

[0075] If the noise density is greater than the third threshold and the distribution variance is greater than the fourth threshold, then the light source mode that matches the current object being measured is determined to be the diffuse light mode.

[0076] The first, second, third, and fourth thresholds mentioned above are set based on experience, and this application does not limit them.

[0077] In some implementations, preprocessing the original image may include:

[0078] Gaussian filtering is used to remove random noise from the original image, and an adaptive threshold segmentation algorithm is used to separate the object region from the background. Then, histogram equalization is performed on the segmented object region.

[0079] In some implementations, the Canny operator can be used to extract edges from the preprocessed image.

[0080] In some implementations, the contrast between the extracted edge pixels and the image background pixels is calculated.

[0081] Including:

[0082] For the detected edge pixels, calculate the grayscale difference between the edge pixel and all background pixels within its preset neighborhood, and take the average of all grayscale differences as the contrast ratio.

[0083] In some implementations, identifying breakpoints in an image and calculating the proportion of breakpoints may include:

[0084] By using a contour tracking algorithm, the edge pixels in the image are traversed, and the continuous edge pixel sequence is fitted into a straight line segment to obtain several edge line segments.

[0085] Calculate the distance between two adjacent edge segments. If the distance is greater than the preset gap threshold, it is determined that there is a break between the two edge segments and recorded as a break point. Otherwise, they are continuous edges and are not recorded as break points.

[0086] Count the total number of break points;

[0087] Calculate the length of each edge segment, and sum the lengths of all segments to obtain the total edge length;

[0088] Calculate the ratio of the total number of break points to the total edge length to obtain the proportion of break points.

[0089] For example, the contour tracking algorithm can employ an eight-neighbor contour tracking algorithm.

[0090] In some implementations, identifying all noise in an image and calculating the noise density and distribution variance may include:

[0091] Within the object region, morphological operations are used to remove connected components with pixel areas smaller than a preset threshold, and the remaining discrete points are identified as noise points.

[0092] The total number of noise points is counted, and the total number of noise points is divided by the area of ​​the object region to obtain the noise density.

[0093] Establish a coordinate system with the center of the object region as the origin, and calculate the distribution variance of all noise points based on the coordinates of each noise point.

[0094] The above solution can automatically match the light source mode by quantitatively analyzing the characteristics of the tested object, such as edge contrast, break point ratio, and noise density, without manual intervention. This solves the problem of traditional equipment relying on operator experience to adjust the light source and reduces human error.

[0095] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. An image measuring instrument, characterized in that, It includes an imaging device (3), a lens (2), and a light source device (1); the light source device (1) is used to illuminate the object under test, and the light source device (1) includes a beam splitter (11), a rotation drive mechanism, a first light source assembly (12), and a second light source assembly (13). The first light source assembly (12) includes a condenser lens (122), and the second light source assembly (13) includes a diffuser plate (132); the rotation drive mechanism can drive the beam splitter (11) to rotate; When the reflective surface of the beam splitter (11) is rotated to a position opposite to the first light source assembly (12), the light beam emitted by the first light source assembly (12) is converted into a parallel light beam by the condenser lens (122) and then reflected by the beam splitter (11) to illuminate the surface of the object being measured. When the reflective surface of the beam splitter (11) is rotated to a position opposite to the second light source assembly (13), the light beam emitted by the second light source assembly (13) is converted into a diffused light beam by the diffuser plate (132), and then reflected by the beam splitter (11) to illuminate the surface of the object being measured. The imaging device (3) is configured correspondingly to the lens (2) and is used to receive the light reflected from the object being measured transmitted through the lens (2) and to form an image.

2. The image measuring instrument as described in claim 1, characterized in that, The imaging device (3), the lens (2), and the light source device (1) are located on the same optical axis center line.

3. The image measuring instrument as described in claim 1, characterized in that, The rotation drive mechanism includes an angle rotation component (141) and a rotation support component (142), the rotation support component (142) being used to provide rotational support for the beam splitter (11); The angle rotation component (141) is connected to the rotation support component (142) by transmission. By driving the angle rotation component (141) to drive the rotation support component (142) to rotate, the beam splitter (11) will be rotated.

4. The image measuring instrument as described in claim 3, characterized in that, The rotating support assembly (142) includes a first rotating shaft (1421) and a second rotating shaft (1422); the two ends of the beam splitter (11) are respectively connected to the first rotating shaft (1421) and the second rotating shaft (1422), and the second rotating shaft (1422) is connected to the angle rotating assembly (141).

5. The image measuring instrument as described in claim 3, characterized in that, The light source device also includes a limiting mechanism (18), which is used to fix the position of the angle rotation component (141) after the angle rotation component (141) is rotated to the target position.

6. The image measuring instrument as described in claim 5, characterized in that, The limiting mechanism (18) includes a first positioning block (181) and a second positioning block (182) disposed on the rotation path of the angle rotation component (141). When the angle rotation component (141) rotates and abuts against the first positioning block (181), the reflective surface of the beam splitter (11) is rotated to a position opposite to the light emission direction of the first light source component (12); When the angle rotation component (141) rotates and comes into contact with the second positioning block (182), the reflective surface of the beam splitter (11) is rotated to a position opposite to the light emission direction of the second light source component (13).

7. The image measuring instrument as described in claim 6, characterized in that, The limiting mechanism (18) further includes a magnetic element disposed on the angle rotation component (141). When the angle rotation component (141) rotates and abuts against the first positioning block (181) or the second positioning block (182), the magnetic element attracts the first positioning block (181) or the second positioning block (182).

8. The image measuring instrument as described in claim 1, characterized in that, The first light source assembly (12) includes a single LED light emitter (121) and a focusing lens (122), wherein the light beam emitted by the single LED light emitter (121) is converted into a parallel light beam by the focusing lens (122); the second light source assembly (13) includes multiple LED light emitters (131) and a diffuser plate (132), wherein the light beam emitted by the multiple LED light emitters (131) is converted into a diffused light beam by the diffuser plate (132).

9. The image measuring instrument as described in claim 1, characterized in that, The beam splitter (11) is square in shape.

10. The image measuring instrument as described in claim 9, characterized in that, The beam splitter (11) is formed by bonding two isosceles right-angled triangular prisms with the same cross-sectional dimensions together at their inclined surfaces. One of the prisms has a beam splitting film on its 45° inclined surface. The ratio of the reflectivity to the transmittance of the beam splitting film is 5:5.

Citation Information

Patent Citations

  • Solid double-light-source module and cold light shadowless illumination device

    CN103244862A

  • Detection combined light source and visual detection device

    CN223137735U