Method for localizing signal sources in localization microscopy

11428634 · 2022-08-30

Assignee

Inventors

Cpc classification

International classification

Abstract

The invention relates to a localization microscopy method for localizing signal sources. Here, at least once for each pixel of a detector, values of an error parameter are ascertained and stored in a calibration data record in a manner assigned to the relevant pixel. Captured image data are used to identify regions of origin of signal sources and fit a point spread function to the pixel values of the respective regions of origin. The respective signal source is localized on the basis of the point spread function. The pixel-specific error parameter of each pixel can be compared to a threshold. If the threshold is exceeded, these pixels are either ignored or replaced by means of interpolation when fitting the point spread function. In addition or as an alternative thereto, the real noise performance of the pixels is ascertained and corrected on the basis of derived pixel-specific error parameters.

Claims

1. A method for localizing signal sources, the method comprising: determining, for each pixel of a detector used to capture detection radiation, at least one value of a pixel-specific error parameter; storing the at least one value for each pixel in a calibration data record; for each pixel, comparing the pixel's at least one value of the pixel-specific error parameter to a threshold; marking each pixel having a value of the pixel-specific error parameter that is greater than the threshold in the calibration data record; capturing image data of a sample pixel-by-pixel with the detector; storing the image data as pixel values in an image data record; identifying regions of origin of signal sources in the sample based on the captured image data, wherein the regions of origin correspond to a plurality of pixels; fitting a point spread function to the pixel values of the respective regions of origin, wherein pixel values of marked pixels are either ignored or replaced by means of an interpolation when fitting the point spread function; and localizing the respective signal sources within relevant regions of origin based on the point spread function.

2. The method according to claim 1, wherein the threshold is set based on wavelengths of a detection radiation, an intensity of the detection radiation and/or a temperature of the detector.

3. The method according to claim 1, wherein, on average, a predetermined maximum number of pixels is marked in each region of origin.

4. The method according to claim 1, further comprising correcting the pixel values of non-marked pixels using the calibration data record.

5. A method for localizing signal sources, the method comprising: determining for each pixel of a detector used to capture detection radiation, at least one value of a pixel-specific error parameter; storing the at least one value for each pixel in a calibration data record; determining a derived error parameter for each pixel based on the calibration data record; storing, for each pixel, the pixel's derived error parameter in the calibration data; capturing image data of a sample pixel-by-pixel; storing the image data as pixel values in an image data record; identifying regions of origin of signal sources in the sample based on the captured image data, wherein the regions of origin correspond to a plurality of pixels; fitting a point spread function to the pixel values of the respective regions of origin, wherein the fitting is based on the derived error parameter; and localizing the respective signal sources within relevant regions of origin based on the point spread function.

6. The method according to claim 5, wherein a variance of the pixel values of a time series, a variance of the pixel values of a time series in a case of respectively different illumination levels and/or mean values of respectively one time series at respectively different illumination levels are ascertained as derived pixel-specific error parameter.

7. The method according to claim 6, further comprising: determining a photon transfer curve for each pixel based on the variances of the time series of different illumination levels and the mean values, wherein the photon transfer curve is used as the derived pixel-specific error parameter.

8. A method for localizing signal sources, the method comprising: determining for each pixel of a detector used to capture detection radiation, at least one value of a pixel-specific error parameter; storing the at least one value for each pixel in a calibration data record; creating an ADU histogram of a number of pixel values for each pixel based on the calibration data record; storing, for each pixel, the pixel's ADU histogram in the calibration data; capturing image data of a sample pixel-by-pixel; storing the image data as pixel values in an image data record; identifying regions of origin of signal sources in the sample based on the captured image data, wherein the regions of origin correspond to a plurality of pixels; fitting a point spread function to the pixel values of the respective regions of origin, wherein the fitting is based on the respective ADU histograms for the pixel; and localizing the respective signal sources within relevant regions of origin based on the point spread function.

9. The method according to claim 8, wherein a variance of the pixel values of a time series, a variance of the pixel values of a time series in a case of respectively different illumination levels and/or mean values of respectively one time series at respectively different illumination levels are ascertained as derived pixel-specific error parameter.

10. The method according to claim 9, further comprising: determining a photon transfer curve for each pixel based on the variances of the time series of different illumination levels and the mean values, wherein the photon transfer curve is used as the derived pixel-specific error parameter.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention is explained in more detail below on the basis of figures and various configurations. In the figures:

(2) FIG. 1A shows an exemplary representation of captured pixel values with a bad pixel and an emitting molecule as signal sources, and

(3) FIG. 1B shows an exemplary representation of a histogram of the ascertained PSF widths of the signal sources of FIG. 1a.

(4) FIG. 2 shows time series of grayscale value distributions of three different pixels of an sCMOS sensor in the case of constant illumination;

(5) FIG. 3 shows a schematic representation of a method according to the invention using a threshold;

(6) FIG. 4 shows a schematic representation of a calibration of the detector with different possible calibration parameters and a production of a calibration data record;

(7) FIG. 5 shows a schematic illustration of an exemplary embodiment of processing pixel values and the calibration data record.

DETAILED DESCRIPTION

(8) An exemplary representation of a two-dimensional arrangement of pixels 1 of an indicated, perspectively illustrated detector 2, for example, an sCMOS sensor, is provided in FIG. 1a. The different captured grayscale values of the individual pixels 1 (three of which are highlighted by an additional frame) are evident. Two particularly bright pixels 1 are selected as potential signal sources 3.1 and 3.2 and the regions of origin 4 thereof are visualized by means of a circle in each case.

(9) FIG. 2 illustrates, in exemplary fashion, the temporal noise performance of three different pixels 1 of an sCMOS sensor in the case of a constant illumination level. The left-hand column plots the grayscale values over time in each case. The right-hand column presents respectively associated histograms of the frequencies of the individual grayscale values.

(10) The first line shows the noise performance of a pixel 1 that is well-described by a model, known from the prior art, of a convolution of a Poisson distribution and Gaussian distribution.

(11) The noise performance illustrated in the last line can only be described unsatisfactorily with a corresponding model on account of its large width and approximately triangular form with a large base width.

(12) The central line presents a noise performance of a pixel 1, whose distribution—as is evident on the right in the associated histogram—cannot be captured by means of the known models.

(13) A possible configuration of the method according to the invention using a threshold is presented in FIG. 3 as a sketch. First, a threshold to applied is set. Here, the experiment intended to be performed is taken into account. By way of example, properties of the sample and of the emitters to be used, the illumination wavelengths and illumination level(s) to be used, the detection wavelength(s) and known specifications of the detector and/or of the remaining experimental setup are taken into account.

(14) Proceeding therefrom, the expected localization accuracy and what tolerances should be accepted is ascertained or estimated. The threshold is set in accordance with these deliberations and specifications, and, for example, stored in an evaluation unit 5. By way of example, the threshold is set as an offset or as a variance of the pixel values in order to be able to compare the threshold to the pixel-specific error parameters ascertained from the pixel values.

(15) In an alternative configuration of the method, the threshold can also be ascertained empirically by means of a localization algorithm.

(16) Moreover, a calibration data record is created and stored in a manner assigned to the individual pixels 1 of the detector 2 (see FIG. 1a). To this end, a number of dark images are recorded by the detector 2 and the pixel values of each pixel 1 captured in the process are stored in assigned fashion as a calibration data record. Subsequently, an offset or variance of the pixel values, for example, is ascertained from the pixel values as a pixel-specific error parameter. These can likewise be stored in the calibration data record in a manner assigned to the pixels 1.

(17) The values of the pixel-specific error parameters ascertained thus are compared to the threshold for each pixel 1. If the value of a pixel-specific error parameter exceeds the threshold, the relevant pixel 1 is marked in the calibration data record, for example by virtue of its pixel coordinates (x, y) being listed in the metadata. The marked pixels 1 should not be taken into account for subsequent evaluations and are therefore “masked,” i.e., labeled as no longer to be taken into account (pixel mask).

(18) In a further step, a check is carried out as to whether masked pixels 1 are present in clusters. To this end, the maximum admissible clustering is set (specified) in advance and likewise stored. By way of example, how far apart two marked pixels 1 have to be as a minimum so as not to form a cluster is set.

(19) If the conditions of admissible clustering are satisfied, there is a transition to the localization of the signal sources 3.1, 3.2.

(20) By contrast, if the distribution of the masked pixels 1 does not meet the admissible clustering, a check is carried out as to whether admissible clustering can be achieved (cluster specification) by way of modified settings of operational parameters (specs) of the detector 2. If this is not the case, then the detector 2 (=sensor) is unsuitable.

(21) By contrast, if the operational parameters of the detector 2 can be set in such a way that admissible clustering is obtained, these settings are performed and there is a transition to the localization of the signal sources 3.1, 3.2.

(22) By way of example, the calibration data record and the information in respect of the marked pixels 1 (pixel mask) are provided as metadata and appended to an image data record to be created.

(23) For a sample to be evaluated, a time series of image data is captured (time series for localization microscopy) and the pixel values are stored, assigned to the respective pixels 1, as an image data record. Pixel values that are ascertained by means of an interpolation on the basis of the pixel values of adjacent pixels 1 are assigned to the masked pixels 1 or the masked pixels 1 obtain no pixel value and are ignored during subsequent localization of the signal source 3.1, 3.2. Alternatively, the respectively captured pixel values could also be assigned to the marked pixels 1, for example in order to be able to carry out a separate error evaluation. However, for an actual localization, these pixels 1 are ignored or the pixel values thereof used for the localization are previously ascertained by means of interpolation and assigned.

(24) The pixel values of the image data record are corrected on the basis of the calibration data record and, optionally, by taking account of the metadata (correction as per the metadata). Regions of origin 4, in which a signal source 3.1, 3.2 is located, are ascertained within the array of the pixels 1 on the basis of the image data, in particular the pixel values. By way of example, this is implemented on the basis of the maxima of the captured and corrected pixel values. A localization algorithm is applied to the corrected pixel values of the pixels 1 of the respective region of origin and a PSF is fitted. The location of the maximum of the PSF is ascertained and stored as point of origin of the signal source 3.1, 3.2.

