Next Article in Journal
Computer Vision and Robotics for Cultural Heritage: Theory and Applications
Previous Article in Journal
The Optimization of the Light-Source Spectrum Utilizing Neural Networks for Detecting Oral Lesions
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automatic Method for Vickers Hardness Estimation by Image Processing

by
Jonatan D. Polanco
1,
Carlos Jacanamejoy-Jamioy
1,
Claudia L. Mambuscay
1,2,
Jeferson F. Piamba
1,2 and
Manuel G. Forero
3,*
1
Semillero Lún, Grupo D+Tec, Faculty of Engineering, Universidad de Ibagué, Ibagué 730007, Colombia
2
Semillero NOVAMAT, Faculty of Natural Science and Mathematics, Universidad de Ibagué, Ibagué 730007, Colombia
3
Professional School of Systems Engineering, Faculty of Engineering, Architecture and Urban Planning, Universidad Señor de Sipán, Chiclayo 14000, Lambayeque, Peru
*
Author to whom correspondence should be addressed.
J. Imaging 2023, 9(1), 8; https://doi.org/10.3390/jimaging9010008
Submission received: 17 November 2022 / Revised: 20 December 2022 / Accepted: 26 December 2022 / Published: 30 December 2022
(This article belongs to the Topic Computer Vision and Image Processing)

Abstract

:
Hardness is one of the most important mechanical properties of materials, since it is used to estimate their quality and to determine their suitability for a particular application. One method of determining quality is the Vickers hardness test, in which the resistance to plastic deformation at the surface of the material is measured after applying force with an indenter. The hardness is measured from the sample image, which is a tedious, time-consuming, and prone to human error procedure. Therefore, in this work, a new automatic method based on image processing techniques is proposed, allowing for obtaining results quickly and more accurately even with high irregularities in the indentation mark. For the development and validation of the method, a set of microscopy images of samples indented with applied forces of 5 N and 10 N on AISI D2 steel with and without quenching, tempering heat treatment and samples coated with titanium niobium nitride (TiNbN) was used. The proposed method was implemented as a plugin of the ImageJ program, allowing for obtaining reproducible Vickers hardness results in an average time of 2.05 seconds with an accuracy of 98.3 % and a maximum error of 4.5 % with respect to the values obtained manually, used as a golden standard.

1. Introduction

