Data processing apparatus for digital imaging device, microscope and microscopy method
The data processing apparatus for imaging devices processes raw image data concurrently with readout, addressing the inefficiency of sequential image generation by enabling early image processing and reducing errors, thus enhancing time efficiency.
Patent Information
- Application Number
- JP2024023184
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2024-02-19
- Publication Date
- 2024-08-30
AI Technical Summary
Imaging devices, such as microscopes, require significant time for image generation due to the sequential nature of data acquisition and processing, leading to inefficiencies.
A data processing apparatus that processes raw image data concurrently with the readout process, allowing for the generation of processed image data as soon as the first raw data is acquired, and incorporates features like filtering and noise suppression using embedded image processors or integrated circuits.
This approach significantly reduces the time required for image generation by enabling early start of image processing steps and reducing repetitive errors, resulting in time-saving and efficient image acquisition.
Smart Images

Figure 2024118458000001
Abstract
Description
[Technical field]
[0001] The present invention relates to an apparatus for data processing for digital imaging instruments, such as but not limited to microscopes, in particular optical imaging microscopes, such as confocal laser scanning microscopes. Furthermore, the present invention relates to such a microscope and a microscopy method. [Background technology]
[0002] In many research, scientific and technical fields, imaging devices are used to generate images of one or more examination objects in a recording area. Depending on the field of use, imaging devices are used that are based on the functional principle of successively scanning or scanning the recording area. Such imaging devices often make it possible to image the examination objects with a high degree of detail. Summary of the Invention [Problem to be solved by the invention]
[0003] A drawback of inspecting objects using such imaging equipment is the relatively high time cost, which therefore needs to be overcome.
[0004] SUMMARY OF THE DISCLOSURE It is therefore an object of the present invention to provide a means by which operations in imaging devices of the above-mentioned type can be carried out in a more time-saving manner. [Means for solving the problem]
[0005] The object is achieved by an apparatus for data processing for a digital imaging device, which is configured for generating a digital image of an area to be captured by grid-element-by-grid readout of a multidimensional overall grid comprising a plurality of grid elements, the apparatus being part of a control unit integrated in the imaging device or configured to be controllable by a control unit of the imaging device, the apparatus being further configured for processing raw image data from at least one already read-out partial area of the overall grid during readout, for generating processed image data in dependence on the raw image data in at least one processing step and for providing the processed image data for display, for access outside the apparatus.
[0006] In the case of grid element-by-grid element readout, the readout at the individual grid elements is separated from one another in time and / or space, for example performed pixel-by-pixel, voxel-by-voxel, line-by-line or planar. Processing of the raw image data includes, inter alia, obtaining, reading, calling up, interrogating or receiving raw image data from at least one already read-out partial region of the overall grid.
[0007] The invention is advantageous because the data processing with the device can be carried out in parallel with the essentially time-consuming read-out process. Time can thus be saved by processing the first raw image data without delay as soon as they are provided. This is advantageous, for example, with respect to a subsequent image data processing step, since this image data processing step can be started earlier. Accordingly, at least one processing step can be an image data processing step. However, other different processing steps can also be carried out.
[0008] As will be described in more detail below, being provided external to the device advantageously allows the generation of a preview and / or a check of existing shooting parameters and equipment settings to still be performed during the read-out process, thus reducing the repetition rate due to incorrect shooting, which again results in significant time savings.
[0009] The underlying problem stated above is solved by a computer-implemented method comprising the steps of acquiring raw image data of a digital imaging device, which data represents at least one already read-out partial area of a total grid comprising a plurality of grid elements, generating processed image data in at least one processing step depending on the raw image data, and providing the processed image data for display. In particular, the first raw image data is acquired before the total image is generated by the imaging device. For example, the first raw image data of a 3×3 partial area is acquired as soon as the fourth pixel of the third row of the total grid is read out.
[0010] Advantageously, in the computer-implemented method, the generation of processed image data can begin as soon as the first raw image data is acquired without any significant time delay, and further processed image data can then be generated while the entire grid is being read out.
[0011] The invention can be further improved by the following embodiments, which are each advantageous in their own right and can be combined in any way with one another: The features of the developments listed below can be used to improve data processing devices and computer-implemented methods alike, regardless of whether these features are listed in the context of an apparatus or a method.
[0012] According to a first possible embodiment of the invention, the device can be configured to process the raw image data before the entire grid is completely read out, thus advantageously avoiding the need to wait until the readout process is finished.
[0013] The device according to the invention can be provided, inter alia, for a digital light imaging microscope, for example a confocal laser scanning microscope, which is configured to scan an imaging area and generate an image of the imaging area, which is constructed grid element by grid element. Correspondingly, the control unit can be configured to control movable elements, such as, for example, the objective, the lens, the position adjustment mechanism, the microscope stage or the microscope attachment of the light imaging microscope. The device is part of an existing control unit or is configured to be controllable by an existing control unit, so that the number of assemblies required in the light imaging microscope can be reduced or at least not unnecessarily increased.
[0014] The imaging area may be a sample volume of an optical microscope with an object or a preparation, in which case the global grid may be the area of the sample volume that is scanned by a scanning spot of the optical microscope.
[0015] Alternatively, the overall grid can also be formed by an area sensor or an array. In particular, the sensor elements of a CCD sensor or a CMOS sensor can form the overall grid.
[0016] In general, the overall grid may be three-dimensional or two-dimensional. Furthermore, the overall grid may include a number of partial regions. Correspondingly, each partial region may represent a two-dimensional or three-dimensional field of data of a given size. In this case, the size of each partial region may be constant or variable. Each partial region thus includes a fixed or variable number of multiple grid elements. The raw image data is processed as soon as all grid elements of a first partial region have been read out. Further different grid elements not belonging to the first partial region may be read out beforehand.
[0017] In this case, the image of the already mentioned capture area represents the whole image. The device therefore has means for carrying out the above sequence already during the generation of the whole image. When generating the whole image, all grid elements of the whole grid are exposed and read out. During exposure and read out, each grid element of the whole grid is associated with raw image data, for example in the form of a histogram of monochromatic luminance values, RGB values or decay curves. In this case, the raw image data can be arranged in the form of a three-dimensional or two-dimensional matrix.
[0018] The device can be configured to combine the processed image data generated from the already read-out partial regions into at least one continuously updated digital partial image of the image or the overall image. Thus, it is possible to obtain a preview, which can be used, for example, to check whether the imaging device is aimed at the object or the preparation as desired. This makes it possible to prevent time-consuming erroneous photographs, and also allows the combination of a number of processed image data into a final overall image.
[0019] According to a further possible embodiment, the device may comprise an image processor and / or at least one integrated circuit, in particular a field programmable gate array (FPGA), embedded in the imaging device. Correspondingly, at least one processing step may be implemented in the embedded image processor and / or the integrated circuit.
[0020] It is therefore possible to completely structurally integrate the device into the imaging device. Naturally, if necessary, it is also possible, alternatively, for the device to operate as an external component with respect to the imaging device, in which case the integration is carried out purely functionally.
[0021] The embedded image processor may be a so-called Embedded Image Processor. The integrated circuit may preferably be an IC, in particular a so-called single-board FPGA. Therefore, no external computer (e.g., PC) is required for this embodiment.
[0022] To accelerate calculations, the device may also include multiple image processors and / or circuits connected in parallel.
[0023] According to a further possible embodiment, at least one processing step can comprise filtering the raw image data of at least one already read-out partial region with a filter mask, whereafter the filtering result results in, for example, processed image data.
[0024] In the case of a two-dimensional overall grid, the filter mask can have at least a 3×3, 1×3, 4×4, or 5×5 format. In the case of a three-dimensional overall grid, the filter mask can have at least a 3×3×3, 1×1×3, 4×4×4, or 5×5×5 format. Furthermore, the filter mask can be configured in a cross shape or a substantially circular or spherical shape. In this case, the A×B×C format indicates that the filter mask is applied to a sub-area having a height of A grid elements, a width of B grid elements, and a depth of C grid elements. Preferably, the filter mask is applied simultaneously to more than 500 grid elements (e.g., pixels or voxels).
[0025] When the raw image data is arranged in the form of a matrix as described above, filtering can be performed by matrix multiplication with a two-dimensional or three-dimensional filter matrix. In this case, the matrix coefficients of the filter matrix can be kept constant. Therefore, the matrix multiplication is associated with a relatively small computational complexity and can be easily implemented in an embedded image processor and / or at least one integrated circuit. A description of exemplary computation rules for matrix multiplication will be made clear in the following description of the figures.
[0026] Optionally, the matrix coefficients may be variable depending on the raw image data, for example depending on the signal-to-noise ratio, especially the local signal-to-noise ratio, calculated from the raw image data. On the basis that the matrix coefficients are adapted to the raw image data, this embodiment has the advantage that the filtering result is improved.
[0027] Alternatively or additionally, at least one processing step may include noise suppression, which improves the quality of the processed image data. Noise suppression may be performed, for example, by deconvolution or reversal of a convolution operation on the raw image data. A description of exemplary calculation rules for noise suppression will become apparent in the description of the figures below.
[0028] According to a further possible embodiment, the device can be configured to update the filter mask depending on the raw image data of the already read out sub-regions. Furthermore, the device can be configured to update the filter mask depending on the position and / or the geometry of the already read out sub-regions. For example, a different filter mask can be used near the edges of the overall grid than in the center of the overall grid.
[0029] These updates may be performed in real time, respectively. In this case, the filter mask is preferably updated for each sub-region, i.e. from sub-region to sub-region, from sub-image to sub-image and / or from overall image to overall image. In other words, an updated filter mask is used for each sub-region. Similarly, the filter mask can be updated every time before a new sub-image or a new overall image is created.
[0030] The filter mask update can be performed by calculations based on raw image data and / or on processed image data. In the case of the matrix multiplication already described, the update includes adapting the matrix coefficients and / or the size of the filter matrix. For example, if a three-dimensional entire grid is read out in a plane, the filter matrix used can initially be two-dimensional, as long as only the grid elements of one plane are read out. As soon as multiple planes are at least partially read out, the filter matrix can be expanded three-dimensionally.
[0031] Optionally, updating of the filter mask may be performed by obtaining, retrieving and receiving an adapted filter mask, in particular in this case an adaptive filter mask may be used that is updated using machine learning or artificial intelligence based methods.
[0032] According to a further embodiment, the device can be configured to associate metadata with the at least one sub-region, which metadata are calculated depending on the raw image data associated with the respective grid elements of the at least one sub-region. For example, an average luminance value over all grid elements of the at least one sub-region can be associated with the at least one sub-region. This makes it possible to make accessible additional information content that is only indirectly obtainable from the raw image data.
[0033] In this case, the metadata can be calculated directly or indirectly from the raw image data. In the case of indirect calculation, the metadata is determined based on other metadata pre-calculated from the raw image data. Pre-calculated metadata include, for example, metadata on the local intensity associated with the respective grid element, entries of a so-called Summed-Area-Table, results of so-called Prefix-Sum.
[0034] In order to reduce the amount of data and the bandwidth when the information content is comparable, the device can be configured to replace the raw image data associated with each grid element of the at least one sub-region by metadata and / or processed image data. In other words, the number of data associated with each grid element is reduced by replacing the original primary data by fewer secondary data that are dependent on the raw image data. For example, the raw image data can be overwritten by processed image data.
[0035] A particular application case in which such data overwriting is advantageous occurs when at least one sub-set or subset of the raw image data of the respective grating element represents a time-dependent measurement signal of a photon counter, in other words when the raw image data contains as fluorescence lifetime data the time course of the photon counts or a photon histogram of the decay curve, respectively.
[0036] In that case, the device can be configured to calculate a parameter representative of the fluorescence lifetime based on a subset of raw image data of the already read out sub-regions and to replace the subset of raw image data of the already read out sub-regions with said parameter. In this case, suitable parameters are decay coefficients and / or time values. In particular, the method described in EP 21155585 A1, p. 15, line 17 to p. 22, line 7 can be used to calculate the parameter. EP 3465156 A1 and EP 3752818 A1 also fully describe the parameter calculation. It will therefore not be described here in more detail.
[0037] Thus, there is no need for persistent storage of raw image data representative of the time-dependent measurement signal, since the calculated parameters represent the fluorescence lifetimes sufficiently well. In this embodiment, the device is suitable for use in a fluorescence lifetime microscope.
[0038] Besides the mentioned subsets, the raw image data may also contain further information, such as data regarding the relative and / or absolute spatial positions of the grid elements to which the raw image data belongs. The spatial position of each grid element can be represented simply, for example, by a row index, a column index and possibly a depth index respectively.
[0039] According to a further possible embodiment of the device, which can easily be used for confocal laser scanning microscopy, the overall grid can represent at least one sub-area of the sample volume of the microscope to be scanned. Preferably, the overall scan represents the entire sample volume. The microscope is preferably configured to scan the overall grid, and at least one sub-set of the raw image data represents light intensity values measured during the scan. In other words, the microscope is configured to scan the sub-area of the sample volume or the entire sample volume from grid element to grid element along the overall grid. In particular, the microscope can have a device for this consisting of a pinhole diaphragm and an individual photon detector, which are directed successively to a predefined scanning location of the microscope. As already mentioned, in this case the grid element can represent the scanning location of the microscope.
[0040] In a further possible embodiment of the device, which is suitable for an imaging device with an area image sensor consisting of a plurality of detector elements, the overall grid can be formed by detector elements of the area image sensor. The detector elements can be pixels or photodiodes of the area image sensor. At least one partial area, from which the raw image data is processed, can then be formed by a subset of the detector elements. In particular, the partial area can include a consistent surface of the area image sensor. Correspondingly, the grid elements are the detector elements and the raw image data are the output values of the detector elements.
[0041] The device according to the invention can also be used in scanning imaging instruments, which, instead of the previously described device consisting of a pinhole diaphragm and individual photon detectors, have an area detector with detector elements arranged in a honeycomb pattern, and the area detectors of the imaging instrument are arranged to be directed successively to predefined scanning locations. Each of the detector elements can thus assume the function of a pinhole diaphragm. At the same time, more light is collected over the entire area detector than in the case of a conventional confocal structure with a mechanical pinhole diaphragm and individual photon detectors.
[0042] In such scanning imaging devices, it is reasonable to divide the overall grid into an upper grid and a lower grid. In particular, each grid element of the overall grid can itself have a lower grid. The upper grid is obtained from the sum of all scan locations, while each lower grid represents the sum of all detector elements of the area detector. Correspondingly, the device can be configured to process raw image data from a variable area of the lower grid. This area is preferably consistent and is circular, rectangular, square, hexagonal or polygonal. This area may represent an individual detector element of the area detector or may represent the entire area detector.
[0043] The problem mentioned at the beginning can also be solved by a microscope, such as a confocal laser scanning microscope, in particular a digital light image microscope, with a device and a sample volume according to the preceding embodiment. In this case, the overall grid represents at least one partial area of the sample volume or the entire sample volume. Furthermore, the microscope is configured to scan the overall grid and generate an image of the partial area or the entire sample volume, which is constructed grid element by grid element. In other words, the microscope is configured to scan the partial area or the entire sample volume as the imaging area of the microscope. The scanning can include an area scan and optionally a depth scan perpendicular to the area scan.
[0044] The microscope according to the invention can benefit from the advantages of the device and is therefore advantageous in terms of time-saving operation, for example already constructed areas of the image can be subjected to automatic image processing while still being scanned.
[0045] Optionally, the microscope may have at least one display configured to graphically display the processed image data while still scanning, for example the aforementioned digital partial images may appear as a preview on the display.
[0046] To further save time, the microscope can be configured to scan the imaging area block by block in order to read out as early as possible the partial area whose raw image data should be processed first or next. In this case, a square or cubic scan should be preferred over a line by line scan, so that it is not necessary to wait for three lines to be completely read out before it is possible to process the raw image data from, for example, a 3×3 partial area. In other words, it is advantageous if, during scanning, the column index and / or the depth index are increased by at least one before the row index has been completely passed. It is also possible to temporarily decrease the row index, column index or depth index.
[0047] According to a further possible embodiment, the microscope can have an image sensor with a plurality of detector elements arranged in a sub-grid. Structurally, the microscope corresponds to the scanning imaging device already described above. Correspondingly, the microscope can be configured to calculate, among other things, with the image sensor, for each grid element of the overall grid to generate raw image data depending on the measured values of the detector elements.
[0048] In order to fit as many detector elements as possible into a small space, these detector elements are preferably arranged, constructed and / or arranged in a hexagon. Alternatively, the image sensor can be a line-by-line readable SCMOS sensor (Scientific Complementary Metal-Oxide-Semiconductor-Sensor) or an active pixel sensor. Instead of an image sensor, the microscope can also have a device with a detection pinhole diaphragm and individual detectors as described above.
[0049] Furthermore, the device can be configured to receive raw image data in the form of a partial image data stream from the image sensor or from an individual detector, and in order to achieve the above-mentioned noise suppression, the device can apply a deconvolution function, in particular a linear deconvolution function, to the partial image data stream.
[0050] Optionally, the microscope can have an illumination device, which can be configured to calculate illumination errors from raw image data when generating processed image data. For example, the filter mask described above can be adapted in real time based on the calculated illumination errors. Thus, illumination errors can be identified early and corrected preventively, and illumination errors do not cause image quality loss.
[0051] If the illumination error remains despite attempts at correction, the device can be configured to identify that an illumination error persists and abort the scan, optionally with a corresponding error message appearing on the visual display, thus preventing time-wasting with a completely wrong shot.
[0052] The underlying problem stated above is likewise solved by a microscopy method for scanning a sample volume and generating an image of the sample volume, which is constructed grid element by grid element, in which raw image data representative of at least one already scanned partial area of the sample volume are processed in real time during scanning, processed image data are generated on the basis of the raw image data in at least one processing step, and the processed image data are provided for display.
[0053] Like the apparatus and microscope, the microscopy method according to the invention also achieves considerable time savings by carrying out the processing of the raw image data in parallel with the scanning of the next sub-area.
[0054] Optionally, the processed image data can be combined into at least one continuously updated digital sub-image of an already scanned sub-region to obtain a preview.
[0055] The underlying problem stated above is also solved by a computer program and / or a computer-readable storage medium. The computer program comprises instructions which, when executed by a computer, cause the computer to perform the steps of the computer-implemented method described above. Similarly, the computer-readable storage medium comprises instructions which, when executed by a computer, cause the computer to perform the steps of the computer-implemented method described above.
[0056] The underlying problem stated above is also solved by the use of an embedded image processor and / or an integrated circuit for performing the steps of the computer-implemented method described above.
[0057] The features mentioned above can be used both for the method according to the invention and for the apparatus according to the invention, even if not explicitly stated. That is to say, method features that are explicitly described only in the context of the method can also represent apparatus features. Conversely, apparatus features that are described only in the context of the apparatus can likewise represent method features. In this case, an apparatus, device or unit can correspond to a method step or a function of a method step. Similarly, aspects described in the context of a method step also represent a description of the corresponding unit, device, apparatus or their properties. Advantages described with respect to the apparatus also apply to the method according to the invention and vice versa.
[0058] As used in this specification, the term "and / or" includes any and all combinations of one or more of the associated listed items and may be abbreviated as " / ".
[0059] The embodiments may be based on the use of machine learning models or algorithms. Instead of relying on models and inferences, machine learning may refer to algorithms and statistical models that a computer system may use to perform a particular task without using explicit instructions. For example, machine learning may use data transformations inferred from analysis of past data and / or training data instead of rule-based data transformations. For example, image content may be analyzed using a machine learning model or using a machine learning algorithm. For the machine learning model to analyze image content, the machine learning model may be trained with training images as input and training content information as output. By training the machine learning model with a large number of training images and / or training sequences (e.g., words or sentences) and associated training content information (e.g., labels or annotations), the machine learning model "learns" to recognize image content, such that image content not included in the training data becomes recognizable using the machine learning model. The same principle may be used for other types of sensor data in a similar manner: by training the machine learning model with training sensor data and a desired output, the machine learning model "learns" a transformation between sensor data and output, which can be used to provide an output based on the non-training sensor data provided to the machine learning model. The provided data (e.g., sensor data, metadata and / or image data) may be pre-processed to obtain feature vectors that are used as input to a machine learning model.
[0060] The machine learning model may be trained using training input data. The above example uses a training method called "supervised learning". In supervised learning, the machine learning model is trained using multiple training samples, where each sample may include multiple input data values and multiple desired output values, i.e., each training sample is associated with a desired output value. By specifying both the training samples and the desired output value, the machine learning model "learns" during training which output value to provide based on input samples that are similar to the provided sample. Besides supervised learning, semi-supervised learning may be used. In semi-supervised learning, some of the training samples lack a corresponding desired output value. Supervised learning may be based on supervised learning algorithms (e.g. classification algorithms, regression algorithms or similarity learning algorithms). Classification algorithms may be used when the output is restricted to a limited set of values (categorical variables), i.e., the input is classified into one of a limited set of values. Regression algorithms may be used when the output may have any numerical value (within a range). Similarity learning algorithms may be similar to both classification and regression algorithms, but are based on learning from examples with a similarity function that measures how similar or related two objects are. In addition to supervised or semi-supervised learning, unsupervised learning may be used to train machine learning models. In unsupervised learning, input data may be (only) provided, and unsupervised learning algorithms may be used to find structure in the input data (e.g., by grouping or clustering the input data, finding commonalities in the data). Clustering is the assignment of input data containing multiple input values into multiple subsets (clusters), such that input values in the same cluster are similar according to one or more (predefined) similarity criteria, but are not similar to input values contained in another cluster.
[0061] Reinforcement learning is a third group of machine learning algorithms. In other words, reinforcement learning may be used to train machine learning models. In reinforcement learning, one or more software actors (referred to as "software agents") are trained to take actions in their surroundings. Based on the actions taken, rewards are calculated. Reinforcement learning is based on training one or more software agents to select actions that result in an increasing cumulative reward (as manifested by an increasing reward), resulting in the software agent becoming better at a given task.
[0062] Furthermore, some techniques may be applied to parts of the machine learning algorithm. For example, feature representation learning may be used. In other words, the machine learning model may be trained at least in part with feature representation learning, and / or the machine learning algorithm may include a feature representation learning component. A feature representation learning algorithm, which may be referred to as a representation learning algorithm, may not only preserve information in its input, but may also transform the information to make it useful, often as a pre-processing step before performing classification or prediction. Feature representation learning may be based on, for example, principal component analysis or cluster analysis.
[0063] In some examples, anomaly detection (i.e., outlier detection) may be used, which aims to provide identification of input values that raise suspicion by differing significantly from the majority of the input or training data. In other words, a machine learning model may be trained at least in part with anomaly detection and / or a machine learning algorithm may include an anomaly detection component.
[0064] In some examples, the machine learning algorithm may use a decision tree as a predictive model. In other words, the machine learning model may be based on a decision tree. In a decision tree, an observation about an item (e.g., a set of input values) may be represented by a branch of the decision tree, and an output value corresponding to this item may be represented by a leaf of the decision tree. The decision tree may support both discrete and continuous values as output values. If discrete values are used, the decision tree may be represented as a classification tree, and if continuous values are used, the decision tree may be represented as a regression tree.
[0065] Association rules are another technique that may be used in machine learning algorithms. In other words, a machine learning model may be based on one or more association rules. Association rules are created by identifying relationships between variables in large amounts of data. A machine learning algorithm may identify and / or utilize one or more association rules that represent knowledge derived from the data. These rules may be used, for example, to store, manipulate, or apply the knowledge.
[0066] Machine learning algorithms are typically based on machine learning models. In other words, the term "machine learning algorithm" may refer to a set of instructions that can be used to create, train, or use a machine learning model. The term "machine learning model" may refer to a set of data structures and / or rules that represent learned knowledge (e.g., based on training performed by a machine learning algorithm). In embodiments, the use of machine learning algorithm may refer to the use of an underlying machine learning model (or underlying machine learning models). The use of machine learning model may refer to the machine learning model and / or the set of data structures / rules that are the machine learning model being trained by a machine learning algorithm.
[0067] For example, the machine learning model may be an artificial neural network (ANN). An ANN is a system influenced by biological neural networks, such as those found in the retina or the brain. An ANN contains multiple interconnected nodes and multiple junctions, so-called edges, between the nodes. Typically, there are three types of nodes: input nodes that receive input values, hidden nodes that are (only) connected to other nodes, and output nodes that provide output values. Each node may represent an artificial neuron. Each edge may convey information from one node to another. The output of a node may be defined as a (non-linear) function of its inputs (e.g. the sum of its inputs). The inputs of a node may be used in a function based on the "weights" of the edges or nodes that provide the inputs. The weights of the nodes and / or edges may be adjusted during the learning process. In other words, training an artificial neural network may involve adjusting the weights of the nodes and / or edges of the artificial neural network to obtain a desired output for a given input.
[0068] Alternatively, the machine learning model may be a support vector machine, a random forest model, or a gradient boosting model. A support vector machine (i.e., a support vector network) is a supervised learning model with an associated learning algorithm that may be used to analyze data (e.g., in classification or regression analysis). A support vector machine may be trained by providing input with multiple training input values that belong to one of two categories. A support vector machine may be trained to assign new input values to one of two categories. Alternatively, the machine learning model may be a Bayesian network, which is a probabilistic directed acyclic graphical model. A Bayesian network may represent a set of random variables and their conditional dependencies using a directed acyclic graph. Alternatively, the machine learning model may be based on a genetic algorithm, which is a heuristic method that mimics search algorithms and the process of natural selection.
[0069] In the following, the invention is explained in more detail by way of example with reference to the drawings. In accordance with the above-mentioned embodiments, the combination of features shown by way of example in the illustrated embodiments can be supplemented by further features depending on the properties required for the specific application of the device according to the invention and / or the microscope according to the invention and / or the method according to the invention. Also in accordance with the above-mentioned embodiments, individual features in the described embodiments can be omitted if their effect is not important for the specific application. In the drawings, the same reference signs are always used for elements having the same function and / or the same structure. [Brief description of the drawings]
[0070] [Figure 1] 1 is a schematic diagram of an imaging instrument including an apparatus according to a first exemplary embodiment; [Diagram 2] FIG. 4 is a schematic diagram of a further imaging instrument comprising an apparatus according to a second exemplary embodiment. [Diagram 3]FIG. 13 is a schematic diagram of a further imaging instrument comprising an apparatus according to a third exemplary embodiment. [Figure 4] FIG. 11 is a schematic diagram of a further imaging instrument comprising an apparatus according to a fourth exemplary embodiment. [Diagram 5] FIG. 11 is a schematic diagram of a further imaging instrument comprising an apparatus according to a fifth exemplary embodiment. [Figure 6] 1 is a schematic flow chart of a method according to an exemplary embodiment; [Figure 7] FIG. 7 is a schematic diagram showing details of the flowchart of FIG. 6. [Figure 8] FIG. 8 is a schematic diagram showing details of the flowchart of FIG. [Figure 9] FIG. 13 is a schematic diagram of a further imaging instrument comprising an apparatus according to a sixth exemplary embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0071] In the following, the structure and function of the device 100 according to the invention and the microscope 134 according to the invention are exemplarily explained with reference to figures 1 to 5 and 9. Furthermore, the method according to the invention is explained with reference to figures 6 to 8. Although some aspects of the invention are explained only in the context of the device 100, these aspects can naturally also represent a description of the corresponding method, e.g. blocks, modules, units, equipment or features of the device 100 corresponding to method steps or to functions of method steps. Similarly, aspects explained in the context of method steps also represent correspondingly a description of blocks, modules, units, equipment or features of the device 100.
[0072] 1 shows a simplified schematic diagram of a digital imaging device 102 with an exemplary embodiment of an apparatus 100. The apparatus 100 is used for data processing in the imaging device 102. The imaging device 102 is configured to generate a digital image 104 of an imaging area 106 by grid-element-by-grid-element readout of a multidimensional global grid 110 that includes a number of grid elements 108. In this case, the image 104 of the imaging area 106 represents a global image 150. To generate the global image 150, all grid elements 108 of the global grid 110 are exposed and readout.
[0073] During exposure and readout, each grid element 108 of the global grid 110 is associated with raw image data 112, for example in the form of a histogram of monochrome luminance values, RGB values, or decay curves. In this case, the raw image data 112 can be arranged in the form of a two- or three-dimensional matrix 152. Preferably, the raw image data 112 is stored in an N-dimensional array I(x i ), where N is an integer greater than 2.
[0074] In this case, the expression x i is a tuple {x1; ;x N}. Therefore, x i is the coordinate {x1; ;x N} or an array I(x i ) represents a discrete point in the x i represents, for example, a pair of discrete position variables {x1;x2} in the case of two-dimensional raw image data 112, or a triplet of discrete position variables {x1;x2;x3} in the case of three-dimensional raw image data 112. In this case, the subscript represents the row index. If present, the second subscript represents the column index, and the third subscript represents the depth index.
[0075] In what follows, reference to a particular location or dimension is not required, so we will generally refer to a location as x iLet us denote the dimension by i. i may be represented by individual pixels 400 in the raw image data 112 or by coherent groups of multiple pixels 400 .
[0076] Array I(x i ) is M in the i dimension i may contain individual parts, That is,
number
[0077] I(x i ) is the location x i The R+G+B channel may be any value or combination of values in a color space, for example a value representing the intensity of a color or channel in a color space, for example the intensity of color R in an RGB color space, or the combined intensity of two or more colors in an RGB color space, for example (R+G+B) / 3. The raw image data 112 recorded by the multispectral or hyperspectral imaging device 102 may include more than three channels. Each channel may represent a different spectrum or a different spectral region of the light spectrum. For example, more than three channels may be used to represent the spectrum of visible light.
[0078] For example, the two-dimensional raw image data 112, which may be in a three-color RGB format, may be divided into three coherent sets or groups I(x i )={I R (x i );I G (x i );I B (x i )}, where I R (x i) represents an intensity-like value of color R, and I G (x i ) represents an intensity-like value of color G, and I B (x i ) represents a value such as the intensity of color B. Alternatively, each color can be represented as a separate raw image data 112, i.e., I R (x i ), I G (x i ) and I B (x i ) may be considered as forming
[0079] The raw image data 112 may also include further information, such as data regarding the relative and / or absolute spatial positions of the grid elements 108 to which the respective raw image data 112 belongs, in which case the spatial position of each grid element 108 may be represented by a row index, a column index, and possibly a depth index, respectively, of the matrix 152.
[0080] The imaging instruments 102 in FIGS. 1-3 are, respectively, microscopes 134, such as, for example, confocal laser scanning microscopes 144, in particular digital optical imaging microscopes 142, for which the apparatus 100 may be envisaged.
[0081] In the imaging region 106, the microscope 134 has a sample volume 132 in which an object 200 or a preparation 202 can be placed. In a microscopy method according to the invention, the object 200 or preparation 202 can be prepared and placed in the sample volume 132 (see step 600 in FIG. 6 ).
[0082] The global grid 110 may represent at least one sub-area 130 of the sample volume 132, or may represent the entire sample volume 132. To inspect the object 200 or preparation 202, the microscope 134 can be configured to scan the global grid 110 and in so doing build up a digital image 104 of the sub-area 130 or the entire sample volume 132 grid element by grid element (see steps 602-624 of FIG. 6 ).
[0083] The scan may include an area scan and, optionally, a depth scan perpendicular to the area scan, where each scan location 204 of the microscope 134 represents one grid element 108 of the overall grid 110. Depending on the circumstances, the overall grid 110 may be two-dimensional (see FIG. 1) or three-dimensional (see FIG. 3).
[0084] In other words, the microscope 134 is configured to scan the partial area 130 of the sample volume 132 or the entire sample volume 132 from grating element 108 to grating element 108 along the global grating 110. The microscope 134 shown in Fig. 3 has for this purpose a device consisting of a pinhole aperture 300 and an individual photon detector 302, which are successively directed to a predefined scanning location 204 of the microscope 134. In this case, at least one subset of the raw image data 112 represents light intensity values 304 measured by the photon detector 302.
[0085] If the object 200 contains fluorescent materials, for example at least one fluorescent substance or at least one autofluorescent substance, each of the above mentioned channels may represent a different fluorescence spectrum. For example, if multiple fluorescent substances are present in the object 200, the fluorescence spectrum of each fluorescent substance may be represented by a different channel of the raw image data 112. A different channel may be used, on the one hand, for the fluorescence selectively triggered by the illumination, and on the other hand, for the autofluorescence generated as a by-product or secondary effect of the triggered fluorescence. The near infrared and infrared regions may be covered by further channels. The channels do not necessarily have to include intensity data, but may also represent other types of data related to the image 104 of the object 200. For example, a channel may represent the intensity of a particular location x in the image 104. i Thus, in general, raw image data 112 may include fluorescence lifetime data representing a fluorescence lifetime after a trigger at I(x i )={I1(x i );I2(x i );···;I C (x i )} where C is the total number of channels in the raw image data 112.
[0086] The imaging device 102 shown in Fig. 4 has an area image sensor 140 consisting of a number of detector elements 138. The detector elements 138 can be pixels 400 or photodiodes 402 of the area image sensor 140. Here, the recording area 106 in which the object 200 or the preparation 202 is located is not scanned but is globally imaged. Nevertheless, the detector elements 138 are read out one after the other. In this case, the overall grid 110 is formed by the totality of all detector elements 138 of the area image sensor 140, each detector element 138 representing one grid element 108.
[0087] 5 shows the apparatus 100 in a scanning imaging device 102 which, instead of the previously described device consisting of a pinhole aperture 300 and individual photon detectors 302, has an area detector 500 with a honeycomb arrangement of detector elements 138. The area detector 500 is arranged to be directed successively to predefined scan locations 204 via a mirror mechanism 306.
[0088] Considering such an instrument structure, the overall grid 110 shown in Fig. 5 can be divided into an upper grid 502 and a lower grid 504. The upper grid 502 is obtained from the sum of all scan locations 204, while each lower grid 504 represents the sum of all detector elements 138 of the area detector 500. As a result, the lower grid 504 is repeated in each grid element 108 of the overall grid 110, because the area detector 500 is directed to each scan location 204 in succession.
[0089] As mentioned above, the overall grid 110 can be a physical object (e.g. the totality of all detector elements 138 of the area image sensor 140) existing as a tangible part of a technical device. Likewise, the overall grid 110 can be a virtual object (e.g. the totality of all scan locations 204) predefined in a user-defined manner by information-technical open-loop and closed-loop control instructions. The same applies to the upper grid 502, the lower grid 504 and the grid elements 108. The basic idea of the invention that raw image data 112 from already read-out grid elements 108 are processed during the read-out of the overall grid 110 is applicable to both the physical and the virtual cases.
[0090] The device 100 is part of a control unit 158 integrated into the imaging device 102. Alternatively, the device 100 can be configured to be controllable by the control unit 158. In the case of the microscope 134 shown in FIG. 1, the control unit 158 can be configured to control movable elements such as the objective 206, the lens 208, the positioning mechanism 210, the microscope stage 212, or the microscope attachment 160 of the microscope 134. In particular, the device can have at least one image processor 122 and / or an integrated circuit 124, in particular a field programmable gate array (FPGA), embedded in the imaging device 102. Instead of fully structurally integrating the device 100 into the imaging device 102, it is also possible for the device 100 to operate as an external component 900 with respect to the imaging device 102 (see FIG. 9).
[0091] The device 100 is configured to process the aforementioned raw image data 112 from at least one already read out sub-region 114 of the overall grid 110 during the reading out of the remaining sub-regions of the overall grid 110 (see step 602 in FIG. 6). The processing of the raw image data 112 includes inter alia obtaining, reading, calling up, interrogating or receiving the raw image data 112 from at least one already read out sub-region 114 of the overall grid 110 (see step 702 in FIG. 7). In particular, the device 100 can be configured to process the raw image data 112 before the overall grid 110 is completely read out (see step 614 in FIG. 6).
[0092] The global grid 110 comprises a number of partial regions 114, which may overlap each other (see FIG. 5). Depending on the dimensions of the global grid 110, each partial region 114 may represent a two- or three-dimensional field 156 of data of a given size. In this case, the size of each partial region 114 may be constant or variable. Each partial region 114 thus comprises a fixed or variable number of multiple grid elements 108. The raw image data 112 are processed as soon as all grid elements 108 of the current partial region 114 have been completely read out.
[0093] 4 , at least one sub-region 114, in which the raw image data 112 is processed, may be formed by a subset 506 of the detector elements 138. In particular, the sub-region 114 may include a consistent surface of the area image sensor 140. Correspondingly, the raw image data 112 represents output values of the detector elements 138.
[0094] Correspondingly, the device 100 in the imaging device 102 of Fig. 5 can be configured to process raw image data 112 from a variable area 508 of the lower grid 504. This area 508 is preferably consistent. Thus, the area 508 can alternately include only individual detector elements 138 of the area detector 500, for example only the central detector element 138, and the entire area detector 500. When the area 508 includes the central detector element 138, this central detector element 138 takes over the function of the pinhole diaphragm 300. When the area 508 includes the entire area detector 500, more light can be collected than in the case of a conventional confocal structure with a mechanical pinhole diaphragm and individual photon detectors.
[0095] During the grid element-by-grid element readout, the individual grid elements 108 are separated from one another in time and / or space, for example pixel-by-pixel, voxel-by-voxel, line-by-line or plane-wise. However, it is also possible to read out the grid elements 108 block-by-block in order to finish reading out the sub-area 114 whose raw image data 112 should be processed first or next as early as possible. In this case, a square or cubic readout is preferred, so that it is not necessary to wait for three lines to be completely read out before it is possible to process the raw image data 112 from, for example, a 3×3 sub-area 114. In other words, during the readout, it is advantageous if the row index and / or depth index of the matrix 152 is increased by at least one before the column index of the matrix 152 has been completely passed through. For example, the entire grid 110 can be read out in a meandering manner (see FIG. 5). It is also possible to temporarily reduce the row index, column index and / or depth index of the matrix 152.
[0096] Furthermore, the device 100 is configured to generate processed image data 116 in dependence on the raw image data 112 in at least one processing step 118 (see FIG. 7 ), where the at least one processing step 118 may be implemented in an embedded image processor 122 and / or an integrated circuit 124.
[0097] 7, at least one processing step 118 can include filtering 126 of the raw image data 112 of at least one already read out sub-region 114 with a filter mask 128. Such filtering 126 can include, for example, a low-pass filter, a high-pass filter, a band-pass filter or a combination of these filters. The implementation of filtering 126 can be performed analytically or iteratively using known computational rules or based on machine learning or artificial intelligence.
[0098] 1 shows an exemplary two-dimensional filter mask 128 in a 3×3 format. Correspondingly, at least one subregion 114 also has a 3×3 format, which in this case means that both the filter mask 128 and the subregion 114 have a height of three grid elements 108 and a width of three grid elements 108.
[0099]
number
number
[0100] Constant filter coefficient f i,j The filter matrix F has the following structure:
number
[0101] The filter result for a lattice element at row i and column j is calculated according to the following general rules:
number
[0102] For example, for the lattice element in the second row (i=2) of the second column (j=2),
number
[0103] The result of this filter is the matrix of processed image data 116
number
number
[0104] Alternatively, the format of the filter mask 128 and the sub-regions 114 may be, for example, 1×3, 4×4, or 5×5. In the case of a three-dimensional overall grid 110, the filter mask 128 and the sub-regions 114 may have a format of 3×3×3, 1×1×3, 4×4×4, or 5×5×5, respectively. Furthermore, the filter mask may be configured in a cross shape or an approximately circular or spherical shape (not shown). The calculation rules for the filter result can be extended to the three-dimensional case as well.
[0105] Filter matrix coefficients f i,j does not have to be constant. For example, the matrix coefficient f i,j may still be variable depending on the raw image data 112 to be filtered. Therefore, before filtering, the signal-to-noise ratio, especially the local signal-to-noise ratio, is calculated from the raw image data 112 to obtain the matrix coefficients f i,j can be included in the calculation of
[0106] Additionally, the device 100 can be configured to update the filter mask 128 depending on the already filtered raw image data 112. In particular, the signal-to-noise ratio can be calculated from the processed image data 116. In particular, the change in the signal-to-noise ratio before and after filtering affects the matrix coefficient f i,j can be estimated qualitatively and quantitatively.
[0107] Furthermore, the device 100 can be configured to update the filter mask 128 depending on the position and / or geometry of the already read out partial regions 114. For example, a different filter mask 128 can be used near the edges of the global grid 110 than in the center of the global grid 110. Similarly, if a three-dimensional global grid 110 is read out planarly, the filter mask 128 used can initially be two-dimensional, insofar as only grid elements 108 from the same plane are read out. As soon as multiple planes have been at least partially read out, the filter mask 128 can be extended three-dimensionally.
[0108] The updating of the filter mask 128 may be performed in real time and / or by acquiring, reading or receiving an adapted filter mask 128. In particular, in this case, an adaptive filter mask may be used that is updated using a machine learning or artificial intelligence based method. Preferably, the filter mask 128 is updated sub-region by sub-region, i.e. from sub-region 114 to sub-region 114.
[0109] All the methods described within the framework of this application, such as for example filtering 126 (see above) or noise suppression 700 described below, can also be implemented based on machine learning or artificial intelligence.
[0110] Alternatively or additionally, at least one processing step 118 may include noise suppression 700 (see FIG. 7). As described below, noise suppression 700 may be performed, for example, by deconvolution or reversal of a convolution operation on the raw image data 112.
[0111] In noise suppression 700, a real image I having a point spread function psf, which is often instrument specific, is added to it, and a noise term n is added to it. true (x i It is assumed that the raw image data 112 is obtained from the convolution of: I(x i )=Itrue (x i )*psf+n
[0112] Actual Image I true (x i ), this equation can be solved iteratively, for example using the so-called Richardson-Lucy algorithm.
[0113] Furthermore, the device 100 can be configured to perform further processing steps 118 to improve the image quality of the image 104. For example, when a two-dimensional image 104 of a three-dimensional area is recorded using an imaging device, only what is located within the focal area of the imaging device is imaged sharply. Everything that is not located within the focal area is imaged blurry. This out-of-focus object contributes to the image, resulting in image error that cannot be removed by standard imaging devices and imaging methods to generate image sharpness, for example by deconvolution as described above.
[0114] In this regard, one can start from the assumption that sections located in focus have high spatial frequencies, e.g. are responsible for intensity and / or color variations occurring over short distances in the raw image data 112. In the case of sections located out of focus, it is assumed that these sections have low spatial frequencies, i.e. result in mainly gradual intensity and / or color variations extending over large areas of the raw image data 112.
[0115] Starting from the above assumptions, the intensity and / or color variations across the raw image data 112 can be additionally calculated using I(x i )=I1(x i )+I2(x i ) As such, the section I1(x i ) and the section I2(x i ) can be decomposed into
[0116] The segment I2(x i Based on the low spatial frequency of this division I2(x i ) can be considered as a more or less smooth baseline that is superimposed on components that are in focus as objects with high spatial frequencies. The device 100 can be configured to estimate this baseline using a fit to the raw image data 112. Computationally, the fit, i.e., baseline estimation, is performed using discrete baseline estimation data f(x i ) The baseline estimation data f(x i ) is also in N dimensions and M1××M N elements, and therefore may have the same number of dimensions as the raw image data 112.
[0117] To calculate the baseline estimate data, a squared error minimization criterion can be used that is to be minimized for the fit. In a special case, the fit can be a polynomial fit to the raw image data. In particular, the baseline estimate data can be fitted by a polynomial of degree K in each of the N dimensions, i, as follows:
number
[0118] A baseline estimation data is identified, which allows I2(x i ) for the baseline estimate f(x i As soon as the raw image data I(x i ) to the baseline estimate f(x i ) to obtain the processed image data B(x i ) can be calculated as follows: B(x i )=I(x i )-f(x i )
[0119] The processed image data is also preferably N-dimensional and M1××M N elements, and thus preferably has the same dimensionality as the raw image data and / or baseline estimation data.
[0120] The exact formulation of the squared error minimization criterion determines the properties of the fit and therefore the properties of the baseline estimate data. If the squared error minimization criterion is chosen improperly, the baseline estimates of segments that are out of focus may not be represented with sufficient accuracy. According to one embodiment, the squared error minimization criterion M(f(x i )) has the following format: M(f(x i ))=C(f(x i ))+P(f(x i )) where C(f(x i )) is the cost function, P(f(x i )) is a penalty term. The squared error minimization criterion, the cost function and the penalty term are preferably scalar values.
[0121] In a special case, the cost function is i ) and baseline estimation data f(x i ) for example, ε(x i ) expresses the difference term between the raw image data and the baseline estimation data in the following form: ε(x i )=I(x i )-f(x i ) If we express it as, the cost function C(f(x i )) is the L2 norm
number
number
[0122] L2 norm
number
number
[0123] To improve the accuracy of the baseline estimate, it may be advantageous to truncate or limit the difference between the raw image data and the baseline estimate, for example, by using a truncated difference term. The truncated difference term reduces the influence that peaks in the raw image data have on the baseline estimate data. Such a reduction is achieved by reducing the influence of peaks in the raw image data that are located in focus on I(x i ) is assumed to be located at the peak of the truncated quadratic expression. Based on the truncated difference term, peak values in the raw image data that deviate from the baseline estimate by more than a certain threshold s are "ignored" in the cost function by limiting the penalty of the cost function for the fit, especially the spline fit, to the threshold. Thus, the baseline estimate data follows such peak values only to a limited amount. The truncated quadratic expression may be symmetric or asymmetric. In the following, the truncated difference term is referred to as φ(ε(x i ))
[0124] In some applications, the segments located in focus may possibly be located only or at least preferentially at peak values of the raw image data, i.e., at bright spots in the image. This is reproduced by choosing a quadratic term that is possibly truncated or limited asymmetric, which allows the fit to follow only valleys in the raw image data and not peaks. For example, an asymmetric truncated quadratic term φ(ε(x i ))teeth,
number
[0125] In a further special application, where the valleys, i.e. dark areas, in the raw image data are also considered as segments located in focus, a symmetric truncated quadratic term can be used instead of the asymmetric truncated quadratic term. For example, the symmetric truncated quadratic term can be of the following form:
number
[0126] Use the truncated quadratic form to find the cost function C(f(x i )), preferably
number
[0127] The squared error minimization criterion M(f(x i )) i )) is the partition I1(x i), the penalty can take any form of introducing a penalty when the baseline estimate is fitted to data that is deemed to belong to the . The penalty is generated by increasing the value of a penalty term when a segment that lies within the focus of the raw image data is represented in the baseline estimate data.
[0128] For example, the section I2(x i ) has low spatial frequency, the penalty term may be a term that increases when the spatial frequency of the baseline estimate increases.
[0129] Such a penalty term, in one embodiment, may be a roughness penalty term that disfavors non-smooth baseline estimate data as opposed to a smooth baseline, effectively penalizing the approximation of the baseline estimate data to data with high spatial frequencies.
[0130] For example, the roughness penalty term may include a first spatial derivative of the baseline estimate data, particularly the square and / or absolute value of the first spatial derivative, and / or a second derivative of the baseline estimate data, particularly the square and / or absolute value of the second spatial derivative. In general, the penalty term may include any order of spatial derivative of the baseline estimate data, or may include a linear combination of the spatial derivatives of the baseline estimate data. Different penalty terms in different dimensions may be used.
[0131] For example, the roughness penalty term P(f(x i ))of,
number
[0132] This roughness penalty term penalizes large rates of change in the slope of the baseline estimate, i.e., large curvature, thereby favoring smooth estimates. In this case, γ j is a tuning parameter,
number
number
number
[0133] Adjustment parameter γ j is the in-focus image segment I1(x i ) represents the spatial length scale of the information in the j can be pre-determined by the user and is preferably greater than 0. j may take a constant value to save computational cost, or may depend locally on the structure of the image in order to improve accuracy. j The units of are chosen so that the penalty term is a dimensionless magnitude. Typically, the tuning parameter has a value between 0.3 and 100.
[0134] Cost function C(f(x i )) and the penalty term P(f(x i )) i)) can be minimized using known methods. In one case, a half-squared minimization scheme, which is preferably iterative, can be used. To implement the half-squared minimization scheme, the device 100 can have a half-squared minimization unit or a half-squared minimization processing unit. The half-squared minimization can include an iterative algorithm having two iteration stages.
[0135] For example, the half-square minimization scheme may include, at least in part, the so-called LEGEND algorithm, which is computationally efficient. The LEGEND algorithm is described in Idier, J. (2001): Convex Half-Quadratic Criteria and Interacting Variables for Image Restoration, IEEE Transactions on Image Processing, 10(7), P. 1001 1009; and Mazet, V., Carteret, C., Bire, D., Idier, J., and Humbert, B. (2005): Background Removal from Spectra by Designing and Minimizing a Non-Quadratic Cost Function, Chemometrics and Intelligent Laboratory Systems, 76, P. 121 133. Both of these articles are incorporated herein by reference in their entirety.
[0136] In the case of the LEGEND algorithm, discrete auxiliary data d(x i ) is introduced. The auxiliary data is updated at each iteration depending on the baseline estimate data, the truncated quadratic term, and the raw image data.
[0137] In the LEGEND algorithm, a squared error minimization criterion is minimized using two iterative steps (hereafter the first and second iterative steps) until a convergence criterion is met. The convergence criterion is defined as:
number
[0138] As a first step in the LEGEND algorithm, starting values for the baseline estimation data are defined.
[0139] If polynomial fitting is used, the first baseline estimate for each of the i=1,...,N dimensions
number
[0140] In the first iteration step, the auxiliary data is
number
[0141] When spline fitting is used, the initial conditions at the start of the LEGEND algorithm are d(x i )=0,f(x i )=I(x i ), and the iteration begins upon entering the second iteration step.
[0142] In the second iteration step, the pre-computed auxiliary data d l (x i ) and the baseline estimation data f from the preceding iteration l-1. l-1 (x i ) and the penalty term P(x i ) and the baseline estimation data f l (x i In particular, the updated baseline estimation data is calculated in the second iteration step using the following formula:
number
[0143] in this case,
number
[0144] Specifically, the baseline estimation data is subjected to the following matrix calculations in the second iteration step:
number
[0145] in this case,
number
number
number
[0146] d until the convergence criteria mentioned above are met. l (x i ) and f l (x i ) are repeated.
[0147] For further possibilities for calculating the baseline estimation data, see DE Utility Model No. 202018006284, page 5, line 18 to page 14, line 15. EP 117241, EP 3588430, EP 3588432 and EP 3716199 likewise address the calculation of the baseline estimation data.
[0148] Optionally, the device 100 can be configured to associate metadata 800 with the at least one sub-region 114, the metadata 800 being calculated depending on the raw image data 112 associated with the respective grid element 108 of the at least one sub-region 114. Furthermore, the device 100 can be configured to replace the raw image data 112 associated with the respective grid element 108 of the at least one sub-region 114 by the metadata 800 and / or the processed image data 116.
[0149] 8, for example, the raw image data 112 can be overwritten by the processed image data 116, where a subset 802 or 804 of the raw image data 112 for each grating element 108 represents a time-dependent measurement signal 806 of the photon detector 302, respectively. In other words, the raw image data 112 includes a time course of photon counts 808 or a photon histogram 810, respectively, as fluorescence lifetime data.
[0150] Correspondingly, the device 100 can be configured to calculate a parameter 812 representative of the fluorescence lifetime based on a subset 802 of the raw image data 112 of the already read sub-regions 114 and to replace the subset 802 of the raw image data 112 of the already read sub-regions 114 by said parameter 812. In this case, the appropriate parameter 812 is the time value τ i,j and this time value τ i,j denotes the average time that a molecule of a fluorescent material remains in an excited state after external excitation before emitting a photon and thereby returning to the ground state. For example, the time value τ i,j In calculating , the method described in EP 21155585 A1, paragraphs
[0121] onwards, can be used. EP 3465156 A1 and EP 3752818 A1 also fully explain the parameter calculation.
[0151] The calculated time value τ i,j is output from device 100 as processed image data 116.
[0152] Finally, the device 100 is configured to provide the processed image data 116 for display, for access outside the device 100. In particular, the device can be configured to combine the processed image data 116 generated from already read-out sub-regions 114 into at least one continuously updated digital sub-image 120 of the image 104 or the overall image 150. The processed image data 116 can also be combined into the overall image 150 as soon as all sub-regions 114 have been read-out. The already described update of the filter mask 128 can also be performed from sub-image 120 to sub-image 120 and / or from the overall image 150 to the overall image 150.
[0153] 1 and 2, the microscope 134 may have at least one external and / or internal display 154 configured to graphically display the processed image data 116. For example, the previously described digital sub-image 120 may appear as a preview on the display 154.
[0154] 1 further shows that the microscope 134 may have an illumination device 148. Again, the device 100 may be configured to calculate the illumination error from the raw image data 112 when the processed image data 116 is generated. For example, the previously mentioned filter mask 128 may be adapted in real time based on the calculated illumination error. If the illumination error remains despite the correction attempts, the device 100 may be configured to identify this and send a corresponding error message to the display 154.
[0155] In the following, the sequence of a microscope method for scanning a sample volume 132 and generating an image 104 of the sample volume 132, constructed grid element by grid element, is described based on FIGS.
[0156] After sample preparation and instrument setup (step 600), the readout of the first sub-area 114 is started (step 602) by reading out a first grid element 108 of the first sub-area 114 (step 604). Each next grid element 108 is read out (loop feedback 606) as long as all grid elements 108 of the first sub-area 114 have not been read out. In this case, each next grid element 108 can belong to the first sub-area 114. However, each next grid element 108 can also be a grid element 108 outside the first sub-area 114 that is merely located in the same row or column as the previously read out grid element 108.
[0157] Only when all the grid elements 108 of the first partial area 114 have been read out can the illustrated inner loop 608 be left (loop exit 610). Now, for the raw image data 112 from the first partial area 114, a transfer 612 of the raw image data 112 to the device 100 and a processing 614 of the raw image data 112 by the device 100 are performed. As shown in the detailed view of FIG. 7, firstly the raw image data 112 can be received by the device 100 (step 702). Then at least one processing step 118 is performed in the form of the already mentioned filtering 126, noise suppression 700, fluorescence lifetime data calculation 704 and / or other image processing processes. Finally, an output 706 of the processed image data 116 is performed.
[0158] This process 614 in steps 702-706 is repeated for each sub-region 114 of the global grid 110 while the grid elements 108 of the next sub-region 114 are being read out in parallel, because as long as all the sub-regions 114 of the global grid 110 have not been read out, we move on to the read out 602 of each next sub-region 114, grid element by grid element (loop feedback 616). Here again, the result of the process 614 can be added to the previously mentioned continuously updated digital sub-image 120 (step 618). Only when all the sub-regions 114 of the global grid 110 have been read out can the illustrated outer loop 620 be left (loop exit 622) and the image 104 or the global image 150 be displayed (step 624).
[0159] Steps 612-624 may also be implemented as a computer-implemented method. Accordingly, the computer program 902 and / or the computer-readable storage medium 904 may include instructions that, when executed by the computer 906, cause the computer 906 to perform steps 612-624. [Explanation of symbols]
[0160] 100 devices 102 Imaging Equipment 104 images 106 Shooting Area 108 Lattice Elements 110 Overall grid 112 Raw Image Data 114 Partial area 116 Image Data 118 Processing Steps 120 Partial Image 122 Image Processor 124 circuits 126 Filtering 128 Filter Mask 130 Subrange 132 sample volume 134 Microscope 136 Light Intensity Values 138 detector elements 140 Area Image Sensor 142 Optical Microscope 144 Laser Scanning Microscope 146 Image Sensor 148 Lighting Equipment 150 Full image 152 Queue 154 Display 156 Field 158 Control Unit 160 Microscope Attachment 200 Objects 202 Preparation 204 Scanning Location 206 Objective Lens 208 Lens 210 Position adjustment mechanism 212 Microscope Stage 300 Pinhole Aperture 302 Photon Detector 304 Light Intensity Value 306 Mirror Mechanism 400 pixels 402 Photodiode 500 Area Detector 502 Upper Lattice 504 Lower Lattice 506 Subset 508 areas 600 steps 602 Steps 604 substeps 606 Loop Feedback 608 Loop 610 Loop Exit 612 Transfer 614 Processing 616 Loop Feedback 618 Steps 620 Loop 622 Loop Exit 624 Steps 700 Noise Suppression 702 Steps 704 Fluorescence Lifetime Data Calculation 706 Output 800 Metadata 802 Subset 804 subset 806 Measurement Signal 808 Time Transition 810 Photon Histogram 812 Parameter 900 Components 902 Computer Programs 904 Storage medium 906 Computers
Claims
1. An apparatus (100) for data processing for a digital imaging device (102), comprising: the digital imaging device (102) is configured to generate a digital image (104) of an imaging region (106) by grid element-by-grid element readout of a multidimensional global grid (110) including a plurality of grid elements (108); the device (100) being part of a control unit (158) integrated into the imaging device (102) or configured to be controllable by the control unit (158) of the imaging device (102); The device (100) comprises: - processing raw image data (112) from at least one already read-out sub-region (114) of said overall grid (110) during said read-out; - generating processed image data (116) in dependence on said raw image data (112) in at least one processing step (118); Providing the processed image data (116) for access external to the device (100) for display; The apparatus (100) is configured as follows.
2. the device (100) is configured to process the raw image data (112) before the entire grid (110) is completely read out; The apparatus (100) of claim 1.
3. the device (100) is configured to combine the processed image data (116) generated from already read-out sub-areas (114) into at least one continuously updated digital sub-image (120) of the image (104), The apparatus (100) of claim 1 or 2.
4. The device (100) comprises an image processor (122) and / or at least one integrated circuit (124), in particular an FPGA, embedded in the imaging device (102); said at least one processing step (118) being implemented in said embedded image processor (122) and / or said integrated circuit (124); The device (100) according to any one of claims 1 to 3.
5. said at least one processing step (118) comprising filtering (126) said raw image data (112) of said sub-region (114) with a filter mask (128) and / or noise suppression; The apparatus (100) according to any one of claims 1 to 4.
6. the device (100) is configured to update the filter mask (128) in real time depending on the raw image data (112) of the already read sub-regions (114) and / or on the geometry of the already read sub-regions (114), The apparatus (100) of claim 5.
7. The apparatus (100) is configured to associate metadata with the at least one subregion; the metadata is calculated in dependence on the raw image data (112) associated with each grid element (108) of the at least one sub-region (114); The apparatus (100) according to any one of claims 1 to 6.
8. the device (100) is configured to replace the raw image data (112) associated with each grid element (108) of the at least one sub-region (114) with the metadata. The apparatus (100) of claim 7.
9. at least one subset of the raw image data (112) for each grid element (108) of the global grid (110) represents a time-dependent measurement signal of a respective photon counter; the device is configured to calculate a parameter representative of a fluorescence lifetime based on the subset of the raw image data (112) of the sub-regions (114) that have already been read out and to replace the subset of the raw image data (112) of the sub-regions (114) that have already been read out by the parameter. The apparatus (100) according to any one of claims 1 to 8.
10. said global grid (110) representing at least one sub-area (130) to be scanned of a sample volume (132) of a microscope (134); The microscope (134) is configured to scan the entire grating (110); At least one subset of the raw image data (112) represents light intensity values (136) measured during scanning. The device (100) according to any one of claims 1 to 9.
11. The overall grid (110) is formed by detector elements (138) of an area image sensor (140); the sub-region (114) being formed by a subset of the detector elements (138); The device (100) according to any one of claims 1 to 9.
12. Each grid element (108) of the overall grid (110) itself has a sub-grid, the apparatus is configured to process the raw image data from a variable area of the subgrid; The device (100) according to any one of claims 1 to 11.
13. A microscope (134), such as a confocal laser scanning microscope (144), in particular a digital light imaging microscope (142), The microscope (134) comprises a device (100) according to any one of claims 1 to 12 and a sample volume (132), a global grid (110) representing a sub-area (130) of said sample volume (132); the microscope (134) is configured to scan the entire grid (110) and generate an image (104) of the sub-area (130) constructed grid element by grid element; Microscope (134).
14. the microscope (134) has an image sensor (146) with a plurality of detector elements (138) arranged on a sub-grid; the microscope (134) is configured to generate raw image data (112) using the image sensor (146) at each grid element (108) of the global grid (110) in dependence on measurements of the detector elements (138); The microscope (134) of claim 13.
15. The microscope (134) has an illumination device (148); The apparatus (100) is configured to calculate illumination errors from the raw image data (112) when generating processed image data (116). A microscope (134) according to claim 13 or 14.
16. 1. A microscope method for scanning a sample volume (132) to generate an image (104) of said sample volume (132) constructed grid element by grid element, comprising: In real time during scanning, raw image data (112) representative of at least one already scanned sub-area (130) of said sample volume (132) is processed; In at least one processing step (118), processed image data (116) is generated based on the raw image data (112); the processed image data (116) is provided for display; Microscopic methods.
Citation Information
Cited By
Variable flux motor
CN121417554A
