Discrete Wavelet Transform for Serial X-ray Crystallography Image Segmentation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Doering, Dionisio, Claret, Noemi, Paulino, Guilherme, Scomparin, Luca, Poitevin, Frederic, Darve, Eric, Hansson, Conny, Russell, James, Dave, Abhilasha, Rota, Lorenzo, Miceli, Antonino, Herbst, Ryan, Dragone, Angelo
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910234894663680
author Doering, Dionisio
Claret, Noemi
Paulino, Guilherme
Scomparin, Luca
Poitevin, Frederic
Darve, Eric
Hansson, Conny
Russell, James
Dave, Abhilasha
Rota, Lorenzo
Miceli, Antonino
Herbst, Ryan
Dragone, Angelo
author_facet Doering, Dionisio
Claret, Noemi
Paulino, Guilherme
Scomparin, Luca
Poitevin, Frederic
Darve, Eric
Hansson, Conny
Russell, James
Dave, Abhilasha
Rota, Lorenzo
Miceli, Antonino
Herbst, Ryan
Dragone, Angelo
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_19199
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Discrete Wavelet Transform for Serial X-ray Crystallography Image Segmentation
Doering, Dionisio
Claret, Noemi
Paulino, Guilherme
Scomparin, Luca
Poitevin, Frederic
Darve, Eric
Hansson, Conny
Russell, James
Dave, Abhilasha
Rota, Lorenzo
Miceli, Antonino
Herbst, Ryan
Dragone, Angelo
Instrumentation and Detectors
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.
title Discrete Wavelet Transform for Serial X-ray Crystallography Image Segmentation
topic Instrumentation and Detectors
url https://arxiv.org/abs/2605.19199