The present disclosure relates to analysis systems and methods for analysing reactions, such as analysis systems and methods for analysing assays.
Analysis systems are available for automating the analysis of chemical assays. Such assays are generally performed in a regular array of print areas that are configured to hold reactants and a test sample. Such assays generally test for the presence or level of an analyte in the test sample. A response, often in the form of a change in degree of opacity, colour, size or other detectable change, is associated with the presence or level of the analyte. The analysis system is provided with a sensor, typically a digital camera, for identifying the response in each print in the array. In this way, for example, the digital camera image can be reviewed and the response (e.g. degree of change in colour or opacity) can be identified in order to determine the presence or level of analyte in any given print area.
Typically, the same type of assay is performed in each print area but it can be desirable to perform different types of assay in different print areas of the array.
Manual review of the response shown in the digital camera image can be performed, which allows a degree of expertise and human judgement to be applied, but is often slow, labour intensive and prone to human error. Automated determination of the response can be much faster and have a high throughput, but can sometimes be associated with errors, particularly if there are unforeseen or unaccounted for effects or if the response is marginal or borderline, commonly referred to as edge cases.
At least some examples of the present disclosure seek to improve the automated analysis of assays performed on arrays or microarrays comprising a plurality of print areas, particularly where different assays are performed in different print areas.
Various aspects of the present invention are defined in the independent claims. Some preferred features are defined in the dependent claims.
According to a first example of the present disclosure is a computer implemented method of analysing a plurality of reactions performed at respective sites in an array, that comprises a plurality of the sites, the method comprising:
The array may be or comprise or be comprised in a microarray, e.g. a multiplexed microarray, or a hybridized array.
The reactions may be or comprise assays. The sites of the array may be or comprise assay sites, wells, print areas or reaction sites of the array. The reaction may comprise a chemical and/or biological reaction. The assay may comprise one or more reagents at the site. The assay may comprise addition of a sample to the reagents. The presence of an analyte in the sample may cause the reaction with the reagents. The reaction may result in a spot at the site, the spot resulting from and being indicative of a measurable change caused by the reaction. At least one property of the printed material may result in the reaction creating the spot characterised by change of one or more of: opacity, intensity, colour, size, and/or the like, which may be indicative of the degree or extent of reaction. The one or more criteria and/or parameters for a site may be, comprise or be representative of criteria and/or parameters of the spot or the part of the image representing the spot. The extent of reaction may comprise or be indicative of a spot grade. The determining of an extent of reaction may be, be comprised in or may comprise a grading or a determination of spot grade. The extent of reaction or spot grade may be qualitative, e.g. reacted or not, or quantitative, e.g. a value for extent or degree of reaction. The at least one metric for the site may be or comprise a metric of the spot.
The at least one image may comprise one or more images of all of the plurality of assay sites or a collection of images that individually may cover one or some of the plurality of assay sites but collectively cover all of the plurality of assay sites.
The criteria and/or parameters may comprise at least one criterion with an associated threshold or range. At least one criterion with an appropriate threshold or range may be indicative of the extent of reaction or spot grade. The extent of reaction or spot grade may comprise one or more of: a reaction, no reaction, or one or more values representing extent of reaction and/or an indication that the extent of reaction is indeterminate. The indication that the extent of reaction is indeterminate for a site may be or comprise a determination that the at least one image metric determined for that site is between a value or range of values indicative of no reaction and a value or range of values indicative of a reaction. The determining of the extent of reaction for a site may comprise comparing the at least one metric for that site to a reference function, or one or more values, comprising or dependent on the criteria and/or parameters for that site. The determining of the extent of the reaction for the site may comprise determining whether or not the at least one metric for that site is above or below the at least one threshold or within or out with the at least one range or does or doesn't meet at least one of the criteria, which may thereby determine the extent or degree of reaction or spot grade.
The criteria and/or parameters for a site may depend on one or more of: an assay type performed at the site, a location of the site on the array, a sample type at the site and/or the like.
The criteria and/or parameters for a site may be unique or at least tailored, adapted or selected for that site. The criteria and/or parameters may be pre-determined, e.g. determined before the analysing of the plurality of reactions. The criteria or parameters may be for and/or specific to the assay type performed at the site, the location of the site on the array, the sample type at the site and/or the like. The method may comprise, for at least one or each site, determining or identifying the assay type for the assay performed at the site, the location of the site on the array, the sample type at the site and, for the respective site, selectively applying the criteria or parameters for the determined assay type, location of the site on the array, and/or sample type.
The criteria and/or parameters for a site may be fixed. The criteria and/or parameters for each given assay type, location of the site on the array, and/or sample type may be fixed. The criteria and/or parameters for a site may be selectable from amongst a plurality of predetermined criteria and/or parameters associated with different assay type, location of the site on the array, and/or sample type, but may be fixed once selected. The selection of the criteria and/or parameters for at least one or each respective site may comprise selecting the predetermined parameters and criteria and/or parameters for the assay type, location of the site on the array, and/or sample type of that respective site. The plurality of sites (e.g. the assay sites or print areas) may be comprised in an array of sites. The sites may be arranged in rows. Each row of sites may be staggered with respect to at least one or each adjacent row of sites. The array may comprise alternating staggered rows of sites, where each alternate row of sites may be aligned. The array may accord to American National Standards Institute (ANSI)/Society for Laboratory Automation and Screening (SLAS) standards. The array may comprise one or more control sites, which may be located at one or more or each outer corner of the array or of the array of sites. The control sites may be arranged at the apexes of a parallelogram.
The at least one metric for a site may comprise or be dependent on or representative of pixel intensities for an area of the image representing at least part of that site, e.g. the spot at that site. The at least one metric for a site may comprise or be dependent on or representative of a mean value of the pixel intensities for at least part of the area of the image representing that site, e.g. the spot at that site. The at least one metric for a site may comprise or be dependent on or representative of a difference between pixel intensities or a mean value of the pixel intensities for at least part of an area of the image representing the spot at that site, and background pixel intensities or a mean value of the background pixel intensities, e.g. for part of the image representing an area that is not a spot. The at least one metric for a site may comprise or be dependent on or representative of a measure of spread or standard deviation of background pixel intensities.
The at least one metric for a site may be or comprise signal to standard deviation ratio (SSR), e.g. the difference between the mean value of the pixel intensities for at least part of the area of the image representing the spot at that site and the mean value of the pixel intensities for at least part of the background, all divided by the measure of spread or standard deviation of the background pixel intensities for at least the part of the background.
The at least one metric for a site may comprise or be dependent on or representative of a measure of spread or standard deviation of the pixel intensities or a mean value of the pixel intensities for at least part of the area of the image representing the spot at that site. The at least one metric for a site may comprise or be dependent on or representative of a percentage or fraction of pixels representative of the spot at that site that are at or above a pixel intensity threshold.
The method may comprise at least one of: cropping the image around the array of sites. The method may comprise gridding the image into segments wherein each segment encloses a spot and/or site.
One or more or each of: the cropping, the gridding and/or the determining of the at least one metric of the spot may comprise using associated cropping, gridding and/or metric determination parameters, which may be common parameters that are shared with one or more or each or every other spot or site with the same assay type, e.g. the common parameters are common to an assay type. The criteria and/or parameters used for determining the extent of the reaction for a site from the at least one image metric for that site may be unique for that site.
The method may comprise pre-processing or cleaning the image, e.g. by filtering or smoothing the image. The filtering or smoothing may be configured to selectively filter out noise from the image.
The cropping of the at least one image may comprise determining a cropped area of the image, which may be a subset of a total area of the image, in which the plurality of sites are shown. The cropping of the image may comprise cropping the image around the plurality of sites on the array. The method may comprise identifying one or more or each control site, which may define outer corners of the array of sites on the array and may define or be used to define the corners of the cropped area of the image.
The method may comprise detecting or identifying the parts of the images corresponding to the spots in the reaction sites. The method may comprise detecting or identifying shapes in the cropped image that fit a description of a spot, e.g. using object recognition techniques. The detecting or identifying the parts of the images corresponding to the spots in the reaction sites may be based on one or more of the parameters, e.g. the assay specific or site specific parameters.
The method may comprise filtering the determined or identified spots in the image. The method may comprise filtering out determined or identified spots for which a value of at least one of the metrics is below a threshold, which may be a pre-determined or determined threshold, and may be comprised in or be derived from at least one of the parameters, e.g. the assay specific or site specific parameters.
The method may comprise identifying the location of reference points, which may be the control sites. The reference points, e.g. the control sites, may be identified by identifying the extreme or most distant sites shown in the image and optionally applying known or predicted geometry of the array. The method may comprise filtering out determined or identified spots using spatial thresholds based on the know or predicted geometry of the array, e.g. a known or predicted arrangement of the sites on the array, which may comprise an arrangement relative to the reference points, such as the control sites. The method may comprise filtering out those spots that are not within an area defined by the control sites at each corner, e.g. outside an area in which the sites are expected to be found.
The method may comprise gridding the image, which may comprise determining a grid comprising a plurality of segments, which may be based on the determined position of the reference points, e.g. control sites, and/or the determined positions of other sites or spots and/or the expected geometry of the sites on the array. Each segment may contain a single corresponding assay site of the array. The cells may be non-overlapping. The cells may correspond with the arrangement of sites on the array. The gridding may be based on one or more of the parameters, e.g. the assay specific or site specific parameters.
The determination of the at least one metric of the sites may comprise determining at least one of the metrics directly from the image. The determination of the at least one metric of the reaction sites may comprise determining at least one metric indirectly from at least one of the metrics determined directly from the image. The determination of the at least one metric of the sites may be based on one or more of the parameters, e.g. the assay specific or site specific parameters.
Non-exhaustive examples of metrics include: mean image background pixel value or intensity, mean standard deviation or spread of image background values or intensities, the mean and/or standard deviations or spreads of pixel values or intensities of a spot, circle radius for a spot, shape radius and/or isoperimetric co-efficient of a spot, edge sharpness or spread of a spot, circle signal to standard deviation ratio, circle mean, circle standard deviation, circle background mean and/or standard deviation or spread, circle intensity value above background, mean, standard deviation and/or spread of image background pixel value or intensity for a spot, a signal to standard deviation ratio (SSR) for a spot, a difference between pixel value or intensity of at least part of a spot and that of the background, and/or the like.
The determining of the one or more parameters for the sites may comprise determining or identifying respective parameters associated with the assay being performed in the respective site and/or associated with the particular site, and applying those parameters for that respective site. The parameters may be predetermined for a given array, assay type, sample type, location, location in the array, site, and/or the like.
In one example, the parameters for the sites may be retrieved from an input file, input by a user using a user input device such as a keyboard, and/or the like.
The method may comprise identifying or receiving one or more identifiers indicating the array or at least one or each of the sites on the array or the assay or assay type being performed in at least one or each site on the array. The determining of the one or more parameters for the sites may comprise looking up or determining the parameters from a look-up table, database, data store, or function that associates parameters with arrays, assay types, sample types and/or sites, e.g. based on the determined identifiers. The one or more indicators may be received from an input device and/or from a data store, e.g. as part of a configuration file. The input device may comprise a user input device such as a keyboard for receiving user input, a machine readable data device such as a barcode or QR code or other machine readable code scanner, a RFID tag reader, an optical tag reader, and/or the like. The one or more indicators may be received from a laboratory information management system (LIMS). The method may comprise reading or otherwise receiving the identifier and may comprise then using the identifier to access the one or more criteria and/or parameters associated with the identifier, e.g. from the data store.
The parameters may be based on past assays, historical data, test assays, modelling or predicted data and/or the like. The determining of the one or more parameters for the sites may comprise determining parameters for one or more or each different assay type and/or site using machine learning, artificial intelligence or some other learning or trained algorithm or function and/or using historical or modelled data and/or the like.
The parameters may comprise global parameters. The global parameters may be parameters that are a function of the assay, i.e. global parameters may vary from assay to assay and/or be associated with a corresponding assay type. The same values for global parameters may be applied to multiple sites or spots. One or more of the gridding of the image, cropping of the image and/or determining of the one or more metric representative of the extent or degree of reaction at each of the sites may be performed based on global parameters.
The parameters may comprise unique parameters. Unique parameters may be parameters that are a function of the particular site on the array or spot, e.g. a function of the assay type and site on the array or spot. The values of unique criteria may be individually variable on a site-by-site basis. At least one or more or all of the parameters used to determine the extent of the reaction at respective assay sites from the at least one image metric for that assay site may be unique parameters.
Non-exhaustive examples of parameters, which may be global criteria, include: a value of maximum image background mean intensity, a value of maximum standard deviation or spread of image background intensity, and/or the like.
The parameters for a site on the array may specify which values of the at least one metric are indicative of a reaction or no reaction at that site on the array. The parameters may specify one or more thresholds, criteria and/or ranges that specify the extent or degree of reaction, e.g. whether the spot is indicative of a reaction, no reaction or is indeterminate.
Non-exhaustive examples of parameters include one or more or each of: a value of a maximum mean intensity for a reaction site, maximum standard deviation or spread of intensity for a reaction site, a limit of signal to standard deviation ratio for a reaction site, a threshold for pixel value or intensity over background for a reaction site to be considered empty or filled, maximum and/or minimum values of circle or shape radius for a detected shape to be considered a spot, a minimum acceptable value of spot edge metric, maximum spot acceptable background cv value to validate the SSR, spot reactive SSR value interval, spot non-reactive SSR value interval, spot reactive mean value interval, spot non-reactive mean value interval, maximum circle acceptable background cv value to validate the SSR, circle reactive SSR value interval, circle non-reactive SSR value interval, circle reactive delta value interval, circle non-reactive delta value interval, and/or the like.
The determining of the extent of the reaction at the assay site or spot may comprise applying one or more of the metrics for that reaction site or spot and the parameters for that reaction site or spot to one or more logic tests, where the result of the one or more logic tests is an indication of whether there has been a reaction at that site or not, an extent or degree of reaction at that site, activity at that site and/or an extent or degree of activity at that site, or presence of an analyte at that site or not. Determining activity at that site and/or an extent of activity at that site may comprise determining if there is something detectable, e.g. a blob, shape of non-background result, but it being unclear whether the activity detected is a spot or reaction or not. The logic test may comprise a comparison of the one or more metrics for the site to the one or more parameters for the site in order to determine the extent of the reaction.
According to a second example of the present disclosure is a processing system configured to implement the method of the first example to analyse one or more assays performed at respective assay sites from a plurality of assay sites of an array.
The processing system may be configured to receive at least one image of the assay sites of the array. The processing system may be configured to, for each of the assay sites, process the at least one image to determine at least one metric representative of the extent or degree of reaction at that assay site. The processing system may be configured to, for each of the assay sites, determine one or more parameters for that assay site, wherein the parameters for at least one of the assay sites of the array are different from the parameters for at least one other of the assay sites of the array. The processing system may be configured to, for each of the assay sites, determine an extent of the reaction at that assay site from the at least one metric for that assay site and the one or more parameters for that assay site.
The processing system may comprise data storage. The processing system may comprise a communications module. The processing system may comprise one or more output devices. The processing system may comprise one or more input devices.
The processing system may comprise one or more processors, which may be single or multi-core processors. The one or more processors may comprise one or more central processing units, graphics processing units, maths co-processors, tensor processing units, and/or the like. The data storage may comprise solid state memory, magnetic memory, optical memory, and/or the like. The communications unit may be configured to communicate via wired and/or wireless communications and may be configured to communicate with remote and/or local systems, e.g. via a network such as a LAN, a WAN, the internet, one or more cellular networks, an Ethernet network, an fibre optic network, and/or the like. The at least one output device may comprise a display or other visual output device, an audio output device, and/or a haptic output device.
The at least on input device may comprise a keyboard, a touchscreen, a trackball, a touchpad, a joystick, a speech recognition based input device, and/or the like. The input device may comprise a machine readable data device such as a barcode or QR code or other machine readable code scanner, a RFID tag reader, an optical tag reader, and/or the like. The processing system may be configured to read or otherwise receive a code associated with an array or site on the array and may comprise then using the code to access the one or more criteria and/or parameters associated with the code, e.g. from the data store.
The processing system may be configured to look up or determine the parameters from a configuration file, look-up table, database, data store, or function that associates respective parameters with respective assay types, sample types and/or sites. The processing system may be configured to communicate with at least one remote processing system. The remote processing system may comprise a server, a cloud computing resource, a workstation, a personal computer, and/or the like. The remote processing system may comprise remote data storage.
According to a third example of the present disclosure is an analysis system for analysing one or more assays performed at respective assay sites from a plurality of assay sites of an array, the analysis system comprising the processing system of the second example described above. The analysis system may comprise at least one imaging device configured or configurable to collect at least one image of the array and communicate the at least one image to the processing system.
The processing system may be configured to receive at least one image of the assay sites of the array. The processing system may be configured to, for each of the assay sites, process the at least one image to determine at least one metric representative of the extent or degree of reaction at that assay site. The processing system may be configured to, for each of the assay sites, determine one or more parameters for that assay site, wherein the parameters for at least one of the assay sites of the array are different from the parameters for at least one other of the assay sites of the array. The processing system may be configured to, for each of the assay sites, determine an extent of the reaction at that assay site from the at least one metric for that assay site and the one or more parameters for that assay site.
According to a fourth example of the present disclosure is a computer program product comprising instructions that, when implemented on a processing system, cause the processing system to perform the method of the first example of the present disclosure. The computer program product may be embodied on a non-transient and/or tangible computer readable medium.
The individual features and/or combinations of features defined above in accordance with any aspect, example or embodiment of the present disclosure or below in relation to any specific embodiment of the disclosure may be utilised, either separately and individually, alone or in combination with any other defined feature, in any other aspect, example or embodiment of the disclosure.
Furthermore, the present disclosure is intended to cover apparatus configured to perform any feature described herein in relation to a method and/or a method of using or producing, using or manufacturing any apparatus feature described herein.
These and other aspects of the present disclosure will now be described, by way of example only, with reference to the accompanying Figures, in which:
The analysis system 20 comprises a processing system 25, data storage 30, a communications module 35, one or more output devices 45 and one or more user input devices 40. The processing system 25 comprises one or more processors, which could be single core or multi-core processors. The one or more processors include one or more central processing units, and optionally also one or more graphics processing units, maths co-processors, tensor processing units, and/or the like. The data storage 30 could comprise solid state memory, magnetic memory, optical memory, and/or the like. The communications unit 35 can be configured to communicate via wired and/or wireless communications. In this example, the communications unit 35 is configured to communicate with remote and/or local systems, e.g. via a network such as a LAN, a WAN, the internet, one or more cellular networks, an Ethernet network, an fibre optic network, and/or the like. The at least one output device 45 could comprise a display or other visual output device, an audio output device, and/or a haptic output device. The at least on input device 40 could comprise one or more of: a keyboard, a touchscreen, a trackball, a touchpad, a joystick, a speech recognition based input device, an RFID tag reader, a barcode or QR code reader, and/or the like.
The analysis system 20 may be configured to communicate with at least one remote processing system 50. The remote processing system 50 could comprise a server, a cloud computing resource, a workstation, a personal computer, and/or the like. The remote processing system 50 comprises remote data storage 55. In this way, any or all of the method steps described herein, particularly any relating to data processing and/or data storage, could be performed using the processing system 25, the at least one remote processing system 50 or the method steps described herein may be distributed between the processing system 25 and the at least one remote processing system 50.
An example of an image of the array 10 collected by the system of
The analysis of the reaction in each assay site 15 determines one or more metric for the reaction in the assay site 15 and applies logic, e.g. a comparison to a threshold, that depends on one or more parameters to yield a measure of reaction state (e.g. reacted or not, i.e. a qualitative determination, or a value for extent or degree of reaction or activity, i.e. a quantitative determination, or an indication of active or not active or the like). This could be done by selecting a threshold for all of the reactions, e.g. assays and samples, for all of the assay sites. However, the present inventors have noted that the dependency of attributes of each analysis on a given metric can vary differently and significantly for different assays.
This can be seen from
An overview of a computerized method of analysing the array 10 to determine an extent or degree of reaction in the assay sites 15 of the array 10 is shown in
Step 705 indicates the performance of assays in each of a plurality of assay sites 15 of the microarray 10. The performance of individual assays is known in the art, although in the present case different assays are performed in at least some of the assay sites 15 of the microarray 10, and captured in an image 805 collected by the assay analysis system 5 in step 710.
Algorithm 810 provides image analysis as part of the assay analysis, and is shown in further detail in
The processing system 25 and/or the remote processing system 50 receives the image 805 of the array 10 collected by the camera 17 (see
The parameters 815 used to determine the metrics are global and apply regardless of the assay being performed. However, the analysis of the metrics by the grading engine uses parameters that are specific and non-generic, i.e. different parameters can be used for different assay sites 15 or groups or subsets of assay sites 15 of the same array 10. For example, different assay types can be associated with different parameters. As the array 10 is used to perform different assays that are included in the image 805, the parameters for at least one of the assay sites 15 will be different to those for at least one other assay site 15 in the same array 10. The parameters for each assay type are generally predetermined and the appropriate predetermined parameters are selected for each different assay site depending on the type of assay being performed at that site. The assay type being performed in each different assay site and/or the parameters associated with that assay type is generally provided in a configuration file. For completeness, the provision of the parameters is not essentially limited to this and in other possible examples the assay type being performed in each different print area can be determined from user input received from one of the input devices such as a keyboard or a reader for an identifier provided on or with the array such as a QR code, RFID tag, holographic tag, barcode, or the like. For example, the assay type for each assay site 15 can be input by a user using the keyboard or the identifier for an array can be read by the reader, and pre-stored data for that assay type can be retrieved from a database, look up table or other form of data file that could be stored on the data storage 30 and/or in the remote data storage 55, and/or the like. Additionally or alternatively, the parameters can vary by sample type, sample size, by individual assay site position in the array 10, and/or by other factors that affect the reaction strength or extent or degree of response to the reaction. In this case, it will be appreciated that the parameters for each assay site 15 or group of assay sites 15 can be determined in a similar way to that described above.
The algorithm 810 is configured to analyse the image, identify the regions of the image associated with different assay sites 15, determine one or more metrics for the regions of the image associated with the different assay sites 15, and determine an extent or degree of reaction (such as reactive or unreactive or a value for extent or degree of reaction or activity) for the different assay sites 15 based on the metrics and the parameters 815.
As shown in
A more detailed overview of the process shown in
The input image 805 is cropped 905 so that the image 805 is tightly cropped to the area of the image 805 containing the assay sites 15 (and any other features used by the process such as control assay sites/spots) based on cropping parameters 910 that control the cropping process 905. Micro-arrays 10 can be provided in standardized sizes, dimensions and layouts. The cropping process is intended to reduce the area of the original image 805 to the area of the image associated with the array of assay sites 15 and any other features used by the process, such as control assay sites 15/spots. Cropping processes in general are known and any suitable cropping process could be used. An example of a suitable cropping process comprises identifying corner control spots and using these to determine an array area in the image where the array of assay sites 15 is located. The area is defined based on the position of the four control spots and a safe margin necessary to take the spot placement tolerance into account. The image can then be cropped around the array area.
The cropped image output from the cropping stage 905 is subjected to gridding 915 that divides the cropped image into segments 925 (see
The gridding process 915 involves building the model of the array of assay sites 15 in the array 10 based on a geometric definition of a layout of the array of assay sites and on a position tolerance of the spot in the assay site 15. The grid is shown in
Once the segments 925 of the image have been generated, spot metrics 930 for a spot in a given assay site 15 can be generated based on metric generation parameters 935.
The spot metrics 930 can be any metric of the image associated with a spot that can be used to characterize the spot indicative of a reaction in a given assay site 15. For example, at least one of the spot metrics 930 of a given spot can comprise or be representative of pixel intensities for an area of the image representing that spot. A particular example of this is a spot metric 930 of a given spot that comprises or is representative of a mean value of the pixel intensities for at least part of the area of the image representing that spot of that reaction site and/or a difference between a mean value of the pixel intensities for the area of the image representing that spot and a mean value of background pixel intensities. A specific example of a suitable metric for each spot is standard deviation ratio (SSR), which is the difference between the mean value of the pixel intensities for at least part of the image representing the given spot and the mean value of the pixel intensities for at least part of the background, all divided by a measure of spread (e.g. standard deviation) of the background pixel intensities for at least the part of the background.
The spot metric calculations 930 can be designed such that the metric calculation is repeatable and generally the same regardless of the spot being analysed, e.g. by using average pixel intensity values, by using masks to select pixels from specified areas of spots and background, and/or the like. As such, the metric generation parameters 935 can also generally be generic or common between spots, regardless of assay type.
Once the spot metrics 930 have been determined for any spots of interest, then the spot metrics can be assessed using a grading engine 940 to determine the extent or degree of reaction for the respective reaction being performed in the respective assay site 15 containing the respective spot. The grading engine 940 applies spot specific (that are also assay specific and/or sample type specific and/or the like) grading parameters 945 and/or grading rules 950 to the spot metrics determined for a given spot in order to determine the extent or degree of reaction (e.g. spot grade) for that given spot/assay site 15. As noted above, as different spots/assay sites 15 are for different assays and/or sample types, then the grading parameters 945 and/or rules 950 applied by the grading engine 940 for one or more spots/assay sites 15 are different to those applied for some other spots/assay sites 15 in order to determine the extent or degree of reaction (spot grade) for each spot/assay site 15.
In this way, common or generic parameters are applied where appropriate, e.g. for one or more of the cropping 905, gridding 915 and/or calculation of spot metrics 930, which promotes efficient processing for those processes for which individual parameterization has less of an effect. In contrast, bespoke rules 950 and/or parameters 945 are determined and used by the grading engine 940 for different spots/assay sites 15 and/or different groups of spots/assay sites 15 on the same array 10, where using parameters specific to that assay, sample type or other factor can have a significant difference on the performance and quality of the assays being performed. However, it will be appreciated that, in other examples, one or more or each of the cropping 905, gridding 915 and/or calculation of spot metrics 930 can be carried out using assay site 15 specific (e.g. assay, spot position and/or sample type specific) parameters.
An alternative flowchart showing the method of
Segments 925 of the grid model corresponding to the corner control spots 1747 are known for the arrays 10, allowing the gird model to be applied to the image 805 using the determined positions of the corner control spots 1747 and other spots, as shown in
More detail of the generation of the metrics 930/1008 shown in
As shown in
The metric generation process also comprises calculating domain metrics 1810 for each segment (print domain). The domain metrics can include metrics such as a domain mean (mean of the pixel values of an area defined by the entire segment coordinates and radius) and domain standard deviation (standard deviation of the pixel values of an area defined by the entire segment coordinates and radius), and/or the like. The domain metrics are calculated based on the position and size of individual segments of the grid.
In addition to calculating domain metrics 1810, the process also comprises calculating default domain metrics 1815 for each segment (print domain), the default domain being a circle of a default radius placed at the centre of the respective segment. Examples of default domain metrics include one or more or each of: a mean of the pixel intensities of the default domain, a standard deviation of the pixel intensities of the default domain, a mean of pixels of an area of background area of the default domain, a standard deviation of pixels of an area of background area of the default domain, and a signal to standard deviation ration (SSR) of the default domain, and/or the like.
The metric generation process further comprises calculating spot metrics. Spot metrics are extracted from each segment (print domain) by a segmentation method. The purpose of the segmentation step is to detect if an object (e.g. some form of activity or a “blob”, which may or may not be a spot caused by and/or indicative of the extent of the assay reaction) is present in the segment (print domain) under consideration and, if so, determine the position and size of the object. Corresponding metrics are calculated for both the object and for the background surrounding the object. If no object is found in a segment (print domain), no spot metrics are generated. If an object is detected, then the spot metrics are determined and subsequently used in the analysis performed by the grading rule engine to determine if the object is a spot and, if so, will determine the grade of the spot. Examples of possible spot metrics include: spot centre coordinates, spot radius, mean of the pixel values in an area defined by the spot mean and spot radius, standard deviation of the pixel values in an area defined by the spot mean and spot radius, mean and/or standard deviation of an area defined by the background, spot threshold, spot edge metric, spot isoperimetric coefficient, and/or signal to standard deviation ratio of the spot, and/or the like.
The determination of the spot metrics starts with a segmentation step 1820. The segmentation step 1820 is detailed in
The segmentation process 2005 shown in
For each segment 925, the segmentation process shown in
In step 2430 of
In step 2435 of
In step 2440 of
For those segments 925 that have not already been labelled as “not segmented”, the convex hulls 2705 for the spots 2710 in those segments are determined in step 2455. The convex hull or convex envelope 2705 of a spot is the smallest possible convex shape that contains that spot 2710.
In step 2460, a minimum enclosing circle is determined for the respective segments. The minimum enclosing circle is the smallest possible circular shape that contains the convex hull. The minimum enclosing circle centre coordinates and radius are the output of the segmentation stage.
For each segment 925, if no blob is found in the segmentation process 1820 (i.e. it is unsegmented) then no spot metrics are determined for that segment 925. However, if a spot is determined to be present in a given segment 925, that segment 925 is partitioned into spot portions and background portions in step 1825.
The part of the image representing an assay site 15 associated with the segment 925 can be partitioned into portions representing the spot and portions representing a background. The portion representing the spot is used to calculate the average intensity of the spot, e.g. by taking a mean value of all of the pixel intensity values for pixels that are contained within the area of the portion representing the spot.
The portion representing the background is used to calculate the average intensity and standard deviation (or other measure of spread) of the background in the part of the segment that does not include the spot (i.e. the mean value and standard deviation of the pixel intensity values of pixels representative of the background).
For segments or spots that are determined to be segmented (i.e. a blob or some form of activity is present), then the process can proceed to determining the spot metrics needed for assessing the spot grade or extent or degree of reaction for each spot or assay site 15 that so far hasn't been deemed non-reactive or a technical error. Step 1830 of the process of
In step 1835, the spot metrics used in the spot grading/determination of the extent or degree of reaction are determined. Various metrics could be used. One metric is the signal to standard deviation ratio (SSR), which can be calculated for each spot/segment 925/assay site 15 using the following formula:
Where:
Other examples of metrics that could be used in addition or as alternatives to the SSR include IQ1, IQ2, IQ3 and IQ4, which are:
where Asignal is the area of the spot obtained using the spot radius, and Aspot is either the area of the spot obtained from segmentation prior to pixel filtering (which is a measure of the number of pixels outside the Spot Radius) or the area of the spot within the spot radius excluding any pixels removed through filtering (which is a measure of the number of missing pixels inside the Spot Radius).
Other suitable metrics may be apparent to a skilled person from the teaching of the present disclosure. Any determined metrics are output to the grading rules engine 940. The grading rules engine takes the metrics, e.g. circle metrics, domain metrics and/or spot metrics for various of the assay sites, which are generally indicative of image properties, and uses these to determine spot grade or extent or degree of reactions, which are indicative of properties of the assay being carried out at the associated assay site.
The grading rules engine 940 operates according to a logic that is outlined in
In this example, the grading parameters 945 and rules 950 (as shown in
The spot grading determination performed by the grading rules engine 940 considers the image 805 of the array of assay sites 15 in the array 10 (suitably cropped 905 and gridded 915 into segments) along with the metrics for each segment 925/assay site 15 and delivers the grading result for the corresponding spot/assay site 15/segment 925. In the specific example shown in
Although a useful set of rules 1205-1230 is provided above for grading the spots/reactions in assay sites 15 by the grading rules engine 940, in other examples only some but not all of the rules 1205-1230, or additional or alternative rules could be applied. The operation of the system will be described further with respect to
An example of flowchart of a process or rule for determining whether an image is suitable for analysis is shown in
The process includes receiving parameters 2215, such as maximum and minimum blob radius, maximum and minimum isoperimetric coefficient, maximum and minimum blob edge metric and the like. The parameters are unique for the individual assay site/assay being performed.
The process comprises applying rules 2220 to determine if metrics found in the segment support recognition of the object in a given segment are indicative of a reaction that is suitable for grading. If so, the graded reaction can be determined uniquely for the given segment.
The application of the rules 2220 utilise circle and domain metrics 2210, such as those generated during the metrics generation described above in relation to
Additional or alternative rules can be used to determine the presence of a spot indicative of a reaction. For example, the application of the rules 2220 can also include, determining if an object in the form of a non-circular “blob” has been found based on SSR. If so, various metrics of the “blob” such as radius, edge metric, isoperimetric co-efficient, position and the like are determined. It is determined that a spot indicative of a reaction is present in the segment if all blob criteria are met, wherein the blob criteria comprise one or more of, for example, the blob radius is greater than or equal to the blob minimum radius and less than or equal to the blob maximum radius; the blob isoperimetric coefficient is greater than or equal to the blob minimum isoperimetric coefficient and less than or equal to the blob maximum isoperimetric coefficient; the blob edge metric is greater than or equal to the blob minimum edge metric and less than or equal to the blob maximum edge metric, and/or the like. If all of the blob criteria are met, then it is also determined that a spot has been detected.
If a circle is identified in the segment 925 or if all of the blob criteria are met, then the process 2420 shown in
If no circle was found and any of the blob criteria are not met, then the process 2305 of
If a segment 925 is determined to neither contain a circle nor meet the blob criteria, the process 2305 determines if the segment 925 contains an object or if it is empty. It does this by determining 2310 if the segment 925 is blank (i.e. the mean pixel value is below a certain level) or if it is uniformly filled with a level of grey that does not allow an object to be distinguished (i.e. no transitions or edges detected) and is consistent with the overall array image grey level. The determination 2310 comprises comparing certain metrics for the segment 925 (such as SSR value) to one or more thresholds that are set as parameters 2312 (such as a segment SSR limit parameter). This check can be specific for the printed area or assay in that segment 925.
For example, if an SSR value for the segment 925 is less than a segment SSR limit parameter, a mean pixel value for the segment 925 is less than a maximum mean pixel value parameter, a standard deviation (or other spread metric) for the segment 925 is less than a maximum standard deviation parameter, and an indication of a detection of an object to background noise less a measure of background noise is less than a maximum threshold parameter, then the segment 925 is determined to be empty 2315 and the process is ended 2320 for that segment 925. Otherwise, a technical error is determined 2325, that is, the domain contains an object but it cannot be said with sufficient certainty that the object qualifies as a spot indicative of a reaction.
As noted above in relation to the process shown in
This bright object artefact removal step 2420, as shown in
The threshold is defined using a detection gradient and detection intercept that are provided as unique parameters 2425 for a given segment 925, and the detection threshold is defined as detection gradient for that segment 925 multiplied by the IQ3 value for that segment 925 plus the detection intercept for that segment 925. For example, the rules 2505 may specify that the object in a given segment 925 can be determined to be a bright object anomaly if any of the following criteria apply:
If none of these criteria are met, then the process, as step 2510, performs the process 2025 shown in
It will be appreciated that the bright object anomaly detection may use only one or some of the above criteria, and/or may use different criteria. In an alternative or additional step, the process may remove any pixels that have a pixel intensity above the detection threshold rather than rejecting the entire segment 925 on the grounds of a technical error.
As noted above, with respect to
In process 2025 shown in
Determining a spot grade/degree of reaction based on SSR is provided as a beneficial example. It will be appreciated that the determination of spot grade/degree of reaction could additionally or alternatively be based on other metrics such as, but not limited to, IQ1, IQ2, IQ3, IQ4, and/or the like.
In the example, four thresholds are set, which are set as assay dependent and optionally also spot specific and/or sample type dependent parameters. The thresholds are, in increasing value, Tel, Tl, Th and Teh, The spot grade/degree of reaction for a given spot/assay site 15/segment 925 is determined based on the SSR according to the following table 1:
The process 2025 comprises applying rules 3105 for determining spot grade/degree of reaction for each spot/assay site 15/segment 925, as shown in
In the specific example shown in Table 1, if the SSR value of a segment is below a lowest threshold Tel or above a highest threshold then a technical error is determined. If the SSR is above the lowest threshold Tel but below an upper non-reactive threshold Tl, then a non-reactive grading is determined. If the SSR is above the upper non-reactive threshold Tl but below a lower reactive threshold Th, then an indeterminate state is determined, which is indicative of it not being possible to determine the reactive and non-reactive state gradings with sufficient certainty. If the SSR is between lower and upper reactive thresholds Th and Teh, then a reactive grading is determined. Although the specific example given in Table 1 uses SSR as the metric, it will be appreciated that the same concept could also be applied to other metrics.
Beneficially, the rules 3105 may comprise logic to dynamically switch between the metrics used for determining spot value/degree of reaction, to select the most suitable metric, for example switching being based on the standard deviation or other spread metric of pixel intensities of the background. In the example, the logic uses the SSR as a default and switches to another metrics, e.g. the delta, if it is found that the SSR is unsuitable. The switch between SSR and delta is made based on a measure of spread in background values, for example by using background CV values which is 100× the standard deviation of the background divided by the mean of the background.
For example, in some cases, the background surrounding a spot is non-uniform, causing the background standard deviation to have values well in excess of the average. As a result, the SSR is strongly decreased, which can cause false non-reactive determination even when the spot is clearly indicative of a reaction. In this case (invalid SSR), an alternate spot reactivity evaluation using the delta is used and the background uniformity is evaluated using the CV instead of the standard deviation to take into account the average level of the background relative to the standard deviation.
Threshold parameters 3110 for the determination of spot grade/degree of reaction are all assay dependent, and optionally also dependent on the spot position and/or sample type, i.e. they vary for different assay sites 15 in the same array 10. The threshold parameters 3110 required include a maximum acceptable background CV value, reactive SSR value range, non-reactive SSR value range, reactive spot delta value range, non-reactive delta value range, and/or the like.
From the process described above in relation to
The application of the rules 3105 starts by determining if the background CV value is less than the maximum acceptable background CV value. If so, then the process proceed by using the SSR metric. If not, then the process proceeds using the delta metric, thereby providing the dynamic switching described above.
If proceeding using the SSR metric, it is determined if the SSR (either for the blob or the circle, depending on how the spot was determined) is within the reactive SSR value range (which is a threshold parameter) and if so determines that the spot/assay site 15/segment 925 is indicative of the associated assay being reactive 3115. If the SSR is not within the reactive SSR value range, then it is determined if the SSR is within the non-reactive SSR value range (which is also a threshold parameter) and if so then it is determined that the spot/assay site 15/segment 925 is indicative of being unreactive or not-reacted 3120. If the SSR for the spot is determined to be out with both the reactive SSR value range and non-reactive SSR value range, then it is determined that the spot/assay site 15/segment 925 is indeterminate or a technical error has arisen 3125.
If it is determined that the delta metric should be used, then a determination process similar to the above but using delta and threshold parameters 3110 (such as reactive delta value range and unreactive delta value range) associated with the delta instead of SSR and the threshold parameters 3110 associated with SSR are used.
Regardless of the determination made in the process 2025 shown in
Beneficially, at least the threshold parameters used in the spot qualification process 2025 described above in relation to
Various steps prior to the spot qualification are carried out, which need not be essential, but individually or in combination, may improve the accuracy or efficiency of the assay result determination.
Although a specific example is described above, it will be appreciated that this is provided to give the skilled person one possible way to put the invention into practice, but variations to the methods and apparatus described above are possible within the scope of the claims.
For example, various metrics such as SSR, delta, IQ3 and the like are used, but it will be appreciated that alternative metrics could be used. Furthermore, although various techniques for detecting spots in the assay sites 15 are described above, such as edge detection, thresholding, and shape, e.g. circle identification, and the like, it will be appreciated that alternative techniques could be used.
Digital cameras 17 are advantageously used to collect the images of the assays, but it will be appreciated that other sensor devices that are usable for determining metrics representative of a degree of reaction such as thermal cameras, ultra-violet or infra-red sensors and the like could be used.
Method steps of the invention can be performed by one or more programmable processors executing a computer program to perform functions of the invention by operating on input data and generating output. Method steps can also be performed by special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application-specific integrated circuit) or other customised circuitry. Processors suitable for the execution of a computer program include CPUs and microprocessors, and any one or more processors. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto-optical disks, or optical disks. Information carriers suitable for embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, e.g. EPROM, EEPROM, solid state memory such as SSD and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in special purpose logic circuitry.
The method steps can be performed by a local processing device, on a remote processing device or certain steps can be performed on the local processing device and certain method steps can be performed on the remote device in a distributed processing arrangement.
To provide for interaction with a user, the invention can be implemented on a device having a screen, e.g., a CRT (cathode ray tube), plasma, LED (light emitting diode) or LCD (liquid crystal display) monitor, for displaying information to the user and an input device, e.g., a keyboard, touch screen, a mouse, a trackball, and the like by which the user can provide input to the computer. Other kinds of devices can be used, for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user can be received in any form, including acoustic, speech, or tactile input.
A suitable processing device for performing the method described above may comprise a mobile, fixed or network enabled device, comprising or configured to implement a controller or processing system. The device may be or comprise or be comprised in a mobile phone, smartphone, PDA, tablet computer, laptop computer, and/or the like. The controller or processing system may be implemented by a suitable program or application (app) running on the device. The device may comprise at least one processor, such as a central processing unit (CPU), maths co-processor (MCP), graphics processing unit (GPU), and/or the like. The at least one processor may be a single core or multicore processor. The device may comprise memory and/or other data storage, which may be implemented on DRAM (dynamic random access memory), SSD (solid state drive), HDD (hard disk drive) or other suitable magnetic, optical and/or electronic memory device. The at least one processor and/or the memory and/or data storage may be arranged locally, e.g. provided in a single device or in multiple devices in in communication at a single location or may be distributed over several local and/or remote devices. The device may comprise a communications module, e.g. a wireless and/or wired communications module. The communications module may be configured to communicate over a cellular communications network, Wi-Fi, Bluetooth, ZigBee, near field communications (NFC), IR, satellite communications, other internet enabling networks and/or the like. The communications module may be configured to communicate via Ethernet or other wired network or connections, via a telecommunications network such as a POTS, PSTN, DSL, ADSL, optical carrier line, and/or ISDN link or network and/or the like, via the cloud and/or via the internet, or other suitable data carrying network. The communications module may be configured to communicate via optical communications such as optical wireless communications (OWC), optical free space communications or Li-Fi or via optical fibres and/or the like. The device and/or the controller or the at least one processor or processing unit may be configured to communicate with the remote server or data store via the communications module. The controller or processing unit may comprise or be implemented using the at least one processor, the memory and/or other data storage and/or the communications module of the device.
Number | Date | Country | Kind |
---|---|---|---|
2016063.6 | Oct 2020 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2021/077938 | 10/8/2021 | WO |