Home > Computer science essays > Enhanced Image Segmentation for Non-Destructive Testing Using Fuzzy Logic

Essay: Enhanced Image Segmentation for Non-Destructive Testing Using Fuzzy Logic

Essay details and download:

  • Subject area(s): Computer science essays
  • Reading time: 6 minutes
  • Price: Free download
  • Published: 23 October 2022*
  • Last Modified: 1 August 2024
  • File format: Text
  • Words: 1,524 (approx)
  • Number of pages: 7 (approx)

Text preview of this essay:

This page of the essay has 1,524 words.

Abstract

This research aims to develop an algorithm suitable for automated systems to interpret and make decisions on metal imperfections. Utilizing Non-Destructive Testing (NDT) images, our method employs advanced image processing techniques to analyze these imperfections. Given the degraded quality of metals and the small size of defects, NDT images can be challenging to inspect, often subject to human error and subjective interpretation. Our approach translates the discrimination power of the human eye into an efficient algorithm, surpassing previous methods based on entropy and histogram thresholding. For improved precision, we propose a segmentation approach based on fuzzy logic, tailored to NDT-specific information.

Introduction

Non-Destructive Testing (NDT) is defined by the American Society for Non-destructive Testing (ASNT) as the evaluation of the physical condition of an object without impairing its functionality. NDT techniques utilize probing energy forms to determine material properties or identify material discontinuities, whether surface, internal, or concealed. These methods are crucial in inspecting materials used in machinery and structures to detect possible faults like corrosion, cracks, and other imperfections, ensuring safety and reliability. NDT inspection technology underpins safety assessment and explosion prevention technology for boilers and pressure vessels. Numerous methods exist for conducting NDT and obtaining images, but fewer are available for their analysis. Previous algorithms have not yielded satisfactory results due to the low contrast between defective and sound regions in NDT images. Thus, we propose an algorithm to segment these images into non-overlapping, meaningful regions, enhancing interpretability and reliability.

Image Segmentation in NDT

Image segmentation is fundamental to object recognition and computer vision, enabling applications such as image retrieval, visual summaries, and image-based modeling. Segmentation partitions an image into meaningful regions according to specific criteria. Formally, segmentation is the partition of a set FF into connected subsets SiS_i such that the homogeneity predicate P(Si)P(S_i) is true for all regions and P(Si∪Sj)P(S_i \cup S_j) is false when SiS_i and SjS_j are neighbors. Various segmentation approaches exist, including classical, statistical, fuzzy, and neural methods. Our method, based on second-order fuzzy correlation, utilizes a modified co-occurrence matrix to extract local information from the image. Fuzzy logic, which mimics human reasoning, effectively handles the vagueness inherent in human perception and language, making it ideal for this application.

Basic Concepts

Co-occurrence Matrix

The co-occurrence matrix is a statistical method for texture extraction, calculating how often pairs of pixels with specific values occur in a given spatial relationship within an image. For a grayscale image II of dimensions M×NM \times N with LL grey levels, the Gray Level Co-occurrence Matrix (GLCM), defined by Haralick, is a square matrix GG of size L×LL \times L. The (i,j)(i,j)th entry of GG represents the probability of a pixel with intensity jj occurring around a pixel with intensity ii. Various definitions of the co-occurrence matrix are possible depending on the spatial relationship considered, such as in any of the eight possible directions (N, S, E, W, or the four diagonals).

Fuzzy Set Theory

Introduced by Zadeh, fuzzy set theory models problems involving imprecise data and diffuse categories. Unlike classical sets, which use a characteristic function mapping from the universal set UU to {0,1}, fuzzy sets are defined by a membership function mapping UU to the interval [0,1]. This allows for varying degrees of membership, reflecting the uncertainty and vagueness of real-world data. A fuzzy subset AA of a universe XX is a collection of ordered pairs (x,μA(x))(x, \mu_A(x)), where μA(x)\mu_A(x) denotes the degree of membership of element xx in AA. This concept is crucial for handling the incomplete and unreliable information provided by NDT.

Membership Function

The membership function quantifies the participation of each input in a fuzzy set, associating weights with inputs for processing. These rules, often linguistic, use input membership values to influence the fuzzy output sets’ conclusions. Input membership functions can take various forms, such as triangles, trapezoids, or bell curves, depending on the system’s requirements. In this research, we employ an S-shaped membership function, which is particularly useful for image thresholding due to its adaptability and precision.

Implementation

The proposed segmentation method consists of five phases:

  1. Generation of the Modified Co-occurrence Matrix
  2. Calculating the 2D S-type Membership Functions
  3. Determining the Second-Order Fuzzy Correlation
  4. Measuring Ambiguity for Each Gray Level and Identifying the Threshold Level for Segmentation
  5. Producing the Final Image Output with Thresholding

Procedure

Modified Co-occurrence Matrix

A grayscale image’s pixel intensity ranges from 0 to 255, and its histogram plots the number of pixels at each intensity level. In practical applications, histograms are often unimodal, making threshold selection challenging. Our algorithm uses spatial information to produce a transformed co-occurrence matrix, effectively handling unimodal images by emphasizing significant features and enhancing contrast. This method accounts for the rate of change of gray level and edge values, providing more accurate segmentation.

2D S-Type Membership Function

The 2D S-type membership function adapts the standard S-function to handle real-life, two-dimensional images. By modifying parameters, we transform the function to better represent the image’s characteristics. This function calculates fuzziness for each pixel intensity, identifying the threshold with minimal ambiguity.

Fuzzy Correlation

Fuzzy methods offer stability under uncertain conditions and simplicity in achieving desired image enhancement effects. The proposed method uses fuzzy correlation to threshold the image histogram, extracting essential information. The correlation between local properties, such as edginess or texture, helps identify significant features and enhance segmentation accuracy.

Measure of Ambiguity

Ambiguity measures the difficulty in classifying a pixel as part of the object or background. By defining initial regions and classifying pixels based on fuzzy membership values, we maximize contrast between the object and background. The optimal threshold corresponds to the gray level with maximum ambiguity, ensuring precise segmentation.

Thresholding

Thresholding partitions pixels into foreground and background based on their gray levels. The identified threshold separates object pixels from background pixels, resulting in a segmented image that clearly delineates the object from its surroundings.

Experimental Results

We implemented the proposed algorithm in MATLAB and tested it on several poor-quality NDT images. The results demonstrate that our method produces segmentation results close to the ground truth, with a high rate of satisfactory outcomes. In most cases, the algorithm accurately identified the appropriate threshold, validating its effectiveness.

Conclusion

This research presents a novel technique for segmenting NDT images, leveraging fuzzy logic to enhance precision and reliability. Experimental results indicate that the proposed method performs well across various gray level digital images, with results closely matching ground truth data. Although the algorithm occasionally fails to produce the optimal threshold, its overall performance is robust and reliable.

Future Scope

Future research can refine the algorithm to improve accuracy and extend its application to multiple thresholds for images with complex histograms. Additionally, the method can be adapted for use in recognition systems and other color models, expanding its utility in various domains.


References

  1. Guohua, C. (2001). The Advancement of NDT Technology and its Application in the Safety Assessment of Pressure Vessels. Institute of Safety Engineering, South China University of Technology.
  2. Khaira, A., Dwivedi, R. K., & Srivastava, S. (2014). A Study of NDT Techniques and Their Significance in Industries. Journal of Advanced Engineering Research, 1(2), 126-129.
  3. Abo-Eleneen, Z. A., & Abdel-Azim, G. (2012). An Improved Image Segmentation Algorithm Based on MET Method. IJCSI International Journal of Computer Science Issues, 9(5), 3.
  4. Ibarra-Castanedo, C., Bendada, A., & Maldague, X. (2007). Thermographic Image Processing for NDT. IV Conferencia Panamericana de END, Buenos Aires.
  5. Pantofaru, C. (2008). Studies in Using Image Segmentation to Improve Object Recognition. Doctoral dissertation, Carnegie Mellon University.
  6. Kumar, S., & Srinivas, R. (2013). A Study on Image Segmentation and Its Methods. International Journal of Advanced Research in Computer Science and Software Engineering, 3(9).
  7. Gonzalez, R. C., & Woods, R. E. (2007). Digital Image Processing (2nd ed.). Beijing: Publishing House of Electronics Industry.
  8. Jabbar, N. I. (2014). Updating Algorithm of Fuzzy Kohonen Clustering Network in Image Segmentation. Proceedings of the World Congress on Engineering and Computer Science.
  9. Haralick, R. M., Shanmugam, K., & Dinstein, I. (1973). Textural Features for Image Classification. IEEE Transactions on Systems, Man, and Cybernetics, 3(6), 610-621.
  10. Sebastian, B. V., Unnikrishnan, A., & Balakrishnan, K. (2012). Grey Level Co-occurrence Matrices: Generalisation and Some New Features. International Journal of Computer Science, Engineering and Information Technology, 2(2).
  11. Zadeh, L. A. (1965). Fuzzy Sets. Information and Control, 8, 338-353.
  12. Zadeh, L. A. (1984). Fuzzy Probabilities. Information Processing & Management, 20(3), 363-372.
  13. Kosko, B. (1990). Fuzziness vs. Probability. International Journal of General System.
  14. Hellmann, M. (2001). Fuzzy Logic Introduction.
  15. Zadeh, L. A. (1972). A Fuzzy-Set-Theoretic Interpretation of Linguistic Hedges.
  16. Cheng, H. D., & Cheng, Y. H. (1998). Thresholding Based on Fuzzy Partition of 2D Histogram. IEEE International Conference on Pattern Recognition.
  17. Weszka, J. S., & Rosenfeld, A. (1979). Histogram Modification for Threshold Selection. IEEE Transactions on System, Man, and Cybernetics, 9(1), 62-66.
  18. Mason, D., et al. (Preprint). Measurement of C-bands in Human Chromosomes.
  19. Tobias, O. J., & Seara, R. (2014). Image Segmentation by Histogram Thresholding Using Fuzzy Sets.
  20. Pal, S. K., Ghosh, A., & Kundu, M. K. (2013). Soft Computing for Image Processing. Physica.
  21. Pal, S. K., & Ghosh, A. (1992). Image Segmentation Using Fuzzy Correlation. Information Sciences, 62(3), 223-250.
  22. Tobias, O. J., & Seara, R. (2017). Image Segmentation Using Fuzzy Correlation.

Based on 2017-7-27-1501177594 but rewritten.

About this essay:

If you use part of this page in your own work, you need to provide a citation, as follows:

Essay Sauce, Enhanced Image Segmentation for Non-Destructive Testing Using Fuzzy Logic. Available from:<https://www.essaysauce.com/computer-science-essays/ndt-image-segmentation-based-on-fuzzy-sets-modified-co-occurrence-matrix/> [Accessed 19-11-24].

These Computer science essays have been submitted to us by students in order to help you with your studies.

* This essay may have been previously published on EssaySauce.com and/or Essay.uk.com at an earlier date than indicated.