WO2017025001A1 - Single molecule localisation apparatus, method, and system - Google Patents

Single molecule localisation apparatus, method, and system Download PDF

Info

Publication number
WO2017025001A1
WO2017025001A1 PCT/CN2016/093737 CN2016093737W WO2017025001A1 WO 2017025001 A1 WO2017025001 A1 WO 2017025001A1 CN 2016093737 W CN2016093737 W CN 2016093737W WO 2017025001 A1 WO2017025001 A1 WO 2017025001A1
Authority
WO
WIPO (PCT)
Prior art keywords
threshold
matrix
single molecule
pixel
positioning device
Prior art date
Application number
PCT/CN2016/093737
Other languages
French (fr)
Chinese (zh)
Inventor
葛良进
曾健明
曾立董
Original Assignee
深圳市瀚海基因生物科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201510483207.3A external-priority patent/CN105303551A/en
Priority claimed from CN201510483297.6A external-priority patent/CN105303552A/en
Application filed by 深圳市瀚海基因生物科技有限公司 filed Critical 深圳市瀚海基因生物科技有限公司
Publication of WO2017025001A1 publication Critical patent/WO2017025001A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a single molecule positioning device, method and system.
  • Super-resolution fluorescence imaging technology has realized the observation of the fine structure of living cells at the molecular level, and has become an extremely important tool for biological structure and functional imaging, and has become an indispensable part of single-molecule sequencing technology.
  • Super-resolution fluorescence imaging technology is a technique for visually displaying the spatial distribution of single molecules (ie, single molecules) at a spatial resolution of nanometer scale.
  • Super-resolution fluorescence imaging can be used to study the interaction between single molecules labeled by fluorescent molecules, and can be used to determine the extension of bases in single-molecule sequencing technology.
  • the commonly used super-resolution fluorescence imaging method is a microscopic imaging technique that utilizes the switching effect of a fluorescent molecule itself to perform positioning.
  • a fluorescent molecule itself to perform positioning.
  • PAM photosensitive localization microscopy
  • TRANSM random optical reconstruction microscopy
  • a super-resolution image is obtained by superimposing several single-molecular positions.
  • single molecule localization is an indispensable part of the super-resolution fluorescence imaging process. Therefore, it is very important to provide a device capable of positioning a single molecule.
  • Embodiments of the present invention disclose a single molecule positioning device, method and system capable of positioning a single molecule.
  • an embodiment of the present invention discloses a single molecule positioning method, and the single molecule positioning Methods include:
  • the matrix of luminance values is a matrix having a preset number of rows and a pixel value of the preset number of columns, centered on the luminance value of the pixel;
  • the remaining pixels are positioned to achieve the single molecule positioning.
  • the comparing the luminance value matrix and the preset matrix, and removing the pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold includes:
  • the method further includes: removing a pixel point corresponding to an element of the similarity value matrix that is greater than a third threshold, where the third threshold is greater than the first threshold.
  • the size of each element in the comparison similarity value matrix and the first threshold is removed, and the pixel corresponding to the element smaller than the first threshold in the similarity value matrix is removed, including :
  • the pixel points corresponding to the element b in the binarization matrix are removed.
  • the method before or after removing the pixel point corresponding to the element b in the binarization matrix, the method includes:
  • the pixel points corresponding to all the elements in the connected component whose element a is smaller than the second threshold are removed.
  • the method further includes:
  • the pixel point corresponding to all the elements in the connected component whose element a is greater than the fourth threshold is removed, and the fourth threshold is greater than the second threshold.
  • the positioning the remaining pixels includes:
  • the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  • the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
  • the method before the determining, by the preset algorithm, the center coordinates of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points, the method further includes:
  • the method before the obtaining a matrix of luminance values of each pixel of the target image, the method further includes:
  • the threshold setting instruction carrying a threshold
  • the threshold carried by the threshold setting instruction is set to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
  • embodiments of the present invention disclose a single molecule positioning device having the functionality to implement the first aspect or the possible implementation of the first aspect.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more units corresponding to the functions described above.
  • the unit can be software and/or hardware.
  • an embodiment of the present invention discloses a single molecule positioning apparatus, including a processor and a memory, wherein the memory is connected to the processor, wherein the memory stores a set of program codes, and the processor is used to call the memory.
  • the stored program code performs the method provided by the first aspect described above or a possible implementation of the first aspect.
  • an embodiment of the present invention discloses a system including a processor and a memory, where The memory is coupled to the processor, wherein the memory stores a set of program code for calling program code stored in the memory to perform the method provided by the first aspect or the possible implementation of the first aspect the way.
  • an embodiment of the present invention discloses a computer readable storage medium storing one or more programs, where one or more programs include instructions that, when executed by a single molecule positioning device, cause a single molecule positioning device to perform the above A method provided on the one hand or a possible implementation of the first aspect.
  • the single molecule positioning device After obtaining the luminance value matrix of each pixel of the target image, the single molecule positioning device compares the luminance value matrix with the preset matrix, and removes the pixel corresponding to the luminance value matrix whose similarity is smaller than the first threshold. Then, the remaining pixels are positioned to achieve single molecule positioning. It can be seen that embodiments of the invention are capable of locating a single molecule.
  • FIG. 1 is a schematic flow chart of a single molecule positioning method disclosed in an embodiment of the present invention.
  • FIG. 2 is a schematic diagram of pixel point distribution of a target picture disclosed in an embodiment of the present invention.
  • FIG. 3 is a schematic flow chart of another single molecule positioning method disclosed in an embodiment of the present invention.
  • FIG. 4 is a schematic structural view of a single molecule positioning device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another single molecule positioning device according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another single molecule positioning device disclosed in an embodiment of the present invention.
  • Embodiments of the present invention disclose a single molecule positioning method, a single molecule positioning device, and a system, which are capable of Positioning a single molecule. The details are described below separately.
  • the single molecule positioning device may be displayed in the form of software and/or hardware.
  • the software form includes but is not limited to various machine executable code or programs, and may be stored in a machine readable medium, the machine readable medium. This includes but is not limited to read only memory, random access memory, magnetic disks, and optical disks.
  • Hardware forms include, but are not limited to, smartphones, tablets, laptops, desktops, and the like.
  • the operating system of the single-molecular positioning device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows operating system, etc., which are not limited by the embodiment of the present invention. .
  • FIG. 1 is a schematic flow chart of a single molecule positioning method according to an embodiment of the present invention. As shown in FIG. 1, the single molecule positioning method may include the following steps.
  • the single molecule positioning device obtains a matrix of luminance values of each pixel of the target image.
  • the user can select or import a picture as a target picture in the single molecule positioning device.
  • the pixel may be a small square after dividing the target image into a plurality of small squares, and a small square is one of the above pixels.
  • the above pixel points may also be bright spots in the target picture.
  • the matrix of luminance values of one pixel may be a matrix having a preset number of rows and a pixel value of the preset number of columns centered on the luminance value of the pixel.
  • the brightness value matrix may also refer to a signal intensity distribution matrix, a fluorescence intensity distribution matrix, or a fluorescence intensity matrix collected by a camera in each FOV (filed of view).
  • the matrix of the luminance value of the pixel may be a matrix of 3*3, 5*5, and 7*7 centered on the luminance value of the pixel, which is not limited in the embodiment of the present invention.
  • FIG. 2 is a schematic diagram of pixel point distribution of a target picture, where n is 512, a 11 is a pixel of the first row and the first column, and a 12 is a pixel of the first row and the second column, a 1n For the pixel of the nth column of the first row, ..., a nn is the pixel of the nth row and the nth column.
  • a monomolecular positioning means determines the luminance value corresponding to a 11 matrix when the matrix is the luminance value of 3 * 3 matrix, the pixels from the target image selected as the center point of a 11 to 3 * 3.
  • the 3*3 pixel centered at a 11 in the pixel of the target picture includes only a 12 , a 21 and a 22 , and the single molecule positioning device will acquire the brightness of a 11 , a 12 , a 21 and a 22 Value, and set the luminance value of the 3*3 pixel point centered on a 11 in the pixel where there is no target picture to 0; the single molecule positioning device will 3*3 pixel point centered on a 11 a 11 constituting a luminance value corresponding to the luminance values of the matrix.
  • the brightness value corresponding to a 11 is L 11
  • the brightness value corresponding to a 12 is L 12
  • the brightness value corresponding to a 21 is L 21
  • the brightness value corresponding to a 22 is L 22
  • the brightness corresponding to a 11 Value matrix A 11 is Similarly, with a 12 corresponding to the luminance value of the matrix A 12 Where L 13 is the luminance value of a 13 and L 23 is the luminance value of a 23 .
  • L 31 is the luminance value of a 31
  • L 32 is the luminance value of a 32
  • L 33 is the luminance value of a 33 .
  • the single molecule positioning device compares the brightness value matrix with the preset matrix, and removes pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold.
  • the pixel point a 11 is removed; if the luminance value matrix of the pixel point a 12 and the preset matrix If the similarity is less than the first threshold, the pixel point a 12 is also removed.
  • the single molecule positioning device positions the remaining pixels to achieve single molecule positioning.
  • the remaining pixel points are pixels corresponding to the brightness value matrix whose similarity is greater than or equal to the first threshold, and the remaining pixel points may be regarded as the pixel points corresponding to the image of the single molecule in the target picture.
  • the single molecule positioning device can filter the non-single molecule image in the target picture, thereby obtaining the position of the single molecule image in the target picture.
  • step S102 may specifically include the following steps:
  • the single molecule positioning device calculates a similarity value between each brightness value matrix and the preset matrix to obtain a similarity value matrix
  • the single molecule positioning device compares each element in the similarity value matrix with the size of the first threshold, and removes pixels corresponding to the elements of the similarity value matrix that are smaller than the first threshold.
  • FIG. 2 is a schematic diagram of pixel point distribution of a target picture, where n is 512, if the luminance value matrix of a 11 and the preset matrix have similarity values of S 11 , a 12 brightness value
  • the similarity value between the matrix and the preset matrix is S 12
  • the similarity value of the brightness value matrix of the a 1n and the preset matrix is S 1n
  • the similarity value of the brightness value matrix of the a nn and the preset matrix is S nn
  • the similarity value matrix matrix the similarity value matrix
  • the single molecule positioning device compares S 11 , S 12 , . . . , S nn with the first threshold, and removes the pixel points corresponding to the elements of the S 11 , S 12 , . . . , S nn that are smaller than the first threshold.
  • one element in the similarity value matrix corresponds to a matrix of luminance values.
  • a matrix of luminance values corresponds to one pixel. Therefore, the elements in the similarity value matrix correspond one-to-one with the pixel points. If S 11, S 12, ..., S nn in S 11 and S 12 is smaller than a first threshold, a 11 and a 12 removed.
  • the third similarity value matrix may be removed from the similarity value matrix.
  • the pixel corresponding to the element, the third threshold being greater than the first threshold.
  • the principle that the single-molecular locating device removes the pixel points corresponding to the elements of the similarity value matrix that are greater than the third threshold is similar to the principle of removing the pixel points corresponding to the elements of the similarity value matrix that are smaller than the first threshold, and details are not described herein.
  • the first threshold and/or the third threshold are set based on the degree of similarity between the fluorescence signal intensity distribution matrix on the actually obtained image and the fluorescence signal intensity distribution matrix mathematically fitted under the same machine parameter conditions.
  • step 12 may specifically include steps S303-S305, that is,
  • the single molecule positioning device compares each element in the similarity value matrix with a size of the first threshold.
  • the single molecule positioning device assigns an element of the similarity value matrix that is greater than or equal to the first threshold to a, and assigns an element of the similarity value matrix that is smaller than the first threshold to b, to obtain a binarization matrix. .
  • the single molecule positioning device removes pixel points corresponding to the element b in the binarization matrix.
  • a can be 1, b can be 0, or a and b can be other values, a is not equal to b.
  • the first threshold may be a value greater than 0 and less than 1, which is not limited in the embodiment of the present invention.
  • a similarity value matrix of 3*3 is used as an example. If S11-S13, S21-S23 are similarity values greater than or equal to a preset threshold, S31-S33 are similar to a preset threshold. Degree value, a is 1 and b is 0, then the obtained binarization matrix
  • the elements in the binarization matrix correspond one-to-one with the elements in the similarity value matrix
  • one luminance value matrix corresponds to one element in the similarity value matrix
  • a matrix of luminance values corresponds to one pixel. Therefore, the elements in the binarization matrix correspond one-to-one with the pixel points.
  • the single molecule positioning device removes the pixel points corresponding to the element having a value of 0 in the binarization matrix X.
  • the single molecule positioning device may further perform steps S306 and S307, namely:
  • the single molecule positioning device determines a connected component of the element a in the binarization matrix.
  • the single molecule positioning device removes a pixel point corresponding to all elements in the connected component whose number of elements a is smaller than the second threshold.
  • the so-called connected component can be regarded as a matrix, also called a connected region or a connected domain, which can be defined as: centered on an element (value) a in the matrix, and the surrounding eight values (elements) are connected.
  • matrix X1 Such as matrix X1
  • Bold and italic is the central element a, and the surrounding 8 elements can be called the neighborhood of the central element a; if there are other elements a in the eight neighborhoods of the center a of the matrix X1, then the two a (corresponding pixels) Point) A connected domain, and so on. If there are other pixels with a value of a in the eight neighborhoods of the two pixels, the connected domain is gradually expanded until there is no unstated value in the eight neighborhoods of all the pixels. Pixels.
  • the connected component of a in the binarization matrix M includes the connected component 1 and the connected component 2
  • the connected component 1 includes 2 elements corresponding to the pixel point a 11 and a 12
  • the connected component 2 includes four elements corresponding to the pixel points a 21 to a 24 , respectively .
  • the second threshold is 3, and the single molecule positioning device removes a 11 and a 12 .
  • the pixel corresponding to all the elements in the connected component whose number of elements a is greater than the fourth threshold may be removed, and the fourth threshold is greater than the second Threshold.
  • the principle that the single molecule positioning device removes the pixel points corresponding to all the elements in the connected component whose number of elements a is greater than the fourth threshold is similar to the principle of removing the pixel points corresponding to all the elements in the connected component whose number of elements a is smaller than the second threshold. This will not go into details.
  • the setting of the second threshold and/or the fourth threshold is based on the size of the single-molecule spot, and the two thresholds are simultaneously set, that is, determining the upper and lower limits to determine a range of values, which enables the setting of the sequencer system, particularly the optical/electrical system parameter setting.
  • the single molecule fluorescence peaks are determined more accurately.
  • the specific implementation manner of the foregoing S103 may be the step S308 shown in FIG. 3, that is,
  • the single molecule positioning device determines a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points by using a preset algorithm to determine a coordinate of the single molecule.
  • the single molecule positioning device removes the pixel points corresponding to all the elements of the connected component 1 and the connected component 3, and then passes the pre- Let the algorithm determine the center coordinates of the connected component 2 to determine the coordinates of the single molecule.
  • the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  • the connected components are filtered, and the fluorescent molecules with small spots can be filtered out, and only the central coordinates of the connected components that meet the requirements are calculated, thereby improving the efficiency of positioning the coordinate positions of the single molecules. .
  • the single molecule positioning device determines the center coordinate of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points by the preset algorithm, the single molecule positioning device Steps S309 to S311 can also be performed, namely:
  • the single molecule positioning device outputs a positioning algorithm selection interface.
  • the single molecule positioning device receives a positioning algorithm selection instruction input by a user through a positioning algorithm selection interface.
  • the single molecule positioning device responds to the positioning algorithm selection instruction, and sets an algorithm for selecting the positioning algorithm selection instruction as a preset algorithm.
  • the positioning algorithm selection interface may include a selection of at least two algorithms of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm, and the user may select an interface in the positioning algorithm.
  • An algorithm is selected as the preset algorithm to find the center coordinates of the connected components.
  • the user can select an algorithm for determining the center coordinates of the connected components according to actual conditions.
  • the Gaussian fitting method can be used to find the center coordinate of the connected component; when the user wants to quickly obtain the center coordinate, the centroid method can be used to find the center coordinate of the connected component. Therefore, by implementing steps S309-S311 of the embodiment of the present invention, the flexibility of single-molecule positioning is improved, and the user experience is improved.
  • the single molecule positioning device may further perform steps S312 and S313, namely:
  • the single molecule positioning device receives a threshold setting instruction input by a user, and the threshold setting instruction carries a threshold.
  • the single molecule positioning device responds to the threshold setting instruction, and sets the threshold value carried by the threshold setting instruction.
  • the first threshold and/or the second threshold are set.
  • the single-molecule positioning device may also set the threshold value carried by the threshold setting instruction to the first threshold and the second threshold. And / or a third threshold.
  • the single molecule positioning device may also set the threshold carried by the threshold setting instruction to the first threshold, The second threshold and/or the fourth threshold.
  • the user can flexibly set the first threshold value compared with the similarity value according to the change of the experimental conditions and the experimental purpose, thereby improving the flexibility of single molecule positioning.
  • FIG. 4 is a schematic structural diagram of a single molecule positioning device according to an embodiment of the present invention.
  • the single molecule positioning device shown in FIG. 4 may include an acquisition module 401, a removal module 402, and a positioning module 403. among them:
  • the obtaining module 401 is configured to obtain a matrix of luminance values of each pixel of the target image, where the matrix of luminance values is a matrix having a preset row number and a preset column number of pixel point luminance values centered on the luminance value of the pixel point. .
  • the removing module 402 is configured to compare the luminance value matrix with the preset matrix, and remove pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold.
  • the positioning module 403 is configured to locate the remaining pixels to achieve single molecule positioning.
  • FIG. 5 is a schematic structural diagram of another single molecule positioning device disclosed in an embodiment of the present invention.
  • the single molecule positioning device shown in FIG. 5 is optimized by the single molecule positioning device shown in FIG. 4.
  • the single molecule positioning device shown in FIG. 5 may further include a determining module 404, an output module 405, and a first in addition to the module of the single molecule positioning device shown in FIG.
  • the removal module 402 shown in FIG. 5 includes a calculation unit 4021 and a comparison unit 4022. among them:
  • the calculating unit 4021 is configured to calculate a similarity value between each matrix of luminance values and a preset matrix to obtain a matrix of similarity values.
  • the comparing unit 4022 is configured to compare the size of each element in the similarity value matrix with the first threshold, and remove the pixel corresponding to the element in the similarity value matrix that is smaller than the first threshold.
  • the comparing unit 4022 is further configured to remove a pixel corresponding to the element that is greater than the third threshold in the similarity value matrix, where the third threshold is greater than the first threshold.
  • the comparing unit 4022 compares the size of each element in the similarity value matrix with the first threshold, and removes the pixel corresponding to the element smaller than the first threshold in the similarity value matrix, which may be: a size of each element in the similarity value matrix and a first threshold; an element of the element of the similarity value matrix that is greater than or equal to the first threshold is assigned a, and an element of the similarity value matrix is smaller than the first threshold
  • the value is assigned to b to obtain a binarization matrix.
  • the elements in the binarization matrix are selected from one of a and b, and a is not equal to b; the pixel corresponding to the element b in the binarization matrix is removed.
  • the determining module 404 is configured to determine a connected component of the element a in the binarization matrix before or after the comparing unit 4022 removes the pixel point corresponding to the element b in the binarization matrix.
  • the removing module 402 is further configured to remove pixel points corresponding to all elements in the connected component whose number of elements a is less than the second threshold.
  • the removing module 402 is further configured to remove a pixel point corresponding to all elements in the connected component whose number of elements a is greater than a fourth threshold, where the fourth threshold is greater than the second threshold.
  • the positioning module 403 is specifically configured to: determine, by using a preset algorithm, a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points to determine a coordinate of the single molecule.
  • the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  • the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
  • the output module 405 is configured to output a positioning algorithm selection interface before the positioning module 403 determines the center coordinate of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points by using the preset algorithm.
  • the first receiving module 406 is configured to receive a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface.
  • the first setting module 407 is configured to set the algorithm for selecting the positioning algorithm selection instruction to the preset algorithm in response to the positioning algorithm selection instruction.
  • the second receiving module 408 is configured to receive a threshold setting instruction input by the user before the obtaining module obtains a matrix of luminance values of each pixel of the target image, where the threshold setting instruction carries a threshold.
  • the second setting module 409 is configured to set the threshold carried by the threshold setting instruction to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
  • FIG. 6 is a schematic structural diagram of a single molecule positioning device according to an embodiment of the present invention.
  • the single molecule positioning device includes a processor 601, a memory 602, an output device 603, an input device 604, and a bus 605.
  • memory 602, output device 603, and input device 604 are coupled to processor 601 via bus 605.
  • the memory 602 stores a set of program codes, and the processor 601 is configured to invoke the program code stored in the memory 602 to perform the following operations:
  • the matrix of luminance values is a matrix having pixel values of preset pixels and preset pixel numbers centered on the luminance values of the pixel points;
  • the remaining pixels are positioned to achieve single molecule positioning.
  • the processor 601 compares the luminance value matrix with the preset matrix, and removes the pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold.
  • the processor 601 further performs the following steps:
  • the processor 601 compares the size of each element in the similarity value matrix with the first threshold, and removes the pixel corresponding to the element of the similarity value matrix that is smaller than the first threshold.
  • the element is selected from one of a and b, a is not equal to b;
  • the pixel points corresponding to the element b in the binarization matrix are removed.
  • the processor 601 performs the following steps before or after removing all the pixel points corresponding to the binarization matrix of the element b:
  • the pixel points corresponding to all the elements in the connected component whose element a is smaller than the second threshold are removed.
  • the following steps may also be performed:
  • the pixel point corresponding to all the elements in the connected component whose element a is greater than the fourth threshold is removed, and the fourth threshold is greater than the second threshold.
  • the manner in which the processor 601 locates the remaining pixel points is specifically:
  • the center coordinates of the connected components of the elements a in the binarization matrix corresponding to the remaining pixel points are determined by a preset algorithm to determine the coordinates of the single molecules.
  • the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  • the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
  • the processor 601 may perform the following steps before determining, by using a preset algorithm, the center coordinates of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points:
  • the algorithm for selecting the positioning algorithm selection instruction is set as the preset algorithm in response to the positioning algorithm selection instruction.
  • the processor 601 may perform the following steps before obtaining the matrix of the luminance values of each pixel of the target image:
  • the threshold value carried by the threshold setting instruction is set to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
  • Embodiments of the present invention also provide a system including a processor, a memory, an output device, an input device, and a bus.
  • the memory, output device and input device are connected to the processor via a bus.
  • a set of program code is stored in the memory, and the processor is configured to call the program code stored in the memory, and executable The operations performed by the processor 601.
  • modules or units in the single molecule positioning device of the embodiment of the invention can be combined, divided and deleted according to actual needs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Image Analysis (AREA)

