CN113155648B - A method and system for measuring microscopic deformation of materials based on impact test - Google Patents
A method and system for measuring microscopic deformation of materials based on impact test Download PDFInfo
- Publication number
- CN113155648B CN113155648B CN202110539000.9A CN202110539000A CN113155648B CN 113155648 B CN113155648 B CN 113155648B CN 202110539000 A CN202110539000 A CN 202110539000A CN 113155648 B CN113155648 B CN 113155648B
- Authority
- CN
- China
- Prior art keywords
- lattice
- picture
- valid
- dot matrix
- deformation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 239000000463 material Substances 0.000 title claims abstract description 33
- 238000009863 impact test Methods 0.000 title claims abstract description 29
- 239000011159 matrix material Substances 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims abstract description 35
- 238000001914 filtration Methods 0.000 claims description 17
- 238000012216 screening Methods 0.000 claims description 17
- 238000005259 measurement Methods 0.000 claims description 9
- 238000012935 Averaging Methods 0.000 claims description 3
- 238000000691 measurement method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 abstract description 5
- 238000012360 testing method Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 239000007769 metal material Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/30—Investigating strength properties of solid materials by application of mechanical stress by applying a single impulsive force, e.g. by falling weight
- G01N3/303—Investigating strength properties of solid materials by application of mechanical stress by applying a single impulsive force, e.g. by falling weight generated only by free-falling weight
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B11/00—Measuring arrangements characterised by the use of optical techniques
- G01B11/16—Measuring arrangements characterised by the use of optical techniques for measuring the deformation in a solid, e.g. optical strain gauge
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N3/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N3/02—Details
- G01N3/06—Special adaptations of indicating or recording means
- G01N3/068—Special adaptations of indicating or recording means with optical indicating or recording means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/0001—Type of application of the stress
- G01N2203/001—Impulsive
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/003—Generation of the force
- G01N2203/0032—Generation of the force using mechanical means
- G01N2203/0039—Hammer or pendulum
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2203/00—Investigating strength properties of solid materials by application of mechanical stress
- G01N2203/02—Details not specific for a particular testing method
- G01N2203/06—Indicating or recording means; Sensing means
- G01N2203/0641—Indicating or recording means; Sensing means using optical, X-ray, ultraviolet, infrared or similar detectors
- G01N2203/0647—Image analysis
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
Description
技术领域technical field
本发明涉及材料微观形变量测量技术领域,特别是涉及一种基于冲击试验的材料微观形变量测量方法及系统。The invention relates to the technical field of material microscopic deformation measurement, in particular to a method and system for measuring material microscopic deformation based on an impact test.
背景技术Background technique
金属或复合材料在汽车制造、物料运输、海洋工程和航空航天等领域都有着广泛的应用。冲击实验是研究材料动载荷抗力的一种实验,动载荷和静载荷作用不同,由于加载速度快,使材料内的应力骤然提高,变形速度影响了材料的机构性质,所以材料对动载荷作用表现出另一种反应。往往在静载荷下具有很好塑性的材料,在动载荷下会呈现出脆性的性质。因此,对金属样品进行冲击性能的试验研究具有重要的现实意义。Metal or composite materials have a wide range of applications in automotive manufacturing, material handling, marine engineering and aerospace. The impact test is an experiment to study the dynamic load resistance of materials. The dynamic load and static load have different effects. Due to the fast loading speed, the stress in the material suddenly increases, and the deformation speed affects the mechanical properties of the material. Therefore, the performance of the material on the dynamic load another reaction. Materials that tend to be very ductile under static loading will exhibit brittle properties under dynamic loading. Therefore, it is of great practical significance to conduct experimental research on impact properties of metal samples.
目前,现有的落锤冲击试验中样品截面形变量的测量方法,大都是在冲击结束后通过螺旋测微器等工具进行冲击前与冲击后总形变量的手工测量。但是,这种方法无法对冲击过程中截面局部形变量进行准确测量,误差较大,无法得到截面局部形变量以及形变量与冲击次数的关系。同时,现有的落锤冲击试验中样品截面形变量的测量方法对试验台本身防止二次冲击的装置要求较高,试验台成本也相应提高。At present, most of the existing methods for measuring the deformation of the sample section in the drop weight impact test are manual measurement of the total deformation before and after the impact by means of a helical micrometer after the impact. However, this method cannot accurately measure the local deformation of the section during the impact process, the error is large, and the local deformation of the section and the relationship between the deformation and the number of impacts cannot be obtained. At the same time, the existing method for measuring the deformation of the sample section in the drop weight impact test has higher requirements on the device for preventing the secondary impact of the test bench itself, and the cost of the test bench is also increased accordingly.
发明内容SUMMARY OF THE INVENTION
本发明的目的是提供一种基于冲击试验的材料微观形变量测量方法及系统,以解决现有的材料微观形变量测量方法测量截面局部形变量误差较大的问题。The purpose of the present invention is to provide a method and system for measuring the microscopic deformation of a material based on an impact test, so as to solve the problem that the existing method for measuring the microscopic deformation of a material has a large error in measuring the local deformation of a section.
为实现上述目的,本发明提供了如下方案:For achieving the above object, the present invention provides the following scheme:
一种基于冲击试验的材料微观形变量测量方法,包括:A method for measuring the microscopic deformation of a material based on an impact test, comprising:
对样品的侧面打点,得到点阵面;Dot the side of the sample to get the lattice surface;
对所述点阵面进行拍摄,获取第一点阵面图片;photographing the dot matrix surface to obtain a picture of the first dot matrix surface;
对冲击后样品的点阵面进行拍摄,获取第二点阵面图片;Photograph the lattice surface of the sample after impact to obtain the second lattice surface picture;
对所述第一点阵面图片进行处理,得到第一有效点阵图;processing the first bitmap image to obtain a first valid bitmap;
对所述第一有效点阵图进行计算,得到多个第一点阵直线间距;Calculating the first effective lattice map to obtain a plurality of first lattice line spacings;
对所述第二点阵面图片进行处理,得到第二有效点阵图;processing the second bitmap image to obtain a second valid bitmap;
对所述第二有效点阵图进行计算,得到多个第二点阵直线间距;Calculating the second effective lattice map to obtain a plurality of second lattice line spacings;
将所述第一点阵直线间距减去与所述第一点阵直线间距对应的所述第二点阵直线间距,得到多个局部形变量;subtracting the second lattice line spacing corresponding to the first lattice line spacing from the first lattice line spacing to obtain a plurality of local deformation variables;
将多个所述局部形变量进行累加,得到总形变量。A plurality of the local deformation variables are accumulated to obtain a total deformation variable.
可选地,所述对样品的侧面打点,得到点阵面,具体包括:Optionally, the side of the sample is dotted to obtain a lattice surface, which specifically includes:
利用紫外打标机在所述样品的侧面打出横纵间距固定的点阵,得到点阵面。Using an ultraviolet marking machine, a dot matrix with a fixed horizontal and vertical spacing is marked on the side of the sample to obtain a dot matrix surface.
可选地,所述对所述第一点阵面图片进行处理,得到第一有效点阵图,具体包括:Optionally, the processing of the first bitmap image to obtain a first valid bitmap specifically includes:
对所述第一点阵面图片进行滤波处理,得到第一点阵面滤波图片;Perform filtering processing on the first lattice plane picture to obtain a first lattice plane filtered picture;
对所述第一点阵面滤波图片进行二值化处理,得到第一二值化图片;performing binarization processing on the first lattice surface filtered picture to obtain a first binarized picture;
对所述第一二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第一有效点;Screening of the area and roundness of the first binarized picture is carried out, and the area obtained after screening is used as the first valid point;
根据多个所述第一有效点确定第一有效点阵图。A first valid bitmap is determined according to a plurality of the first valid points.
可选地,所述对所述第一有效点阵图进行计算,得到多个第一点阵直线间距,具体包括:Optionally, the calculation of the first effective lattice map to obtain a plurality of first lattice line spacings specifically includes:
提取所述第一有效点阵图中的第一有效点坐标;extracting the coordinates of the first valid point in the first valid bitmap;
采用最小二乘法对每一行的所述第一有效点坐标进行线性拟合,得到每一行的拟合直线;The least squares method is used to linearly fit the coordinates of the first valid point of each row to obtain a fitted straight line of each row;
利用两平行直线间的距离公式求得相邻拟合直线之间的间距,得到多个所述第一点阵直线间距。The distances between adjacent fitting lines are obtained by using the distance formula between two parallel straight lines, and the distances between a plurality of the first lattice lines are obtained.
可选地,所述对所述第一二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第一有效点,具体包括:Optionally, the screening of the area and roundness of the first binarized picture is performed, and the region obtained after screening is used as the first valid point, which specifically includes:
对所述第一二值化图片进行开操作,获得第一光滑图片;performing an opening operation on the first binarized picture to obtain a first smooth picture;
提取所述第一光滑图片中白色区域的特征,筛选面积在1500至3500个像素内的且圆度在0.65以上的区域作为第一有效点。Extract the feature of the white area in the first smooth image, and select the area within 1500 to 3500 pixels and the circularity above 0.65 as the first valid point.
可选地,所述对所述第二点阵面图片进行处理,得到第二有效点阵图,具体包括:Optionally, the processing of the second bitmap image to obtain a second valid bitmap specifically includes:
对所述第二点阵面图片进行滤波处理,得到第二点阵面滤波图片;performing filtering processing on the second lattice surface picture to obtain a second lattice surface filtering picture;
对所述第二点阵面滤波图片进行二值化处理,得到第二二值化图片;performing binarization processing on the second lattice surface filtered picture to obtain a second binarized picture;
对所述第二二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第二有效点;Screening of the area and roundness of the second binarized picture is carried out, and the area obtained after screening is used as the second valid point;
根据多个所述第二有效点确定第二有效点阵图。A second valid bitmap is determined according to a plurality of the second valid points.
可选地,所述对所述第二有效点阵图进行计算,得到多个第二点阵直线间距,具体包括:Optionally, the calculation of the second effective lattice map to obtain a plurality of second lattice line spacings specifically includes:
提取所述第二有效点阵图中的第二有效点坐标;extracting the coordinates of the second valid point in the second valid bitmap;
采用最小二乘法对每一行的所述第二有效点坐标进行线性拟合,得到每一行的拟合直线;The least squares method is used to perform linear fitting on the coordinates of the second valid point of each row to obtain a fitted straight line for each row;
计算每一行的所述拟合直线的斜率,得到多个斜率;Calculate the slope of the fitted straight line of each row to obtain a plurality of slopes;
将多个所述斜率取平均,获得平均斜率;averaging a plurality of said slopes to obtain an average slope;
将所述平均斜率赋给每一行的所述拟合直线,保持截距不变,得到斜率相同的拟合直线;Assign the average slope to the fitted straight line of each row, keep the intercept unchanged, and obtain the fitted straight line with the same slope;
利用两平行直线间的距离公式求得斜率相同的相邻拟合直线之间的间距,得到多个所述第二点阵直线间距。The distances between adjacent fitted straight lines with the same slope are obtained by using the distance formula between two parallel straight lines, and the distances between a plurality of the second lattice straight lines are obtained.
可选地,所述对所述第二二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第二有效点,具体包括:Optionally, the screening of the area and roundness of the second binarized picture is performed, and the area obtained after screening is used as the second valid point, which specifically includes:
对所述第二二值化图片进行开操作,获得第二光滑图片;performing an opening operation on the second binarized picture to obtain a second smooth picture;
提取所述第二光滑图片中白色区域的特征,筛选面积在1500至3500个像素内的且圆度在0.65以上的区域作为第二有效点。Extract the feature of the white area in the second smooth image, and select the area within 1500 to 3500 pixels and the circularity above 0.65 as the second valid point.
一种基于冲击试验的材料微观形变量测量系统,包括:A material microscopic deformation measurement system based on impact test, including:
打点模块,用于对样品的侧面打点,得到点阵面;Dotting module, used to dot the side of the sample to get the dot matrix surface;
拍摄模块,用于对所述点阵面进行拍摄,获取第一点阵面图片;还用于对冲击后样品的点阵面进行拍摄,获取第二点阵面图片;a photographing module, used for photographing the dot matrix surface to obtain a picture of the first dot matrix surface; also used for photographing the dot matrix surface of the impacted sample to obtain a second dot matrix surface picture;
图片处理模块,用于对所述第一点阵面图片进行处理,得到第一有效点阵图,对所述第一有效点阵图进行计算,得到多个第一点阵直线间距;还用于对所述第二点阵面图片进行处理,得到第二有效点阵图,对所述第二有效点阵图进行计算,得到多个第二点阵直线间距;The picture processing module is used for processing the first lattice surface picture to obtain a first effective lattice map, and calculating the first effective lattice map to obtain a plurality of first lattice line spacings; for processing the second lattice surface picture to obtain a second effective lattice map, and calculating the second effective lattice map to obtain a plurality of second lattice line spacings;
局部形变量计算模块,用于将所述第一点阵直线间距减去与所述第一点阵直线间距对应的所述第二点阵直线间距,得到多个局部形变量;a local deformation variable calculation module, configured to subtract the second lattice linear spacing corresponding to the first lattice linear spacing from the first lattice linear spacing to obtain a plurality of local deformation variables;
总形变量计算模块,用于将多个所述局部形变量进行累加,得到总形变量。The total shape variable calculation module is used for accumulating a plurality of the local shape variables to obtain the total shape variable.
可选地,所述拍摄模块为CCD相机。Optionally, the photographing module is a CCD camera.
根据本发明提供的具体实施例,本发明公开了以下技术效果:According to the specific embodiments provided by the present invention, the present invention discloses the following technical effects:
本发明通过获取第一点阵面图片和第二点阵面图片,对第一点阵面图片和第二点阵面图片分别进行处理,获取多个第一点阵直线间距和多个第二点阵直线间距,第一点阵直线间距减去对应的第二点阵直线间距,获取点阵每行之间的形变量,得到多个局部形变量;将多个局部形变量进行累加,得到总形变量。通过对图片进行处理,获取样品的局部形变量,代替了现有的材料微观形变量手工测量的方法,提高了局部形变量的测量精度。The present invention processes the first lattice plane picture and the second lattice plane picture by acquiring the first lattice plane picture and the second lattice plane picture, and obtains a plurality of first lattice planes and a plurality of second lattice planes. Lattice line spacing, the first lattice line spacing minus the corresponding second lattice line spacing, obtain the deformation variable between each row of the lattice, and obtain multiple local deformation variables; accumulate multiple local deformation variables to obtain total shape variable. By processing the picture, the local deformation of the sample is obtained, which replaces the existing manual measurement method of the microscopic deformation of the material, and improves the measurement accuracy of the local deformation.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some of the present invention. In the embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.
图1为本发明一种基于冲击试验的材料微观形变量测量方法的流程图;1 is a flow chart of a method for measuring the microscopic deformation of a material based on an impact test of the present invention;
图2为样品侧表面以及打点后点阵的尺寸图;Fig. 2 is the dimension drawing of the side surface of the sample and the dot matrix after dotting;
图3为第一点阵面图片;Figure 3 is a picture of the first dot matrix surface;
图4为第一点阵面滤波图片;Fig. 4 is the first lattice plane filtering picture;
图5为第一有效点阵图;Fig. 5 is the first effective bitmap;
图6为第一有效点阵图的线性拟合直线图;Fig. 6 is the linear fitting straight line diagram of the first effective bitmap;
图7为本发明一种基于冲击试验的材料微观形变量测量系统的系统框图。FIG. 7 is a system block diagram of an impact test-based material microscopic deformation measurement system of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below 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 the 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.
本发明的目的是提供一种基于冲击试验的材料微观形变量测量方法及系统,以解决现有的材料微观形变量测量方法测量截面局部形变量误差较大的问题。The purpose of the present invention is to provide a method and system for measuring the microscopic deformation of a material based on an impact test, so as to solve the problem that the existing method for measuring the microscopic deformation of a material has a large error in measuring the local deformation of a section.
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more clearly understood, the present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本实施例提供了一种基于冲击试验的材料微观形变量测量方法,通过图像处理对落锤冲击试验中样品的截面形变量进行测量。This embodiment provides a method for measuring the microscopic deformation of a material based on an impact test, which measures the cross-sectional deformation of a sample in a drop weight impact test through image processing.
图1为本发明一种基于冲击试验的材料微观形变量测量方法的流程图,如图1所示,包括:首先将所用试验材料切割为形状、大小均相同的多个样品。提供一种落锤冲击试验检测装置,通过夹具保证样品的位置固定,与落锤冲击试验检测装置分开安装的高精度CCD相机,确保了冲击前后拍照环境的相同。对所述样品采用如下方法进行形变量测量。Fig. 1 is a flow chart of a method for measuring the microscopic deformation of a material based on an impact test. As shown in Fig. 1, the method includes: firstly cutting the used test material into multiple samples with the same shape and size. A drop-weight impact test detection device is provided, the position of the sample is guaranteed to be fixed by a fixture, and a high-precision CCD camera installed separately from the drop-weight impact test detection device ensures the same photographing environment before and after the impact. The deformation measurement was carried out on the sample by the following method.
步骤101:对样品的侧面打点,得到点阵面。Step 101: Dotting the side of the sample to obtain a lattice surface.
所述对样品的侧面打点,得到点阵面,具体包括:The side of the sample is dotted to obtain a lattice surface, which specifically includes:
利用紫外打标机在所述样品的侧面打出横纵间距固定的点阵,得到点阵面,即完成了样品的准备,如图2所示,点阵的横间距为0.4cm,纵间距为0.25cm,样品的高为10cm。Using a UV marking machine, a dot matrix with a fixed horizontal and vertical spacing is printed on the side of the sample to obtain a dot matrix surface, that is, the preparation of the sample is completed. As shown in Figure 2, the horizontal spacing of the dot matrix is 0.4cm, and the vertical spacing is 0.25cm, the height of the sample is 10cm.
步骤102:对所述点阵面进行拍摄,获取第一点阵面图片,如图3所示。Step 102 : photographing the dot matrix surface to obtain a first dot matrix surface picture, as shown in FIG. 3 .
步骤103:对冲击后样品的点阵面进行拍摄,获取第二点阵面图片。Step 103 : photographing the lattice surface of the impacted sample to obtain a second lattice surface picture.
具体的,将样品放到冲击试验机下通过已经相对固定好位置的高精度CCD相机进行拍摄,然后开始对样品进行冲击,按照试验目的在合适的时候停止。停止后在保持与停止前景深基本不变的情况下利用高精度CCD相机再对样品进行拍照。在相同条件下对试样进行拍照,获得冲击前后的点阵面图片。若需要不同冲击次数下形变的数据,则每次停机都需要按照上述要求对样品进行拍照。Specifically, the sample is placed under the impact testing machine to be photographed by a high-precision CCD camera that has been relatively fixed, and then the impact on the sample is started, and stopped at an appropriate time according to the purpose of the test. After stopping, the sample was photographed with a high-precision CCD camera while keeping the foreground depth basically unchanged. The samples were photographed under the same conditions, and the dot matrix images before and after the impact were obtained. If the deformation data under different impact times is required, the sample needs to be photographed according to the above requirements every time the machine is shut down.
步骤104:对所述第一点阵面图片进行处理,得到第一有效点阵图。Step 104: Process the first bitmap image to obtain a first valid bitmap.
对第一有效点阵图进行预处理,采用高斯滤波或中值滤波的方式去除噪点,本发明中采用的是中值滤波,尺度大小在20左右,如图4所示,然后对处理后的图片继续进行自适应的二值化处理。由于实际样品往往存在各种蚀斑,蚀斑难以通过滤波完全去除,因此需要对去除噪点后的图片进行二值化处理,二值化处理后需要再进行面积与圆度的筛选,才能最终获得有效的点阵图。The first effective bitmap is preprocessed, and the noise is removed by Gaussian filtering or median filtering. In the present invention, median filtering is used, and the scale is about 20, as shown in Figure 4, and then the processed The image continues to undergo adaptive binarization. Since the actual samples often have various plaques, it is difficult to completely remove the plaques by filtering. Therefore, it is necessary to binarize the image after removing the noise. After the binarization, the area and roundness need to be screened to obtain A valid bitmap.
所述对所述第一点阵面图片进行处理,得到第一有效点阵图,具体包括:The processing of the first lattice plane picture to obtain the first valid lattice picture specifically includes:
对所述第一点阵面图片进行滤波处理,得到第一点阵面滤波图片;对所述第一点阵面滤波图片进行二值化处理,得到第一二值化图片;对所述第一二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第一有效点;根据多个所述第一有效点确定第一有效点阵图,如图5所示。Perform filtering processing on the first lattice surface picture to obtain a first lattice surface filtering picture; perform binarization processing on the first lattice surface filtering picture to obtain a first binarized picture; A binarized image is screened for area and roundness, and the area obtained after screening is used as the first valid point; the first valid bitmap is determined according to a plurality of the first valid points, as shown in FIG. 5 .
其中,对所述第一二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第一有效点,具体包括:Wherein, the area and roundness of the first binarized image are screened, and the area obtained after screening is used as the first valid point, which specifically includes:
对所述第一二值化图片进行开操作,获得第一光滑图片;提取所述第一光滑图片中白色区域的特征,筛选面积在1500至3500个像素内的且圆度在0.65以上的区域作为第一有效点。Perform an opening operation on the first binarized picture to obtain a first smooth picture; extract the features of the white area in the first smooth picture, and screen the area within 1500 to 3500 pixels and the circularity is above 0.65 as the first valid point.
先进行开操作,再提取图片中白色区域的特征,删除面积过大、过小以及圆度过小的区域,即一般将面积在1500至3500个像素内的,圆度在0.65以上的区域视为有效点。对保留下来的白色区域提取形心坐标,采用两次冒泡排序法可将形心坐标对应点在点阵中的位置排列好,该实施例中将提取到的横纵坐标分别保存到两个矩阵中,方便接下来的直线拟合与距离计算。First perform the opening operation, then extract the features of the white area in the picture, delete the areas with too large, too small and too small roundness, that is, the areas with an area of 1500 to 3500 pixels and a roundness above 0.65 are generally regarded as is a valid point. The centroid coordinates are extracted from the remaining white area, and the position of the corresponding points of the centroid coordinates in the lattice can be arranged by using the bubble sort method twice. In this embodiment, the extracted horizontal and vertical coordinates are saved to two In the matrix, it is convenient for the next line fitting and distance calculation.
步骤105:对所述第一有效点阵图进行计算,得到多个第一点阵直线间距。Step 105: Calculating the first effective lattice map to obtain a plurality of first lattice line spacings.
所述对所述第一有效点阵图进行计算,得到多个第一点阵直线间距,具体包括:The calculation of the first effective lattice map to obtain a plurality of first lattice line spacings specifically includes:
提取所述第一有效点阵图中的第一有效点坐标;采用最小二乘法对每一行的所述第一有效点坐标进行线性拟合,得到每一行的拟合直线,如图6所示;利用两平行直线间的距离公式求得相邻拟合直线之间的间距,得到多个所述第一点阵直线间距。Extract the coordinates of the first valid point in the first valid bitmap; use the least squares method to perform linear fitting on the coordinates of the first valid point in each row to obtain a fitted straight line for each row, as shown in Figure 6 ; Use the distance formula between two parallel straight lines to obtain the spacing between adjacent fitted straight lines, and obtain a plurality of the first lattice straight line spacings.
步骤106:对所述第二点阵面图片进行处理,得到第二有效点阵图。Step 106: Process the second bitmap image to obtain a second valid bitmap.
所述对所述第二点阵面图片进行处理,得到第二有效点阵图,具体包括:The processing of the second lattice surface picture to obtain a second effective lattice map specifically includes:
对所述第二点阵面图片进行滤波处理,得到第二点阵面滤波图片;对所述第二点阵面滤波图片进行二值化处理,得到第二二值化图片;对所述第二二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第二有效点;根据多个所述第二有效点确定第二有效点阵图。performing filtering processing on the second lattice surface picture to obtain a second lattice surface filtering picture; performing binarization processing on the second lattice surface filtering picture to obtain a second binarizing picture; The binarized image is screened for area and roundness, and the area obtained after screening is used as the second valid point; the second valid bitmap is determined according to a plurality of the second valid points.
其中,对所述第二二值化图片进行面积与圆度的筛选,将筛选后得到的区域作为第二有效点,具体包括:Wherein, the area and roundness of the second binarized image are screened, and the area obtained after screening is used as the second valid point, which specifically includes:
对所述第二二值化图片进行开操作,获得第二光滑图片;提取所述第二光滑图片中白色区域的特征,筛选面积在1500至3500个像素内的且圆度在0.65以上的区域作为第二有效点。Perform an opening operation on the second binarized picture to obtain a second smooth picture; extract the features of the white area in the second smooth picture, and filter the area within 1500 to 3500 pixels and the circularity is above 0.65. as a second valid point.
步骤107:对所述第二有效点阵图进行计算,得到多个第二点阵直线间距。Step 107: Calculating the second effective lattice map to obtain a plurality of second lattice line spacings.
获得第二有效点阵图后,提取第二有效点阵图中第二有效点坐标,用最小二乘法对每一行的第二有效点的坐标进行直线拟合,得到拟合直线,然后将各拟合直线的斜率取均值,将均值重新赋给各直线,保持截距不变。接着,利用两平行直线间的距离公式求得各斜率相同的相邻拟合直线之间的间距。对冲击前后的有效点阵图采用同样的处理方式,用冲击前的点阵直线间距减去与冲击前的点阵直线间距相对应的冲击后的点阵直线间距即可得到每行点阵之间的形变量,即局部形变量。将各行局部形变量进行累加即可获得总形变量。After obtaining the second valid bitmap, extract the coordinates of the second valid point in the second valid bitmap, and use the least squares method to perform straight line fitting on the coordinates of the second valid point in each row to obtain the fitted straight line, and then The slope of the fitted line is averaged, and the average is reassigned to each line, keeping the intercept unchanged. Next, use the distance formula between two parallel straight lines to obtain the spacing between adjacent fitting straight lines with the same slope. The same processing method is adopted for the effective lattice diagrams before and after the impact. The line spacing of the lattice after the impact corresponding to the line spacing of the lattice before the impact can be subtracted from the line spacing of the lattice before the impact. between the deformation variables, that is, the local deformation variables. The total shape variable can be obtained by accumulating the local shape variables of each row.
所述对所述第二有效点阵图进行计算,得到多个第二点阵直线间距,具体包括:The calculation of the second effective lattice map to obtain a plurality of second lattice line spacings specifically includes:
提取所述第二有效点阵图中的第二有效点坐标;采用最小二乘法对每一行的所述第二有效点坐标进行线性拟合,得到每一行的拟合直线;计算每一行的所述拟合直线的斜率,得到多个斜率;将多个所述斜率取平均,获得平均斜率;将所述平均斜率赋给每一行的所述拟合直线,保持截距不变,得到斜率相同的拟合直线;利用两平行直线间的距离公式求得斜率相同的相邻拟合直线之间的间距,得到多个所述第二点阵直线间距。Extract the coordinates of the second valid point in the second valid bitmap; use the least squares method to perform linear fitting on the coordinates of the second valid point in each row to obtain the fitted straight line of each row; calculate all the coordinates of each row The slope of the fitting straight line is obtained to obtain multiple slopes; the average slope is averaged to obtain the average slope; the average slope is assigned to the fitted straight line of each row, keeping the intercept unchanged, and obtaining the same slope The fitted straight line is obtained; the distance between adjacent fitted straight lines with the same slope is obtained by using the distance formula between the two parallel straight lines, and a plurality of the second lattice straight line distances are obtained.
步骤108:将所述第一点阵直线间距减去与所述第一点阵直线间距对应的所述第二点阵直线间距,得到多个局部形变量。Step 108 : subtract the second lattice line spacing corresponding to the first lattice line spacing from the first lattice line spacing to obtain a plurality of local deformation variables.
步骤109:将多个所述局部形变量进行累加,得到总形变量。Step 109: Accumulate a plurality of the local deformation variables to obtain a total deformation variable.
对得到的局部形变量进行作图,以冲击次数为横轴,局部形变量或总形变量为纵轴,便可得到形变量与冲击次数的关系。The obtained local deformation variables are plotted, with the number of impacts as the horizontal axis and the local or total deformation variables as the vertical axis, the relationship between the deformation amount and the number of impacts can be obtained.
采用不同的冲击次数对同样材料的样品进行冲击试验,重复步骤101-109,多次实验后可以得到该材料受冲击次数与形变量之间的关系。The impact test is carried out on samples of the same material with different impact times, and steps 101-109 are repeated.
综上所述:本发明提出的利用图像处理对落锤冲击试验中样品的截面形变量测量的方法很好的替代了原来的通过机械工具进行手工测量的方式,减少了工作量,提高了数据获取的精度。To sum up, the method of measuring the cross-section deformation of the sample in the drop weight impact test by using image processing proposed by the present invention is a good substitute for the original manual measurement method by mechanical tools, which reduces the workload and improves the data. Acquired precision.
图7为本发明一种基于冲击试验的材料微观形变量测量系统的系统框图,如图7所示,包括:Fig. 7 is a system block diagram of a material microscopic deformation measurement system based on impact test of the present invention, as shown in Fig. 7, including:
打点模块201,用于对样品的侧面打点,得到点阵面。The
拍摄模块202,用于对所述点阵面进行拍摄,获取第一点阵面图片;还用于对冲击后样品的点阵面进行拍摄,获取第二点阵面图片。可选地,所述拍摄模块202为CCD相机。The photographing
图片处理模块203,用于对所述第一点阵面图片进行处理,得到第一有效点阵图,对所述第一有效点阵图进行计算,得到多个第一点阵直线间距;还用于对所述第二点阵面图片进行处理,得到第二有效点阵图,对所述第二有效点阵图进行计算,得到多个第二点阵直线间距。The
局部形变量计算模块204,用于将所述第一点阵直线间距减去与所述第一点阵直线间距对应的所述第二点阵直线间距,得到多个局部形变量。The local deformation
总形变量计算模块205,用于将多个所述局部形变量进行累加,得到总形变量。The total deformation
本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处。综上所述,本说明书内容不应理解为对本发明的限制。The principles and implementations of the present invention are described herein using specific examples. The descriptions of the above embodiments are only used to help understand the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the present invention There will be changes in the specific implementation and application scope. In conclusion, the contents of this specification should not be construed as limiting the present invention.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110539000.9A CN113155648B (en) | 2021-05-18 | 2021-05-18 | A method and system for measuring microscopic deformation of materials based on impact test |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110539000.9A CN113155648B (en) | 2021-05-18 | 2021-05-18 | A method and system for measuring microscopic deformation of materials based on impact test |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113155648A CN113155648A (en) | 2021-07-23 |
CN113155648B true CN113155648B (en) | 2022-10-11 |
Family
ID=76876215
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110539000.9A Active CN113155648B (en) | 2021-05-18 | 2021-05-18 | A method and system for measuring microscopic deformation of materials based on impact test |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113155648B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN118483080A (en) * | 2024-07-16 | 2024-08-13 | 常州市英达新材料有限公司 | A strength detection device and detection method for stone plastic floor production |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101201245A (en) * | 2007-12-24 | 2008-06-18 | 中国人民武装警察部队学院 | Deformation measurement method and observation instrument of metal material in high temperature mechanical test |
CN101566465B (en) * | 2009-05-18 | 2011-04-06 | 西安交通大学 | Method for measuring object deformation in real time |
CN102778207B (en) * | 2012-07-10 | 2015-10-14 | 中联重科股份有限公司 | Method, device and system for measuring stress strain of structural member |
CN102768022B (en) * | 2012-07-20 | 2015-04-15 | 长安大学 | Tunnel surrounding rock deformation detection method adopting digital camera technique |
CN107726990B (en) * | 2017-09-18 | 2019-06-21 | 西安电子科技大学 | A method for collecting and identifying lattice images in sheet metal forming strain measurement |
CN111126245B (en) * | 2019-12-20 | 2023-04-25 | 电子科技大学中山学院 | Digital image lattice positioning method, device, equipment and storage medium |
-
2021
- 2021-05-18 CN CN202110539000.9A patent/CN113155648B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN113155648A (en) | 2021-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108629775B (en) | A kind of hot high-speed wire surface image processing method | |
KR100826153B1 (en) | Crack width measurement method using image histogram | |
JP6620477B2 (en) | Method and program for detecting cracks in concrete | |
US5137362A (en) | Automatic package inspection method | |
CN111028229A (en) | Metal or coating corrosion detection method based on image processing technology | |
CN103674968A (en) | Method and device for evaluating machine vision original-value detection of exterior corrosion appearance characteristics of material | |
US7187436B2 (en) | Multi-resolution inspection system and method of operating same | |
Lawrence. K et al. | An accurate and robust method for the honing angle evaluation of cylinder liner surface using machine vision | |
CN113155648B (en) | A method and system for measuring microscopic deformation of materials based on impact test | |
Guerra et al. | Standard quantification and measurement of damages through features characterization of surface imperfections on 3D models: an application on Architectural Heritages | |
CN115147350A (en) | A method for dimension detection of clamp parts based on machine vision | |
CN114387232A (en) | Wafer center positioning, wafer gap positioning and wafer positioning calibration method | |
WO2012132273A1 (en) | Exterior inspection method and device for same | |
US20170111580A1 (en) | Image merging method and image merging device | |
CN110426395B (en) | A kind of solar EL battery silicon wafer surface detection method and device | |
JP6555211B2 (en) | Edge extraction method for 2D images | |
JP2015215199A (en) | Self-luminous material image processing apparatus and self-luminous material image processing method | |
CN114972317A (en) | Square crystal grain placement planning method | |
CN118836770A (en) | Visual measurement method for circular hole size of sheet metal part with imaging interference characteristics | |
KR102141352B1 (en) | A Method on the Estimation of Crack Width Using Image Processing Techniques in Concrete Structures | |
CN104751137B (en) | Automatic measurement, sorting technique and its system of steel dimple images uniform depth degree | |
US20100027871A1 (en) | Method and system for inspection of tube width of heat exchanger | |
CN114897892B (en) | Method for calculating characteristic parameters of apparent cracks and holes of PC (polycarbonate) member | |
CN120088312A (en) | Method and device for measuring throat of spray pipe | |
CN115082424B (en) | 3D detection method of liquid crystal display screen |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220916 Address after: No.8, Jixue Road, Xiangcheng District, Suzhou City, Jiangsu Province Applicant after: SOOCHOW University Applicant after: CHINA AIRPLANT STRENGTH Research Institute Address before: No.8, Jixue Road, Xiangcheng District, Suzhou City, Jiangsu Province Applicant before: SOOCHOW University |
|
GR01 | Patent grant | ||
GR01 | Patent grant |