The study of the properties of materials is of great importance to determine their behavior in specific applications. Mechanical properties such as hardness, ductility, or stiffness can be studied from laboratory tests to determine the appropriate characteristics for their use. Hardness is one of the most important mechanical properties of materials, as it allows for determining the resistance to deformation by a harder material [1,2]. There are different hardness tests and these vary depending on the type of material, e.g., the Brinell hardness test is best suited to determine the hardness of wood-based materials, or materials with relatively low hardnesses [3]. On other hand, the Mohs hardness is the most commonly used to identify minerals [4], Shore hardness implemented in polymeric materials [5] and Vickers hardness to determine the hardness of metals, ceramics, and other materials. Studies have shown that modifications can be made to Vickers hardness equipment to determine other properties such as elasticity or surface stresses of the material [6,7].
Materials such as steel used in automotive axles, cutting tools, among other applications, are subjected to constant forces or loads, which can cause deformation or breakage of the material. The search for continuous improvement has led to the implementation of materials in the form of thin films, which consist of improving the surface properties of the substrate such as steel, providing high hardness, low coefficient of friction, and wear and corrosion resistance in chemically aggressive environments, allowing for increasing its useful life and covering a wide field of applications [8,9,10,11,12].
There are different methods to modify the hardness of the material, either by heat treatment such as quenching or tempering to modify the microstructure [11,12] or by depositing thin film coatings on the surface of the base material. Among the most commonly used coatings in the industry are Titanium Nitride (TiN) and Niobium Nitride (NbN). In the present work, D2 steel samples with different heat treatments and steels with Titanium Niobium Nitride (TiNbNx) coatings were used, which are employed for industrial applications as a cutting tool [13,14,15].
As mentioned above, one way to determine the quality of the material is from tests such as the Vickers hardness test (HV), allowing for estimating this property by measuring the plastic deformation or imprint produced on its surface after applying a force with a square-based, pyramid-shaped diamond indenter with face angles of 136 (see Figure 1) [16]. Thus, once the test has been performed, the impression is visualized through an optical microscope and the indentation diagonals are measured to determine the Vickers hardness value. This type of test is widely used for quality control, as it allows for determining if a material is suitable for a given application. The equation for determining the Vickers hardness value is given by:
H V = 0.1891 P ( N ) D 2 ( mm 2 )
where D represents the average diagonal distance (d1 and d2) of the indentation mark and P the force applied to the indenter [16].
Although simple, this measure is error-prone, as it is obtained manually. Moreover, this task is tedious, repetitive, time-consuming, and results vary depending on the measurement criteria of each observer. Therefore, several approaches have been proposed to make its evaluation based on image processing and machine learning techniques. Sugimoto and Kawaguchi proposed an automatic process to determine the Vickers hardness of three types of samples, specular, etched specular, and rough finishes, using a method for the determination of indentation edges and corners based on statistical moments, obtaining the hardness measurement with a variable mean tolerance value depending on the applied force, being 4 % when the applied force varies between 500 and 1000 g-force [17]. Dominguez and Wiederhold implemented an algorithm in which the image is binarized based on its mean value, regardless of the shape of the histogram and determines the vertices of the slit, using the Harris–Stephen corner detection method. The lengths of the diagonals are then calculated to determine the Vickers hardness number, obtaining a maximum error of 6 % [18]. Fedotkin et al. proposed a method based on the comparison of the optical properties inside and outside the indentation, for which a series of circles are generated that allow information to be obtained from the histogram and the Hue distributions inside and outside them. Subsequently, the circle that is closest to the indentation area is selected, the value of the diagonals is determined and subsequently the value of the hardness, presenting 95 % confidence intervals [19]. On the other hand, Privezentsev et al. developed a method to estimate a hardness value using neural networks, concluding that image processing techniques should be combined with neural networks to obtain better results [20]. Likewise, Tanaka et al. implemented an automatic method based on convolutional neural networks (CNN) using as inputs images with ideal indentation, surface roughness, distorted indentations, and cracks to measure indentation diagonals and Vickers hardness automatically and robustly, obtaining a maximum error of 6% according to the reported results [21]. Jalilian and Uhl implemented deep learning techniques from a fully convolutional neural network (FCN) to locate, segment the indentation trace, determine the position and value of the diagonals, and subsequently obtain the hardness value, presenting high robustness to the size, location, and rotation of the indentation print, as well as the brightness and surface defects contained in the image [22]. Li and Yin implemented CNN to segment the indentation footprint of the image background, and, in turn, use a bounding box to measure the length of the diagonals and determine the value of hardness in different materials, showing maximum relative errors for the diagonals length of 0.39 % for TiO2, 1.67 % Cu and 1.64 % Nylon [23]. Cheng et al. used indentation images of medium carbon chrome-molybdenum steel alloys (SCM 440) with revealed microstructure, making it difficult to see the indentation trace. In addition, they implemented convolutional neural networks with different backbones used to extract different characteristics, obtaining as a result the hardness value, presenting an absolute error of about 10.2 [24].
Although machine learning techniques such as neural networks have been implemented, they require a large amount of images for training and a high computational cost for processing. In general, hardness estimation using image processing and machine learning approaches presents difficulties in application when the indentation trace is not well defined or noisy. Therefore, this paper proposes a new indentation measurement method that combines three different solutions, allowing for obtaining a higher accuracy, reducing the analysis time and achieving reproducible results. The method was implemented as a plugin of the ImageJ software, allowing for determining the Vickers hardness of the indentation mark of D2 steel.

2. Materials and Methods

2.1. Materials

For the development of this work, 28 color images with different sizes of D2 steel in initial state, quenching, tempering heat treatment, and TiNbN coating were acquired with an optical microscope, as illustrated in Figure 2.
An expert obtained the hardness value of each sample by zooming in on the image to determine the corners of the indentation more accurately. These values were used as a golden standard for the validation of the proposed method.
For the development of the application, an Intel Core (TM) i5 8300H CPU @ 2.30 GHz computer with 12 GB RAM, running on the x64 bits Windows 10 platform, was employed. The method was implemented in Java language as a plugin of the free access application ImageJ.

2.2. Methods

As shown in Figure 3, the indentation images have poorly defined edges and corners. In addition, there are elements (noise) in the background that do not correspond to the object of interest, which affects its detection, so the result depends on the perspective of the observer. Therefore, to improve accuracy and reduce measurement time and result variation, a method based on image processing and computer vision is proposed that automatically detects indentation and estimates the Vickers hardness value. The flowchart describing the process is shown in Figure 4.
The corresponding algorithm works, in essence, as shown in the pseudocode below, obtaining the indentation region using thresholding in the color channel that has maximum entropy. Then, the corners of the indentation are obtained using three different methods, and the best one is selected according to the index proposed in this work as follows:
Pseudocode
Input:
            Color image Q
1. Find indentation mark
            Get color channels R, G, B from Q
            Find channel A with Maximun entropy
            Binarize A, using the proposed method
            Fill holes and remove noise using mathematical morphology
            Label objects
            Select larger object
2. Indentation corner detection:
             Using local maximum radius:
                          Find corners C R
                         Get Quadrature index Q R
             Using indentation perimeter:
                         Find corners C P
                         Get Quadrature index Q P
             Using Hough transform:
                         Find corners C H
                         Get Quadrature index Q H
3. Find best indentation result:
            if ( Q R + 0.05 > Q P && Q R + 0.05 > Q H ) {
                        Select local maximum radius solution }
            else if ( Q P + 0.05 > Q H && Q P + 0.05 > Q R ) {
                        Select Perimeter solution }
            else{
                        Select Hough solution }
4. Calculate hardness estimation HV.
Output: HV
Since color does not provide relevant information for the study of microindentation, the channel with the highest entropy was chosen as it contains the most information for further processing.
Once the channel to be processed is selected, the region of interest (ROI) is separated from the background. As can be seen, the indentation area has a darker color with respect to the surrounding background. Therefore, the use of a thresholding method for segmentation is appropriate.
However, since the size of the ROI is small with respect to the image background and the gray levels between the background and the ROI are similar, the corresponding mode of the ROI is not clearly defined (see Figure 5). Therefore, the use of classical thresholding techniques such as Otsu or maximum entropy are not appropriate in this case, as they do not always give correct segmentation results (see Figure 6).
Hence, a new thresholding method was developed based on the histogram characteristics. As can be seen, the mode corresponding to the ROI is next to the one corresponding to the background and is not always distinguishable. Therefore, the following thresholding procedure was designed.
Initially, the highest value of the histogram is searched for, which allows for identifying the mode ( m f ) corresponding to the background. Since the mode corresponding to the ROI is below m f , and is distinguished from m f by a local minimum that appears between them, this value is identified as the upper threshold ( t h ) of the mode (see Figure 5a). In other histograms, the ROI is much smaller and no mode corresponding to it appears. In this case, the threshold is detected by the change of slope, as shown in Figure 5b. The low threshold ( t l ) is located at the point where a new slope change is found. Once the image has been segmented, some holes are visible in the ROI, to fill them, a mathematical morphology method called fill holes is used (see Figure 7).
Due to the fact that heat treatment processes were applied to the material, the image shows stains in the indentation zone, which translates into noise or unnecessary elements in the zone of interest (ROI). In order to reduce this noise, mathematical morphology techniques based on erosion and dilation operations were used, performing an opening process in order to obtain the lowest possible noise without modifying the shape and size of the indentation mark as seen in Figure 7.
Since the indented area corresponds to the largest object, to obtain the indentation trace, all objects were labeled and the largest one, i.e., that composed of the highest number of pixels, was selected, as seen in Figure 8.
In order to evaluate the shape of the indentation mark, it is necessary to obtain the edges of the figure. For this purpose, mathematical morphology techniques are used by performing the difference between the image filtered by area, and this same image but eroded by one pixel. (see Figure 9 first section).
The indentation mark can take different shapes depending on the type of material and the force exerted on it by the indenter. Due to this, in many cases, it is not possible to approximate the shape of the indentation to a square. Therefore, three solutions are proposed to detect the corners of the indentation:
(a)
Solution by local maximum radius: This solution works in the case where the shape of the indentation trace can be approximated to a square. If this is the case, the centroid of the figure is calculated and the four major diagonals are found, which would correspond to the four corners. In this solution, the distances of the pixels of the perimeter to the centroid of the figure are found, in such a way that, to find the corners, it is taken into account that their distance is a local maximum in the function of distances with respect to the centroid. This strategy is a rather simplified version of the method used to recognize figures from the distances relative to the centroid [25].
(b)
Perimeter solution: In the case that the region of interest is affected by “noise” that may be due to the heat treatment applied or the type of material, this solution would be useful. For this solution, we calculate the perimeter of the figure, and perform a linear regression using least squares for each side. The intersections of these regressions would correspond to the four corners of the indentation mark. If the edge of the figure is “broken” or open, there would be the disadvantage of an infinite diagonal, which makes it impossible to calculate the perimeter of the figure.
(c)
Solution by Hough transform: this solution has the advantage that the pixels do not need to be contiguous to determine a line; therefore, it favors the detection under a certain level of noise. It also does not limit us to obtain a single solution as in the case of a linear regression; with this transform, multiple lines can be drawn by adjusting to the irregularity of the object of interest [26].
To select the best solution (see Figure 10), the quadrature index (Q) given by Equation (2) was used. The proposed index allows for quantifying from the coordinates of four corners their correspondence to a square; this is achieved by taking a value between one and zero, being one for the case of an approximation to a perfect square, and decreasing towards zero as it moves away from the ideal case. Two normalized error coefficients between zero and one, Maximum Absulute Error ( M a A E ) and Dice Coefficient ( D C ), are used to take into account two characteristics of a square, the perimeter and area, respectively:
Q = 1 M a A E + D C 2
M a A E = max i = 1 4 | s i s ¯ | s ¯
D C = 2 | s a s ¯ | s a + s ¯
The M a A E arises as a measure of the maximum absolute error normalized to Equation (3). Knowing the coordinates of the four corners, the distance from each side, s i , and the average side, s ¯ , are calculated. In this way, the value of M a A E reflects the maximum error encountered when estimating the sides as the perimeter divided into four parts. If all sides are equal, the error given by M a A E is zero, although this does not guarantee that it is indeed a square; for this reason, the estimation of the sides taking into account the area is also taken into account. The coefficient D C is proposed as a measure of the error associated with the estimation of the sides assuming that the area corresponds to a square; such side is denoted as s a , and is equal to the square root of the area defined by the four corners. Formula (4) is used to calculate D C , which is based on the Dice Score formula.

