Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD FOR ALIGNING AT LEAST ONE PART OF ONE DIGITAL IMAGE TO AT LEAST ONE PART OF ANOTHER DIGITAL IMAGE
Document Type and Number:
WIPO Patent Application WO/2017/098011
Kind Code:
A1
Abstract:
The present invention relates to a method and a system for aligning at least one part of one digital image to another digital image. In particular, the present invention relates to a method for aligning at least one part of a second digital image with at least one part of a first digital image comprising the following steps, preferably in the following order: dividing the at least one part of the first digital image into a plurality of tiles t_fi={t_fi1,t_fi2,...,t_fin} with n being a positive integer; dividing the at least one part of the second digital image into a plurality of tiles t_si={t_si1,t_si2,...,t_sin}, wherein each tile t_siv with v ∊ {1,2,...n} of the plurality of tiles t_si corresponds to one respective tile t_fiv of the plurality of tiles t_fi; creating a plurality of correlation images fci = { fci_1, fci_2,... fci_n'} by computing the correlation between each tile t_fiv' and the corresponding tile t_siv' with v' ∊ {1,2,...n'≤n}; determining the position of a global maximum correlation value p_ν' for each of the plurality of correlation images fci_v'; and calculating a plurality of first offset vectors fov = {fov_1, fov_2,..., fov_ n"}, the offset vector fov_v" with v"∊ {1,2,...n"≤n'} representing the offset between the tile t_siv" and the corresponding tile t_fiv" being calculated by considering the center position of the corresponding correlation image fci_v" and the position of the global maximum correlation value p_v of the respective correlation image fci_v" with v"∊ {1,2,...n"≤n'}. The method also comprises aligning the at least one part of the second digital image with the at least one part of the first digital image by applying the corresponding first offset vectors fov.

Inventors:
SCHUSTER GUIDO (DE)
ZERFASS THORSTEN (DE)
UNTERER THOMAS (DE)
HAUTH JAN (DE)
LOHEL MAIKO (DE)
Application Number:
PCT/EP2016/080509
Publication Date:
June 15, 2017
Filing Date:
December 09, 2016
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
QIAGEN GMBH (DE)
International Classes:
G06T7/32
Domestic Patent References:
WO2009117119A12009-09-24
WO2008097455A12008-08-14
WO2014020137A12014-02-06
Foreign References:
US6738532B12004-05-18
US20110007981A12011-01-13
US20040013299A12004-01-22
US20100323350A12010-12-23
Other References:
GOTTESFELD BROWN L: "A SURVEY OF IMAGE REGISTRATION TECHNIQUES", ACM COMPUTING SURVEYS, ACM, NEW YORK, NY, US, US, vol. 24, no. 4, 1 December 1992 (1992-12-01), pages 325 - 376, XP002942558
ZITOVA B ET AL: "IMAGE REGISTRATION METHODS: A SURVEY", IMAGE AND VISION COMPUTING, ELSEVIER, GUILDFORD, GB, vol. 21, no. 11, 1 October 2003 (2003-10-01), pages 977 - 1000, XP002522120
SIMPER A ED - INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS: "Correcting general band-to-band misregistrations", PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING (ICIP) LAUSANNE, SEPT. 16 - 19, 1996; NEW YORK, IEEE, US, vol. 1, 16 September 1996 (1996-09-16), pages 597 - 600, XP010202728
FLUSSER J ED - IMPEDOVO SEBASTIANO ET AL: "AN ADAPTIVE METHOD FOR IMAGE REGISTRATION", PATTERN RECOGNITION, ELSEVIER, GB, vol. 25, no. 1, 1 January 1992 (1992-01-01), pages 45 - 54, XP000248490
VOELKERDING ET AL., CLINICAL CHEMISTRY, vol. 55, no. 4, 2009, pages 641 - 658
METZKER, NATURE REVIEWS/ GENETICS, vol. 11, January 2010 (2010-01-01), pages 31 - 46
Attorney, Agent or Firm:
SANDWEG, Christian (DE)
Download PDF:
Claims:
Claims

1. Method for aligning at least one part of a second digital image with at least one part of a first digital image comprising the following steps, preferably in the following order: a) dividing the at least one part of the first digital image into a plurality of tiles t_fi= {t_fi 1 ,t_fi2, ... ,t_fin} with n being a positive integer;

b) dividing the at least one part of the second digital image into a plurality of tiles t_si={t_sil,t_si2,...,t_sin}, wherein each tile t_siv with v e {l,2,...n} of the plurality of tiles t si corresponds to one respective tile t_fiv of the plurality of tiles t_fi;

