Intelligent gem specimen parameter measurement device and method
Through the automated measurement technology of the intelligent gem specimen parameter measurement device, the problems of large manual measurement errors and low efficiency are solved, the shape, size, density and other parameters of the gem sample are quickly and accurately measured and shared, and the update and sharing of resource information are improved. Shared efficiency.
Patent Information
- Application Number
- CN202010259078.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-03
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2040-04-03
AI Technical Summary
The resource sharing of existing gem and jade specimens is poor. Manual measurement has large errors and low efficiency, and it is impossible to update shared parameter information in a timely manner.
An intelligent gem specimen parameter measurement device is designed, including a high-definition camera, a CCD industrial camera, a weighing balance and a density measurement unit. Through image processing algorithms and automated measurement technology, it can automatically measure the shape, size, density and other parameters of gem samples. Measure and update quickly.
It improves the efficiency and accuracy of gem parameter measurement, reduces manual measurement errors, enables rapid sharing of parameters, and improves the efficiency of updating and sharing resource information.
Smart Images

Figure CN111272230B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of parameter measurement of gemstones, and in particular to an intelligent gemstone specimen parameter measurement device and method. Background Art
[0002] The existing sharing of gemstone specimen resources is not good enough, especially the characteristic gemstone specimen images and spectroscopic characteristic information (such as weight, size, density, shape and other characteristics, etc.) used in the education industry, there is basically no shared information.
[0003] One of the important reasons why the resource information of gemstone specimens cannot be shared is that the existing gemstone specimens are basically measured manually, and the results of manual measurement have large errors, and the consistency and credibility of the measured parameters are low. In addition, manual measurement is inefficient, and the measurement time of various parameters of the specimen is long and inefficient, and new specimen parameters often cannot be updated and shared in a timely manner. Summary of the invention
[0004] In view of the problems existing in the prior art, the main purpose of the present invention is to provide an intelligent gem specimen parameter measuring device, which can realize automatic measurement of multiple parameters of gem specimens, has high measurement efficiency, small error, and can adapt to the rhythm of rapid update and sharing of parameters of new specimens.
[0005] To achieve the above-mentioned purpose, the present invention proposes an intelligent gem specimen parameter measuring device, which includes a workbench and a shooting unit, a size measuring unit and a density measuring unit sequentially arranged on the workbench, wherein the workbench has a first measuring station, a second measuring station and a third measuring station corresponding to the shooting unit, the size measuring unit and the density measuring unit one by one;
[0006] The shooting unit includes a high-definition camera arranged directly above the first measuring station, and top light sources symmetrically arranged on both sides of the high-definition camera, wherein the light emitting surface of the top light source faces the first measuring station;
[0007] The dimension measuring unit comprises a first weighing balance arranged at the second measuring station, a telecentric parallel light source arranged on the first weighing balance, the light emitting surface of the telecentric parallel light source has a bearing area, a CCD industrial camera is arranged above the bearing area, and a telecentric lens facing the bearing area of the telecentric parallel light source is arranged at the lens end of the CCD industrial camera;
[0008] The density measurement unit includes a second weighing scale disposed at the third measurement station, and a "C"-shaped bracket disposed on the second weighing scale. A hanging basket is suspended on the "C"-shaped bracket. A sieve is provided at the lower end of the hanging basket. When measuring the density, the gemstone is placed in the sieve. A container filled with a liquid medium is provided below the hanging basket, and the sieve is located in the liquid medium of the container.
[0009] Preferably, the output ends of the high-definition camera, the CCD industrial camera, the first weighing scale, and the second weighing scale are all connected to a computer terminal.
[0010] Preferably, an installation groove is provided at the first measurement station, and a carrier plate is detachably provided in the installation groove.
[0011] Preferably, the workbench is provided with an installation cavity surrounded by a plurality of side plates. A cover plate for closing the installation cavity is provided at the opening of the installation cavity. The first weighing scale and the second weighing scale are arranged in the installation cavity. The lower end of the telecentric parallel light source passes through the cover plate and is connected to the first weighing scale. A T-shaped round platform is provided on the second weighing scale. The bottom of the T-shaped round platform is fixed on the second weighing scale, and its top passes through the cover plate. The bottom of the "C"-shaped bracket is fixed on the top of the T-shaped round platform.
[0012] Preferably, the bottom of the workbench is provided with a plurality of adjustable feet.
[0013] The present invention also provides an intelligent gemstone specimen parameter measurement method, including the following steps:
[0014] Step S1, shape measurement, specifically:
[0015] Step S11, collecting an image of the gemstone sample through a CCD industrial camera, converting the collected image into a grayscale value, and then calculating the edge contour of the gemstone sample in the image through an edge detection algorithm;
[0016] Step S12, matching the obtained edge contour with a pre-stored gemstone shape template, and taking the shape template with the highest matching degree as the contour shape of the gemstone sample;
[0017] Step S2, size measurement, specifically:
[0018] Step S21, calculating the maximum inscribed circle, the minimum circumscribed circle, and the minimum circumscribed rectangle of the contour shape through an image processing algorithm;
[0019] Step S21, according to the type of the contour shape of the gemstone sample, if the contour shape is an arc type or a type biased towards an arc type, the diameter R1 of the maximum inscribed circle is used as the width of the gemstone sample, and the diameter R2 of the minimum circumscribed circle is used as the length of the gemstone sample;
[0020] If the outline shape is rectangular or tends to be rectangular, the length and width of the smallest circumscribed rectangle shall be used as the length and width of the gemstone sample;
[0021] Step S3, density measurement, specifically:
[0022] Step S31, using a first weighing balance to measure the weight of the gemstone sample in the air, recorded as m 1 ;
[0023] Step S32, measuring the weight of the gemstone sample in the liquid medium by a second weighing balance, recorded as m 2 ;
[0024] Step S33, according to the density measurement formula Among them, ρ 1 is the density of the gemstone sample, ρ 2 is the density of the liquid medium.
[0025] Preferably, in step S12, when matching the acquired edge contour with the pre-stored gem shape template, if the maximum value of the matching degree of all shape templates is lower than 60%, it is considered that the matching fails, and the contour shape of the gem sample is considered as an irregular shape type.
[0026] Preferably, in step S21, if the matching degree of the contour shape of the gemstone sample with the arc shape template is higher than or equal to its matching degree with the rectangular shape template, then the contour shape of the gemstone sample is considered to be biased towards the arc type; conversely, if the matching degree of the contour shape of the gemstone sample with the rectangular shape template is higher than or equal to its matching degree with the arc shape template, then the contour shape of the gemstone sample is considered to be biased towards the rectangular type.
[0027] The intelligent gemstone specimen parameter measurement device provided by the technical solution of the present invention can realize automatic measurement of the weight, shape, size, density and other parameter values of gemstone samples, and obtain the effect picture of gemstone samples at the same time, greatly improving the efficiency of gemstone parameter measurement. The measured parameter values are calculated based on image processing algorithms, with small relative errors, effectively avoiding the problems of poor consistency and low credibility of manual measurement; at the same time, the measured parameters can be directly transmitted to the computer terminal, and directly uploaded to the system after being processed by the computer terminal, effectively improving the efficiency of parameter sharing. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is an overall schematic diagram of an embodiment of an intelligent gem specimen parameter measuring device of the present invention;
[0029] Figure 2 It is an internal schematic diagram of an embodiment of an intelligent gem specimen parameter measuring device of the present invention;
[0030] In the attached reference numerals:
[0031] 100 - Workbench, 110 - Side plate, 120 - Cover plate, 130 - Foot cup, 141, 142 - Support;
[0032] 210 - High - definition camera, 220 - Side light source, 230 - Carrying plate;
[0033] 310 - First weighing scale, 320 - Telecentric parallel light source, 330 - CCD industrial camera, 331 - Telecentric lens;
[0034] 410 - Second weighing scale, 420 - "C" - shaped bracket, 430 - Hanging basket, sieve - 431, 440 - Container, 441 - Bracket. Specific embodiments
[0035] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0036] Please refer to the attached instructions Figure 1 An intelligent gem specimen parameter measuring device is proposed in the embodiments of the present invention. The intelligent gem specimen parameter measuring device includes a workbench 100, and a first measuring station, a second measuring station, and a third measuring station are sequentially arranged on the workbench 100 from left to right. A photographing unit is provided at the first measuring station for collecting an appearance effect image of a gem sample. A dimension measuring unit is provided at the second measuring station for measuring the shape and dimensions of the gem sample. A density measuring unit is provided at the third measuring station for measuring the density of the gem sample.
[0037] The photographing unit includes a high - definition camera 210 and two top light sources 220. The high - definition camera 210 is located directly above the first measuring station and is fixed on a support 141 vertically arranged on the workbench 100. The high - definition camera 210 is also connected to a computer terminal and can directly upload the collected gem images to the computer terminal for storage. The two top light sources 220 are distributed on the periphery of the high - definition camera 210. One of the top light sources 220 is fixed on the support, and the other top light source 220 is fixed on the opposite side through a U - shaped lamp post. The light - emitting surfaces of the two top light sources 220 both face the photographing area of the first measuring station. During shooting, the brightness of the two top light sources 220 can be adjusted respectively to achieve an effect similar to that of a shadowless lamp, so that the appearance pictures of the photographed gem samples can achieve a better effect.
[0038] The dimension measuring unit includes a first weighing balance 310, a telecentric parallel light source 320 and a CCD industrial camera 330. The first weighing balance 310 is horizontally arranged on the second measuring station, and the telecentric parallel light source 320 is vertically arranged on the first weighing balance 310. The top surface of the telecentric parallel light source 320 is a light-emitting surface, and the light-emitting surface has a bearing area. During measurement, the gem sample is placed in the bearing area. The CCD industrial camera 330 is located above the telecentric parallel light source 320 and is coaxial with the telecentric parallel light source 320, and is fixed on a support 142 vertically arranged on the workbench 100. The lens end of the CCD industrial camera 330 is provided with a coaxial telecentric lens 331, and the telecentric lens 331 cooperates with the telecentric parallel light source 320 to effectively improve the grayscale value resolution of the image and greatly ensure the clarity and accuracy of the image contour.
[0039] During measurement, the gemstone sample is placed in the bearing area of the telecentric parallel light source 320, and the weight of the gemstone sample in the air is measured by the first weighing balance 310, and the measured weight is output to the computer terminal, which is recorded as m 1 , so that the density of the gemstone samples can be measured later.
[0040] At the same time, the gem image is collected by the CCD industrial camera 330, and then the acquired gem image is output to the computer terminal connected to the CCD industrial camera 330, and the shape calculation and size calculation are performed by the image processing system built into the computer terminal. Specifically, the specific process of the image processing system performing shape calculation and size calculation is as follows:
[0041] Step S1, shape measurement, specifically:
[0042] Step S11, reading the gem sample image transmitted by the CCD industrial camera 330, performing grayscale value conversion on the gem sample image, and then calculating the edge contour model of the gem sample by an edge detection algorithm (such as the Canny algorithm).
[0043] Step S12, matching the acquired edge contour model with various pre-stored shape templates of gemstones one by one, calculating the matching degree between the edge contour model and each shape template, and taking the shape template with the highest matching degree as the contour shape of the gemstone sample to be tested.
[0044] In order to ensure the accuracy of shape measurement, in step S12, when the acquired edge contour model is matched with the pre-stored shape template, if the maximum value of the matching degree of all shape templates is less than 60%, it is regarded as a matching failure, and the contour shape of the gemstone sample is regarded as an irregular shape type or an unknown shape type.
[0045] For gemstone samples with irregular or unknown shapes, the shape template with the highest degree of matching with the edge contour model of the gemstone sample is taken as the biased shape type of the gemstone sample. For example, if the edge contour model of the gemstone sample to be measured has the highest degree of matching with a certain circular arc-shaped template, the gemstone shape is classified as biased towards the circular arc type; if the edge contour model of the gemstone sample to be measured has the highest degree of matching with a certain rectangular-shaped template, the shape of the gemstone sample is classified as biased towards the rectangular type. Thus, it is convenient to calculate the size of gemstone samples with irregular or unknown shapes in the subsequent process.
[0046] Step S2, size measurement, specifically:
[0047] Step S21, calculate the maximum inscribed circle, minimum circumscribed circle, and minimum circumscribed rectangle of the contour shape according to the image processing algorithm. Among them, the maximum inscribed circle refers to constructing a circle with a known radius inside the gemstone contour model, and by continuously increasing the radius of the circle, the circle expands inside the gemstone contour model until the points on the circle are just not inside the contour, and the finally obtained circle is the maximum inscribed circle. The minimum circumscribed circle refers to constructing a circle with a known radius outside the gemstone edge contour model that can enclose the gemstone edge contour, and gradually reducing the radius of the circle, so that the circle shrinks until the points on the edge contour fall on the circle, and the finally obtained circle is the minimum circumscribed circle. Similarly, the minimum circumscribed rectangle is obtained in the same way as the minimum circumscribed circle.
[0048] Step S21, calculate the size of the gemstone sample according to the type of the contour shape of the gemstone sample. If the shape template with the best match of the contour shape is the circular arc type, the diameter R1 of the maximum inscribed circle is used as the width of the gemstone sample, and the diameter R2 of the minimum circumscribed circle is used as the length of the gemstone sample. If the shape template with the best match of the contour shape is the circular arc type, the length and width dimensions (a*b) of the minimum circumscribed rectangle are used as the length and width dimensions of the gemstone sample. By calculating the size of the gemstone sample according to the shape type of the gemstone sample, the measured size value can be made more accurate.
[0049] The density measurement unit includes a second weighing balance 410 and a "C"-shaped bracket 420. The second weighing balance 410 is fixed on the third measurement station. The bottom of the "C"-shaped bracket 420 is fixed on the second weighing balance 410. A hanging basket 430 is suspended at the top of the "C"-shaped bracket 420, and a sieve 431 is provided at the lower end of the hanging basket 430. A container 440 filled with a liquid medium is provided on the third measurement station, and this container 440 is located below the hanging basket 430, and the sieve 431 is suspended in the liquid medium of the container 440.
[0050] During measurement, the hanging basket 430 is taken out from the "C"-shaped bracket 420, and the gemstone sample to be measured is placed on the sieve 431 and then put into the container 440 and hung on the "C"-shaped bracket 420. The weight of the gemstone sample in the liquid medium is measured by the second weighing balance 410, and the measured weight data is output to the computer terminal and recorded as m. 2 According to the density measurement formula built into the computer terminal the density of the gemstone sample is calculated. Among them, ρ2 is the density of the liquid medium.
[0051] In this embodiment, the liquid medium used is distilled water, and its density is 1 g / cm 3 .
[0052] The intelligent gemstone specimen parameter measuring device provided by the technical solution of the present invention can automatically measure parameter values such as the weight, shape, size, and density of the gemstone sample, and at the same time obtain the effect pictures of the gemstone sample, greatly improving the efficiency of gemstone parameter measurement. The measured parameter values are all calculated based on the image processing algorithm, with a small relative error, effectively avoiding the problems of poor consistency and low credibility in manual measurement; at the same time, the measured parameters can be directly transmitted to the computer terminal and directly uploaded to the system after being processed by the computer terminal, effectively improving the efficiency of parameter sharing.
[0053] Preferably, on the basis of the above embodiment, there is an installation cavity surrounded by several side plates 110 on the workbench 100. The cavity opening of the installation cavity is provided with a cover plate 120 for closing the installation cavity. The first weighing balance 310 and the second weighing balance 410 are arranged in the installation cavity. The lower end of the telecentric parallel light source 320 passes through the cover plate 120 horizontally and is fixed on the first weighing balance 310. There is a T-shaped round table 411 on the second weighing balance 410. The bottom of the T-shaped round table 411 is fixed on the second weighing balance 410, and its top passes through the cover plate 120. The bottom of the "C"-shaped bracket 420 is fixed on the top of the T-shaped round table 411. A bracket 441 is provided at the position of the cover plate 120 relative to the hanging basket 430, and the container 440 is fixed on the bracket 441. By arranging the first weighing balance 310 and the second weighing balance 410 in the closed installation cavity, it can effectively prevent other objects from falling on the first weighing balance 310 and the second weighing balance 410 during the measurement process and affecting the measurement results, ensuring the accuracy of the measurement data.
[0054] Preferably, on the basis of the above embodiment, an installation groove is provided at the position of the cover plate opposite to the high-definition camera 210, and a carrier plate 230 is arranged in the installation groove. The carrier plate 230 can be set in a variety of colors. When photographing gemstone samples of different colors, the carrier plate 230 of different colors can be replaced to suit gemstone samples of different colors, making the photo effect of the gemstone sample better.
[0055] Preferably, on the basis of the above embodiment, a plurality of adjustable foot cups 130 are provided at the bottom of the workbench 100. By providing the foot cups 130, the horizontality of the workbench 100 can be adjusted to ensure accurate measurement of the first weighing scale 310 and the second weighing scale 410.
[0056] The above description is only a preferred embodiment of the present invention and is not intended to be construed as limiting the present invention. Any minor modifications, equivalent substitutions and improvements made to the above embodiments based on the technical essence of the present invention should be included in the protection scope of the technical solution of the present invention.
Claims
1. A method for measuring parameters of intelligent gemstone specimens, characterized in that: It is realized by using an intelligent gem specimen parameter measuring device, which includes: A workbench, and a photographing unit, a dimension measuring unit, and a density measuring unit sequentially arranged on the workbench. There are a first measuring station, a second measuring station, and a third measuring station on the workbench that correspond one-to-one to the photographing unit, the dimension measuring unit, and the density measuring unit respectively; The photographing unit includes a high-definition camera arranged directly above the first measuring station, and top light sources symmetrically arranged on both sides of the high-definition camera. The light-emitting surface of the top light source faces the first measuring station; The dimension measuring unit includes a first weighing balance arranged at the second measuring station, a telecentric parallel light source arranged on the first weighing balance. The light-emitting surface of the telecentric parallel light source has a bearing area, and a CCD industrial camera is arranged above the bearing area. A telecentric lens is arranged at the lens end of the CCD industrial camera and faces the bearing area of the telecentric parallel light source; The density measuring unit includes a second weighing balance arranged at the third measuring station, a "C"-shaped bracket arranged on the second weighing balance. A hanging basket is suspended on the "C"-shaped bracket. A sieve is arranged at the lower end of the hanging basket. When measuring the density, the gem is placed in the sieve; A container filled with a liquid medium is arranged below the hanging basket, and the sieve is located in the liquid medium of the container; This method includes the following steps: Step S1, shape measurement, specifically: Step S11, collect a gem sample image through a CCD industrial camera, perform grayscale value conversion on the collected image, and then calculate the edge contour of the gem sample in the image through an edge detection algorithm; Step S12, match the obtained edge contour with a pre-stored gem shape template, and take the shape template with the highest matching degree as the contour shape of the gem sample; Step S2, dimension measurement, specifically: Step S21, calculate the maximum inscribed circle, minimum circumscribed circle, and minimum circumscribed rectangle of the contour shape through an image processing algorithm; Step S21, according to the type of the contour shape of the gem sample, if the contour shape is an arc type or偏向 arc type, then take the diameter R1 of the maximum inscribed circle as the width of the gem sample, and take the diameter R2 of the minimum circumscribed circle as the length of the gem sample; If the contour shape is a rectangle type or偏向 rectangle type, then take the length and width dimensions of the minimum circumscribed rectangle as the length and width dimensions of the gem sample; Step S3, density measurement, specifically: Step S31, using a first weighing balance to measure the weight of the gemstone sample in the air, recorded as ; Step S32, measuring the weight of the gemstone sample in the liquid medium by a second weighing balance, recorded as ; Step S33, according to the density measurement formula ,in, is the density of the gemstone sample, is the density of the liquid medium.
2. The intelligent gemstone specimen parameter measurement method according to claim 1, characterized in that: The output ends of the high-definition camera, the CCD industrial camera, the first weighing balance, and the second weighing balance are all connected to a computer terminal.
3. The intelligent gemstone specimen parameter measurement method according to claim 1, characterized in that: An installation groove is arranged at the first measuring station, and a carrier plate is detachably arranged in the installation groove.
4. The intelligent gemstone specimen parameter measurement method according to claim 1, characterized in that: There is an installation cavity surrounded by several side plates on the workbench. A cover plate for closing the installation cavity is arranged at the opening of the installation cavity. The first weighing balance and the second weighing balance are arranged in the installation cavity; The lower end of the telecentric parallel light source passes through the cover plate and is connected to the first weighing balance; There is a T-shaped round table on the second weighing balance. The bottom of the T-shaped round table is fixed on the second weighing balance, and its top passes through the cover plate. The bottom of the "C"-shaped bracket is fixed on the top of the T-shaped round table.
5. The method for measuring parameters of an intelligent gemstone specimen according to any one of claims 1 to 4, characterized in that: A plurality of adjustable foot cups are arranged at the bottom of the workbench.
6. The intelligent gemstone specimen parameter measurement method according to claim 1, characterized in that: In step S12, when the acquired edge contour is matched with the pre-stored gem shape template, if the maximum value of the matching degree of all shape templates is less than 60%, it is considered that the match fails, and the contour shape of the gem sample is regarded as an irregular shape type.
7. The method for measuring parameters of an intelligent gemstone specimen according to claim 6, characterized in that: In step S21, if the matching degree of the contour shape of the gemstone sample with the arc shape template is higher than or equal to its matching degree with the rectangular shape template, it is considered that the contour shape of the gemstone sample tends to be arc-shaped; conversely, if the matching degree of the contour shape of the gemstone sample with the rectangular shape template is higher than or equal to its matching degree with the arc shape template, it is considered that the contour shape of the gemstone sample tends to be rectangular.
Citation Information
Patent Citations
Relative density rapid detector for jewel and jade and using method of rapid detector
CN104697890A
Measuring parameters of particulate material
CN105228760A
Detection of imperfections in precious stones
CN1902474A
Precious stone information acquisition device
CN205593934U
Intelligent gem specimen parameter measuring device
CN211651686U