3. Results and Discussion

Table 1 and Table 2 show the Vickers hardness results obtained manually (M) and with the proposed method (A), as well as the Error Rate, defined in Equation (5) and execution time of the algorithm to determine the corners of the indentation mark selected by the technique. To choose the best corner detection solution, the highest quadrature index is selected. In order to improve the accuracy in the selection of these solutions, a threshold of 0.05 is set for the cases in which the values of these indices are close to each other. For one of the solutions to be selected, its index value must be at least 0.05 above the other two quadrature indices. If this condition is not met, the Maximum Local Radius solution ( Q R ) is given priority for selection:
Error Rate = | M A | M 100
As shown in Table 1 and Table 2, the proposed method presents an error between 0.21 % and 4.45 % when using the algorithm based on the local maximum radius, between 1.38 % and 2.87 % for the perimeter solution, and between 0.02 % and 4.00 % for the Hough transform one.
As already mentioned, manual measurement is prone to errors because the results are variable and depend on the observer, the condition of the samples, the difficulty in detecting corners, and the number of measurements to be performed. The time required to determine the hardness manually is an estimated 4 min per sample, including the identification and measurement of the diagonals under the microscope and the determination of the hardness. The proposed method reduces the measurement time, has no variable results, and can be adapted to perform multiple measurements from the images of the indentation marks. The proposed thresholding method allows for good indentation region separation to be obtained in most cases, but it can fail if the acquisition protocol used is inadequate, producing poorly focused images, shadows, or the region of interest being too small with respect to the background.
Figure 11 illustrates the cases for which one of the three solutions works. For the first case, when the edge detection processing is performed, we notice that a rather irregular figure is obtained since the illumination gradient is taken into account when thresholding, which does not allow for defining the corners correctly. For this case, the solution by local maximum radius would be imprecise and also the solution by perimeter since, if it is evaluated from the centroid of the figure, it would take into account the deformities within it.
The second case is the ideal case, since the figure can be very close to a square, so this is the solution automatically chosen by the algorithm.
In the third case, it is observed that in one of the corners there is a small deformation due to the characteristics of the material and its coating. If evaluated with the solution by local maximum radii, the end of this deformation would be taken as a local maximum (see section on edge detection) since it is evaluated from the centroid of the figure, which makes the calculation of the hardness of the material imprecise. If the Hough transform is used instead, more processing time will be required.
Despite the fact that the images contain an irregular surface such as pores, scratches or microdroplets, the algorithm did not present any problems in determining the hardness of the material (see Appendix A), which shows the results obtained, thus validating its high robustness. Compared to other methods, these have been developed with marks that by their shape can be approximated to a square; this one proposes three different solutions depending on the characteristics of the figure given by the indentation mark.
The execution time for the tested images was an average of 2.05 s, taking into account that this time varies depending on the selected solution and the resolution of each image.

