Two-Dimensional Image Lempel–Ziv Complexity Calculation Method and Its Application in Defect Detection

  • Jiancheng Yin
  • , Wentao Sui
  • , Xuye Zhuang
  • , Yunlong Sheng
  • , Yongbo Li

Research output: Contribution to journalArticlepeer-review

Abstract

Although Lempel–Ziv complexity (LZC) can reflect changes in object characteristics by measuring changes in independent patterns in the signal, it can only be applied to one-dimensional time series and cannot be directly applied to two-dimensional images. To address this issue, this paper proposed a two-dimensional Lempel–Ziv complexity by combining the concept of local receptive field in convolutional neural networks. This extends the application scenario of LZC from one-dimensional time series to two-dimensional images, further broadening the scope of application of LZC. First, the pixels and size of the image were normalized. Then, the image was encoded according to the sorting of normalized values within the 4 × 4 region. Next, the encoding result of the image was rearranged into a vector by row. Finally, the Lempel–Ziv complexity of the image could be obtained based on the rearranged vector. The proposed method was further used for defect detection in conjunction with the dilation operator and Sobel operator, and validated by two practical cases. The results showed that the proposed method can effectively identify independent pattern changes in images and can be used for defect detection. The accuracy rate of defect detection can reach 100%.

Original languageEnglish
Article number1014
JournalEntropy
Volume27
Issue number10
DOIs
StatePublished - Oct 2025

Keywords

  • Lempel–Ziv complexity
  • defect detection
  • local receptive field
  • two-dimensional image

Fingerprint

Dive into the research topics of 'Two-Dimensional Image Lempel–Ziv Complexity Calculation Method and Its Application in Defect Detection'. Together they form a unique fingerprint.

Cite this