c) creating a plurality of correlation images fci = { fci_ 1 , fci_2 fci_n'} by computing the correlation between each tile t _fiv' and the corresponding tile t siv' with v' e {l ,2,...n'<n};

d) determining the position of a global maximum correlation value ρ ν' for each of the plurality of correlation images fci v';

e) calculating a plurality of first offset vectors fov = {fov_l , fov_2,...,fov_ n"}, the offset vector fov v" with v" e {l ,2,...n"≤n' } representing the offset between the tile t siv" and the corresponding tile t_fiv" being calculated by considering the center position of the corresponding correlation image fci v" and the position of the global maximum correlation value p_v" of the respective correlation image fci_v" with v" G { l ,2,...n"<n'}; and

f) aligning the at least one part of the second digital image with the at least one part of the first digital image by applying the corresponding first offset vectors fov.

2. Method according to claim 1 , wherein the plurality of tiles t_fi and t si fully cover the first and second digital image respectively, wherein step f) further comprises transforming the tile t siv" or the position of at least one object in the tile t siv" by applying the corresponding first offset vector fov_ v".

3. Method according to claim 2, wherein the at least one object is a bead preferably being configured to receive DNA and/or RNA.

4. Method according to claim 1 , wherein the plurality of tiles t fi and t_si are distributed over the first and second digital image respectively to cover only a part of the first and second digital image.

5. Method according to claim 4, wherein the plurality of tiles t_fi and t_si are equally sized and distributed on a regular grid having a cell size larger than the size of the tiles.

6. Method according to claim 4 or 5 further comprising after step e) assigning the offset vector fov_ v" to a predetermined region of the tile t siv".

7. Method according to claim 6 wherein the predetermined region is the center of the tile t_siv".

8. Method according to any of claims 4 to 7, wherein the method further comprises after step e) a regression analysis step to determine the parameters of a predetermined function based on the assigned offset vector fov_ v" and wherein step f) further comprises transforming the second digital image by applying said function.

9. Method according to claim 8, wherein the predetermined function is a degree three polynomial function.

10. Method according to any of claims 2 to 8 wherein the plurality of tiles t_fi and t si are distributed on the first and second digital image, respectively, to not overlap.

1 1. Method according to any of claims 1 to 10 wherein n = n' = n" and wherein v' = v' = v".

12. Method according to any of claims 1 to 1 1 , further comprising before step a) the following steps: al) creating a correlation image sci by computing the correlation between the at least one part of the first digital image and the at least one part of the second digital image;

a2) determining the position of a global maximum correlation value p_cof the correlation image sci;

a3) calculating an offset vector sov between the at least one part of the first digital image and the at least one part of the second digital image by considering the center position of the first correlation image sci and the position of the global maximum correlation value p_v of the first correlation image sci.

13. Method according to claim 12, further comprising after step a3) the following step: transforming the at least one part of the second digital image by applying the calculated offset vector sov. 14. Method according to any of claims 1 tol3, wherein each tile t siv of the plurality of tiles t si has the same length 1 1 in a first direction and the same length 1_2 in a second direction being perpendicular to the first direction, wherein preferably 1 1 = 1 2, more preferably wherein 1 1 = 1 2 = 128 pixels. 15. Method according to claim 14, wherein each tile t_fiv of the plurality of tiles t_fi has the length 1 1 in the first direction and the length 1 2 in the second direction.

16. Method according to any of claims 1 to 15, wherein the first and/or the second digital image contains at least one object carrying a fluorescent compound and wherein the first digital image and/or the second digital image is obtained by an optical imaging system during emission of electromagnetic radiation by the fluorescent compound.

17. Method according to any of claims 1 to 16, wherein the first digital image and/or the second digital image is obtained by an optical imaging system during reflective illumination, preferably during reflective white-light illumination.

18. Method according to any of claims 1 to 17, wherein the correlation between the tile t siv' and the corresponding tile t_fiv' is computed by phase-correlation or cross- correlation of the tile t_siv' and the corresponding tile t_fiv'.

19. Method according to any of claims 12 to 18, wherein the correlation between the at least one part of the first digital image and the at least one part of the second digital image is computed by phase-correlation or cross-correlation of the at least one part of the first digital image and the at least one part of the second digital image.

20. System for aligning at least one part of a second digital image with at least one part of a first digital image, preferably being configured to carry out the steps of any of the methods according to any of the preceding claims, comprising:

a first unit configured to divide the at least one part of the first digital image into a plurality of tiles t_fi={t_fil,t_fi2,...,t_fin} with n being a positive integer;

a second unit configured to divide the at least one part of the second digital image into a plurality of tiles t_si={t_sil,t_si2,...,t_sin}, wherein each tile t_siv with v e {l ,2,...n} of the plurality of tiles t si corresponds to one respective tile t_fiv of the plurality of tiles t_fi;