4. Conclusions

In this work, a new automatic method based on image processing is proposed to determine the Vickers hardness of AISI D2 steel in different thermal conditions such as: steel with and without quenching, tempering heat treatment and samples coated with titanium niobium nitride (TiNbN). The algorithm includes three options to determine the corners of the indentation pattern by automatically selecting the best one according to the calculated squareness indices, which allows for obtaining good results in the presence of background noise such as spots or pores on the surface and irregularities present in the indentation pattern. The proposed method allows for obtaining reproducible Vickers hardness results in an average time of 2.05 s with an accuracy of 98.3% and a maximum error of 4.5% with respect to the values measured manually, used as a gold standard, surpassing the results achieved in other previously published works.

Author Contributions

Conceptualization and supervision, M.G.F., J.F.P.; methodology, validation and formal analysis, M.G.F., J.D.P., J.F.P., C.J.-J., C.L.M.; software development, M.G.F., J.D.P., C.J.-J.; image acquisition and data curation, C.L.M., J.F.P.; writing and writing—review, editing, and visualization, all authors, project administration and funding acquisition, J.F.P. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding and the APC was funded by Universidad Señor de Sipán.

Data Availability Statement

The images used for the development of this work are available at http://dx.doi.org/10.13140/RG.2.2.31695.15529, accessed on 19 December 2022. The code developed for this work, which was implemented as a plugin to the freely available ImageJ software, is freely available at: http://dx.doi.org/10.13140/RG.2.2.14917.93921, accessed on 19 December 2022.

Acknowledgments

Acknowledgments to CIDESI: Centro de Ingeniería y Desarrollo Industrial, Querétaro, Qro. Mexico for providing support in image acquisition.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Corner Detection Results on 24 Images

Figure A1. Corner detection on Tempering samples at 5N applied force.
Figure A1. Corner detection on Tempering samples at 5N applied force.
Jimaging 09 00008 g0a1
Figure A2. Corner detection on TiNbN samples at 5N applied force.
Figure A2. Corner detection on TiNbN samples at 5N applied force.
Jimaging 09 00008 g0a2
Figure A3. Corner detection on Steel samples at 5N applied force.
Figure A3. Corner detection on Steel samples at 5N applied force.
Jimaging 09 00008 g0a3
Figure A4. Corner detection on Quenched samples at 5N applied force.
Figure A4. Corner detection on Quenched samples at 5N applied force.
Jimaging 09 00008 g0a4
Figure A5. Corner detection on Tempering samples at 10N applied force.
Figure A5. Corner detection on Tempering samples at 10N applied force.
Jimaging 09 00008 g0a5
Figure A6. Corner detection on TiNbN samples at 10N applied force.
Figure A6. Corner detection on TiNbN samples at 10N applied force.
Jimaging 09 00008 g0a6
Figure A7. Corner detection on Steel samples at 10N applied force.
Figure A7. Corner detection on Steel samples at 10N applied force.
Jimaging 09 00008 g0a7
Figure A8. Corner detection on Quenched samples at 10N applied force.
Figure A8. Corner detection on Quenched samples at 10N applied force.
Jimaging 09 00008 g0a8