Abstract

A single molecule localisation method, apparatus, and system, the single molecule localisation method comprising: acquiring a luminance value matrix of each pixel point of a target image, the luminance value matrix being a pixel point luminance value matrix centred on pixel point luminance value and having a preset number of lines and a preset number of columns (S101); comparing the luminance value matrix with a preset matrix, and eliminating the pixel points corresponding to a luminance value matrix having a degree of similarity less than a first threshold (S102); and implementing localisation of the remaining pixel points to implement single molecule localisation (S103). Thus, the present method is able to implement localisation of a single molecule.

Description

单分子定位装置、方法及系统Single molecule positioning device, method and system
本申请请求2015年08月07日递交至中国国家知识产权局、专利申请号为201510483297.6和201510483207.3的在先申请的优先权和权益,并且通过参照将其全文并入此处。The present application claims the priority and benefit of the priority of the priority of the disclosure of the priority of the disclosure of the disclosure of the disclosure of the disclosure of the disclosure of the entire disclosure of
技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种单分子定位装置、方法及系统。The present invention relates to the field of computer technologies, and in particular, to a single molecule positioning device, method and system.
背景技术Background technique
近年来,超分辨荧光成像技术实现了在分子水平下对活细胞精细结构的观察,成为生物结构和功能成像极其重要的工具,并成为单分子测序技术必不可少的一部分。超分辨荧光成像技术是以纳米级的空间分辨率直观地显示单分子(即单个分子)的空间分布情况的技术。超分辨荧光成像能用来研究被荧光分子标记的单分子之间的相互作用过程,可用于单分子测序技术中判断碱基的延伸情况。In recent years, super-resolution fluorescence imaging technology has realized the observation of the fine structure of living cells at the molecular level, and has become an extremely important tool for biological structure and functional imaging, and has become an indispensable part of single-molecule sequencing technology. Super-resolution fluorescence imaging technology is a technique for visually displaying the spatial distribution of single molecules (ie, single molecules) at a spatial resolution of nanometer scale. Super-resolution fluorescence imaging can be used to study the interaction between single molecules labeled by fluorescent molecules, and can be used to determine the extension of bases in single-molecule sequencing technology.
目前常用的超分辨荧光成像方法是利用荧光分子本身的开关效应来进行定位的显微成像技术。例如,光敏定位显微(PALM)、随机光学重建显微(STORM)等等,它们在不同时刻获取稀疏分布的被荧光分子标记的单分子的定位信息,然后将不同时刻获得的定位信息叠加,最终实现高横向纳米分辨。一幅超分辨图像由若干单分子位置叠加获得。显然,单分子定位是超分辨荧光成像过程中不可缺少的一环节。因此,提供一种能够对单分子进行定位的装置非常重要。The commonly used super-resolution fluorescence imaging method is a microscopic imaging technique that utilizes the switching effect of a fluorescent molecule itself to perform positioning. For example, photosensitive localization microscopy (PALM), random optical reconstruction microscopy (STORM), etc., which acquire localized information of sparsely distributed single molecules labeled with fluorescent molecules at different times, and then superimpose the positioning information obtained at different times. Ultimately achieve high lateral nano resolution. A super-resolution image is obtained by superimposing several single-molecular positions. Obviously, single molecule localization is an indispensable part of the super-resolution fluorescence imaging process. Therefore, it is very important to provide a device capable of positioning a single molecule.
发明内容Summary of the invention
本发明实施例公开了一种单分子定位装置、方法及系统,能够对单分子进行定位。Embodiments of the present invention disclose a single molecule positioning device, method and system capable of positioning a single molecule.
第一方面,本发明实施例公开了一种单分子定位方法,该一种单分子定位 方法包括:In a first aspect, an embodiment of the present invention discloses a single molecule positioning method, and the single molecule positioning Methods include:
获得目标图像的每一像素点的亮度值矩阵,所述亮度值矩阵为以所述像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵;Obtaining a matrix of luminance values of each pixel of the target image, wherein the matrix of luminance values is a matrix having a preset number of rows and a pixel value of the preset number of columns, centered on the luminance value of the pixel;
比较所述亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点;Comparing the brightness value matrix with the preset matrix, and removing pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold;
对剩余的像素点进行定位,以实现所述单分子定位。The remaining pixels are positioned to achieve the single molecule positioning.
在一种可能的实现方式中,所述比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点,包括:In a possible implementation, the comparing the luminance value matrix and the preset matrix, and removing the pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold, includes:
计算每一个所述亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵;Calculating a similarity value of each of the brightness value matrix and the preset matrix to obtain a similarity value matrix;
比较所述相似度值矩阵中的每一个元素与所述第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点。Comparing each element of the similarity value matrix with a size of the first threshold, and removing a pixel point corresponding to an element of the similarity value matrix that is smaller than the first threshold.
在一种可能的实现方式中,所述方法还包括:去除所述相似度值矩阵中大于第三阈值的元素对应的像素点,所述第三阈值大于所述第一阈值。In a possible implementation manner, the method further includes: removing a pixel point corresponding to an element of the similarity value matrix that is greater than a third threshold, where the third threshold is greater than the first threshold.
在一种可能的实现方式中,所述比较相似度值矩阵中的每一个元素与第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点,包括:In a possible implementation, the size of each element in the comparison similarity value matrix and the first threshold is removed, and the pixel corresponding to the element smaller than the first threshold in the similarity value matrix is removed, including :
比较所述相似度值矩阵中的每一个元素与第一阈值的大小;Comparing the size of each element in the similarity value matrix with a first threshold;
将所述相似度值矩阵的元素中大于或等于所述第一阈值的元素赋值为a,将所述相似度值矩阵的元素中小于所述第一阈值的元素赋值为b,以得到二值化矩阵,所述二值化矩阵中的元素选自所述a和所述b中的一个,所述a不等于所述b;Assigning an element of the similarity value matrix that is greater than or equal to the first threshold to a, and assigning an element of the similarity value matrix that is smaller than the first threshold to b, to obtain a binary value a matrix, the elements in the binarization matrix being selected from one of the a and the b, the a is not equal to the b;
去除所述二值化矩阵中元素b对应的像素点。The pixel points corresponding to the element b in the binarization matrix are removed.
在一种可能的实现方式中,在去除二值化矩阵中元素b对应的像素点之前或者之后,包括:In a possible implementation manner, before or after removing the pixel point corresponding to the element b in the binarization matrix, the method includes:
确定所述二值化矩阵中元素a的连通分量;Determining a connected component of the element a in the binarization matrix;
去除元素a的数量小于第二阈值的所述连通分量中所有元素对应的像素点。The pixel points corresponding to all the elements in the connected component whose element a is smaller than the second threshold are removed.
在一种可能的实现方式中,所述确定所述二值化矩阵中元素a的连通分量之后,所述方法还包括: In a possible implementation manner, after the determining the connected component of the element a in the binarization matrix, the method further includes:
去除元素a的数量大于第四阈值的所述连通分量中所有元素对应的像素点,所述第四阈值大于所述第二阈值。The pixel point corresponding to all the elements in the connected component whose element a is greater than the fourth threshold is removed, and the fourth threshold is greater than the second threshold.
在一种可能的实现方式中,所述对剩余的像素点进行定位包括:In a possible implementation manner, the positioning the remaining pixels includes:
通过预设算法确定所述剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定所述单分子的坐标。Determining, by a preset algorithm, a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points to determine coordinates of the single molecule.
在一种可能的实现方式中,所述预设算法选自质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少一种。In a possible implementation manner, the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
在一种可能的实现方式中,所述预设算法为质心法和高斯拟合法中的至少一种。In a possible implementation manner, the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
在一种可能的实现方式中,在所述通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,所述方法还包括:In a possible implementation, before the determining, by the preset algorithm, the center coordinates of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points, the method further includes:
输出定位算法选择界面;Output positioning algorithm selection interface;
接收用户通过所述定位算法选择界面输入的定位算法选择指令;Receiving a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface;
响应所述定位算法选择指令,将所述定位算法选择指令选择的算法设置为预设算法。And in response to the positioning algorithm selection instruction, setting an algorithm selected by the positioning algorithm selection instruction as a preset algorithm.
在一种可能的实现方式中,在所述获得目标图像的每一像素点的亮度值矩阵之前,所述方法还包括:In a possible implementation, before the obtaining a matrix of luminance values of each pixel of the target image, the method further includes:
接收用户输入的阈值设置指令,所述阈值设置指令携带阈值;Receiving a threshold input instruction input by a user, the threshold setting instruction carrying a threshold;
响应所述阈值设置指令,将所述阈值设置指令携带的阈值设置为第一阈值、第二阈值、第三阈值和/或第四阈值。The threshold carried by the threshold setting instruction is set to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
第二方面,本发明实施例公开了单分子定位装置,该单分子定位装置具有实现上述第一方面或第一方面的可能的实现方式的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的单元。该单元可以是软件和/或硬件。In a second aspect, embodiments of the present invention disclose a single molecule positioning device having the functionality to implement the first aspect or the possible implementation of the first aspect. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more units corresponding to the functions described above. The unit can be software and/or hardware.
第三方面,本发明实施例公开了一种单分子定位装置,包括处理器和存储器,存储器与处理器相连接,其特征在于,该存储器中存储一组程序代码,该处理器用于调用存储器中存储的程序代码,执行上述第一方面所提供的方法或第一方面的可能的实现方式。In a third aspect, an embodiment of the present invention discloses a single molecule positioning apparatus, including a processor and a memory, wherein the memory is connected to the processor, wherein the memory stores a set of program codes, and the processor is used to call the memory. The stored program code performs the method provided by the first aspect described above or a possible implementation of the first aspect.
第四方面,本发明实施例公开了一种系统,系统包括处理器和存储器,存 储器与处理器相连接,其特征在于,该存储器中存储一组程序代码,该处理器用于调用存储器中存储的程序代码,执行上述第一方面所提供的方法或第一方面的可能的实现方式。In a fourth aspect, an embodiment of the present invention discloses a system including a processor and a memory, where The memory is coupled to the processor, wherein the memory stores a set of program code for calling program code stored in the memory to perform the method provided by the first aspect or the possible implementation of the first aspect the way.
第五方面,本发明实施例公开了一种存储一个或多个程序的计算机可读存储介质,一个或多个程序包括指令,指令当被单分子定位装置执行时,使单分子定位装置执行上述第一方面所提供的方法或第一方面的可能的实现方式。In a fifth aspect, an embodiment of the present invention discloses a computer readable storage medium storing one or more programs, where one or more programs include instructions that, when executed by a single molecule positioning device, cause a single molecule positioning device to perform the above A method provided on the one hand or a possible implementation of the first aspect.
在本发明实施例中,单分子定位装置获得目标图像的每一像素点的亮度值矩阵之后,会比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点,然后对剩余的像素点进行定位,以实现单分子定位。可见,本发明实施例能够对单分子进行定位。In the embodiment of the present invention, after obtaining the luminance value matrix of each pixel of the target image, the single molecule positioning device compares the luminance value matrix with the preset matrix, and removes the pixel corresponding to the luminance value matrix whose similarity is smaller than the first threshold. Then, the remaining pixels are positioned to achieve single molecule positioning. It can be seen that embodiments of the invention are capable of locating a single molecule.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例公开的一种单分子定位方法的流程示意图;1 is a schematic flow chart of a single molecule positioning method disclosed in an embodiment of the present invention;
图2是本发明实施例公开的目标图片的像素点分布示意图;2 is a schematic diagram of pixel point distribution of a target picture disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种单分子定位方法的流程示意图;3 is a schematic flow chart of another single molecule positioning method disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种单分子定位装置的结构示意图;4 is a schematic structural view of a single molecule positioning device according to an embodiment of the present invention;
图5是本发明实施例公开的另一种单分子定位装置的结构示意图;FIG. 5 is a schematic structural diagram of another single molecule positioning device according to an embodiment of the present invention; FIG.
图6是本发明实施例公开的另一种单分子定位装置的结构示意图。FIG. 6 is a schematic structural diagram of another single molecule positioning device disclosed in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例公开了一种单分子定位方法、单分子定位装置及系统,能够 对单分子进行定位。以下分别进行详细说明。Embodiments of the present invention disclose a single molecule positioning method, a single molecule positioning device, and a system, which are capable of Positioning a single molecule. The details are described below separately.
本发明实施例所涉及的单分子定位装置可以显示为软件和/或硬件形式,软件形式包括但不限于各种机器可执行代码或程序,可以存储于机器可读取介质中,机器可读介质包括但不限于只读存储器、随机存储器、磁盘和光盘等。硬件形式包括但不限于智能手机、平板电脑、笔记本电脑、台式电脑等设备。该单分子定位装置的操作系统可包括但不限于Android操作系统、IOS操作系统、Symbian(塞班)操作系统、Black Berry(黑莓)操作系统、Windows操作系统等等,本发明实施例不做限定。The single molecule positioning device according to the embodiment of the present invention may be displayed in the form of software and/or hardware. The software form includes but is not limited to various machine executable code or programs, and may be stored in a machine readable medium, the machine readable medium. This includes but is not limited to read only memory, random access memory, magnetic disks, and optical disks. Hardware forms include, but are not limited to, smartphones, tablets, laptops, desktops, and the like. The operating system of the single-molecular positioning device may include, but is not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a Blackberry operating system, a Windows operating system, etc., which are not limited by the embodiment of the present invention. .
请参见图1,图1为本发明实施例公开的一种单分子定位方法的流程示意图。如图1所示,该单分子定位方法可以包括以下步骤。Please refer to FIG. 1. FIG. 1 is a schematic flow chart of a single molecule positioning method according to an embodiment of the present invention. As shown in FIG. 1, the single molecule positioning method may include the following steps.
S101、单分子定位装置获得目标图像的每一像素点的亮度值矩阵。S101. The single molecule positioning device obtains a matrix of luminance values of each pixel of the target image.
本发明实施例中,用户可在单分子定位装置选择或导入一张图片作为目标图片。In the embodiment of the present invention, the user can select or import a picture as a target picture in the single molecule positioning device.
可选的,上述像素点可以是将目标图片分割成若干个小方格之后的小方格,一个小方格就为一个上述像素点。或者,上述像素点也可以是目标图片中的亮点。Optionally, the pixel may be a small square after dividing the target image into a plurality of small squares, and a small square is one of the above pixels. Alternatively, the above pixel points may also be bright spots in the target picture.
可选的,一个像素点的亮度值矩阵可为以该像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵。可选的,上述亮度值矩阵也可以指每个FOV(filed of view,视野)中相机采集到的信号强度分布矩阵、荧光强度分布矩阵或荧光强度矩阵。Optionally, the matrix of luminance values of one pixel may be a matrix having a preset number of rows and a pixel value of the preset number of columns centered on the luminance value of the pixel. Optionally, the brightness value matrix may also refer to a signal intensity distribution matrix, a fluorescence intensity distribution matrix, or a fluorescence intensity matrix collected by a camera in each FOV (filed of view).
例如,像素点的亮度值矩阵可以为以该像素点的亮度值为中心的3*3、5*5、7*7的矩阵,本发明实施例不做限定。For example, the matrix of the luminance value of the pixel may be a matrix of 3*3, 5*5, and 7*7 centered on the luminance value of the pixel, which is not limited in the embodiment of the present invention.
举例来说,当目标图片有512*512个像素点时,单分子定位装置确定与目标图片的每一像素点的亮度值矩阵,则单分子定位装置总共将确定512*512个亮度值矩阵。如图2所示,图2为目标图片的像素点分布示意图,其中n为512,a11为第一行第一列的像素点,a12为第一行第二列的像素点,a1n为第一行第n列的像素点,…,ann为第n行第n列的像素点。若亮度值矩阵为3*3的矩阵,则单分子定位装置确定a11对应的亮度值矩阵时,将从目标图片中选取以a11为中心的3*3的像素点。在目标图片的像素点中的以a11为中心的3*3 的像素点仅包括a12、a21和a22,单分子定位装置将获取a11、a12、a21和a22的亮度值,并将不存在目标图片的像素点中的以a11为中心的3*3的像素点的亮度值设为0;单分子定位装置将以a11为中心的3*3的像素点的亮度值构成a11对应的亮度值矩阵。For example, when the target picture has 512*512 pixels, the single molecule positioning device determines the matrix of luminance values for each pixel of the target picture, and the single molecule positioning device will determine a total of 512*512 brightness value matrices. As shown in FIG. 2, FIG. 2 is a schematic diagram of pixel point distribution of a target picture, where n is 512, a 11 is a pixel of the first row and the first column, and a 12 is a pixel of the first row and the second column, a 1n For the pixel of the nth column of the first row, ..., a nn is the pixel of the nth row and the nth column. , Then a monomolecular positioning means determines the luminance value corresponding to a 11 matrix when the matrix is the luminance value of 3 * 3 matrix, the pixels from the target image selected as the center point of a 11 to 3 * 3. The 3*3 pixel centered at a 11 in the pixel of the target picture includes only a 12 , a 21 and a 22 , and the single molecule positioning device will acquire the brightness of a 11 , a 12 , a 21 and a 22 Value, and set the luminance value of the 3*3 pixel point centered on a 11 in the pixel where there is no target picture to 0; the single molecule positioning device will 3*3 pixel point centered on a 11 a 11 constituting a luminance value corresponding to the luminance values of the matrix.
例如,若a11对应的亮度值为L11,a12对应的亮度值为L12,a21对应的亮度值为L21,a22对应的亮度值为L22,则与a11对应的亮度值矩阵A11
Figure PCTCN2016093737-appb-000001
同理,与a12对应的亮度值矩阵A12
Figure PCTCN2016093737-appb-000002
其中,L13为a13的亮度值,L23为a23的亮度值。同理,与a22对应的亮度值矩阵A22
Figure PCTCN2016093737-appb-000003
其中,L31为a31的亮度值,L32为a32的亮度值,L33为a33的亮度值。
For example, if the brightness value corresponding to a 11 is L 11 , the brightness value corresponding to a 12 is L 12 , the brightness value corresponding to a 21 is L 21 , and the brightness value corresponding to a 22 is L 22 , then the brightness corresponding to a 11 Value matrix A 11 is
Figure PCTCN2016093737-appb-000001
Similarly, with a 12 corresponding to the luminance value of the matrix A 12
Figure PCTCN2016093737-appb-000002
Where L 13 is the luminance value of a 13 and L 23 is the luminance value of a 23 . Similarly, a 22 and a luminance value corresponding to the matrix A 22
Figure PCTCN2016093737-appb-000003
Where L 31 is the luminance value of a 31 , L 32 is the luminance value of a 32 , and L 33 is the luminance value of a 33 .
S102、单分子定位装置比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点。S102. The single molecule positioning device compares the brightness value matrix with the preset matrix, and removes pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold.
例如,如图2所示,若像素点a11的亮度值矩阵与预设矩阵的相似度小于第一阈值,则将像素点a11去除;若像素点a12的亮度值矩阵与预设矩阵的相似度小于第一阈值,则将像素点a12也去除。For example, as shown in FIG. 2, if the similarity between the luminance value matrix of the pixel point a 11 and the preset matrix is less than the first threshold, the pixel point a 11 is removed; if the luminance value matrix of the pixel point a 12 and the preset matrix If the similarity is less than the first threshold, the pixel point a 12 is also removed.
S103、单分子定位装置对剩余的像素点进行定位,以实现单分子定位。S103. The single molecule positioning device positions the remaining pixels to achieve single molecule positioning.
本发明实施例中,剩余的像素点即为相似度大于或等于第一阈值的亮度值矩阵对应的像素点,剩余的像素点可认为是单分子在目标图片中的图像对应的像素点。通过去除相似度小于第一阈值的亮度值矩阵对应的像素点,可去除目标图片中的干扰图像,能够准确地确定目标图片中单分子的图像所在位置。In the embodiment of the present invention, the remaining pixel points are pixels corresponding to the brightness value matrix whose similarity is greater than or equal to the first threshold, and the remaining pixel points may be regarded as the pixel points corresponding to the image of the single molecule in the target picture. By removing the pixel points corresponding to the luminance value matrix whose similarity is smaller than the first threshold, the interference image in the target image can be removed, and the position of the single molecule image in the target image can be accurately determined.
可见,通过实施图1所描述的方法,单分子定位装置可对目标图片中的非单分子图像进行过滤,从而得到目标图片中单分子图像的位置。It can be seen that by implementing the method described in FIG. 1, the single molecule positioning device can filter the non-single molecule image in the target picture, thereby obtaining the position of the single molecule image in the target picture.
作为一种可选的实施方式,步骤S102具体可以包括以下步骤:As an optional implementation manner, step S102 may specifically include the following steps:
11)单分子定位装置计算每一个亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵; 11) The single molecule positioning device calculates a similarity value between each brightness value matrix and the preset matrix to obtain a similarity value matrix;
12)单分子定位装置比较相似度值矩阵中的每一个元素与第一阈值的大小,去除相似度值矩阵中小于第一阈值的元素对应的像素点。12) The single molecule positioning device compares each element in the similarity value matrix with the size of the first threshold, and removes pixels corresponding to the elements of the similarity value matrix that are smaller than the first threshold.
举例来说,如图2所示,图2为目标图片的像素点分布示意图,其中n为512,若a11的亮度值矩阵与预设矩阵的相似度值为S11,a12的亮度值矩阵与预设矩阵的相似度值为S12,a1n的亮度值矩阵与预设矩阵的相似度值为S1n,...,ann的亮度值矩阵与预设矩阵的相似度值为Snn,则相似度值矩阵
Figure PCTCN2016093737-appb-000004
For example, as shown in FIG. 2, FIG. 2 is a schematic diagram of pixel point distribution of a target picture, where n is 512, if the luminance value matrix of a 11 and the preset matrix have similarity values of S 11 , a 12 brightness value The similarity value between the matrix and the preset matrix is S 12 , the similarity value of the brightness value matrix of the a 1n and the preset matrix is S 1n ,..., the similarity value of the brightness value matrix of the a nn and the preset matrix is S nn , the similarity value matrix
Figure PCTCN2016093737-appb-000004
单分子定位装置会分别将S11、S12,…,Snn与第一阈值进行比较,并去除S11、S12,…,Snn中小于第一阈值的元素对应的像素点。在该实施方式中,相似度值矩阵中的一个元素对应一个亮度值矩阵。一个亮度值矩阵又对应一个像素点。因此,相似度值矩阵中的元素与像素点一一对应。若S11、S12,…,Snn中S11和S12小于第一阈值,则将a11和a12去除。The single molecule positioning device compares S 11 , S 12 , . . . , S nn with the first threshold, and removes the pixel points corresponding to the elements of the S 11 , S 12 , . . . , S nn that are smaller than the first threshold. In this embodiment, one element in the similarity value matrix corresponds to a matrix of luminance values. A matrix of luminance values corresponds to one pixel. Therefore, the elements in the similarity value matrix correspond one-to-one with the pixel points. If S 11, S 12, ..., S nn in S 11 and S 12 is smaller than a first threshold, a 11 and a 12 removed.
作为一种可选的实施方式,单分子定位装置在上述步骤12)中比较相似度值矩阵中的每一个元素与第一阈值的大小之后,还可去除该相似度值矩阵中大于第三阈值的元素对应的像素点,该第三阈值大于该第一阈值。单分子定位装置去除相似度值矩阵中大于第三阈值的元素对应的像素点的原理与去除相似度值矩阵中小于第一阈值的元素对应的像素点的原理相似,在此不赘述。第一阈值和/或第三阈值的设置依据是,实际获得的图像上的荧光信号强度分布矩阵与同样机器参数条件下数学拟合的荧光信号强度分布矩阵的相似程度。As an optional implementation manner, after the single molecule positioning device compares each element in the similarity value matrix with the first threshold value in step 12), the third similarity value matrix may be removed from the similarity value matrix. The pixel corresponding to the element, the third threshold being greater than the first threshold. The principle that the single-molecular locating device removes the pixel points corresponding to the elements of the similarity value matrix that are greater than the third threshold is similar to the principle of removing the pixel points corresponding to the elements of the similarity value matrix that are smaller than the first threshold, and details are not described herein. The first threshold and/or the third threshold are set based on the degree of similarity between the fluorescence signal intensity distribution matrix on the actually obtained image and the fluorescence signal intensity distribution matrix mathematically fitted under the same machine parameter conditions.
作为一种可选的实施方式,如图3所示,上述步骤12)具体可以包括步骤S303~S305,即:As an optional implementation manner, as shown in FIG. 3, the foregoing step 12) may specifically include steps S303-S305, that is,
S303、单分子定位装置比较相似度值矩阵中的每一个元素与第一阈值的大小。S303. The single molecule positioning device compares each element in the similarity value matrix with a size of the first threshold.
S304、单分子定位装置将相似度值矩阵的元素中大于或等于第一阈值的元素赋值为a,将相似度值矩阵的元素中小于第一阈值的元素赋值为b,以得到二值化矩阵。S304. The single molecule positioning device assigns an element of the similarity value matrix that is greater than or equal to the first threshold to a, and assigns an element of the similarity value matrix that is smaller than the first threshold to b, to obtain a binarization matrix. .
S305、单分子定位装置去除二值化矩阵中元素b对应的像素点。S305. The single molecule positioning device removes pixel points corresponding to the element b in the binarization matrix.
在该实施方式中,其中,二值化矩阵中的元素选自a和b中的一个。可选 的,a可以为1,b可以为0,或者a和b可以为其他数值,a不等于b。In this embodiment, wherein the elements in the binarization matrix are selected from one of a and b. Optional , a can be 1, b can be 0, or a and b can be other values, a is not equal to b.
在该实施方式中,第一阈值可以为大于0小于1的数值,本发明实施例不做限定。In this embodiment, the first threshold may be a value greater than 0 and less than 1, which is not limited in the embodiment of the present invention.
在该实施方式中,以一个3*3的相似度值矩阵举例来说,若S11~S13、S21~S23为大于或等于预设阈值的相似度值,S31~S33为小于预设阈值的相似度值,a为1,b为0,则得到的二值化矩阵
Figure PCTCN2016093737-appb-000005
In this embodiment, a similarity value matrix of 3*3 is used as an example. If S11-S13, S21-S23 are similarity values greater than or equal to a preset threshold, S31-S33 are similar to a preset threshold. Degree value, a is 1 and b is 0, then the obtained binarization matrix
Figure PCTCN2016093737-appb-000005
在该实施方式中,二值化矩阵中的元素与相似度值矩阵中的元素一一对应,一个亮度值矩阵对应相似度值矩阵中的一个元素。一个亮度值矩阵又对应一个像素点。因此,二值化矩阵中的元素与像素点一一对应。In this embodiment, the elements in the binarization matrix correspond one-to-one with the elements in the similarity value matrix, and one luminance value matrix corresponds to one element in the similarity value matrix. A matrix of luminance values corresponds to one pixel. Therefore, the elements in the binarization matrix correspond one-to-one with the pixel points.
在该实施方式中,单分子定位装置会去除二值化矩阵X中值为0的元素对应的像素点。In this embodiment, the single molecule positioning device removes the pixel points corresponding to the element having a value of 0 in the binarization matrix X.
作为一种可选的实施方式,如图3所示,在去除二值化矩阵中元素b对应的像素点之后,单分子定位装置还可执行步骤S306和S307,即:As an optional implementation manner, as shown in FIG. 3, after removing the pixel points corresponding to the element b in the binarization matrix, the single molecule positioning device may further perform steps S306 and S307, namely:
S306、单分子定位装置确定二值化矩阵中元素a的连通分量。S306. The single molecule positioning device determines a connected component of the element a in the binarization matrix.
S307、单分子定位装置去除元素a的数量小于第二阈值的连通分量中所有元素对应的像素点。S307. The single molecule positioning device removes a pixel point corresponding to all elements in the connected component whose number of elements a is smaller than the second threshold.
所称的连通分量实质可看作成一个矩阵,也称为连通区域或者连通域,可定义为:以矩阵中某个元素(值)a为中心,周围的八个值(元素)是连通的,如矩阵X1The so-called connected component can be regarded as a matrix, also called a connected region or a connected domain, which can be defined as: centered on an element (value) a in the matrix, and the surrounding eight values (elements) are connected. Such as matrix X1
bb aa bb
aa aa bb
bb bb aa
,
加粗且斜体的为中心元素a,周围8个元素可称为该中心元素a的邻域;如果在矩阵X1中心a的八个邻域中有其它元素a,则这两个a(对应像素点)构成 一个连通域,以此类推,若这两个像素点的八邻域内还有其它值为a的像素点,则这个连通域逐渐扩大,直至所有像素点的八邻域内没有未统计的值为a的像素点。以下示例是某个值为1(即a=1,加粗且斜体)的像素点构成的区域即为一个连通域,内框显示一个连通域,b取0:Bold and italic is the central element a, and the surrounding 8 elements can be called the neighborhood of the central element a; if there are other elements a in the eight neighborhoods of the center a of the matrix X1, then the two a (corresponding pixels) Point) A connected domain, and so on. If there are other pixels with a value of a in the eight neighborhoods of the two pixels, the connected domain is gradually expanded until there is no unstated value in the eight neighborhoods of all the pixels. Pixels. The following example is a region with a value of 1 (ie a=1, bold and italic), which is a connected domain, the inner frame shows a connected domain, and b takes 0:
Figure PCTCN2016093737-appb-000006
Figure PCTCN2016093737-appb-000006
在该实施方式中,举例来说,若在二值化矩阵M中a的连通分量包括连通分量1和连通分量2,连通分量1包括2个元素,该两个元素分别对应像素点a11和a12。连通分量2包括4个元素,该四个元素分别对应像素点a21~a24。第二阈值为3,则单分子定位装置将a11和a12去除。In this embodiment, for example, if the connected component of a in the binarization matrix M includes the connected component 1 and the connected component 2, the connected component 1 includes 2 elements corresponding to the pixel point a 11 and a 12 . The connected component 2 includes four elements corresponding to the pixel points a 21 to a 24 , respectively . The second threshold is 3, and the single molecule positioning device removes a 11 and a 12 .
作为一种可选的实施方式,在单分子定位装置执行完步骤S306之后,还可去除元素a的数量大于第四阈值的连通分量中所有元素对应的像素点,该第四阈值大于该第二阈值。单分子定位装置去除元素a的数量大于第四阈值的连通分量中所有元素对应的像素点的原理与去除元素a的数量小于第二阈值的连通分量中所有元素对应的像素点的原理相似,在此不赘述。第二阈值和/或第四阈值的设置是依据单分子光斑的大小,两个阈值同时设置即确定上下限确定一个数值范围,能够使在测序仪系统设置、特别是光/电系统参数设置确定的情况下,更准确地确定出单分子荧光点(peaks)。As an optional implementation manner, after the single-molecular positioning device performs step S306, the pixel corresponding to all the elements in the connected component whose number of elements a is greater than the fourth threshold may be removed, and the fourth threshold is greater than the second Threshold. The principle that the single molecule positioning device removes the pixel points corresponding to all the elements in the connected component whose number of elements a is greater than the fourth threshold is similar to the principle of removing the pixel points corresponding to all the elements in the connected component whose number of elements a is smaller than the second threshold. This will not go into details. The setting of the second threshold and/or the fourth threshold is based on the size of the single-molecule spot, and the two thresholds are simultaneously set, that is, determining the upper and lower limits to determine a range of values, which enables the setting of the sequencer system, particularly the optical/electrical system parameter setting. In the case of a single molecule, the single molecule fluorescence peaks are determined more accurately.
作为一种可选的实施方式,上述S103的具体实施方式可以为如图3所示的步骤S308,即:As an optional implementation manner, the specific implementation manner of the foregoing S103 may be the step S308 shown in FIG. 3, that is,
S308、单分子定位装置通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定单分子的坐标。S308. The single molecule positioning device determines a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points by using a preset algorithm to determine a coordinate of the single molecule.
在该实施方式中,举例来说,若在二值化矩阵M中a的连通分量包括连通分量1、连通分量2和连通分量3,连通分量1包括2个元素,连通分量2 包括4个元素,连通分量3包括6个元素,第二阈值为3,第四阈值为5,则单分子定位装置将连通分量1和连通分量3的所有元素对应的像素点去除,然后通过预设算法确定连通分量2的中心坐标,以确定单分子的坐标。In this embodiment, for example, if the connected component of a in the binarization matrix M includes the connected component 1, the connected component 2, and the connected component 3, the connected component 1 includes 2 elements, and the connected component 2 Including 4 elements, the connected component 3 includes 6 elements, the second threshold is 3, and the fourth threshold is 5, the single molecule positioning device removes the pixel points corresponding to all the elements of the connected component 1 and the connected component 3, and then passes the pre- Let the algorithm determine the center coordinates of the connected component 2 to determine the coordinates of the single molecule.
作为一种可选的实施方式,该预设算法选自质心法、高斯拟合法、极大似然法,解线性方程组法和马良算法中的至少一种。As an optional implementation manner, the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
通过实施本发明实施例的步骤S306~S308,对连通分量进行筛选,可过滤掉光斑较小的荧光分子,且仅计算符合要求的连通分量的中心坐标,可以提高定位单分子的坐标位置的效率。By performing steps S306-S308 of the embodiment of the present invention, the connected components are filtered, and the fluorescent molecules with small spots can be filtered out, and only the central coordinates of the connected components that meet the requirements are calculated, thereby improving the efficiency of positioning the coordinate positions of the single molecules. .
作为一种可选的实施方式,如图3所示,在单分子定位装置通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,单分子定位装置还可执行步骤S309~S311,即:As an optional implementation manner, as shown in FIG. 3, before the single molecule positioning device determines the center coordinate of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points by the preset algorithm, the single molecule positioning device Steps S309 to S311 can also be performed, namely:
S309、单分子定位装置输出定位算法选择界面。S309. The single molecule positioning device outputs a positioning algorithm selection interface.
S310、单分子定位装置接收用户通过定位算法选择界面输入的定位算法选择指令。S310. The single molecule positioning device receives a positioning algorithm selection instruction input by a user through a positioning algorithm selection interface.
S311、单分子定位装置响应定位算法选择指令,将定位算法选择指令选择的算法设置为预设算法。S311: The single molecule positioning device responds to the positioning algorithm selection instruction, and sets an algorithm for selecting the positioning algorithm selection instruction as a preset algorithm.
在该实施方式中,定位算法选择界面可包括质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少两种算法的选择项,用户可在定位算法选择界面选择一种算法作为预设算法,来求取连通分量的中心坐标。In this embodiment, the positioning algorithm selection interface may include a selection of at least two algorithms of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm, and the user may select an interface in the positioning algorithm. An algorithm is selected as the preset algorithm to find the center coordinates of the connected components.
通过实施本发明实施例的步骤S309~S311,用户可根据实际情况来选择求取连通分量的中心坐标的算法。当用户想要较精确的中心坐标时,可使用高斯拟合法来求取连通分量的中心坐标;当用户想要快速获取中心坐标时,可使用质心法来求取连通分量的中心坐标。因此,通过实施本发明实施例的步骤S309~S311,提高了对单分子定位的灵活性,提高了用户体验。By performing steps S309-S311 of the embodiment of the present invention, the user can select an algorithm for determining the center coordinates of the connected components according to actual conditions. When the user wants a more accurate center coordinate, the Gaussian fitting method can be used to find the center coordinate of the connected component; when the user wants to quickly obtain the center coordinate, the centroid method can be used to find the center coordinate of the connected component. Therefore, by implementing steps S309-S311 of the embodiment of the present invention, the flexibility of single-molecule positioning is improved, and the user experience is improved.
作为一种可选的实施方式,如图3所示,在获得目标图像的每一像素点的亮度值矩阵之前,单分子定位装置还可执行步骤S312和S313,即:As an optional implementation manner, as shown in FIG. 3, before obtaining the matrix of luminance values of each pixel of the target image, the single molecule positioning device may further perform steps S312 and S313, namely:
S312、单分子定位装置接收用户输入的阈值设置指令,阈值设置指令携带阈值。S312. The single molecule positioning device receives a threshold setting instruction input by a user, and the threshold setting instruction carries a threshold.
S313、单分子定位装置响应阈值设置指令,将阈值设置指令携带的阈值设 置为第一阈值和/或第二阈值。S313. The single molecule positioning device responds to the threshold setting instruction, and sets the threshold value carried by the threshold setting instruction. The first threshold and/or the second threshold are set.
可选的,若单分子定位装置还去除相似度值矩阵中大于第三阈值的元素对应的像素点,则单分子定位装置也可将阈值设置指令携带的阈值设置为第一阈值、第二阈值和/或第三阈值。Optionally, if the single-molecular positioning device further removes the pixel corresponding to the element of the similarity value matrix that is greater than the third threshold, the single-molecule positioning device may also set the threshold value carried by the threshold setting instruction to the first threshold and the second threshold. And / or a third threshold.
可选的,若单分子定位装置还去除元素a的数量大于第四阈值的连通分量中所有元素对应的像素点,则单分子定位装置也可将阈值设置指令携带的阈值设置为第一阈值、第二阈值和/或第四阈值。Optionally, if the single molecular positioning device further removes the pixel corresponding to all the elements in the connected component of the fourth threshold, the single molecule positioning device may also set the threshold carried by the threshold setting instruction to the first threshold, The second threshold and/or the fourth threshold.
通过执行步骤S312和S313,用户可根据实验条件和实验目的的变化来灵活的设置与相似度值进行对比的第一阈值,提高了对单分子定位的灵活性。By performing steps S312 and S313, the user can flexibly set the first threshold value compared with the similarity value according to the change of the experimental conditions and the experimental purpose, thereby improving the flexibility of single molecule positioning.
请参阅图4,图4是本发明实施例公开的一种单分子定位装置的结构示意图。其中,图4所示的单分子定位装置可以包括获取模块401、去除模块402和定位模块403。其中:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of a single molecule positioning device according to an embodiment of the present invention. The single molecule positioning device shown in FIG. 4 may include an acquisition module 401, a removal module 402, and a positioning module 403. among them:
获取模块401,用于获得目标图像的每一像素点的亮度值矩阵,该亮度值矩阵为以像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵。The obtaining module 401 is configured to obtain a matrix of luminance values of each pixel of the target image, where the matrix of luminance values is a matrix having a preset row number and a preset column number of pixel point luminance values centered on the luminance value of the pixel point. .
去除模块402,用于比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点。The removing module 402 is configured to compare the luminance value matrix with the preset matrix, and remove pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold.
定位模块403,用于对剩余的像素点进行定位,以实现单分子定位。The positioning module 403 is configured to locate the remaining pixels to achieve single molecule positioning.
请一并参阅图5,图5是本发明实施例公开的另一种单分子定位装置的结构示意图。其中,图5所示的单分子定位装置是由图4所示的单分子定位装置进行优化得到的。与图4所示的单分子定位装置相比较,图5所示的单分子定位装置除包括图4所示的单分子定位装置的模块外,还可以包括确定模块404、输出模块405、第一接收模块406、第一设置模块407、第二接收模块408和第二设置模块409。其中,图5所示的去除模块402包括计算单元4021和比较单元4022。其中:Please refer to FIG. 5 together. FIG. 5 is a schematic structural diagram of another single molecule positioning device disclosed in an embodiment of the present invention. The single molecule positioning device shown in FIG. 5 is optimized by the single molecule positioning device shown in FIG. 4. Compared with the single molecule positioning device shown in FIG. 4, the single molecule positioning device shown in FIG. 5 may further include a determining module 404, an output module 405, and a first in addition to the module of the single molecule positioning device shown in FIG. The receiving module 406, the first setting module 407, the second receiving module 408, and the second setting module 409. The removal module 402 shown in FIG. 5 includes a calculation unit 4021 and a comparison unit 4022. among them:
计算单元4021,用于计算每一个亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵。 The calculating unit 4021 is configured to calculate a similarity value between each matrix of luminance values and a preset matrix to obtain a matrix of similarity values.
比较单元4022,用于比较相似度值矩阵中的每一个元素与第一阈值的大小,去除相似度值矩阵中小于第一阈值的元素对应的像素点。The comparing unit 4022 is configured to compare the size of each element in the similarity value matrix with the first threshold, and remove the pixel corresponding to the element in the similarity value matrix that is smaller than the first threshold.
作为一种可选的实施方式,比较单元4022还用于去除该相似度值矩阵中大于第三阈值的元素对应的像素点,该第三阈值大于所述第一阈值。As an optional implementation manner, the comparing unit 4022 is further configured to remove a pixel corresponding to the element that is greater than the third threshold in the similarity value matrix, where the third threshold is greater than the first threshold.
作为一种可选的实施方式,比较单元4022比较相似度值矩阵中的每一个元素与第一阈值的大小,去除相似度值矩阵中小于第一阈值的元素对应的像素点具体可以为:比较相似度值矩阵中的每一个元素与第一阈值的大小;将相似度值矩阵的元素中大于或等于第一阈值的元素赋值为a,将相似度值矩阵的元素中小于第一阈值的元素赋值为b,以得到二值化矩阵,二值化矩阵中的元素选自a和b中的一个,a不等于b;去除该二值化矩阵中元素b对应的像素点。As an optional implementation manner, the comparing unit 4022 compares the size of each element in the similarity value matrix with the first threshold, and removes the pixel corresponding to the element smaller than the first threshold in the similarity value matrix, which may be: a size of each element in the similarity value matrix and a first threshold; an element of the element of the similarity value matrix that is greater than or equal to the first threshold is assigned a, and an element of the similarity value matrix is smaller than the first threshold The value is assigned to b to obtain a binarization matrix. The elements in the binarization matrix are selected from one of a and b, and a is not equal to b; the pixel corresponding to the element b in the binarization matrix is removed.
确定模块404,用于在比较单元4022去除二值化矩阵中元素b对应的像素点之前或者之后,确定二值化矩阵中元素a的连通分量。The determining module 404 is configured to determine a connected component of the element a in the binarization matrix before or after the comparing unit 4022 removes the pixel point corresponding to the element b in the binarization matrix.
去除模块402,还用于去除元素a的数量小于第二阈值的连通分量中所有元素对应的像素点。The removing module 402 is further configured to remove pixel points corresponding to all elements in the connected component whose number of elements a is less than the second threshold.
去除模块402,还用于去除元素a的数量大于第四阈值的连通分量中所有元素对应的像素点,该第四阈值大于该第二阈值。The removing module 402 is further configured to remove a pixel point corresponding to all elements in the connected component whose number of elements a is greater than a fourth threshold, where the fourth threshold is greater than the second threshold.
定位模块403具体用于:通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定单分子的坐标。The positioning module 403 is specifically configured to: determine, by using a preset algorithm, a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points to determine a coordinate of the single molecule.
作为一种可选的实施方式,预设算法选自质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少一种。As an optional implementation manner, the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
作为一种可选的实施方式,预设算法为质心法和高斯拟合法中的至少一种。As an optional implementation manner, the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
输出模块405,用于在定位模块403通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,输出定位算法选择界面。The output module 405 is configured to output a positioning algorithm selection interface before the positioning module 403 determines the center coordinate of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points by using the preset algorithm.
第一接收模块406,用于接收用户通过定位算法选择界面输入的定位算法选择指令。The first receiving module 406 is configured to receive a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface.
第一设置模块407,用于响应定位算法选择指令,将定位算法选择指令选择的算法设置为预设算法。The first setting module 407 is configured to set the algorithm for selecting the positioning algorithm selection instruction to the preset algorithm in response to the positioning algorithm selection instruction.
第二接收模块408,用于在获取模块获得目标图像的每一像素点的亮度值矩阵之前,接收用户输入的阈值设置指令,该阈值设置指令携带阈值。 The second receiving module 408 is configured to receive a threshold setting instruction input by the user before the obtaining module obtains a matrix of luminance values of each pixel of the target image, where the threshold setting instruction carries a threshold.
第二设置模块409,用于响应阈值设置指令,将阈值设置指令携带的阈值设置为第一阈值、第二阈值、第三阈值和/或第四阈值。The second setting module 409 is configured to set the threshold carried by the threshold setting instruction to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
请参阅图6,图6是本发明实施例公开的一种单分子定位装置的结构示意图。如图6所示,该单分子定位装置包括处理器601、存储器602、输出装置603、输入装置604和总线605。如图6所示,存储器602、输出装置603和输入装置604通过总线605与处理器601相连。所述存储器602中存储一组程序代码,所述处理器601用于调用所述存储器602中存储的程序代码,执行以下操作:Please refer to FIG. 6. FIG. 6 is a schematic structural diagram of a single molecule positioning device according to an embodiment of the present invention. As shown in FIG. 6, the single molecule positioning device includes a processor 601, a memory 602, an output device 603, an input device 604, and a bus 605. As shown in FIG. 6, memory 602, output device 603, and input device 604 are coupled to processor 601 via bus 605. The memory 602 stores a set of program codes, and the processor 601 is configured to invoke the program code stored in the memory 602 to perform the following operations:
获得目标图像的每一像素点的亮度值矩阵,该亮度值矩阵为以像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵;Obtaining a matrix of luminance values of each pixel of the target image, where the matrix of luminance values is a matrix having pixel values of preset pixels and preset pixel numbers centered on the luminance values of the pixel points;
比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点;Comparing the brightness value matrix with the preset matrix, and removing the pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold;
对剩余的像素点进行定位,以实现单分子定位。The remaining pixels are positioned to achieve single molecule positioning.
作为一种可选的实施方式,处理器601比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点的方式具体为:As an optional implementation manner, the processor 601 compares the luminance value matrix with the preset matrix, and removes the pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold.
计算每一个亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵;Calculating a similarity value between each luminance value matrix and a preset matrix to obtain a similarity value matrix;
比较相似度值矩阵中的每一个元素与第一阈值的大小,去除相似度值矩阵中小于第一阈值的元素对应的像素点。Comparing each element in the similarity value matrix with the size of the first threshold, removing pixel points corresponding to the elements of the similarity value matrix that are smaller than the first threshold.
作为一种可选的实施方式,处理器601还执行以下步骤:As an optional implementation manner, the processor 601 further performs the following steps:
去除相似度值矩阵中大于第三阈值的元素对应的像素点,该第三阈值大于第一阈值。And removing a pixel corresponding to the element of the similarity value matrix that is greater than the third threshold, the third threshold being greater than the first threshold.
作为一种可选的实施方式,处理器601比较相似度值矩阵中的每一个元素与第一阈值的大小,去除相似度值矩阵中小于第一阈值的元素对应的像素点的方式具体为:As an optional implementation manner, the processor 601 compares the size of each element in the similarity value matrix with the first threshold, and removes the pixel corresponding to the element of the similarity value matrix that is smaller than the first threshold.
比较相似度值矩阵中的每一个元素与第一阈值的大小;Comparing the size of each element in the similarity value matrix with the first threshold;
将相似度值矩阵的元素中大于或等于第一阈值的元素赋值为a,将相似度值矩阵的元素中小于第一阈值的元素赋值为b,以得到二值化矩阵,二值化矩阵中的元素选自a和b中的一个,a不等于b; Assigning an element of the similarity value matrix that is greater than or equal to the first threshold to a, and assigning an element of the similarity value matrix that is smaller than the first threshold to b, to obtain a binarized matrix, in the binarization matrix The element is selected from one of a and b, a is not equal to b;
去除二值化矩阵中元素b对应的像素点。The pixel points corresponding to the element b in the binarization matrix are removed.
作为一种可选的实施方式,处理器601在去除所有元素为b的二值化矩阵对应的像素点之前或者之后,还执行以下步骤:As an optional implementation manner, the processor 601 performs the following steps before or after removing all the pixel points corresponding to the binarization matrix of the element b:
确定二值化矩阵中元素a的连通分量;Determining a connected component of the element a in the binarization matrix;
去除元素a的数量小于第二阈值的连通分量中所有元素对应的像素点。The pixel points corresponding to all the elements in the connected component whose element a is smaller than the second threshold are removed.
作为一种可选的实施方式,处理器601确定二值化矩阵中元素a的连通分量之后,还可执行以下步骤:As an optional implementation manner, after the processor 601 determines the connected component of the element a in the binarization matrix, the following steps may also be performed:
去除元素a的数量大于第四阈值的连通分量中所有元素对应的像素点,该第四阈值大于第二阈值。The pixel point corresponding to all the elements in the connected component whose element a is greater than the fourth threshold is removed, and the fourth threshold is greater than the second threshold.
作为一种可选的实施方式,处理器601对剩余的像素点进行定位的方式具体为:As an optional implementation manner, the manner in which the processor 601 locates the remaining pixel points is specifically:
通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定单分子的坐标。The center coordinates of the connected components of the elements a in the binarization matrix corresponding to the remaining pixel points are determined by a preset algorithm to determine the coordinates of the single molecules.
作为一种可选的实施方式,预设算法选自质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少一种。As an optional implementation manner, the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
作为一种可选的实施方式,预设算法为质心法和高斯拟合法中的至少一种。As an optional implementation manner, the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
作为一种可选的实施方式,处理器601在通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,还可执行以下步骤:As an optional implementation manner, the processor 601 may perform the following steps before determining, by using a preset algorithm, the center coordinates of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points:
通过输出装置603输出定位算法选择界面;Outputting a positioning algorithm selection interface through the output device 603;
接收用户通过定位算法选择界面输入的定位算法选择指令;Receiving a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface;
响应定位算法选择指令,将定位算法选择指令选择的算法设置为预设算法。The algorithm for selecting the positioning algorithm selection instruction is set as the preset algorithm in response to the positioning algorithm selection instruction.
作为一种可选的实施方式,处理器601在获得目标图像的每一像素点的亮度值矩阵之前,还可执行以下步骤:As an optional implementation manner, the processor 601 may perform the following steps before obtaining the matrix of the luminance values of each pixel of the target image:
通过输入装置604接收用户输入的阈值设置指令,阈值设置指令携带阈值;Receiving, by the input device 604, a threshold setting instruction input by the user, the threshold setting instruction carrying a threshold;
响应阈值设置指令,将阈值设置指令携带的阈值设置为第一阈值、第二阈值、第三阈值和/或第四阈值。The threshold value carried by the threshold setting instruction is set to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
本发明实施例还提供了一种系统,该系统包括处理器、存储器、输出装置、输入装置和总线。存储器、输出装置和输入装置通过总线与处理器相连。存储器中存储一组程序代码,处理器用于调用存储器中存储的程序代码,可执行上 述处理器601所执行的操作。Embodiments of the present invention also provide a system including a processor, a memory, an output device, an input device, and a bus. The memory, output device and input device are connected to the processor via a bus. A set of program code is stored in the memory, and the processor is configured to call the program code stored in the memory, and executable The operations performed by the processor 601.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其他实施例的相关描述。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, in the above embodiments, the descriptions of the various embodiments are different, and the parts that are not described in detail in a certain embodiment may be referred to the related descriptions of other embodiments. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例单分子定位装置中的模块或单元可以根据实际需要进行合并、划分和删减。The modules or units in the single molecule positioning device of the embodiment of the invention can be combined, divided and deleted according to actual needs.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
以上对本发明实施例公开的一种单分子定位方法及装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The single molecule positioning method and device disclosed in the embodiments of the present invention are described in detail. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only for helping to understand the present invention. The method and its core idea; at the same time, those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and application scope. In summary, the content of the specification should not be understood as Limitations of the invention.

Claims (25)

  1. 一种单分子定位方法,其特征在于,包括:A single molecule positioning method, comprising:
    获得目标图像的每一像素点的亮度值矩阵,所述亮度值矩阵为以所述像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵;Obtaining a matrix of luminance values of each pixel of the target image, wherein the matrix of luminance values is a matrix having a preset number of rows and a pixel value of the preset number of columns, centered on the luminance value of the pixel;
    比较所述亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点;Comparing the brightness value matrix with the preset matrix, and removing pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold;
    对剩余的像素点进行定位,以实现所述单分子定位。The remaining pixels are positioned to achieve the single molecule positioning.
  2. 根据权利要求1所述的方法,其特征在于,所述比较亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点,包括:The method according to claim 1, wherein the comparing the luminance value matrix with the preset matrix, and removing pixel points corresponding to the luminance value matrix whose similarity is less than the first threshold, includes:
    计算每一个所述亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵;Calculating a similarity value of each of the brightness value matrix and the preset matrix to obtain a similarity value matrix;
    比较所述相似度值矩阵中的每一个元素与所述第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点。Comparing each element of the similarity value matrix with a size of the first threshold, and removing a pixel point corresponding to an element of the similarity value matrix that is smaller than the first threshold.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:去除所述相似度值矩阵中大于第三阈值的元素对应的像素点,所述第三阈值大于所述第一阈值。The method according to claim 2, wherein the method further comprises: removing pixel points corresponding to the elements of the similarity value matrix that are greater than the third threshold, the third threshold being greater than the first threshold.
  4. 根据权利要求2所述的方法,其特征在于,所述比较相似度值矩阵中的每一个元素与第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点,包括:The method according to claim 2, wherein each element of the comparison similarity value matrix and the size of the first threshold are removed, and an element of the similarity value matrix that is smaller than the first threshold is removed. Pixels, including:
    比较所述相似度值矩阵中的每一个元素与第一阈值的大小;Comparing the size of each element in the similarity value matrix with a first threshold;
    将所述相似度值矩阵的元素中大于或等于所述第一阈值的元素赋值为a,将所述相似度值矩阵的元素中小于所述第一阈值的元素赋值为b,以得到二值化矩阵,所述二值化矩阵中的元素选自所述a和所述b中的一个,所述a不等于所述b;Assigning an element of the similarity value matrix that is greater than or equal to the first threshold to a, and assigning an element of the similarity value matrix that is smaller than the first threshold to b, to obtain a binary value a matrix, the elements in the binarization matrix being selected from one of the a and the b, the a is not equal to the b;
    去除所述二值化矩阵中元素b对应的像素点。The pixel points corresponding to the element b in the binarization matrix are removed.
  5. 根据权利要求4所述的方法,其特征在于,在去除二值化矩阵中元素 b对应的像素点之前或者之后,包括:Method according to claim 4, characterized in that elements in the binarization matrix are removed Before or after the corresponding pixel point of b, including:
    确定所述二值化矩阵中元素a的连通分量;Determining a connected component of the element a in the binarization matrix;
    去除元素a的数量小于第二阈值的所述连通分量中所有元素对应的像素点。The pixel points corresponding to all the elements in the connected component whose element a is smaller than the second threshold are removed.
  6. 根据权利要求5所述的方法,其特征在于,所述确定所述二值化矩阵中元素a的连通分量之后,所述方法还包括:The method according to claim 5, wherein after the determining the connected component of the element a in the binarization matrix, the method further comprises:
    去除元素a的数量大于第四阈值的所述连通分量中所有元素对应的像素点,所述第四阈值大于所述第二阈值。The pixel point corresponding to all the elements in the connected component whose element a is greater than the fourth threshold is removed, and the fourth threshold is greater than the second threshold.
  7. 根据权利要求4~6任意一项所述的方法,其特征在于,所述对剩余的像素点进行定位包括:The method according to any one of claims 4 to 6, wherein the positioning of the remaining pixels includes:
    通过预设算法确定所述剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定所述单分子的坐标。Determining, by a preset algorithm, a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points to determine coordinates of the single molecule.
  8. 根据权利要求7所述的方法,其特征在于,所述预设算法选自质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少一种。The method according to claim 7, wherein the predetermined algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  9. 根据权利要求7所述的方法,其特征在于,所述预设算法为质心法和高斯拟合法中的至少一种。The method according to claim 7, wherein the predetermined algorithm is at least one of a centroid method and a Gaussian fitting method.
  10. 根据权利要求7~9任意一项所述的方法,在所述通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,所述方法还包括:The method according to any one of claims 7 to 9, before the determining, by the preset algorithm, the center coordinates of the connected component of the element a in the binarization matrix corresponding to the remaining pixel points, the method further includes:
    输出定位算法选择界面;Output positioning algorithm selection interface;
    接收用户通过所述定位算法选择界面输入的定位算法选择指令;Receiving a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface;
    响应所述定位算法选择指令,将所述定位算法选择指令选择的算法设置为预设算法。And in response to the positioning algorithm selection instruction, setting an algorithm selected by the positioning algorithm selection instruction as a preset algorithm.
  11. 根据权利要求1~10任意一项所述的方法,其特征在于,在所述获得 目标图像的每一像素点的亮度值矩阵之前,所述方法还包括:Method according to any one of claims 1 to 10, characterized in that Before the matrix of luminance values of each pixel of the target image, the method further includes:
    接收用户输入的阈值设置指令,所述阈值设置指令携带阈值;Receiving a threshold input instruction input by a user, the threshold setting instruction carrying a threshold;
    响应所述阈值设置指令,将所述阈值设置指令携带的阈值设置为第一阈值、第二阈值、第三阈值和/或第四阈值。The threshold carried by the threshold setting instruction is set to a first threshold, a second threshold, a third threshold, and/or a fourth threshold in response to the threshold setting instruction.
  12. 一种单分子定位装置,其特征在于,所述单分子定位装置包括:A single molecule positioning device, characterized in that the single molecule positioning device comprises:
    获取模块,用于获得目标图像的每一像素点的亮度值矩阵,所述亮度值矩阵为以所述像素点的亮度值为中心的拥有预设行数以及预设列数的像素点亮度值的矩阵;An obtaining module, configured to obtain a matrix of luminance values of each pixel of the target image, where the matrix of luminance values is a pixel value having a preset number of rows and a preset number of columns centered on a luminance value of the pixel Matrix
    去除模块,用于比较所述亮度值矩阵与预设矩阵,去除相似度小于第一阈值的亮度值矩阵对应的像素点;a removing module, configured to compare the brightness value matrix with a preset matrix, and remove pixel points corresponding to the brightness value matrix whose similarity is less than the first threshold;
    定位模块,用于对剩余的像素点进行定位,以实现所述单分子定位。a positioning module for positioning the remaining pixels to achieve the single molecule positioning.
  13. 根据权利要求12所述的单分子定位装置,其特征在于,所述去除模块包括:The single molecule positioning device according to claim 12, wherein the removing module comprises:
    计算单元,用于计算每一个所述亮度值矩阵与预设矩阵的相似度值,获得相似度值矩阵;a calculating unit, configured to calculate a similarity value of each of the brightness value matrix and the preset matrix, to obtain a similarity value matrix;
    比较单元,用于比较所述相似度值矩阵中的每一个元素与所述第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点。a comparing unit, configured to compare a size of each element of the similarity value matrix with the first threshold, and remove a pixel point corresponding to an element of the similarity value matrix that is smaller than the first threshold.
  14. 根据权利要求13所述的单分子定位装置,其特征在于,所述比较单元还用于去除所述相似度值矩阵中大于第三阈值的元素对应的像素点,所述第三阈值大于所述第一阈值。The single-molecular locating device according to claim 13, wherein the comparing unit is further configured to remove a pixel point corresponding to an element of the similarity value matrix that is greater than a third threshold, wherein the third threshold is greater than the The first threshold.
  15. 根据权利要求13所述的单分子定位装置,其特征在于,所述比较单元比较相似度值矩阵中的每一个元素与第一阈值的大小,去除所述相似度值矩阵中小于所述第一阈值的元素对应的像素点的方式具体为:The single molecule positioning device according to claim 13, wherein the comparing unit compares each element in the similarity value matrix with a size of the first threshold, and removes the similarity value matrix from the first The manner in which the elements of the threshold correspond to the pixel points is specifically as follows:
    比较所述相似度值矩阵中的每一个元素与第一阈值的大小;Comparing the size of each element in the similarity value matrix with a first threshold;
    将所述相似度值矩阵的元素中大于或等于所述第一阈值的元素赋值为a, 将所述相似度值矩阵的元素中小于所述第一阈值的元素赋值为b,以得到二值化矩阵,所述二值化矩阵中的元素选自所述a和所述b中的一个,所述a不等于所述b;Assigning an element of the element of the similarity value matrix that is greater than or equal to the first threshold to a, Assigning, among the elements of the similarity value matrix, an element smaller than the first threshold to b, to obtain a binarization matrix, the elements in the binarization matrix being selected from one of the a and the b , the a is not equal to the b;
    去除所述二值化矩阵中元素b对应的像素点。The pixel points corresponding to the element b in the binarization matrix are removed.
  16. 根据权利要求15所述的单分子定位装置,其特征在于,所述单分子定位装置还包括:The single molecule positioning device according to claim 15, wherein the single molecule positioning device further comprises:
    确定模块,用于在所述比较单元去除二值化矩阵中元素b对应的像素点之前或者之后,确定所述二值化矩阵中元素a的连通分量;a determining module, configured to determine a connected component of the element a in the binarization matrix before or after the comparing unit removes a pixel point corresponding to the element b in the binarization matrix;
    所述去除模块,还用于去除元素a的数量小于第二阈值的所述连通分量中所有元素对应的像素点。The removing module is further configured to remove pixel points corresponding to all elements in the connected component whose number of elements a is less than a second threshold.
  17. 根据权利要求16所述的单分子定位装置,其特征在于,所述去除模块,还用于去除元素a的数量大于第四阈值的所述连通分量中所有元素对应的像素点,所述第四阈值大于所述第二阈值。The single molecule positioning device according to claim 16, wherein the removing module is further configured to remove pixel points corresponding to all elements in the connected component whose number of elements a is greater than a fourth threshold, the fourth The threshold is greater than the second threshold.
  18. 根据权利要求15~17任意一项所述的单分子定位装置,其特征在于,所述定位模块具体用于:The single molecule positioning device according to any one of claims 15 to 17, wherein the positioning module is specifically configured to:
    通过预设算法确定所述剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标,以确定所述单分子的坐标。Determining, by a preset algorithm, a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points to determine coordinates of the single molecule.
  19. 根据权利要求18所述的单分子定位装置,其特征在于,所述预设算法选自质心法、高斯拟合法、极大似然法、解线性方程组法和马良算法中的至少一种。The single molecule positioning device according to claim 18, wherein the preset algorithm is selected from at least one of a centroid method, a Gaussian fitting method, a maximum likelihood method, a solution linear equation method, and a Ma Liang algorithm.
  20. 根据权利要求18所述的单分子定位装置,其特征在于,所述预设算法为质心法和高斯拟合法中的至少一种。The single molecule positioning device according to claim 18, wherein the preset algorithm is at least one of a centroid method and a Gaussian fitting method.
  21. 根据权利要求18~20任意一项所述的单分子定位装置,其特征在于, 所述单分子定位装置还包括:The single molecule positioning device according to any one of claims 18 to 20, characterized in that The single molecule positioning device further includes:
    输出模块,用于在所述定位模块通过预设算法确定剩余像素点对应的二值化矩阵中的元素a的连通分量的中心坐标之前,输出定位算法选择界面;An output module, configured to output a positioning algorithm selection interface before the positioning module determines a center coordinate of a connected component of the element a in the binarization matrix corresponding to the remaining pixel points by using a preset algorithm;
    第一接收模块,用于接收用户通过所述定位算法选择界面输入的定位算法选择指令;a first receiving module, configured to receive a positioning algorithm selection instruction input by the user through the positioning algorithm selection interface;
    第一设置模块,用于响应所述定位算法选择指令,将所述定位算法选择指令选择的算法设置为预设算法。The first setting module is configured to set, according to the positioning algorithm selection instruction, an algorithm selected by the positioning algorithm selection instruction as a preset algorithm.
  22. 根据权利要求12~21任意一项所述的单分子定位装置,其特征在于,所述单分子定位装置还包括:The single molecule positioning device according to any one of claims 12 to 21, wherein the single molecule positioning device further comprises:
    第二接收模块,用于在所述获取模块获得目标图像的每一像素点的亮度值矩阵之前,接收用户输入的阈值设置指令,所述阈值设置指令携带阈值;a second receiving module, configured to receive, after the obtaining module obtains a matrix of luminance values of each pixel of the target image, a threshold setting instruction input by the user, where the threshold setting instruction carries a threshold;
    第二设置模块,用于响应所述阈值设置指令,将所述阈值设置指令携带的阈值设置为第一阈值、第二阈值、第三阈值和/或第四阈值。And a second setting module, configured to set, according to the threshold setting instruction, a threshold carried by the threshold setting instruction as a first threshold, a second threshold, a third threshold, and/or a fourth threshold.
  23. 一种单分子定位装置,包括处理器和存储器,所述存储器与所述处理器相连接,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行1~11任意一项所述的方法。A single molecule positioning device comprising a processor and a memory, the memory being connected to the processor, wherein the memory stores a set of program codes, and the processor is configured to call the stored in the memory The program code executes the method according to any one of 1 to 11.
  24. 一种单分子定位系统,其特征在于,所述系统包括处理器和存储器,所述存储器与所述处理器相连接,其特征在于,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行1~11任意一项所述的方法。A single molecule positioning system, characterized in that the system comprises a processor and a memory, the memory being connected to the processor, wherein the memory stores a set of program codes, the processor is used for The method described in any one of 1 to 11 is executed by calling the program code stored in the memory.
  25. 一种计算机可读存储介质,所述一个或多个程序包括指令,所述指令当被所述单分子定位装置执行时,使所述单分子定位装置执行如权利要求1~11任意一项所述的方法。 A computer readable storage medium, the one or more programs comprising instructions that, when executed by the single molecule positioning device, cause the single molecule positioning device to perform any of claims 1-11 The method described.
PCT/CN2016/093737 2015-08-07 2016-08-05 Single molecule localisation apparatus, method, and system WO2017025001A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201510483297.6 2015-08-07
CN201510483207.3A CN105303551A (en) 2015-08-07 2015-08-07 Single-molecule positioning method
CN201510483207.3 2015-08-07
CN201510483297.6A CN105303552A (en) 2015-08-07 2015-08-07 Single-molecule positioning device

Publications (1)

Publication Number Publication Date
WO2017025001A1 true WO2017025001A1 (en) 2017-02-16

Family

ID=57983062

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/093737 WO2017025001A1 (en) 2015-08-07 2016-08-05 Single molecule localisation apparatus, method, and system

Country Status (1)

Country Link
WO (1) WO2017025001A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646278A (en) * 2012-03-16 2012-08-22 华南理工大学 Component package bubble detection method based on X-ray image
US20120313012A1 (en) * 2010-02-23 2012-12-13 Selvin Paul R Photobleaching and Intermittency Localization Microscopy
CN105303552A (en) * 2015-08-07 2016-02-03 深圳市瀚海基因生物科技有限公司 Single-molecule positioning device
CN105303551A (en) * 2015-08-07 2016-02-03 深圳市瀚海基因生物科技有限公司 Single-molecule positioning method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120313012A1 (en) * 2010-02-23 2012-12-13 Selvin Paul R Photobleaching and Intermittency Localization Microscopy
CN102646278A (en) * 2012-03-16 2012-08-22 华南理工大学 Component package bubble detection method based on X-ray image
CN105303552A (en) * 2015-08-07 2016-02-03 深圳市瀚海基因生物科技有限公司 Single-molecule positioning device
CN105303551A (en) * 2015-08-07 2016-02-03 深圳市瀚海基因生物科技有限公司 Single-molecule positioning method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BERGLUND, A.J. ET AL.: "Fast, Bias-Free Algorithm for Tracking Single Particles with Variable Size and Shape", OPTICS EXPRESS, vol. 16, no. 18, 26 August 2008 (2008-08-26), pages 14064 - 14075, XP055363695, ISSN: 1094-4087 *

Similar Documents

Publication Publication Date Title
CN109388093B (en) Robot attitude control method and system based on line feature recognition and robot
KR102273115B1 (en) Method and system for classifying and identifying individual cells in a microscopy image
JP6230751B1 (en) Object detection apparatus and object detection method
US10311115B2 (en) Object search method and apparatus
JP5228826B2 (en) Cell image analysis apparatus and cell image analysis method
CN106920245B (en) Boundary detection method and device
CN107807807B (en) Signal source scaling method and system for display window
JP2019050376A5 (en)
CN110852996A (en) Single molecule positioning method
CN116051551B (en) Display screen defect detection method and related device based on image processing
JP2014229115A5 (en)
WO2019196019A1 (en) Fluorescence image registration method, gene sequencing instrument and system, and storage medium
US8483487B2 (en) Image processing device and method for capturing object outline
WO2017025001A1 (en) Single molecule localisation apparatus, method, and system
JP5324017B1 (en) Image processing apparatus, image processing method, and image processing program
CN106557727A (en) Pupil center's localization method and electronic installation
US9817844B2 (en) Aeromagnetic pre-processing system based on graphic user interface and pre-processing method using the thereof
CN112652056B (en) 3D information display method and device
JP2006018394A (en) Cell identification device, cell identification method, program for cell identification, and cell analyzer
CN110889825A (en) Single molecule positioning device
CN109584149B (en) Image processing method, device, equipment and computer readable storage medium
Fouad et al. A new method to grid noisy cDNA microarray images utilizing denoising techniques
US10274711B2 (en) Microscopic image recognition system and method for detecting protein-based molecule
Fouad et al. Developing a new methodology for de-noising and gridding cDNA microarray images
WO2018051492A1 (en) Optical flow accuracy calculating device and optical flow accuracy calculating method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16834625

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10.07.2018)

122 Ep: pct application non-entry in european phase

Ref document number: 16834625

Country of ref document: EP

Kind code of ref document: A1