(25) In exemplary fashion, FIG. 4 illustrates a calibration of the detector with different possible calibration data records and a production of an overall calibration data record. To this end, time series with different illumination levels I1 to Ik are captured. Here, the illumination level I1 equals zero and corresponds to a time series of dark images. The pixel values captured at the illumination level I1 are used to produce a calibration data record [Cal Interp (Mask)] with marked and masked pixels, as was explained in relation to FIG. 3.

(26) Moreover, the pixel values captured at the illumination level I1 can be used to produce a calibration data record (Cal Offset) in which the offset of each pixel 1 is ascertained and stored. The pixel values can be corrected by subtracting the mean value of the pixel values from every pixel value. In order to avoid negative pixel values occurring in the process or, depending on the data format, should negative values be inadmissible (so-called “clipping” at zero), a constant and known value (“NoiseMargin”) is optionally added to all pixel values and stored.

(27) Proceeding from the individual time series, it is furthermore possible to ascertain the mean values of the pixel values and the variance s within the time series in each case. The mean values and variances serve to create and fit (photon transfer curve fitting) a photon transfer curve (PTC). The created photon transfer curve is stored in a calibration data record (Cal Gain Correction).

(28) Moreover, ADU histograms [Histogram (I1), Histogram (I2), . . . ; Histogram (Ik)] can be created from the pixel values of the time series in each case and stored. Subsequently, these can optionally be combined in suitable fashion (binning), smoothed, approximated and/or filtered before they are stored as calibration data records[Cal (Histograms)].

(29) The aforementioned calibration data records can be combined to form an overall calibration data record. Alternatively, they can also be produced and/or stored and applied individually.

(30) An application of the various calibration data records to captured image data of an image data record is shown in FIG. 5 in exemplary fashion. The image data of the image data record, denoted by T (Raw Data), are corrected by means of the offset calibration data record (Cal Offset) in respect of an offset and by means of the gain calibration data record (Cal Gain Correction) in respect of a photon transfer. The pixel values of the captured image data, corrected thus, are subsequently corrected using the Cal Interp (Mask) calibration data record (masking). As already explained above, the pixels 1 whose variances exceed the threshold set for the Cal Interp (Mask) calibration data record are marked in the Cal Interp (Mask) calibration data record and in the image data record, and are optionally masked.

(31) Possible signal sources (Peak Finder) and associated regions of origin 4 (Extract ROI; ROI=region of interest) are identified on the basis of the corrected pixel values.

(32) The point of origin of the signal source 3.1, 3.2 in the respective region of origin 4 is ascertained by fitting the PSF [PSF-Fit (Gauss)] and the quality of the fit is checked.

(33) Additionally, a filtering step (Filtering) can be carried out following the actual localization (Localization). Using this, it is possible to identify “bad pixels”, the grayscale values and noise performances of which do not correspond to those of the emitter used in the experiment. Bad pixels are understood to be hot pixels, blinkers and dead pixels or other types of pixel behavior that leads to apparent photon detection events. Despite the previously applied calibrations and localization steps, such bad pixels may have been identified and localized as regular signal sources 3.1, 3.2, for example as fluorescing molecules.

(34) By way of example, the captured photon number, the signal-to-noise ratio and the blinking behavior can be used as filter parameters. The width of the PSF is also a suitable filter parameter, as the latter is largely independent of the respective experiment.

(35) Particularly the latter filtering is based on the circumstance that the localization of the singulated signal sources requires a spread of the PSF over a plurality of pixels 1, which occurs by way of the effect of the optical design of the system, for example objective lens, tube lens and pixel dimensions. If significantly narrower PSF widths occur at individual pixels 1 localized by the algorithm, which significantly narrower PSF widths for example correspond to a pixel, these can be identified as bad pixels by way of a suitable choice of a filter threshold of the PSF width and can be excluded.

(36) By way of example, two signal sources 3.1 and 3.2 are evident in FIG. 1a, the respective region of origin 4 of which is outlined by a circle. The size of the pixels 1 is 100 nm in the sample. The PSF widths (full width at half maximum, Gaussian fit) of the two signal sources 3.1, 3.2 are shown in FIG. 1b in exemplary fashion for 1000 localizations each of the two signal sources 3.1, 3.2. While the signal source 3.1 situated top left in FIG. 1a has a PSF width of only approximately 40 nm (range: 30-50 nm), the signal source 3.2 situated bottom right in FIG. 1a has a PSF width of approximately 140 nm, as is typical for a fluorophore.

(37) Therefore, the assumption can be made that the left signal source 3.1 is caused by a bad pixel (hot pixel or warm pixel or blinker), while the right signal source 3.2 is in fact a fluorophore.

(38) In principle, this filter function can also be carried out without the aforementioned steps of the method according to the invention.