用于串行X射线衍射图像分割的离散小波变换
Discrete Wavelet Transform for Serial X-ray Crystallography Image Segmentation
AI总结:
本文提出了一种基于二维离散小波变换的预处理算法,用于在串行晶体学图像中分割背景散射与晶体衍射,通过结合峰值检测实现有损压缩,同时验证了Haar小波在Bragg峰检测中的优越性。
摘要:
即将到来的LCLS-II/II-HE操作在重复频率接近1MHz的情况下,需要探测器数据减少来管理由此产生的数据量。我们提出了一种二维离散小波变换(DWT)预处理算法,用于在串行晶体学图像中分割背景散射与晶体衍射,从而实现早期数据分析,并在结合峰值检测时,通过仅传输识别出的衍射峰实现有损压缩。该方法在多级Haar小波分解中将近似(LL)系数设为零,并仅从细节子带中重建,利用了小波域中平滑背景与尖锐Bragg峰的自然分离。在100个具有已知地面真实值的模拟nanoBragg帧上评估,该流程在四个分解层级(J=4)时达到F1≈0.96,明显优于已建立的peakfinder8算法(F1≈0.37),在精确度(P≈1.00 vs. 0.94)和召回率(R≈0.92 vs. 0.24)方面均有显著提升。对12种小波家族的比较证实,Haar在Bragg峰检测中最优,因其滤波器支持最小。在真实ePix10kA数据上进行的后续晶体学分析显示,CC*和R_split在J=4时收敛,并跟踪未处理基线通过实际分辨率极限。在添加超过~50 ADU的噪声下,当前流程的精度显著劣于pf8算法,暴露出所提策略的局限性。我们还展示了在Alveo U200上以200MHz实现的DWT滤波器,其预计资源占用与集成到即将到来的ePixUHR固件中兼容,并展示了在SparkPix探测器家族中实现的路径。
英文摘要:
Upcoming LCLS-II/II-HE operation at repetition rates approaching 1MHz demands on-detector data reduction to manage the resulting data volumes. We present a 2D discrete wavelet transform (DWT) pre-processing algorithm that segments background scatter from crystal diffraction in serial crystallography images, enabling early data analysis and, when combined with peak finding, lossy compression by transmitting only the identified diffraction peaks. The method zeroes the approximation (LL) coefficients of a multi-level Haar wavelet decomposition and reconstructs from detail subbands only, exploiting the natural separation of smooth background and sharp Bragg peaks in the wavelet domain. Evaluated on 100 simulated nanoBragg frames with known ground truth, the pipeline achieves $F1 \approx 0.96$ at four decomposition levels ($J = 4$), substantially outperforming the established peakfinder8 algorithm ($F1 \approx 0.37$) in both precision ($P \approx 1.00$ vs.\ $0.94$) and recall ($R \approx 0.92$ vs.\ $0.24$). A comparison of 12 wavelet families confirms that Haar is optimal for Bragg-peak detection due to its minimal filter support. Downstream crystallographic analysis performed on real ePix10kA data shows that CC* and $R_\mathrm{split}$ converge at $J = 4$ and track the unprocessed baseline through the practical resolution limit. Under added noise exceeding $\sim$50 ADU, the current pipeline's precision degrades significantly more than that of the pf8 algorithm, exposing a limitation of the proposed strategy. We also demonstrate an FPGA implementation of the DWT filters on an Alveo U200 at 200MHz, with a projected resource footprint compatible with integration into the upcoming ePixUHR firmware and a path to on-detector ASIC implementation in SparkPix detector family.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。