References

  1. Callister, W.D. Introducción a la Ciencia E ingeniería de los Materiales: Tomo 1; Reverté: Barcelona, Spain, 1997. [Google Scholar]
  2. Askeland, D.R.; Fulay, P.P. The Science and Engineering of Materials; Cengage: Boston, MA, USA, 2016. [Google Scholar]
  3. Sydor, M.; Pinkowski, G.; Jasińska, A. The Brinell method for determining hardness of wood flooring materials. Forests 2020, 11, 878. [Google Scholar] [CrossRef]
  4. Zeng, X.; Xiao, Y.; Ji, X.; Wang, G. Mineral identification based on deep learning that combines image and Mohs hardness. Minerals 2021, 11, 506. [Google Scholar] [CrossRef]
  5. Rodríguez-Prieto, A.; Primera, E.; Frigione, M.; Camacho, A.M. Reliability prediction of acrylonitrile O-ring for nuclear power applications based on shore hardness measurements. Polymers 2021, 13, 943. [Google Scholar] [CrossRef] [PubMed]
  6. Schiavi, A.; Origlia, C.; Germak, A.; Prato, A.; Genta, G. Indentation modulus, indentation work and creep of metals and alloys at the macro-scale level: Experimental insights into the use of a primary Vickers hardness standard machine. Materials 2021, 14, 2912. [Google Scholar] [CrossRef] [PubMed]
  7. Hościło, B.; Molski, K.L. Determination of Surface Stresses in X20Cr13 Steel by the Use of a Modified Hardness Measurement Procedure with Vickers Indenter. Materials 2020, 13, 4844. [Google Scholar] [CrossRef] [PubMed]
  8. Albella, J.M. Láminas Delgadas y Recubrimientos. Preparación, Propiedades y Aplicaciones; Consejo Superior de Investigaciones Científicas: Madrid, Spain, 2003; p. 704. [Google Scholar]
  9. Jairo Florez Olaya, J.; Chipatecua, Y.L.G.; Rodil, S.E.P. Resistencia a la corrosión de recubrimientos de nitruros metálicos depositados sobre acero AISI M2 Corrosion resistance of transition metal nitride films deposited on AISI M2 steel. Ing. Y Desarro. 2012, 30, 1–22. [Google Scholar]
  10. Baptista, A.; Silva, F.; Porteiro, J.; Míguez, J.; Pinto, G. Sputtering Physical Vapour Deposition (PVD) Coatings: A Critical Review on Process Improvement and Market Trend Demands. Coatings 2018, 8, 402. [Google Scholar] [CrossRef] [Green Version]
  11. Soffritti, C.; Fortini, A.; Sola, R.; Fabbri, E.; Merlin, M.; Garagnani, G.L. Influence of Vacuum Heat Treatments on Microstructure and Mechanical Properties of M35 High Speed Steel. Metals 2020, 10, 643. [Google Scholar] [CrossRef]
  12. Barrena-Rodríguez, M.d.J.; Acosta-González, F.A.; Téllez-Rosas, M.M. A Review of the Boiling Curve with Reference to Steel Quenching. Metals 2021, 11, 974. [Google Scholar] [CrossRef]
  13. Cicek, H.; Baran, O.; Keles, A.; Totik, Y.; Efeoglu, I. A comparative study of fatigue properties of TiVN and TiNbN thin films deposited on different substrates. Surf. Coatings Technol. 2017, 332, 296–303. [Google Scholar] [CrossRef]
  14. Sheppard, L.R.; Zhang, H.; Liu, R.; Macartney, S.; Murphy, T.; Wuhrer, R. Reactive sputtered Ti X Nb Y N Z thin films. I. Basic processing relationships. Mater. Chem. Phys. 2019, 224, 308–313. [Google Scholar] [CrossRef]
  15. Sheppard, L.R.; Zhang, H.; Liu, R.; Macartney, S.; Murphy, T.; Wainer, P.; Wuhrer, R. Reactive sputtered Ti x Nb y N coatings. II. Effect of common deposition parameters. Mater. Chem. Phys. 2019, 224, 320–327. [Google Scholar] [CrossRef]
  16. ASTM International Standards. Standard Test Method for Microindentation Hardness of Materials; ASTM International: West Conshohocken, PA, USA, 2017; Volume E384, pp. 1–40. [Google Scholar] [CrossRef]
  17. Sugimoto, T.; Kawaguchi, T. Development of an automatic Vickers hardness testing system using image processing technology. IEEE Trans. Ind. Electron. 1997, 44, 696–702. [Google Scholar] [CrossRef]
  18. Dominguez-Nicolas, S.M.; Wiederhold, P. Indentation Image Analysis for Vickers Hardness Testing. In Proceedings of the 2018 15th International Conference on Electrical Engineering, Computing Science and Automatic Control (CCE), Mexico City, Mexico, 5–7 September 2018; pp. 1–6. [Google Scholar] [CrossRef]
  19. Fedotkin, A.; Laktionov, I.; Kravchuk, K.; Maslenikov, I.; Useinov, A. Automatic Processing of Microhardness Images Using Computer Vision Methods. Instruments Exp. Tech. 2021, 64, 357–362. [Google Scholar] [CrossRef]
  20. Privezentsev, D.; Zhiznyakov, A.; Kulkov, Y. Automation of Measuring Microhardness of Materials using Metal-Graphic Images. In Proceedings of the 2019 International Russian Automation Conference (RusAutoCon), Sochi, Russia, 8–14 September 2019; pp. 1–5. [Google Scholar] [CrossRef]
  21. Tanaka, Y.; Seino, Y.; Hattori, K. Automated Vickers hardness measurement using convolutional neural networks. Int. J. Adv. Manuf. Technol. 2020, 109, 1345–1355. [Google Scholar] [CrossRef]
  22. Jalilian, E.; Uhl, A. Deep Learning Based Automated Vickers Hardness Measurement. In Computer Analysis of Images and Patterns; Tsapatsoulis, N., Panayides, A., Theocharides, T., Lanitis, A., Pattichis, C., Vento, M., Eds.; Springer International Publishing: Cham, Switzerland, 2021; pp. 3–13. [Google Scholar] [CrossRef]
  23. Li, Z.; Yin, F. Automated measurement of Vickers hardness using image segmentation with neural networks. Measurement 2021, 186, 110200. [Google Scholar] [CrossRef]
  24. Cheng, W.S.; Chen, G.Y.; Shih, X.Y.; Elsisi, M.; Tsai, M.H.; Dai, H.J. Vickers Hardness Value Test via Multi-Task Learning Convolutional Neural Networks and Image Augmentation. Appl. Sci. 2022, 12, 10820. [Google Scholar] [CrossRef]
  25. Chang, C.; Hwang, S.; Buehrer, D. A shape recognition scheme based on relative distances of feature points from the centroid. Pattern Recognit. 1991, 24, 1053–1063. [Google Scholar] [CrossRef]
  26. Mukhopadhyay, P.; Chaudhuri, B.B. A survey of Hough Transform. Pattern Recognit. 2015, 48, 993–1010. [Google Scholar] [CrossRef]
Figure 1. Indentation process of a material sample. (a) force applied with an indenter to the material; (b) indentation mark.
Figure 1. Indentation process of a material sample. (a) force applied with an indenter to the material; (b) indentation mark.
Jimaging 09 00008 g001
Figure 2. Example of indentation images used for the development of the proposed technique.
Figure 2. Example of indentation images used for the development of the proposed technique.
Jimaging 09 00008 g002
Figure 3. Details of the indentation image that affect the hardness measurement. Corner and edge defects and background noise.
Figure 3. Details of the indentation image that affect the hardness measurement. Corner and edge defects and background noise.
Jimaging 09 00008 g003
Figure 4. Flowchart.
Figure 4. Flowchart.
Jimaging 09 00008 g004
Figure 5. Histogram (a) bimodal, find the minimum point; (b) modal, find the change in slope.
Figure 5. Histogram (a) bimodal, find the minimum point; (b) modal, find the change in slope.
Jimaging 09 00008 g005
Figure 6. Threshold techniques evaluation. The comparison section shows Otsu (in white) and the proposed method (in green) after the filter by area process.
Figure 6. Threshold techniques evaluation. The comparison section shows Otsu (in white) and the proposed method (in green) after the filter by area process.
Jimaging 09 00008 g006
Figure 7. Thresholding, fill holes, and denoising.
Figure 7. Thresholding, fill holes, and denoising.
Jimaging 09 00008 g007
Figure 8. Label and area filter.
Figure 8. Label and area filter.
Jimaging 09 00008 g008
Figure 9. Edge detection and solution selected by the algorithm.
Figure 9. Edge detection and solution selected by the algorithm.
Jimaging 09 00008 g009
Figure 10. Result of corner detection.
Figure 10. Result of corner detection.
Jimaging 09 00008 g010
Figure 11. Example of proposed solutions. Column 1. Sample TiNbN-2; Column 2. Sample Steel-3; and Column 3. Sample TiNbN-3 with applied force of 10N.
Figure 11. Example of proposed solutions. Column 1. Sample TiNbN-2; Column 2. Sample Steel-3; and Column 3. Sample TiNbN-3 with applied force of 10N.
Jimaging 09 00008 g011
Table 1. Vickers hardness results with 5N applied force, where “Steel” corresponds to steel in its initial state, Q H to the quadrature index of the solution by Hough, Q P to the quadrature index of the solution by Perimeter and Q R to the quadrature index of the Local Maximum Radius.
Table 1. Vickers hardness results with 5N applied force, where “Steel” corresponds to steel in its initial state, Q H to the quadrature index of the solution by Hough, Q P to the quadrature index of the solution by Perimeter and Q R to the quadrature index of the Local Maximum Radius.
MaterialAlgorithm (HV)Manual (HV)Error RateRuntime (s) Q H Q P Q R Selected Solution
Tempered-1620.46625.490.801.390.9710.9790.975Max radius
Tempered-2609.32610.610.211.420.9810.9810.980Max radius
Tempered-3632.88626.541.011.400.9680.1780.970Max radius
TiNbN-11105.001104.740.021.340.9780.4230.926Hough
TiNbN-21125.771172.744.001.360.9890.9340.939Hough
TiNbN-31127.421157.462.600.830.9840.4130.928Hough
TiNbN-41122.601150.302.410.970.9830.0870.497Hough
Steel-1174.54168.703.464.740.9220.9490.955Max radius
Steel-2169.71164.593.114.720.9470.9540.959Max radius
Steel-3177.11172.652.584.760.9630.9610.965Max radius
Quenched-1742.65711.034.451.990.9540.9720.970Max radius
Quenched-2659.97640.882.981.140.9590.9660.969Max radius
Quenched-3628.92620.361.381.610.5980.9610.822Perimeter
Table 2. Vickers hardness results with 10N applied force, where “Steel” corresponds to steel in its initial state, Q H to the quadrature index of the solution by Hough, Q P to the quadrature index of the solution by Perimeter and Q R to the quadrature index of the Local Maximum Radius.
Table 2. Vickers hardness results with 10N applied force, where “Steel” corresponds to steel in its initial state, Q H to the quadrature index of the solution by Hough, Q P to the quadrature index of the solution by Perimeter and Q R to the quadrature index of the Local Maximum Radius.
MaterialAlgorithm (HV)Manual (HV)Error RateRuntime (s) Q H Q P Q R Selected Solution
Tempered-1604.27599.500.800.930.9710.9790.980Max radius
Tempered-2612.89609.860.500.920.9810.9730.974Max radius
Tempered-3593.55595.470.320.890.9740.9750.977Max radius
TiNbN-11060.261075.991.460.740.9730.9700.969Max radius
TiNbN-21074.711069.960.440.860.9910.6780.551Hough
TiNbN-31145.31113.352.870.890.9820.9900.914Perimeter
TiNbN-4950.06931.232.020.960.9330.8950.977Max radius
TiNbN-5899.22910.071.190.970.9840.8790.930Hough
TiNbN-6917.31908.141.010.900.9830.5180.874Hough
Steel-1267.16261.842.034.740.9700.9710.969Max radius
Steel-2269.78264.611.954.730.9690.9580.962Max radius
Steel-3273.06271.750.484.860.9450.9580.960Max radius
Quenched-11020.451029.430.873.550.9680.9820.962Max radius
Quenched-2980.49967.211.371.700.9530.9680.969Max radius
Quenched-3967.41943.702.512.260.9540.9640.966Max radius
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Polanco, J.D.; Jacanamejoy-Jamioy, C.; Mambuscay, C.L.; Piamba, J.F.; Forero, M.G. Automatic Method for Vickers Hardness Estimation by Image Processing. J. Imaging 2023, 9, 8. https://doi.org/10.3390/jimaging9010008

AMA Style

Polanco JD, Jacanamejoy-Jamioy C, Mambuscay CL, Piamba JF, Forero MG. Automatic Method for Vickers Hardness Estimation by Image Processing. Journal of Imaging. 2023; 9(1):8. https://doi.org/10.3390/jimaging9010008

Chicago/Turabian Style

Polanco, Jonatan D., Carlos Jacanamejoy-Jamioy, Claudia L. Mambuscay, Jeferson F. Piamba, and Manuel G. Forero. 2023. "Automatic Method for Vickers Hardness Estimation by Image Processing" Journal of Imaging 9, no. 1: 8. https://doi.org/10.3390/jimaging9010008

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop