运筹与管理 ›› 2025, Vol. 34 ›› Issue (7): 83-89.DOI: 10.12005/orms.2025.0211

• 理论分析与方法探讨 • 上一篇    下一篇

基于时空EWMA与区域生长的图像数据监控方法

周盼盼1, 左玲2   

  1. 1.南京财经大学 管理科学与工程学院,江苏 南京 210023;
    2.深圳信息职业技术大学 管理学院,广东 深圳 518172
  • 收稿日期:2023-10-10 发布日期:2025-11-04
  • 通讯作者: 左玲(1989-),女,河南罗山人,博士,讲师,研究方向:质量管理。Email: zuol@sziit.edu.cn。
  • 作者简介:周盼盼(1992-),女,安徽泗县人,博士,讲师,研究方向:质量管理。
  • 基金资助:
    国家自然科学基金资助项目(72501131,72072080);江苏高校哲学社会科学研究项目(2021SJA0299);深圳信息职业技术大学校级科研项目(SZIIT2021KJ004)

A Spatial-temporal EWMA and Region Growing Based Method for Monitoring Image Data

ZHOU Panpan1, ZUO Ling2   

  1. 1. School of Management Science and Engineering, Nanjing University of Finance and Economics, Nanjing 210023, China;
    2. School of Management, Shenzhen University of Information Technology, Shenzhen 518172, China
  • Received:2023-10-10 Published:2025-11-04

摘要: 随着机器视觉系统的广泛应用,图像数据成为表征产品质量的重要形式,建立适用于图像数据监控的统计控制图已成为现代制造业过程控制的重要需求。为提高产品表面一致性或特定模式异常监测的准确度和及时性,提出一种基于时空EWMA与区域生长的图像数据监控方法。首先,将每张图像划分为不可重叠、大小相同的方形区域,计算区域内所有像素灰度值的均值并进行标准化处理;然后,采用EWMA方法对各区域的像素灰度值均值进行时间上的平滑,在此基础上应用空间EWMA方法搜索偏移区域的中心;最后,以该中心作为初始起点,应用区域生长方法确定偏移发生的范围。设计仿真试验,对比3种偏移位置、5种偏移范围和10种偏移量组合场景下,该方法与同类方法的稳态链长中值和Dice相似系数中值指标。结果表明,当偏移范围较小时,该方法能更准确地估计偏移发生的位置、偏移范围的大小;当偏移范围较大时,该方法能更快速地监测出偏移。

关键词: 统计过程监控, 质量控制, 图像数据, 异常诊断

Abstract: In many manufacturing sectors, such as LCD panel production, tile manufacturing, and semiconductor fabrication, product surface quality is of crucial importance. With the wide application of machine vision systems, image data composed of pixels with varying gray levels are captured to reflect the surface quality. Product quality in these industries can therefore be characterized by the uniformity within an image (e.g., LCD panels) or the conformity of an image to a predefined pattern (e.g., manufactured tiles). To ensure process and product quality and prevent potential loss, engineers are interested in the timely detection of changes in image uniformity or deviations from the specific pattern. As a vital tool for statistical process monitoring, control charts are increasingly employed in image monitoring for detecting anomalous changes. In the statistical monitoring for image data, there are two main issues of concern. One is the detection of fault occurrence, which is to trigger an alarm for the change in the process as early as possible. This is usually achieved through detecting the shift in the gray levels of pixels in a certain area within an image. The other is the identification of fault location/size, which usually involves the estimation of faulty pixels or regions. Most existing research has mainly focused on either detecting fault occurrence or identifying fault location/size. Simultaneous detection and identification of faults are relatively less explored but are attracting growing research attention.
In order to enhance the rapid detection of fault occurrence and improve the accuracy of fault estimation, this study makes use of the fact that faulty pixels tend to appear as a cluster, and accumulates anomalous changes surrounding the faulty pixels through spatial smoothing. Specifically, a spatial EWMA (Exponentially Weighted Moving Average) is integrated with a temporal EWMA for locating the center of the faulty regions. Starting from the region center, a region growing method can then be applied to effectively identify the faulty regions. By constructing a monitoring statistic for the faulty region only, a signal can be efficiently triggered if a change occurs to the process. Meanwhile, the fault location and size can be readily identified. To implement the proposed spatial-temporal EWMA and region growing based method for image data, three steps are involved.
First, to identify faults of real practical significance and reduce computational difficulty, each image is divided into non-overlapping square regions of equal size. The average gray levels within these divided regions are standardized to facilitate subsequent quality monitoring. Second, the temporal EWMA method is applied to smooth the average gray levels within the individual regions. In this way, temporal shifts are accumulated, and even small shifts in the process can be detected in a more timely manner. Subsequently, the spatial EWMA is imposed on the temporal EWMA statistics, aiming to accumulate possible changes surrounding each region. With such enhancement, faults of even small magnitude can be detected with a higher probability. Among the spatial EWMA values for all the divided regions, the maximum value indicates the region with the most significant change, and is therefore used to identify the center of the shifted regions. Third, with this identified region center as the starting point, a region growing strategy is employed to determine the boundary of the shifted area. A charting statistic is then constructed corresponding to the shifted regions. At each time point, the value of the charting statistic is calculated, and alarms tend to be triggered upon fault occurrence. Furthermore, the location of the shift center and the size of the shifted regions are already available when region growing is implemented.
To evaluate the performance of this approach, extensive simulation experiments are conducted. A total of 150 scenarios is considered, including various combinations of 3 fault center locations, 5 fault sizes, and 10 shift magnitudes. The fault detection and identification performance are evaluated using the steady-state median run length (SSMRL) and median Dice similarity coefficient (MDSC) indicators. The results show that the proposed method is superior to the comparative method in accurately estimating the location and size of shifts when the fault size is small, while it enables more rapid shift detection in cases where the fault size is large.
The proposed method leverages the advantage of spatial smoothing in detecting small sized faults, and the power of temporal smoothing in detecting small shifts. With the region growing strategy, the proposed method can be flexibly applied to the detection of both regular and irregular faults, making it highly adaptable to various image monitoring applications. One limitation of this method is that it assumes only one single fault occurs. Future research endeavors may explore the extension of this method to detect multiple faults.

Key words: statistical process monitoring, quality control, image data, fault diagnosis

中图分类号: