Abstract
Single-molecule localization microscopy (SMLM) allows imaging beyond the diffraction limit. Detection of molecules is a crucial initial step in SMLM. False positive detections, which are not quantitatively controlled in current methods, are a source of artifacts that affect the entire SMLM analysis pipeline. Furthermore, current methods lack standardization, which hinders reproducibility. Here, we present an optimized molecule detection method which combines probabilistic thresholding with theoretically optimal filtering. The probabilistic thresholding enables control over false positive detections while optimal filtering minimizes false negatives. A theoretically optimal Poisson matched filter is used as a performance benchmark to evaluate existing filtering methods. Overall, our approach allows the detection of molecules in a robust, single-parameter and user-unbiased manner. This will minimize artifacts and enable data reproducibility in SMLM.
Subject terms: Wide-field fluorescence microscopy, Super-resolution microscopy, Molecular imaging
The work presents a molecule detection method for single-molecule localization microscopy. By means of probabilistic thresholding with control over false positive detections, the method improves robustness and enhances reproducibility.
Introduction
Single-molecule localization microscopy (SMLM) encompasses powerful techniques that surpass the diffraction limit of light1,2. These advancements have lead to breakthroughs in fields such as cellular or molecular biology. The process of molecule detection in microscopy images is integral to SMLM methodologies. It is an essential first step for extracting quantitative information from microscopy images and forms a basis for all subsequent analysis3. The detection algorithm aims to identify individual molecules and determine their pixel-based locations, effectively separating molecular signals from background noise. However, the current state of molecule detection in SMLM faces several challenges. The detection process involves numerous methods, each with multiple settings that users manually adjust. This complexity makes the process difficult to execute, reproduce, and interpret without errors or artifacts4. Furthermore, the selection of the detection method in localization software is often ad hoc lacking a systematic approach. The detection methods implemented across various localization software differs5,6. This restricts users to potentially sub-optimal performance and limits the reproducibility of data analysis.
The variety and complexity of current detection methods are substantial. Briefly, these methods include linear filters such as mean filters, Gaussian filters5,7, and more complex compositions like Laplacian of Gaussian8 and difference of Gaussians. Nonlinear filters, such as median filters, and advanced noise suppression techniques like bilateral filtering and nonlocal means, are also employed9. Morphological operations, including top-hat filters and h-dome transforms, play a role in some approaches10. Thresholding techniques range from simple intensity-based thresholds to more sophisticated methods like Otsu’s threshold5,6,11. Additionally, machine learning approaches, including traditional segmentation methods and emerging deep learning techniques, are becoming increasingly relevant in this field7,10,12–15. For details see our overview of single-molecule detection methods in Supplementary Note 1.
A significant issue in the current framework for molecule detection is the lack of quantitative control over detection performance, particularly in terms of false positive and false negative detections. Users typically set parameters based on experience and make subjective judgments about detection accuracy, leading to inconsistent results. In SMLM, the negative impact of false positive detections is particularly problematic. False positives can form non-existent artificial structures in the super-resolved image and propagate errors throughout the SMLM processing pipeline, affecting post-processing and quantitative analysis. The variability in detection errors is evident in the outcomes of the SMLM challenge, where different algorithms produced significantly different false positive detections over the same dataset (Supplementary Fig. 9). This variability underscores the need for a more standardized and controlled approach to molecule detection in SMLM. An uncontrolled level of false positive detections acts as noisy data and negatively affects the entire subsequent processing chain (from post-processing steps like drift correction and merging, to quantitative analysis such as clustering, molecule count, quality assessment, particle fusion, and tracking) in unpredictable ways.
To address these challenges, we have developed a user-unbiased detection algorithm that is theoretically optimal (with the highest detection probability), simplifies the process for the user, and quantifies its performance. It is a combination of probabilistic thresholding and optimal filtering. Our approach frames molecule detection within the context of signal detection theory16, and derives a detection method with the highest theoretical performance that enables control over the level of false positive detections. We combine it with a theoretically optimal Poisson Matched Filter (PMF) using it as performance benchmark to systematically evaluate alternative methods. The benchmark revealed Matched Filter (MF) to be the method of choice. This enables users to ensure optimal and reproducible molecule detection simply by setting a desired false positive probability. Notably, the presented method is readily generalizable to three-dimensional imaging. This approach is well established in astronomy17 and radar18, and we now bring its benefits to SMLM. We present an implementation of the method that is fast, robust, and uses standard Python libraries (implementation details are given in Supplementary Note 2).
Results
Algorithm description
Our algorithm is comprised of two main steps: filtering and probabilistic thresholding. In this section, we introduce the Poisson-matched filter to set a performance benchmark for other filtering methods. We then show how to apply the probabilistic thresholding for molecule detection, allowing the user to control molecule detection by selecting the probability of false positive detection. Last, we add background adaptation to our method, where the threshold level is calculated from the local background level. Based on the detection performance and computational efficiency, we propose optimized molecule detection that consists of a matched filter and probabilistic thresholding visualized in Fig. 1.
Fig. 1. Schematics of the detection.
Proposed molecule detection algorithm using matched filter and adaptive probabilistic thresholding where the user sets the false positive probability PFP to adjust the detection threshold. Scale bar is 1 μm.
Optimal filtering
We start by deriving the Poisson Matched Filter (PMF), a theoretically optimal detection filter (with the highest detection probability) for the Poisson noise model, which is well-suited for shot noise-limited conditions prevalent in microscopy. PMF has already been proposed in X-ray astronomy19 and optical communication systems20 but has not appeared in the context of fluorescence microscopy. The derivation uses techniques from the signal detection theory16,21, particularly the Generalized Neyman-Pearson’s Likelihood Ratio Test (GLRT). PMF offers theoretically optimal performance, which means achieving the maximum probability of detection PD while keeping the probability of false positive PFP equal to a selected level. By solving the GLRT for a Point Spread Function (PSF) generation model in a Poisson noise (see “Methods” for details), we receive weights representing the PMF filter kernel
| 1 |
The shape of the PMF filter depends on the PSF shape smn(σ), its width σ, and the molecule contrast, defined here as the signal-to-background ratio a/b. We used PMF as a benchmark to systematically assess the performance of other filtering methods used in SMLM. Interestingly, the PMF’s shape closely approximates that of other filters across different signal-to-background ratios: matched filter for low contrast a/b, and B-spline wavelets for medium to high contrast a/b, depending on B-spline parameters (see Fig. 2), which places these filters in a common theoretical framework. The width of the optimal PMF filter increases with increasing ratio a/b. This is in agreement with the conclusions of the related work22, which recommends (based on numerical simulations) to use a Gaussian filter with a larger standard deviation than the one of the PSF.
Fig. 2. Comparison of the shape of the Poisson Matched Filter (PMF) with other relevant filters.
a PMF for different signal-to-background ratios a/b shows that the shape is practically identical to that of a Matched Filter (MF) for a/b = 0.1. b Comparison of B-Spline wavelets (BS) and PMF showing clear similarity for mid and high a/b. Markers indicate the values used to create the filtering mask.
Because molecules with medium to high contrast are generally detected with high accuracy regardless of the applied filter, it is central to optimize detection performance for molecules with low contrast. Therefore, the matched filter emerges as the preferable option not only because of its optimal performance but also because of its simplicity. Unlike PMF, which requires three parameter estimates (a, b, σ), the matched filter requires only a single parameter (σ). We explain the relation of the PMF and matched filter for low contrast molecules in Supplementary Note 3.
In specific cases, the Poisson noise model might not be a suitable approximation for microscopy data, for example when the shot noise is combined with significant read-out noise as in the CCD camera. Then, the model needs to be extended to the Poisson–Gaussian noise23. We performed GLRT in Poisson-Gaussian noise showing that it does not lead to a compact formula (Supplementary Note 4). However, if we prioritize the detection of the weak signal with a low signal-to-background ratio a/b, the GLRT is equivalent to the matched filter. It demonstrates that the matched filter remains a preferable solution even under the mixed Poisson-Gaussian noise conditions. Another case generalizing detection in the Poisson noise model is the case of the sCMOS camera, where each pixel effectively has a known, different variance of the noise. In Supplementary Note 5, we show that the optimal detection filter is an inversely weighted matched filter, sometimes also referred to as a whitened matched filter.
Probabilistic thresholding
In the second step, we implement a probabilistic detection threshold to enable quantitative control over false positive detection errors. This method is well-established in the fields of radar18, astronomy9, and medicine24 and has been previously recommended for microscopy and particle tracking in refs. 25–27. In our methodology, detection performance is optimized by aligning the algorithm’s sensitivity with a user-defined false positive probability, effectively calibrating the detection threshold. In practice, this means the user only needs to input the desired false positive probability, which serves as not only the sole parameter for setting the detection threshold but also a detection error estimate.
To use the probability of false positive detection as a parameter that sets the detection threshold, we take advantage of the knowledge of the analytical formula of PFP, where PFP depends on the mean background level and on the threshold τ. As the background level can be easily estimated from the images, the only parameter controlling the probability PFP is the decision threshold τ. By inverting the equation, we receive a formula for threshold as a function of PFP
| 2 |
where denotes the mean background estimate, wmn is a filter kernel of the size (2L + 1) × (2L + 1) and Q−1 is the inverse complementary cumulative distribution function of the standard normal distribution. We refer to threshold τ as the probabilistic threshold. Probabilistic thresholding can be used in combination with any linear filter common in SMLM. Probabilistic thresholding for a special case of low input signal in EMCCD camera is discussed in Supplementary Note 6.
Adaptability of thresholding to local background
In typical SMLM images, the background may vary across the field of view both spatially and temporally, changing from frame to frame. The estimation of the background is necessary to set the probabilistic threshold. Any existing background estimation methods can be used for this purpose. From local arithmetic averaging in space, median filtering over time28, to more complex methods utilizing precise knowledge of the background structure29, or estimation based on powerful deep neural networks30. It is reasonable to estimate the background from values in both space and time if they can be considered as locally constant in this neighborhood generally corresponding to 3D space-time averaging. To complement existing methods, we propose an averaging method implemented using filtering (Fig. 3). Background estimation is performed from local values, but the nearest neighborhood (approximately the size of PSF) containing pixels biased by the presence of the signal is omitted. The resulting filter kernel is shaped like a 2D or 3D doughnut (see Fig. 3d). This method is widely used in radar18 (more details in Supplementary Note 7).
Fig. 3. Molecule detection in images with varying background using adaptive thresholding.
a An example of a simulated image of a varied background with 30 molecules placed across the area. Scale bar is 2 μm. b Detection artifacts displaying an incorrect number of false positive detections when the threshold is not adaptive to varying background and c A solution to this problem by background adaptive thresholding. PFP is set to 10−4 in both images. d Kernels displaying reference pixels (yellow) used for local background estimate and guard pixels (blue) preventing errors due signal present.
We found that the thresholding using adaptive background estimation surpasses considered methods that are robust to background variability or methods that eliminate the background (see Fig. 4). Our results indicate that the widely used practice of background removal might not be theoretically justified and might become unnecessary when using background-adaptive thresholding, pointing to an interesting problem for further studies.
Fig. 4. Performance of multiple detection method on simulated data.
Performance evaluation by Receiver Operating Characteristic (ROC) curves showing the probability of detection PD as a function of false positive probability PFP for various methods across three different scenarios a Uniform background (blue): The Poisson Matched Filter (PMF) and Matched Filter (MF) consistently achieve the highest PD for any given PFP, outperforming other methods. b Varying background (red): The performance difference becomes more pronounced under varying background conditions. The PMF maintains its superior detection capability. c SMLM challenge dataset5 (green). The SMLM challenge dataset provides a realistic test scenario, where the PMF and MF continue to outperform other methods.
Generalization for molecule detection in 3D
The presented methodology of molecule detection is general and allows application in 3D. The specific form of implementation depends on the assumed model of signal generation. We distinguish three basic models to outline the detection algorithms. The first one (called here multiplane) is for the case of the full z-stack in all slices of potential molecule z-axis position. An example can be the multifocus microscopy method31. The second one (which we call z-parameterized PSF) uses PSF engineering methods that encode the value of the z-axis into a PSF shape. Representatives are for example the astigmatism, double helix, and tetrapod methods. The last considered method is called z-projection detection, where we do not distinguish molecules in the z-axis and the detection is performed on data where the z-component of the data has been marginalized (averaged out). An example is the biplane method32. For the overview of the 3D SMLM methods, we rely on references33,34.
Detection in multiplane
Similarly to the 2D case, we seek the maximum of the test statistic (i.e., the filtered signal) over all possible integer shifts of the molecule in all dimensions. In 3D, we search in three dimensions in the received signal, which is no longer a 2D image but a 3D datacube. Using the Poisson noise model and the GLRT test we obtain the optimal Poisson-matched filter (see Supplementary Note 14 for details).
| 3 |
where slmn denotes the 3D PSF. Any analytical model or measured function can be used as slmn.
Detection with z-parameterized PSF
For detection with parameterized PSF, we only have 2D measurements in one axial axis in which we search for the corresponding slice of the parameterized PSF. For this task, we can also use a GLRT detection test where one of the search parameters is the z-coordinate of the molecule, where wmn(l) is the l-th slice of the parametrized detection filter. For the Poisson noise model, the detection filter is
| 4 |
Symbol smn(l) denotes the l-th slice of parametrized PSF model.
Detection in z-projection
In the z-projection detector, the detection is performed over 3D data where the z-axis component has been averaged out to obtain a 2D model of the signal that is equivalent to the model described in the manuscript, except that now instead of using a 2D PSF function, we use a z-axis averaged 3D PSF
| 5 |
As a proof of concept for the application of detection theory in 3D SMLM, we show an implementation of the 3D detection for the case of multiplane imaging, including a basic performance evaluation (Supplementary Note 8). A comparison of all possible detection filters for all forms of 3D detection is beyond the scope of this work. Here, we demonstrate the general functionality of the method.
Evaluation of performance and comparison to other methods
We evaluated our detection algorithm by comparing its performance against several commonly used detection methods in SMLM that differ only in the type of detection filter and its parameters. Table 1 lists these filters alongside the SMLM software in which they are implemented. Definitions of these methods are provided later in “Reference methods”.
Table 1.
List of detection filters and availability in SMLM software
| Filters | Acronyms | References | Software |
|---|---|---|---|
| A trous B-spline wavelet | BS | 9,52 | ThunderStorm61, SMAP55, |
| Difference of Arithmetic means | DoA | 53,54 | ThunderStorm61 |
| Difference of Gaussians | DoG | 55–57 | ThunderStorm61, SMAP55, QuickPALM56, TrackMate58 |
| Laplacian of Gaussian | LoG | 8,58 | TrackMate58 |
| Lowered Gaussian | LG | 59 | DAOSTORM59 |
| Matched Filter | MF | 22,25,26 | SimpleSTORM26 |
| Net-gradient search | Net-grad | 60 | Picasso60 |
To assess the performance, we have selected Receiver Operating Characteristic (ROC) curves35 as a primary performance metric. ROC curves illustrate the relationship between the detection probability PD on the probability of false positive detection PFP. The higher the PD for given PFP, the better the algorithm’s performance. While related works often use F1/Dice measures or Jaccard index5,6,22, we chose ROC evaluation due to the asymmetric impact of false positives and false negatives in molecule detection, where false positives have more severe consequences. This approach is consistent with recent community recommendations on metric selection in image processing tasks36.
To quantitatively evaluate the performance of detection methods, it is necessary to use datasets with annotated ground truth detections5,6. We evaluated detection methods across five different datasets: simulated data with uniform background, simulated data with varying background, two datasets created for the SMLM challenges, and experimental data of static gold beads.
First, we tested the methods using data with constant background, each simulated as a single randomly placed fluorescent molecule on a uniform background with Poisson noise. An example of a generated image is shown in Supplementary Fig. 10. The highest detection probability PD for any probability of false positive PFP was given by PMF, supporting the theory. The matched filter performed similarly well. The net-gradient method performed the worst, followed by Difference of Gaussians (DoG) and Difference of Arithmetic means (DoA) filters as depicted in Fig. 4a). For illustration, we also show the performance of the methods on this type of data using Jaccard metric in Supplementary Fig. 11.
Second, we have compared the performance on data with varying background and Poisson Noise. We modeled a parabolic type of background that corresponds to imaging conditions of a non-uniform illumination similar to the effect of vignetting37 as illustrated in Fig. 3. Results are found in Fig. 4b), showing PMF and matched filter as the best performers.
As the next step, we took advantage of the datasets created for the SMLM challenge5,6, and compared the performance of various filters on the noisy Bundled Tubes Long Sequence (BT-LS) dataset (Fig. 4c) and microtubules, low SNR, low density (MT0_N2_LD) dataset (Supplementary Fig. 12). Results support the theoretical predictions and confirm PMF and MF as the highest performers.
To demonstrate the practical use of the detection algorithm on experimental data, we additionally tested the performance on images of DNA origami-bound gold beads. They are easy to detect under standard visualization conditions due to their high brightness, effectively serving as a reference to annotate ground truth detections. To ensure the homogenous distribution of nanoparticles and reduce agglomeration during the deposition, we used gold nanoparticles that were attached to DNA origami with biotinylated sites and deposited them on BSA-biotin-treated glass coverslips by using neutravidin as a linker. We visualized the samples in two modes. One under standard visualization conditions that result in bright diffraction-limited spots on a low background that served to annotate the ground truth reference. In the second mode, we changed the imaging conditions to make the beads appear less distinct, mimicking how low-contrast molecules might appear in other experiments and used it to test the performance of the detection methods (Fig. 5a). Resulting ROC curves show that PMF and matched filter outperforms others on experimental data (Fig. 5b) as well.
Fig. 5. Performance evaluation of multiple detection filtering methods over experimental dataset.
a Examples of detected gold nanoparticles in images with extra added light source compared to the reference image without interference. Scale bar is 500 nm. b Receiver operating characteristics showing the probability of detections PD of selected methods as a function of false positive probability PFP on the experimental dataset. Results show the top performance of the PMF and MF filters.
Computational efficiency
We have designed a computationally efficient implementation of the PMF and probabilistic thresholding. The main demand for computational resources arises from the estimation of unknown parameters in GLRT. We present a series of simplifications and approximations that lead to a computationally efficient implementation in the form of linear filtering. The primary simplification lies in estimating the molecule’s unknown position (m0, n0), where we restrict the potential values to integers, resulting in a negligible performance degradation (see Supplementary Fig. 15), but allowing much faster calculations. Additionally, we simplify the estimation of the filtering parameters (a, b, and σ) for the PMF. Fixed values for parameters a, b can be pre-determined through molecule localization over a small set of frames within the SMLM software, without requiring user interaction. This step becomes unnecessary when employing matched filter, as it is independent of a and b. We assume that the last parameter, σ, is known based on the measurement setup.
In terms of computational complexity, our analysis (Supplementary Note 10) shows that the PMF operates as a linear filter, with an asymptotic complexity no worse than that of other common filtering methods. The adaptive background estimation for probabilistic thresholding has similar or not worse complexity as the linear filtering methods, making it computationally efficient for real-time applications. The computational complexity analyses are complemented by examples of specific run times on our regular desktop PC. We present a straightforward implementation of proposed methods using standard Python libraries (details in Supplementary Note 2).
When comparing the numerical complexity in the detection part of the SMLM algorithm to the Deep Learning (DL) methods, the DL segmentation is more numerically challenging than the linear filtering and thresholding presented in our method. Typical U-net-based38 DL segmentation algorithms contain an image encoder that consists of a parallel bank of convolutional filters, i.e., consisting of many linear filtering operations. The computational complexity of current-state-of-the-art DL segmentation models is far exceeding linear filtering. For example, the number of parameters in the segment anything model39 alone is over 600 million. DL models are typically less demanding and faster than the analytical solution if it is a full model that represents the entire chain of SMLM processing operations including the fitting of sub-pixel positions, the most computationally demanding part of the algorithm40,41. See Supplementary Note 11 for further comparison of our method and deep learning.
In summary, we show that matched filter paired with background-adaptive probabilistic thresholding is the optimal choice for analyzing SMLM data. This resolves issues related to parameter configurations by users and reproducibility of results while allowing to address the impact of false positive detections on subsequent qualitative localization analysis, for example clustering analysis, drift correction, localization dynamics and others. We advocate for adopting matched filtering and adaptive probabilistic thresholding as standard features in SMLM software. Beyond SMLM, our methodology holds potential benefits for other imaging techniques suffering from low SNR.
Methods
Neyman–Pearson’s Likelihood Ratio Test (LRT)
The Neyman-Pearson theorem states that the likelihood ratio test
| 6 |
offers a theoretically optimal molecule detection performance. The word optimal in this context means achieving the maximum probability of detection PD while keeping the probability of false positive PFP equal to a selected level16. For a list of synonymous terminology, we refer to Supplementary Table 5. The property of maintaining a constant probability of false positive PFP is often referred to as constant false alarm rate detection, especially in the context of radar signal processing18.
The symbol of inequality in test (6) means that we reject the null hypothesis H0 (signal absent) and accept the alternative hypothesis H1 (signal present) if the inequality is fulfilled. For the opposite inequality, we do not reject the signal-not-present hypothesis H0. The symbol τ denotes the detection threshold, which is determined by the chosen false positive detection probability PFP, as presented in “Probabilistic Thresholding and Probability of Detection”.
The derivation of a PMF filter can be shown in an arbitrary number of dimensions, but for simplicity we consider a 2D data space where symbol R is a raw image matrix of the size M × N. Symbol p(R∣H1) denotes the conditional probability density function (denoted as likelihood function) of obtaining R given the hypothesis signal present. Similarly, likelihood p(R∣H0) is conditioned by the hypothesis signal absent.
Statistical hypotheses of image formation model
Suppose that we have a PSF signal model in Poisson noise-limited conditions. This model corresponds to the scenario where all other types of noise are negligible, and what remains is the irremovable photon noise arising from the particle nature of the light42. At the same time, we assume precise conversion from analog-digital units to photon counts, using a well-calibrated camera gain and baseline offset26,43. Then, the hypothesis of signal absent H0 and present H1 has the following statistical description
| 7 |
where letter denotes the Poisson distribution with the mean b. Symbol ~ means “distributed as”. The mnth pixel of raw image [R]mn is denoted by the lowercase symbol rmn. Other symbols indicate the number of emitted photons a, the mean background level b, and the sampled PSF smn(σ). Any PSF model is applicable here, such as the 2D Gaussian model
| 8 |
the integrated Gaussian model or others including the measured one. Symbol σ denotes the standard deviation of PSF. Unknown coordinates of the molecule m0, n0 are assumed to fit the size of the raw image with a tolerance of K pixels given by the expected size of the PSF.
Parametric likelihood functions
The likelihood functions for both hypotheses (7) are obtained as the joint distribution of independent identically distributed Poisson random variables as
| 9 |
| 10 |
where we have shortened the notation by symbol Symbol ≜ means the equality from the definition. We see that the likelihood functions (9), (10) cannot be evaluated because they depend on the unknown parameters denoted by vectors where is the matrix transposition. Therefore, the likelihoods cannot be directly used in the LRT (6).
Generalized Likelihood Ratio Test (GLRT)
GLRT accepts hypothesis H1, if the likelihood ratio is greater than the threshold τ
| 11 |
where the unknown parameters in θ0 and θ1 have been estimated by the maximum likelihood estimation
| 12 |
where the estimated values are labeled by a hat symbol . The GLRT is adjusted for the likelihoods (9), (10) to the inequality
| 13 |
The inequality in (13) does not change if we take the logarithm of both sides, leading to
| 14 |
where we assume that PSF is normalized such that Here, symbol ∑mn means .
Poisson Matched Filter (PMF)
Once the parameters in (14) are estimated, we can further adjust the detection inequality to the form
| 15 |
where T(R) is called a test statistic. Symbol is a new decision threshold incorporating estimate the value of which is determined by the desired probability of false positive PFP. Left-hand side of the inequality (15) is a weighted arithmetic mean with the weights given by
| 16 |
We call the weights in (16) the filter kernel of the PMF. To simplify the notation, we omit the functional dependency on the parameters and simply write wmn. We assume that the PMF kernel takes significant non-zero values in the interval [− L, L] × [− L, L] and describe the PMF kernel by matrix , where We see that the PMF shape is non-linearly dependent on PSF width σ and on the signal-to-background ratio a/b.
Estimation of unknown parameters in GLRT: implementation as a linear filter
To efficiently implement PMF as a linear filter, we present a series of simplifications and approximations.
Estimation of unknown position
The first and fundamental simplification is obtained when we approximate the unknown position of the molecule to acquire only integer values where symbols and refer to the real and integer numbers. Let us consider for now GLRT (11), where all unknown parameters except of the molecule position m0, n0 are known
| 17 |
which can be adjusted (using the even symmetry of wmn) to the form
| 18 |
where
| 19 |
Now, if we recognize in (18) a discrete 2D convolution of raw image rmn and PMF filter wmn(16). The GLRT then takes the form
| 20 |
where symbol ** denotes a discrete 2D convolution. We denote the filtered image by matrix T, where The maximum of filtered image is compared to the threshold to decide on the presence of a molecule. Note that the derivation naturally assumes a single-molecule detection problem. For multiple non-overlapping molecule detections, the maximum in (20) needs to be replaced by the local maximum in the neighborhood of the PSF size. Reference44 summarizes various efficient ways to implement local maximum search. Note that the non-maximum suppression does not need to be evaluated for all pixels of the image, but only for those that are larger than the detection threshold . The generalization of the detection problem of multiple overlapping molecules (denoted as crowded field problem) is given in Supplementary Note 12.
Estimation of parameters a, b, and σ
The PMF filter kernel wmn(16) then depends on the unknown molecule parameters a, b, and PSF parameter σ. Some references19,25 assume knowledge of the PSF σ parameter or at least its roughly estimated value45 given e.g., by the expression where λem is the emission wavelength and NA is the numerical aperture. The maximum likelihood estimate of a and b with fixed is a convex optimization problem with effective algorithms available46. However, the estimation needs to be evaluated for each pixel in the raw data which is still numerically too intensive.
To implement PMF as a linear filter, we need to fix the values of the unknown parameters a, b. A possible approach takes advantage of the fact that the detection algorithm is part of SMLM software. We use the 0.25 percentile of the true parameter values obtained from the SMLM localization algorithm applied on a randomly selected set of a few frames of the raw data. This approach conveniently does not require user interaction.
Probabilistic thresholding and probability of detection
We take advantage of the knowledge of the analytical closed-form formula for the probability of false positive PFP. We evaluate two performance metrics (probability of false positive PFP and probability of detection PD) characterizing two fundamental error types of False Positive (FP) and False Negative (FN) detection. The probability threshold is then obtained by inverting the analytical expression for PFP.
Probability of false positive detection
Probability PFP is the probability that the GLRT (15) decides in favor of H1 (test statistic T(R) is higher than threshold ) but H0 is true
| 21 |
where the symbol denotes the chosen hypothesis. We determine the performance by analyzing the distribution of the test statistics T(R) on the condition that the molecule position coordinates are integer numbers Let us re-write the weighted sum of random variables (15) using the fact that PMF is significantly non-zero for m, n ∈ [ − L, L] to get
| 22 |
where we have shortened the notation by The test statistic (22) is a random variable with a distribution well approximated by a Gaussian distribution due to the central limit theorem. The full statistical description is obtained by expressing the first two moments for the null hypothesis H0 where and so
| 23 |
| 24 |
using the linearity of the mean operator E[⋆] and the rule for the variance of the sum of independent random variables. The false positive probability PFP can be expressed in a closed form using the complementary cumulative distribution function (also denoted as the survival function) of standard normal distribution
| 25 |
as
| 26 |
Probability of detection
Similarly as for PFP, the detection probability is given by
| 27 |
We can express PD in a close form when the integer molecule position is estimated correctly () where the received signal and so the test statistics are
| 28 |
| 29 |
The detection probability is then
| 30 |
Probabilistic threshold controlling the false positive probability
Probability PFP(26) depends on the mean background level b and the threshold . After capturing the image, the mean background parameter b can be estimated considering that the quantity of background pixels is usually significantly higher than that of signal pixels (more discussed in “Background Estimation for Adaptive Thresholding”). Then, the only parameter controlling the probability PFP is the decision threshold . The Q function (25) is monotonic, so it has an inversion (sometimes called inverse survival function) leading to the expression of the decision threshold as
| 31 |
We refer to the threshold (31) as the probabilistic threshold to emphasis that the threshold is determined by the selected probability of false positive PFP. Note that the probabilistic threshold (31) is not conditioned by the PMF filter and can be used with any other linear filter common in SMLM.
Background estimation for adaptive thresholding
We assume a sufficiently sparse fluorescence signal with most of the pixels being the background that allows a maximum likelihood estimation47 of the parameters of the Poisson and normal distribution necessary to calculate the probabilistic thresholds (31). Estimating the local background level around the pixel under evaluation by the detection algorithm allows to adapt the threshold to slow-varying background.
Mean estimate
The optimal maximum likelihood estimation of the central moment for both Poisson and Gaussian distributions is given by the arithmetic mean21,47. Let us denote the local arithmetic mean background estimate as
| 32 |
where tmn denotes the mnth pixel of the filtered image The normalization by the sum of weights ∑mnwmn corresponds to (23). The symbol describes the set of indexes centered at position (i, j) corresponding to the reference pixels used in the local arithmetic mean as shown in Fig. 3d). The local mean (32) can be efficiently implemented as a linear filter as
| 33 |
where denotes the kernel matrix with kmn being the mnth value and K is the kernel size assumed to be an odd number with K = 2L + 1. The kernel is normalized to perform the arithmetic mean so ∑mnkmn = 1. For example,
| 34 |
is the square-shaped kernel of size 7 with a guard interval of 3 pixels. In the case where nearby fluorescence frequently occurs so that the signal is often present in the reference pixels, the arithmetic mean (32) is biased and better results can be obtained by local median filtering
| 35 |
There are known efficient algorithms for median filtering with linear48, and even constant49 computational complexity.
Variance estimate
Probabilistic thresholding for Poisson-Gaussian noise (described in Supplementary Note 4) also requires estimation of the second moment, which can be done as local filtering. The variance estimation of the normal distribution can be implemented by linear mean filter as
| 36 |
Robust estimation can be performed e.g., by the Inter-Quantile Range estimate as
| 37 |
or by median absolute deviation and other alternatives50,51.
Reference methods
We consider the following filters as reference methods (in alphabetical order): B-Spline (BS) wavelet filter9,52, DoA means53,54, DoG55–57, LoG8,58, LG59, MF25,26, and the net-gradient search60. All methods except the net-grad search are based on linear filtering and for their description it is sufficient to define just the filter kernel. The entire detection procedure for the general method using a linear filter is identical to that of PMF: the test statistic is calculated using Eqs. (15) and (20), the probabilistic decision threshold using (2) in the manuscript, and (14) in Supplementary Note 4, and the background estimation (Background estimation for adaptive thresholding). Selected filters are visualized in Supplementary Note 13.
À trous B-Spline (BS) wavelet filter
Continuous B-Spline basis is given by the recursion
| 38 |
| 39 |
where is the BS order. Scaled, normalized, and continuous BS basis with the scale is
| 40 |
The sampled BS wavelet for the number of samples K = 2⌈qs/2⌉ − 1 is usually called so
| 41 |
where K = 2L + 1. For example The à trous vector denotes the vector k1 with inserted in between zeros, such that . We construct the filter kernel of à trous BS wavelet as
| 42 |
where and are matrices of outer products and is the zero matrix with a single 1 in the center if m = n = K.
Difference of Arithmetic means (DoA) filter
The DoA filter is a two-parameter filter
| 43 |
where 2D rectangular function is defined as rec(x, y) = 1 for and rec(x, y) = 0 else. Reference53 recommends parameters equal to which we assume here. Symbol σ is standard deviation of PSF.
Difference of Gaussians (DoG) filter
The DoG filter is a two-parameter filter
| 44 |
which can approximate the LoG filter12 very-well for SMLM literature56 recommends values σ1 = 0.5σ, σ2 = 2 FWHM = 4.710σ which we assume here.
Laplacian of Gaussian (LoG) filter
The LoG filter also known as Mexican Hat, 2nd Derivative of Gaussian, or Ricker Wavelet, is given by
| 45 |
where LoG parameter is assumed to closely approximate Gaussian function which leads to with σ being standard deviation of PSF.
Lowered Gaussian (LG) filter
The LG filter has a Gaussian kernel shape (8) from which the total value is subtracted such that the filter has the sum of values equal to zero ∑m,nwm,n = 0. The zero-sum property (also found in LoG, DoG, DoA, and BS filters) is advantageous because it implies that a slowly changing background is filtered out.
Matched Filter (MF)
MF has the continuous form of filter kernel equal to s(σ) PSF model, which e.g., for Gaussian PSF model equals to
| 46 |
with σ being s.t.d. of PSF function.
Net-gradient search
The net-gradient search is a non-linear filtering method that sums raw image gradient vector magnitudes in a rectangle box. We implement the image gradient by Sobel filters
| 47 |
The squared outputs of these filters are summed and then the square root is taken to compute the magnitude of the gradient at each pixel. These gradient magnitudes are then averaged using a 5 × 5 box filter to smooth the final result.
Poisson Matched Filter (PMF)
The PMF filter derived in “Poisson Matched Filter (PMF)” has the continuous form of filter kernel equal to
| 48 |
where the procedure for selection of parameters a, b, σ is discussed in “Estimation of Unknown Parameters in GLRT: Implementation as a Linear Filter” and s(σ) is the sampled PSF function.
No filter
As a reference method, we also consider the no-filter case, which can be described as a linear filter with discrete weights wmn = 1 for m = n, and wmn = 0 else.
Performance evaluation
Simulations with uniform background and Poisson noise
First, the detection methods are tested in a constant background environment where a single randomly placed spot in Poisson noise is detected as illustrated in Supplementary Fig. 10.
In every Monte Carlo run, the spot position is a different real random vector. True Positive (TP) is counted when the detected position is within the tolerated distance of from the ground true value. True Negative (TN) is counted as a correctly detected background pixel. False positive is a falsely marked detection which is farther than τTP. False Negative (FN) is missed detection. By repeating the experiment many times (we ran MMC = 5000 Monte Carlo trials), we can express and . We select values of low signal-to-background ratio a/b = 0.75 (particularly with a = 750 photons and b = 1000 photons) where the differences between the methods are more pronounced. In cases with medium to high a/b ratios, the differences between the methods are smaller. The size of the raw image is 128 × 128 pixels, s.t.d. of PSF is σ = 1 px and the non-maximum suppression box is a 5 × 5 box. All the considered methods use probabilistic thresholding (introduced in “Probabilistic Thresholding and Probability of Detection”) to guarantee selected PFP, but we rather use the estimated in the plots that are occasionally slightly different from the true values. This is the reason why the plot markers are not perfectly aligned. PMF used the precise values of the unknown parameters a, b, σ.
Simulations with varying background and Poisson noise
We assume a parabolic type of background to model a non-uniform illumination similar to the effect of vignetting37 which is coarsely approximated by parabola (). We use the parabola model 1/c2(x2 + y2) with curvature value c = 10 pixels, which is then mean-shifted to have the same mean as in the case of uniform background (i.e., mean value b = 1000 ph). Supplementary Fig. 16 illustrates such an example signal.
PMF, MF, and no filter methods use local adaptive background estimation. The local adaptive background estimation used local mean implementation (32) in the floating square doughnut-shape kernel (illustrated in Fig. 3d) of the size 13 × 13 pixels with guard interval 5 × 5.
Performance in bundled tubes long sequence (BT-LS) dataset
We used the publicly available dataset provided by the 2013 SMLM software challenge5. This dataset has a very good signal-to-noise ratio therefore, the performance of the most tested algorithms is close to ideal. In order to better observe the differences between the methods in challenging conditions, we added a noisy background of the level of 4000 photons. Type of the noise in BT-LS data corresponds to the Poisson-Gaussian noise, so the probabilistic thresholding uses formula (14) in Supplementary Note 4 with background estimation (32) and (36).
Performance in MT0_N2_LD dataset
Microtubulin dataset MT0_N2_LD publicly provided by the 2016 SMLM software challenge6 has a challenging signal-to-noise ratio and low density of emitters.
Performance in experimental datasets
To validate our method using experimental data, we created a reference sample with homogenously distributed single gold nanoparticles and visualized it in two modes. One under standard visualization conditions that result in bright diffraction-limited spots on a low background that are easy to detect and used this measurement as a reference. For the second visualization mode, we added an extra light source from the microscope lamp to increase the background and used it as testing data.
To reduce agglomeration of gold nanoparticles during deposition on a glass coverslip, we used gold nanoparticles that were attached to DNA origami (Supplementary Fig. 14) with biotinylated sites and deposited them on neutravidin-treated glass coverslips, previously passivated with BSA-biotin (Supplementary Fig. 13). A detailed description of the experimental dataset (used materials, nanoparticle functionalization, DNA origami synthesis, origami-particle hybridization, sample preparation, and measurement) is given in Supplementary Note 9.
We created two datasets. One with a medium level of interference light and the other with a strong interference light. Ground truth detections were obtained by evaluating the same ROIs but without interference light. In rare cases, some fluorophores were not present in the reference data, which slightly raised the false positive detection rate. More often, the weaker fluorescence emission in the reference data disappeared completely in the presence of interference or was below the background noise level, which then showed up as a missed detection in the evaluation.
The type of noise in the experimental data was close to Poisson-Gaussian noise, so the detection threshold was set as described in Supplementary Note 4 with background estimation (32) and (36).
Supplementary information
Description of Additional Supplementary Files
Acknowledgements
This work was supported by Czech Science Foundation, grant number 21-17847M (M.H., N.H., S.F., V.P.) and Czech Academy of Sciences, Premie lumina quaeruntur LQ200402101 (K.U., D.R., V.P.). The authors acknowledge the assistance provided by the Research Infrastructure NanoEnviCz, supported by the Ministry of Education, Youth, and Sports of the Czech Republic under Project No. LM2023066. K.U. wants to acknowledge the support of CTU student grant SGS24/156/OHK4/3T/17. We thank Olga Pavlatová, Tomáš Chum, and Jakub Jungwirth for their valuable help.
Author contributions
M.H. developed the theory, implementation, and simulations, D.R. and K.U. performed and set up measurements, N.H. and S.F. prepared samples and characterized them, V.P. acquired the funding and supervised the work. M.H. and V.P. wrote the manuscript with the contribution of all authors.
Peer review
Peer review information
Nature Communications thanks Koen Martens and the other, anonymous, reviewer(s) for their contribution to the peer review of this work. A peer review file is available.
Data availability
All data are available at https://gitlab.com/VladkaPetrakova/petrakova_group/-/tree/main/mirek/publication/molecule_detection, data from the SMLM Challenges used for testing are available at https://bigwww.epfl.ch/smlm-datasets/challenge2D/datasets/Bundled_Tubes_Long_Sequence-GT/ and https://srm.epfl.ch/srm/dataset/challenge-3D-simulation/MT0.N2.LD/index.html.
Code availability
The code is available at https://gitlab.com/VladkaPetrakova/petrakova_group/-/tree/main/mirek/publication/molecule_detection.
Competing interests
The authors declare no competing interests.
Footnotes
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Contributor Information
Miroslav Hekrdla, Email: miroslav.hekrdla@jh-inst.cas.cz.
Vladimíra Petráková, Email: vladimira.petrakova@jh-inst.cas.cz.
Supplementary information
The online version contains supplementary material available at 10.1038/s41467-025-55952-5.
References
- 1.Lelek, M. et al. Single-molecule localization microscopy. Nat. Rev. Methods Prim.1, 1–27 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Fazel, M. & Wester, M. J. Analysis of super-resolution single-molecule localization microscopy data: a tutorial, AIP Advances, 12, 1, (2022).
- 3.Khater, I. M., Nabi, I. R. & Hamarneh, G. A review of super-resolution single-molecule localization microscopy cluster analysis and quantification methods, Patterns, 1, 3 (2020). [DOI] [PMC free article] [PubMed]
- 4.Culley, S. et al. Quantitative mapping and minimization of super-resolution optical imaging artifacts. Nat. Methods15, 263–266 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 5.Sage, D. et al. Quantitative evaluation of software packages for single-molecule localization microscopy. Nat. Methods12, 717–724 (2015). [DOI] [PubMed] [Google Scholar]
- 6.Sage, D. et al. Super-resolution fight club: assessment of 2D and 3D single-molecule localization microscopy software. Nat. Methods16, 387–395 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7.Ruusuvuori, P. et al. Evaluation of methods for detection of fluorescence-labeled subcellular objects in microscope images. BMC Bioinforma.11, 1–17 (2010). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Sage, D., Neumann, F. R., Hediger, F., Gasser, S. M. & Unser, M. Automatic tracking of individual fluorescence particles: application to the study of chromosome dynamics. IEEE Trans. Image Process.14, 1372–1383 (2005). [DOI] [PubMed] [Google Scholar]
- 9.Starck, J.-L. & Murtagh, F. Astronomical Image and Data Analysis (Springer, 2007).
- 10.Smal, I., Loog, M., Niessen, W. & Meijering, E. Quantitative comparison of spot detection methods in fluorescence microscopy. IEEE Trans. Med. Imaging, 29, 2 (2010). [DOI] [PubMed]
- 11.Chenouard, N. et al. Objective comparison of particle tracking methods. Nat. Methods11, 281–289 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Gonzales, R. & Woods, R. Digital Image Processing (Pearson, 2018).
- 13.Sonka, M., Hlavac, V. & Boyle, R. Image Processing, Analysis and Machine Vision (Springer, 2013).
- 14.Minaee, S. et al. Image segmentation using deep learning: a survey. IEEE Trans. Pattern Anal. Mach. Intell.44, 3523–3542 (2021). [DOI] [PubMed] [Google Scholar]
- 15.Zou, Z., Chen, K., Shi, Z., Guo, Y. & Ye, J. Object detection in 20 years: a survey, Proc. IEEE (2023).
- 16.Kay, S. Fundamentals of Statistical Signal Processing: Detection Theory (Prentice Hall, 1998).
- 17.Abbott, B. P. et al. Observation of gravitational waves from a binary black hole merger. Phys. Rev. Lett.116, 061102 (2016). [DOI] [PubMed] [Google Scholar]
- 18.Richards, M. A. Fundamentals of Radar Signal Processing (McGraw-Hill Education, 2014).
- 19.Ofek, E. O. and Zackay, B. Optimal matched filter in the low-number count Poisson noise regime and implications for X-ray source detection. Astronom. J.155, no. 4, (2018).
- 20.Reiffen, B. & Sherman, H. An optimum demodulator for Poisson processes: photon source detectors. Proc. IEEE51, 1316–1320 (1963). [Google Scholar]
- 21.Levy, B. C. Principles of Signal Detection and Parameter Estimation (Springer Science & Business Media, 2008).
- 22.Křížek, P., Raška, I. & Hagen, G. M. Minimizing detection errors in single-molecule localization microscopy. Opt. Express19, 3226–3235 (2011). [DOI] [PubMed] [Google Scholar]
- 23.Ober, R. J., Ward, E. S. & Chao, J. Quantitative Bioimaging: An Introduction to Biology, Instrumentation, Experiments, and Data Analysis for Scientists and Engineers (CRC Press, 2020).
- 24.Swets, J. A., Dawes, R. M. & Monahan, J. Better decisions through science. Sci. Am.283, 82–87 (2000). [DOI] [PubMed] [Google Scholar]
- 25.Sergé, A., Bertaux, N., Rigneault, H. & Marguet, D. Dynamic multiple-target tracing to probe spatiotemporal cartography of cell membranes. Nat. Methods5, 687–694 (2008). [DOI] [PubMed] [Google Scholar]
- 26.Köthe, U., Herrmannsdörfer, F., Kats, I. & Hamprecht, F. A. SimpleSTORM: a fast, self-calibrating reconstruction algorithm for localization microscopy. Histochem. Cell Biol.141, 613–627 (2014). [DOI] [PubMed] [Google Scholar]
- 27.Smith, C. S., Stallinga, S., Lidke, K. A., Rieger, B. & Grunwald, D. Probability-based particle detection that enables threshold-free and robust in vivo single-molecule tracking. Mol. Biol. Cell26, 4057–4062 (2015). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28.Hoogendoorn, E. et al. The fidelity of stochastic single-molecule super-resolution reconstructions critically depends upon robust background estimation. Sci. Rep.4, 3854 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Cheng, C.-Y. & Hsieh, C.-L. Background estimation and correction for high-precision localization microscopy. ACS Photonics4, 1730–1739 (2017). [Google Scholar]
- 30.Möckl, L., Roy, A. R., Petrov, P. N. & Moerner, W. Accurate and rapid background estimation in single-molecule localization microscopy using the deep neural network BGnet. Proc. Natl. Acad. Sci. USA117, 60–67 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.Abrahamsson, S. et al. Fast multicolor 3D imaging using aberration-corrected multifocus microscopy. Nat. Methods10, 60–63 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Juette, M. F. et al. Three-dimensional sub-100 nm resolution fluorescence microscopy of thick samples. Nat. Methods5, 527–529 (2008). [DOI] [PubMed] [Google Scholar]
- 33.von Diezmann, L., Shechtman, Y. & Moerner, W. Three-dimensional localization of single molecules for super-resolution imaging and single-particle tracking. Chem. Rev.117, 7244–7275 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Hajj, B., El Beheiry, M., Izeddin, I., Darzacq, X. & Dahan, M. Accessing the third dimension in localization-based super-resolution microscopy. Phys. Chem. Chem. Phys.16, 16 340–16 348 (2014). [DOI] [PubMed] [Google Scholar]
- 35.Fawcett, T. An introduction to ROC analysis. Pattern Recognit. Lett.27, 8 (2006).
- 36.Maier-Hein, L. et al. Metrics reloaded: recommendations for image analysis validation. Nat. Methods21, 195–212 (2024). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Szeliski, R. Computer Vision: Algorithms and Applications (Springer Nature, 2022).
- 38.Falk, T. et al. U-Net: deep learning for cell counting, detection, and morphometry. Nat. Methods16, 67–70 (2019). [DOI] [PubMed] [Google Scholar]
- 39.Kirillov, A. et al. Segment anything. In Proc. IEEE/CVF International Conference on Computer Vision, pp. 4015–4026 (IEEE, 2023).
- 40.Ouyang, W., Aristov, A., Lelek, M., Hao, X. & Zimmer, C. Deep learning massively accelerates super-resolution localization microscopy. Nat. Biotechnol.36, 460–468 (2018). [DOI] [PubMed] [Google Scholar]
- 41.Nehme, E., Weiss, L. E., Michaeli, T. & Shechtman, Y. Deep-STORM: super-resolution single-molecule microscopy by deep learning. Optica5, 458–464 (2018). [Google Scholar]
- 42.Young, I. T., Gerbrands, J. J. & Van Vliet, L. J. Fundamentals of Image Processing. Delft University of Technology Delft, 841 (2007).
- 43.Van Vliet, L. J., Boddeke, F. R., Sudar, D. & Young, I. T. Image detectors for digital image microscopy, Digital image analysis of microbes; Imaging, morphometry, fluorometry and motility techniques and applications, modern microbiological methods. pp. 37–64 (1998).
- 44.Neubeck, A. & Van Gool, L. Efficient non-maximum suppression. In Proc.18th International Conference on Pattern Recognition (ICPR’06), 3, pp. 850–855 (IEEE, 2006).
- 45.Zhang, B., Zerubia, J. & Olivo-Marin, J.-C. Gaussian approximations of fluorescence microscope point-spread function models. Appl. Opt.46, 1819–1829 (2007). [DOI] [PubMed] [Google Scholar]
- 46.Boyd, S. & Vandenberghe, L. Convex Optimization (Cambridge University Press, 2004).
- 47.Kay, S. Fundamentals of Statistical Signal Processing: Estimation Theory (Prentice Hall, 1993).
- 48.Huang, T., Yang, G. & Tang, G. A fast two-dimensional median filtering algorithm. IEEE Trans. Acoust. Speech Signal Process.27, 13–18 (1979). [Google Scholar]
- 49.Perreault, S. & Hébert, P. Median filtering in constant time. IEEE Trans. Image Process.16, 2389–2394 (2007). [DOI] [PubMed] [Google Scholar]
- 50.Rousseeuw, P. J. & Croux, C. Alternatives to the median absolute deviation. J. Am. Stat. Assoc.88, 1273–1283 (1993). [Google Scholar]
- 51.Donoho, D. L. & Johnstone, I. M. Ideal spatial adaptation by wavelet shrinkage. Biometrika81, 425–455 (1994). [Google Scholar]
- 52.Izeddin, I. et al. Wavelet analysis for single molecule localization microscopy. Opt. Express20, 2081–2095 (2012). [DOI] [PubMed] [Google Scholar]
- 53.Huang, F., Schwartz, S. L., Byars, J. M. & Lidke, K. A. Simultaneous multiple-emitter fitting for single molecule super-resolution imaging, Biomed. Optics Express, 2, 5 (2011). [DOI] [PMC free article] [PubMed]
- 54.Huang, F. et al. Video-rate nanoscopy using sCMOS camera-specific single-molecule localization algorithms. Nat. Methods10, 653–658 (2013). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 55.Ries, J. SMAP: a modular super-resolution microscopy analysis platform for SMLM data. Nat. Methods17, 870–872 (2020). [DOI] [PubMed] [Google Scholar]
- 56.Henriques, R. et al. QuickPALM: 3D real-time photoactivation nanoscopy image processing in ImageJ. Nat. Methods7, 339–340 (2010). [DOI] [PubMed] [Google Scholar]
- 57.Martens, K. J., Turkowyd, B. & Endesfelder, U. Raw data to results: a hands-on introduction and overview of computational analysis for single-molecule localization microscopy. Front. Bioinforma.1, 91 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Tinevez, J.-Y. et al. TrackMate: an open and extensible platform for single-particle tracking. Methods115, 80–90 (2017). [DOI] [PubMed] [Google Scholar]
- 59.Holden, S. J., Uphoff, S. & Kapanidis, A. N. DAOSTORM: an algorithm for high-density super-resolution microscopy. Nat. Methods8, 279–280 (2011). [DOI] [PubMed] [Google Scholar]
- 60.Schnitzbauer, J., Strauss, M. T., Schlichthaerle, T., Schueder, F. & Jungmann, R. Super-resolution microscopy with DNA-PAINT. Nat. Protoc.12, 1198–1228 (2017). [DOI] [PubMed] [Google Scholar]
- 61.Ovesný, M., Křížek, P., Borkovec, J., Švindrych, Z. & Hagen, G. M. ThunderSTORM: a comprehensive ImageJ plug-in for PALM and STORM data analysis and super-resolution imaging. Bioinformatics30, 2389–2390 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Description of Additional Supplementary Files
Data Availability Statement
All data are available at https://gitlab.com/VladkaPetrakova/petrakova_group/-/tree/main/mirek/publication/molecule_detection, data from the SMLM Challenges used for testing are available at https://bigwww.epfl.ch/smlm-datasets/challenge2D/datasets/Bundled_Tubes_Long_Sequence-GT/ and https://srm.epfl.ch/srm/dataset/challenge-3D-simulation/MT0.N2.LD/index.html.
The code is available at https://gitlab.com/VladkaPetrakova/petrakova_group/-/tree/main/mirek/publication/molecule_detection.