a third unit configured to create a plurality of correlation images fci = { fci_ 1 , fci_2 fci_n'} by computing the correlation between each tile t fiv' and the corresponding tile t_siv' with v' e {1 ,2,...n'≤n};

a fourth unit configured to determine the position of a global maximum correlation value ρ ν' for each of the plurality of correlation images fci_v'; and

a fifth unit configured to calculate a plurality of first offset vectors fov = {fov l , fov_2,...,fov_ n"}, the offset vector fov_v" with v" e {l ,2,...n"≤n'} representing the offset between the tile t_siv" and the corresponding tile t fiv" being calculated by considering the center position of the corresponding correlation image fci v" and the position of the global maximum correlation value p_v" of the respective correlation image fci_v" with v" e {l ,2,...n"<n' }, wherein the fifth unit is further configured to align the at least one part of the second digital image with at least one part of the first digital image by applying the corresponding first offset vectors fov. Computer program product comprising one or more computer readable media having computer executable instructions for performing the steps of the method of one of claims 1 to 19.

Description:
Method for aligning at least one part of one digital image to at least one part of another digital image

The present invention relates to a method and a system for aligning at least one part of one digital image to another digital image. The present invention particularly relates to a method and a system for aligning at least one part of one digital image to another digital image in a sequencing apparatus for analyzing biomolecules by detecting fluorescence signals from a sample probe. Biotechnology, medicine and related technical fields are based on the analysis of molecules. Electronic devices can analyse molecules with high precision and specificity. Especially in the last years, automated electronic devices have been developed for analysing large numbers of samples by routine methods. For example, modern DNA sequencing apparatus are used for routine analysis of large numbers of DNA probes. Protein samples can be analysed by high throughput screening and related methods. Frequently, such electronic devices detect fluorescent signals emitted from the sample probes. This is possible when molecules, such as nucleic acids or proteins, have been labelled with fluorescent compounds such as dyes. Commercially available sequencing apparatus are capable of sequencing large numbers of samples labelled with fluorescent dyes in parallel. Recently developed methods, referred to as "next-generation sequencing", NGS, have revolutionized sequencing. NGS allows the massively parallel sequencing of clonally amplified or single DNA molecules that are spatially separated in a flow cell or by generation of an oil-water emulsion. NGS allows thousands or even millions to billions of sequencing reactions to be performed simultaneously.

In NGS, sequencing is performed by repeated cycles of polymerase-mediated nucleotide extensions or, in one format, by iterative cycles of oligonucleotide ligation. As a massively parallel process, NGS generates hundreds of megabases to gigabases of nucleotide-sequence output in a single instrument run, depending on the platform. The inexpensive production of large volumes of sequence data is the primary advantage over conventional methods. NGS platforms and common applications/fields for NGS technologies are e.g. reviewed in Voelkerding et al, Clinical Chemistry 55:4 641-658, 2009 and Metzker, Nature Reviews/ Genetics Volume 1 1, January 2010, pages 31-46. In NGS, various oligonucleotides of interest are covalently attached to a support. Subsequently, a nucleotide labelled with a fluorescent dye is attached to the growing oligonucleotide chain with DNA polymerase. When the four nucleotides are labelled with different fluorescent dyes, fluorescent signals emitted from a probe can be detected and the type of nucleotide attached to the oligonucleotide can be identified. After detection, the fluorescent dye is cleaved off and the next synthesis cycle is carried out, in which a new labelled nucleotide is attached to the growing chain. By carrying out multiple cycles, the sequence of a growing oligonucleotide chain can be determined in a stepwise manner. The working steps are carried out in an automated sequencing apparatus. US 2010/0323350 Al and WO 2009/1 171 19 Al relate to methods and compositions for determining the identity of nucleic acids in nucleotide sequences using, for example, data obtained from sequencing by synthesis methods.

WO 2008/097455 Al relates to an imaging system for exciting and measuring fluorescence on or in samples comprising fluorescent materials, e.g. fluorescent labels, dyes or pigments, in particular to detect fluorescent labels on nucleic acid. Moreover, a device is disclosed being configured such that fluorescent labels in a plurality of different DNA templates are simultaneously detected. WO 2014/020137 Al relates to a method for enriching target sequences from a sequencing library to provide a target enriched sequencing library, wherein the sequencing library is suitable for massive parallel sequencing and comprises a plurality of double-stranded nucleic acid molecules. Fluorescent signals emitted from sample probes with labelled molecules are weak, but the signals have to be detected with high precision and specificity. Thus, precise optical equipment, especially cameras and scanning technology, is required for such processes. In addition, extensive evaluation of the digital images captured by an optical imaging system of the sequencing apparatus is necessary for obtaining a precise and reliable result of the sequencing, e.g. in FASTQ.

It is an object of the invention to provide a method and a system for aligning at least one part of one digital image to another digital image, particularly to provide a method and a system for aligning at least one part of one digital image to another digital image in a sequencing apparatus for analyzing biomolecules by detecting fluorescence signals from a sample probe. The method according to the present invention is computer-implemented. However, it is understood by the skilled person that there are also other ways of implementing the method according to the present invention.

This object is achieved by a method and a system according to the independent claims. Dependent patent claims refer to preferred embodiments.

The digital images for analyzing biomolecules in a sequencing apparatus are captured/obtained in a sequential order. Between the capturing steps, the field of view or the image section can change, e.g. caused by the movement of the flow-cell of the sequencing apparatus, which leads to misaligned digital images.

Consequently, these misalignments prevent a comprehensive comparison and analysis of the digital images. Thus, the goal of the image registration is to remove the misalignments of the digital images.

Beside the general alignment of the images, better known as image registration, the process also has to be capable to compensate lens distortions to support the subsequent processing steps of the sequencing pipeline. One of the advantages of using a computer-implemented method rather than a static hardware or calibration solution is to ensure a high reliability of the system over a long time- period, e.g. by inherently compensate nascent backlash of the mechanical components. For example, ageing of the sequencing apparatus has to be compensated. Moreover, by avoiding the calibration and re-calibration, which would otherwise be necessary, the maintenance costs are reduced in general. The invention relates to a method for aligning at least one part of a second digital image with at least one part of a first digital image. The method comprises the step of dividing the at least one part of the first digital image into a plurality of tiles t_fi={t_fil ,t_fi2,...,t_fin} with n being a positive integer. The method further comprises the step of dividing the at least one part of the second digital image into a plurality of tiles t_si={t_sil,t_si2,...,t_sin}, wherein each tile t_siv with v e {l,2,...n} of the plurality of tiles t_si corresponds to one respective tile t_fiv of the plurality of tiles t fi. The method further comprises the step of creating a plurality of correlation images fci = { fci_ 1, fci_2 fci n' } by computing the correlation between each tile t_fiv' and the corresponding tile t_siv' with v' e {l ,2,...n'<n}. The method further comprises the step of determining the position of a global maximum correlation value ρ ν' for each of the plurality of correlation images fci v'. The method further comprises the step of calculating a plurality of first offset vectors fov = {fov_l, fov_2,...,fov_ n"}, the offset vector fov_v" with v" ≡ {l ,2,...n"≤n'} representing the offset between the tile t siv" and the corresponding tile t fiv" being calculated by considering the center position of the corresponding correlation image fci_v" and the position of the global maximum correlation value p_v" of the respective correlation image fci_v" with v" e {l ,2,...n"<n'}. The method also comprises aligning the at least one part of the second digital image with the at least one part of the first digital image by applying the corresponding first offset vectors fov. Preferably, the above discussed steps of the method according to the present invention are executed in the order as presented above.

The plurality of tiles t_fi and t_si may fully cover the first and second digital image respectively, wherein step of aligning further comprises transforming the tile t_siv" or the position of at least one object in the tile t_siv" by applying the corresponding first offset vector fov_ v". Alternatively, it is preferred that the plurality of tiles t_fi and t si are distributed over the first and second digital image respectively to cover only a part of the first and second digital image. The plurality of tiles t_fi and t_si may be equally sized and distributed on a regular grid having a cell size larger than the size of the tiles.

The method may further comprise after calculating the offset vectors fov, assigning the offset vector fov_ v" to a predetermined region of the tile t siv".

The predetermined region may be the center of the tile t siv".

The method may further comprise after calculating the offset vectors fov, a regression analysis step to determine the parameters of a predetermined function based on the assigned offset vector fov_ v" and wherein the step of aligning may further comprise transforming the second digital image by applying said function.

The predetermined function may for example be a degree three polynomial function. The plurality of tiles t_fi and t_si are preferably distributed on the first and second digital image, respectively, to not overlap.

In other words, in an alternative aspect of the present invention instead of dividing the whole of the first and second image into a plurality of tiles it is preferred to use sparse tiling covering only a small fraction of the image area (e.g. 10% of the image) and subsequently determining an optimal analytic function which extrapolates the offset vectors calculated for each tile to every point in R (R=set of real numbers).

That is, it is preferred to use a non-overlapping set of tiles which are adequately distributed over the image area to enable capturing translation, lens distortion and small angle rotation. For example, an adequate tiling can be constructed by placing equally sized tiles on a regular grid with a cell size exceeding the size of the tiles. Furthermore, according to the alternative aspect of the present invention, in a first step, the offset vectors are calculated for every tile through computation of a correlation image and substraction of the subpixel-precise position of the maximal correlation value from the center position. The computation cost is dominated by the calculation of the correlation images, and limitation to a small fraction of the image area is able to reduce the

computational cost involved.

In a second step, according to the alternative aspect of the present invention, every offset vector may be assigned to the center position of the corresponding tile. This results in a set of data points S = { (xl, yl , dxl, dyl), (x2, y2, dx2, dy2),..., (xn, yn, dxn, dyn)} where xi and yi are the coordinates of the i-th center position and dxi and dyi are the corresponding offsets in the direction of the coordinate axis. The data points in S are used to identify optimal parameters of an adequate function f which satisfies that f(xi,yi)=(dxi + epsxi, dyi + epsyi) for all i in {1,..., n} such that all error terms epsxi and epsyi are minimal. For instance, as outlined above, a degree 3 polynomial is adequate in the context of automated fluorescence microscopy imaging.

Polynomials have the additional benefit that they are linear functions in their coefficients, so efficient methods for linear last squares regression can be applied for the identification of optimal parameters.

The desired mapping of the image coordinate space onto the reference space is then given by the function g(x,y) = (x,y) + f(x,y). Given the mapping g, every pixel or object can be aligned with the reference image with arbitrary precision and low computational cost by simply evaluating g at the pixel or the object position.

In addition, according to the alternative aspect of the present invention, a minimal footprint for storing the resulting mapping may be achieved. In case of a degree 3 polynomial, the full mapping, it is sufficient to store 8 parameters which, in IEEE-754 single precision floating point format, amounts to 32 byte of memory. Preferably, fov_v" is calculated as follows:

fov_v" = (center position of the correlation image fci v) - (peak position of the p_v of the correlation image fci v). Preferably, method according the present invention comprises the step of transforming the position of at least one object in the tile t siv" by applying the corresponding first offset vector fov_ v" after the step of calculating a plurality of first offset vectors fov. One of the advantages of only transforming the position of the at least one object in the tile t siv" is that not all pixels of the respective tile t siv" have to be transformed, which is less time- consuming and less resources-consuming.

If n'<n no correlation images are created for t fix and t_six with x>n'. Thus, the corresponding tiles with the highest indices are to be ignored and no correlation images are to be created.

If tiles with lower indices are to be ignored it has to be considered that corresponding t fiy and t siy for a correlation image fci_x would be given by the function y = C(x), i.e. t_fiC(x), t_siC(x). For every correspondence and every direction a respective function would have to be used: fci -> t_fi, t si;

fov -> t_fi, t si;

fov -> fci That is, the information which tiles are to be ignored would have to be determined before dividing the digital images into the plurality of tiles.

Preferably, n = n' = n" and v' = v' = v". Preferably, there is the same number n of tiles t si of the at least one part of the second digital image and the number n of tiles t_fi of the at least one part of the first digital image as the number n' of correlation images fci, i.e. n=n'. Preferably, there is the same number n' of correlation images fci as the number n" of first offset vectors fov, n'=n".

The term "object" relates to a predetermined region within the digital image. The predetermined region may be determined by evaluating the intensity at specific regions of the digital image.

Preferably, the at least one object is a bead preferably being configured to receive DNA and/or RNA.

Preferably, the method according to the present invention further comprises the following steps:

creating a correlation image sci by computing the correlation between the at least one part of the first digital image and the at least one part of the second digital image; determining the position of a global maximum correlation value p_c of the correlation image sci;

- calculating an offset vector sov between the at least one part of the first digital image and the at least one part of the second digital image by considering the center position of the first correlation image sci and the position of the global maximum correlation value p_c of the first correlation image sci.

Preferably, the method according to the present invention further comprises the step of transforming the at least one part of the second digital image by applying the calculated offset vector sov. Preferably, the method according to the present invention further comprises the step of transforming the second digital image by applying the calculated offset vector sov. Preferably, these steps are performed before performing the step of dividing the at least one part of the second digital image into the plurality of tiles t si. Preferably, transforming comprises an affine transformation, i.e. a translation.

Preferably, the transformation relates to a complete shift of the whole image, in particular an integer pixel shift of the whole image. The person skilled in the art will appreciate that the present invention is not limited to a specific transformation.

The choice of a transformation is in general associated with further considerations to appropriately implement a specific transformation to the present invention. Thus, a complete description of every possible transformation and the specific implementation is believed to be within the common general knowledge of a person skilled in the art and its description is omitted at this point. Preferably, the transformation is generally defined by mapping every pixel in t siv" to the reference coordinate system (defined by t_fiv"). That is, a new image t riv" is generated, wherein "r" stands for registered, in which the intensity of every pixel (x, y) corresponds to the intensity at the corresponding pixel (x, y)+fov_v" in t siv". If objects, i.e. predetermined regions (regions of interest) (x, y) are to be transformed in t siv" the transformation may be executed the same way as described above, i.e. by shifting in the reference coordinate system by applying fov_v". The regions, which do not belong to said predetermined regions are then ignored by the transformation. It is generally not the case that integer pixels are mapped to integer pixels by said transformation. It should be clear to the skilled person that non-integer pixel positions may be handled using interpolation.

The present invention is generally concerned with small shifts between the first and the second digital image. Thus, possible "artefacts" due to the appearance of holes and overlaps created by the transformation are less significant and may be tolerated. These artefacts are even less significant if only predetermined regions of the image are transformed.

However, assigning the calculated offset vectors of a certain tile to the center of the respective tile and using common interpolation, a continuous, non-overlapping, vector field may be generated. Thus, no artefacts may be present in this case. In the case where the whole image is covered by tiles a bicubic interpolation between neighbouring tiles may be used to obtain appropriate values for each pixel position.

Preferably, the step of transforming the at least one part of the second digital image is performed only if the offset between the at least one part of the second digital image and the at least one part of the first digital image is exceeding a predetermined limit. Preferably, the limit comprises the length of the offset vector sov. Preferably, the limit comprises at least one of the vector components. Preferably, the step of transforming the at least one part of the second digital image is performed only if at least one of the vector components is larger than a predetermined value, more preferably if at least one of the vector components is larger than 10 pixels and/or 10% of a lateral size of a respective tile t_siv or the tile size of a respective tile t_ t siv. Preferably, the predetermined limit is determined under consideration of the size of the at least one part of the second digital image and the first digital image. Preferably, each tile t_siv of the plurality of tiles t si has the same length 1 1 in a first direction and the same length 1 2 in a second direction being perpendicular to the first direction, wherein preferably 1 1 = 1 2, more preferably wherein 1 1 = 1_2 = 128 pixels.

Preferably, each tile t fiv of the plurality of tiles t_fi has the length 1 1 in the first direction and the length 1 2 in the second direction.

Preferably, the first and/or the second digital image contains at least one object carrying a fluorescent compound and wherein the first digital image and/or the second digital image is obtained by an optical imaging system during emission of electromagnetic radiation by the fluorescent compound.

Preferably, the first digital image and/or the second digital image is obtained by an optical imaging system during reflective illumination, preferably during reflective white-light illumination. Preferably, the correlation between the tile t siv' and the corresponding tile t_fiv' is computed by phase-correlation or cross-correlation of the tile t_siv' and the corresponding tile t_fiv\ Preferably, the correlation between the at least one part of the first digital image and the at least one part of the second digital image is computed by phase-correlation or cross- correlation of the at least one part of the first digital image and the at least one part of the second digital image. The present invention also refers to a system for aligning at least one part of a second digital image with at least one part of a first digital image.

Preferably, the system is configured to carry out the steps of any of the methods according to any of the preceding claims.

The system according to the present invention comprises a first unit configured to divide the at least one part of the first digital image into a plurality of tiles t_fi={t_fil,t_fi2,...,t fin} with n being a positive integer. The system further comprises a second unit configured to divide the at least one part of the second digital image into a plurality of tiles t_si={t_sil,t_si2,...,t_sin}, wherein each tile t siv with v e {l ,2,...n} of the plurality of tiles t_si corresponds to one respective tile t _fiv of the plurality of tiles t fi. The system further comprises a third unit configured to create a plurality of correlation images fci = { fci_ 1 , fci_l fci_n'} by computing the correlation between each tile t _fiv' and the corresponding tile t_siv' with v' e { 1 ,2, ...n'≤n} .

The system further comprises a fourth unit configured to determine the position of a global maximum correlation value p_v' for each of the plurality of correlation images fci v'. The system further comprises a fifth unit configured to calculate a plurality of first offset vectors fov = {fov_l , fov_2,...,fov_ n"), the offset vector fov_v" with v"€ { l,2,...n"<n' } representing the offset between the tile t_fiv" and the corresponding tile t siv" being calculated by considering the center position of the corresponding correlation image fci_v" and the position of the global maximum correlation value p_v" of the respective correlation image fci_v" with v" e {l ,2,...n"≤n'}.

Preferably, the system further comprises a transformation unit configured to transform the tile t siv" by applying the corresponding first offset vector fov_ v" after the step of calculating a plurality of first offset vectors fov.

Preferably, the system further comprises a transformation unit configured to transform the position of at least one object in the tile t siv" by applying the corresponding first offset vector fov_ v" after the step of calculating a plurality of first offset vectors fov.

Preferably, the system further comprises a unit configured to create a correlation image sci by computing the correlation between the at least one part of the first digital image and the at least one part of the second digital image. Preferably, the system further comprises a unit configured to determine the position of a global maximum correlation value of the correlation image sci.

Preferably, the system further comprises a unit configured to calculate an offset vector sov between the at least one part of the first digital image and the at least one part of the second digital image by considering the center position of the first correlation image and the position of the global maximum correlation value of the first correlation image.

Preferably, the system further comprises unit configured to transform the at least one part of the second digital image and/or the second digital image by applying the calculated offset vector sov. Preferably, these steps are performed before performing the step of dividing the at least one part of the second digital image into the plurality of tiles t si. The present invention also relates to a computer program product comprising one or more computer readable media having computer executable instructions for performing the steps of any of the aforementioned methods.

The present invention will be explained in more detail in the following with reference to preferred exemplary embodiments and with reference to the attached drawings, in which:

Fig. 1 shows an exemplary sketch of a second digital image representing a white-light image and an exemplary sketch of a first digital image representing a fluorescence image;

Fig. 2a shows an exemplary white-light image;

Fig. 2b shows an exemplary fluorescence image;

Fig. 3 shows an exemplary sketch of a correlation image between the sketch of the second digital image as shown in Fig. 1 and the sketch of the first digital image as shown in Fig. 1 ; Fig. 4 shows an exemplary division of the sketch of the second digital image as shown in Fig. 1 and the sketch of the first digital image as shown in Fig. 1 into a plurality of tiles according to a preferred embodiment of the present invention;

Fig. 5 shows an example sketch where the offset between the first digital image and the second digital image is larger than a predetermined value;

Fig. 6 shows an exemplary system according to a preferred embodiment of the present invention; and

Fig. 7 shows an exemplary system according to another preferred embodiment of the present invention. The left side of Fig. 1 shows an exemplary sketch of a first digital image representing a so- called white-light image, i.e. a digital image being obtained using an optical imaging system during reflective white-light illumination of a part of the flow cell of the sequencing apparatus. An exemplary white-light image is shown in Fig. 2a. The exemplary white-light image is color-inverted for illustrative purposes.

The right side of Fig. 1 shows an exemplary sketch of a second digital image representing a so-called fluorescence image, i.e. an image being obtained during emission of fluorescent compounds, wherein a fluorescent compound is attached to a bead being configured to receive on the surface at least one molecule comprising DNA or RNA. Such beads are for example commercially available, e.g., from Thermo Fisher Scientific Inc., e.g. under the brand Dynabeads, see reference [1]. And exemplary fluorescence image is shown in Fig. 2b. The exemplary fluorescence image is color-inverted for illustrative purposes.

In Fig. 1 , the beads are shown as black dots. However, it is understood by the skilled person that the size of the beads and the number of the beads are chosen for illustrative purposes and do not reflect their actual size and number.

As can be seen by the encircled beads in the exemplary sketch of the first digital image and of the second digital image, there is an offset between the first digital image and the second digital image in the direction denoted as "x" in Fig. 1. Fig. 3 shows an exemplary sketch of a correlation image between the sketch of the first digital image as shown in Fig. 1 and the sketch of the second digital image as shown in Fig. 1. The correlation image is preferably correlated by cross-correlation. As can be seen, there is a peak P in the correlation image, i.e. a global maximum correlation value in the correlation image, displaced from the center C in the "x"-direction. This displacement of the peak P in the correlation image from the center directly results from the offset between the sketch representing the first digital image and the sketch representing the second digital image.

Fig. 4 shows an exemplary division of the sketch of the second digital image as shown in Fig. 1 and the sketch of the second digital image as shown in Fig. 1 into a plurality of tiles according to a preferred embodiment of the present invention. In the preferred embodiment, the first digital image is divided into 64 tiles t fi and the second digital image is divided into 64 tiles t si. Each tile t fiv of the 64 tiles t fi of the first digital image and each tile t siv of the 64 tiles t si of the second digital image have a length 1_1 in a direction perpendicular to the "x"-direction as shown in fig. 4 and a length 1 2 in the "x"-direction, wherein both lengths 1 1 and 1 2 are the same. In other words, the tiles t_fiv and the tiles t siv have the same size. In this embodiment, after the division of both images into tiles, a correlation image fci_v for each tile t_fiv and each tile t_siv is created resulting in 64 correlation images fci. The correlation images fci are computed in this embodiment by cross-correlation.

After the creation of the correlation images, the position of a respective peak, i.e. a respective global maximum correlation value, in each of the plurality of correlation images fci v is determined. In a further step, an offset vector fov_v between the tile t fiv and the corresponding tile t_siv for each of the 64 pairs of tiles is calculated. The calculations are performed considering the center position of the respective correlation image fci v and the position of the global maximum correlation value p_v of the correlation images fci v. In other words, for each pair of tiles an offset vector fov v can be calculated as follows:

fov v = (center position of the correlation image fci v) - (peak position of the p_v of the correlation image fci_v).

One of the advantages of dividing both images into a plurality of tiles is that an appropriate subdivision into tiles intrinsically considers rotational displacement, which can result from lens distortions for example.

In a further step, a bead position is transformed using the respective offset vector fov v, wherein the bead is located in the tile t_siv. In other words, only the bead position is transformed and not the whole tile t_siv. One of the advantages of only transforming the bead position then rather the whole tile is that not all pixels of the respective tile have to be transformed, and in particular not the whole second digital image, which is less time- consuming and requires less resources. It is understood by the skilled person that not only one bead position can be transformed in the respective tile t siv but also a plurality of bead positions can be transformed in the respective tile t siv without having to transform all pixels of the respective tile. Moreover, it is also understood by the skilled person, that at least one bead position can be transformed in every tile t_siv or merely at least one bead position in some of the tiles t_si without having to transform all pixels.

Fig. 5 shows an example, where the offset between the first digital image and the second digital image is larger than a predetermined value, according to this preferred embodiment larger than the block size of the subdivision, i.e. larger than a fraction of the length 1 1 and/or 1_2 of the tiles t_fiv and t_siv. In this case, the tiles would not overlap and the registration process would fail. Therefore, a global registration is performed before the aforementioned explained method of alignment using the division into tiles. One of the advantages of such a global registration is the improvement of robustness of the alignment method.

As can be seen in the encircled sections of the first digital image and the second digital image, the offset between the first digital image in the second digital image in "x"-direction is larger than the size 1 2 of the tiles t_fiv and t siv if one would directly divide the first digital image and the second digital image into a plurality of tiles t fi/ t si. As a consequence, there would be no overlap between tile t fiv and tile t_siv and the registration would fail. The previous method steps of this preferred embodiment are performed before the division of the first digital image and the second digital image into a plurality of tiles as presented in the preferred embodiment as shown in Fig. 4.

In a first step, a correlation image sci between the first digital image and the second digital image is created by computing the correlation between the first digital image and the second digital image. In this preferred embodiment the correlation image is created by cross- correlation.

In a second step, the position of the global maximum correlation value of the correlation image sci, i.e. the peak value of the correlation image as shown for example in Fig. 3 is determined. In a third step, an offset vector sov between the first digital image and the second digital image is calculated by considering the center position of the first correlation image and the position of the global maximum correlation value of the first correlation image. In other words, the offset vector sov can be calculated as follows:

sov = (center position of the first correlation image sci) - (peak position of the of the first correlation image).

If it is determined that the offset between the first digital image and the second digital image is exceeding a predetermined limit, the second digital image is transformed by applying the calculated offset vector sov. It is understood by the skilled person that the aforementioned translation is performed by an affine transformation. In this preferred embodiment, the limit comprises at least one of the vector components. In this embodiment, the second digital image is transformed by applying the calculated offset vector sov only if at least one of the vector components is larger than a predetermined value, e.g. 10% of a lateral size of a respective tile t_siv or 10% of a lateral size of a respective tile t siv. One of the advantages of only transforming the second digital image, if the offset between the first digital image and the second digital image is exceeding a predetermined limit, is that a time-consuming and resource-consuming global transformation has only to be performed if the offset is too high, thus, resulting in failed registration process.

Fig. 6 shows an exemplary system 100 according to a preferred embodiment of the present invention.

In general, the system 100 is configured to carry out the method steps as presented in the embodiment with reference to Fig. 4.

The system 100 comprises a first unit 101 which divides the first digital image into a plurality of tiles t_fi. After the first unit 101 has divided the first digital image into a plurality of tiles t_fi, a second unit 102 divides the second digital image into a plurality of tiles t si. It is understood by the skilled person, that both processes can be performed by the first unit 101 and the second unit 102 simultaneously. As an alternative, is also understood by the skilled person that the second unit 102 can divide the second digital image into a plurality of tiles t si before the first unit 101 divides the first digital image into a plurality of tiles t _fi. The result of a division performed by the first unit 101 is presented on the left side of Fig. 4. The result of the division performed by the second unit 102 is presented on the right side of Fig. 4.

The system 100 further comprises a third unit 103 which creates a plurality of correlation images fci by computing the correlation between each tile t_siv and the corresponding tile t_fiv. Moreover, the system 100 further comprises a fourth unit 104 which determines the peak position p_ v of the correlation image for each correlation image fci v, i.e. the position of a global maximum correlation value for each correlation image fci v.

The system 100 further comprises a fifth unit 105 which calculates for each pair t fiv and t siv the offset vector fov v by considering the center position of the corresponding correlation image fci v and the peak position p_ v. In other words, the fifth unit 105 is configured to calculate fov_v by using the formula as presented in the embodiment with reference to Fig. 4. Fig. 7 shows an exemplary system 100 according to another preferred embodiment of the present invention.

The system 100 comprises the same units as the system 100 according to the preferred embodiment with reference to Fig. 6. In addition, the system 100 further comprises a unit 101-1 which creates a correlation image sci by computing the correlation between the first digital image and the second digital image. After the unit 101-1 has created the correlation image sci, a unit 101 -2 determines the position of a global maximum correlation value of the correlation image sci. After the unit 101-2 has determined the position of the global maximum correlation value, i.e. the peak of the correlation, the unit 101-3 calculates an offset vector sov between the first digital image and the second digital image by considering the center position sci of the first correlation image and the position of the global maximum correlation value of the first correlation image sci. If the offset between the first digital image and the second digital image is exceeding a predetermined limit, the unit 101-4 is transforming the second digital image by applying the offset vector sov to the second digital image. After the transformation or if the transformation is not necessary since the offset between the first digital image and the second digital image is not exceeding the predetermined limit, the first to fifth units 101 to 105 are performing the process steps as discussed in the preferred embodiment with reference to Fig. 6.

While the invention has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and non-restrictive; the invention is thus not limited to the disclosed embodiments. Variations to the disclosed embodiments can be understood and effected by those skilled in the art and practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the indefinite article "a" or "an" does not exclude a plurality and may mean "at least one".

References

[ 1 ] - https://wA^.thermofisher.corri/de/de/home/brands/product-bra ndydynal.html