The present application pertains to an image inspection method.
The present application pertains to an image inspection device.
Treatment for most types of solid cancers consists of a radical surgical resection of all tumor tissue. However, differentiation between normal and tumor tissue intraoperatively remains difficult. Therefore, it is not uncommon that a tumor-positive margin is found during pathology assessment two to five days after surgery. According to literature, rates of tumor-positive margins (TPM) range from 10 to 35 percent depending on tumor type. See e.g. Orosco, R. K. et al. Positive surgical margins in the 10 most common solid cancers. Sci. Rep. 8, 56-86 (2018). https://doi.org/10.1038/s41598-018-23403-5. If tumor tissue is present at, or near, the rim of the resected tissue, the risk of local recurrence and distant metastasis is increased which implies a decrease in survival. Consequently, a TPM necessitates additional treatment such as re-operation, radiation therapy and/or systemic therapy. Unfortunately, this is associated with increased morbidity and higher psychological burden to the patient. Therefore, it is crucial to be able to correctly visualize tumor tissue during surgery, however, current optical techniques as well as visual and tactile information obtained by the practitioner are not sufficient to determine tumor margins adequately. Therefore, new techniques in which real-time tumor visualization is obtained are investigated, aiming to reduce the number of TPMs and thereby decrease additional treatments and morbidity.
One of the imaging techniques gaining interest is fluorescence molecular imaging (FMI) because of the possibility for real-time tumor visualization deployed both in the patient (i.e. in-vivo) and immediately after excision (ex-vivo). Therewith the tissue to be inspected is prepared with a fluorescent agent, either by administering the fluorescent agent (FA) to the patient or by impregnating the tissue therewith. The fluorescent agent (FA) may be an untargeted fluorescent dye such as Indocyanine green (ICG), or a targeted fluorescent dyes for imaging tumor tissue and infection and track medicinal therapy. Even though research into FMI in the near-infrared (NIR) spectral range (700-900 nm) has showed promising results, it has been found that there are still complications. For example, scattering of light and absorbance by biological components such as water and blood contribute to attenuation of the excitation light, therewith causing a decrease in sensitivity and contrast of the fluorescence images. These factors may contribute to false-positive TPMs on fluorescence images, even though no TPM is present in the patient. Therewith the obtained fluorescence image (FI) is not always directly suitable as a guidance for the surgeon or other medical specialist or for use with a medical treatment device.
W. Heeman et al., A Guideline for Clinicians Performing Clinical Studies with Fluorescence Imaging, J. Nucl. Med., 63 (2022) 640 describe a method wherein a CNR ratio is determined for a tissue sample after it has been inspected by a pathologist. The CNR therein is the contrast-to-noise ratio computed for the target region as a whole determined by the pathologist.
According to a first object, an improved inspection method is provided for inspecting a fluorescence image of a mammal tissue so as to facilitate a specialist or a surgery device to perform a therapy.
According to a second object, an improved inspection device is provided for inspecting a fluorescence image of a mammal tissue so as to facilitate a specialist or a surgery device to perform a therapy.
According to the present disclosure a border between the target region, e.g. representing a lesion or a tumour, is identified on the basis of pixels at which the excess contrast-to-noise ratio is larger than what may be expected on the basis of global image aspects of the statistical variations represented by the standard deviation of a luminescence signal value (pixel-value) in the reference region and the luminescence signal value relative the average background signal level. In practice, the luminescence may be bioluminescence based on biological processes generating ultraviolet, optical light or infrared emission from the lesion. In general, the principal chemical reaction in bioluminescence involves a light-emitting molecule and an enzyme. Also, good results are achieved on the basis of fluorescence in which in response to an optical excitation fluorescence emission is generated at a longer wavelength.
For example, in a preliminary steps the mammal tissue, e.g. a human tissue, is irradiated with excitation light, after it is rendered photosensitive with a fluorescent agent, and the fluorescence image is captured from the irradiated and photosensitive tissue. The fluorescent agent serves to visualize different types of tissue such as tumor tissue and tumor free tissue. In one example the fluorescent agent is a targeted fluorescent tracer such as Cetuximab-IRDye800CW or hexvix for imaging tumor tissue and/or infection and track medicinal therapy. In another example, the fluorescent agent is an untargeted fluorescent dye such as Indocyanine green (ICG) for imaging tissue perfusion. The excitation light with which the tissue is to be irradiated, in-vivo or ex-vivo is typically in the infra-red range. A fluorescent agent can be administered to the patient or may be used to impregnate the tissue.
According to the invention, the excess contrast-to-noise ratio is represented by a preset threshold value for the excess contrast to which a modified contrast-to-noise ratio is compared. The modified contrast-to-noise ratio is a ratio that is in fact an amended form of the usual contrast-to-noise ratio and formed from the fluorescence signal value compared to the average background signal level and relative to the variation level represented by the standard deviation which represents the noise over the reference region. In other words an insight of the present disclosure is that the excess contrast-to-noise ratio that represents additional local contrast-to-noise ratio over the global contrast-to-noise ration that is associated with global contrast aspects in the reference region may characterise the border between the target and reference region, e.g. the border of the tumour. That is, where the contrast-to-noise form (in a modified form) is markedly higher than what is to be statistically expected from the standard deviation and the average over the fluorescence signal values over the reference region, there is a high likelihood of being due to a border between reference and target regions.
The excess contrast-to-noise ratio may be represented in alternative mathematical expressions. The adjustable regularisation parameter may be employed in these various alternatives as a scale factor to the standard deviation and effects a weighting of the noise variations that are inherent to the fluorescence signal level's stochastic random variations that are not associated with image structure, like a border. The preset threshold value for the excess contrast-to-noise ratio effects to avoid erroneous identification of border pixels due to occurrence of an inherent signal variation. Appropriate values of the regularisation parameter and the preset threshold may be obtained by calibration from data sets for which a gold standard determination of the border is available e.g. from pathology analysis. Particularly favourable results for the border are obtained when the regularisation parameter c is set to c=2 and the excess contrast-to-noise threshold CNRth=1. Experimental results achieve accurate identification of the border for different tumour types that have the basis tissue type in common in which they occur.
A particular simple implementation for the excess contrast-to-noise ratio is given by the mathematical formula
Therein mCNRL is the excess contrast-to-noise ratio at pixel position p along a scan trajectory L, FL(p) is the fluorescence level at pixel-position p, FB is a background fluorescence level associated with the scan trajectory L, S is the standard deviation of the fluorescence levels along the scan trajectory and c is a scalar regularisation parameter that may be set by the user. For the threshold CNRth=1 and the regularization parameter c=2 the fluorescence level exceeds the background by at least twice the noise level at the border.
However, variations are possible depending on further requirements. For example, if it is required that a safety margin is taken into account when determining the target region, a predetermined threshold value less than 1 and/or a regularization parameter value less than 2 may be chosen. In that case the estimated target region (TR) will be larger, so that it not only indicates a portion in the mammal tissue (MT) that is identified as tumorous tissue but also a portion of the mammal tissue surrounding the portion indicated as tumorous tissue that has a risk of becoming tumorous tissue.
An alternative excess contrast-to-noise ratio may be defined by the mathematical formula
Therein {tilde over (m)}CNR is a slightly different excess contrast-to-noise ratio, where FI(p) is the fluorescence intensity at pixel position and UR is an average fluorescence signal of an estimate of the pixel value in the background region. This background region is determined from some form of histogram analysis of the statistical distribution on the pixel-values in the fluorescence image as a whole (i.e. comprising background and target regions of healthy and tumour tissue, respectively). For example, the background region may be determined as a region with (i) intensities that are less than a reference value and (ii) there are fewer of these values than values exceeding the reference value. Fewer may be defined as a fraction (0<f<1) of the number of intensity values larger than the reference Further OR is the standard deviation of the pixel's values in the target region. Notably this defines the invention independently of the use of scan trajectories to sample the pixel values.
In one example a histogram is obtained of the fluorescence signal values comprised in the first number of fluorescence signal values and the reference value is the value for a predetermined k-th q-quantile of the histogram. The predetermined k-th q-quantile should be chosen in accordance with an expected tumorous tissue area ratio re of a tumorous tissue area to the total tissue area in the fluorescence image (FI). The ratio k/q should not exceed that tumorous tissue area ratio. Also the ratio k/q should not be too small. For example
The improved method is used for example for ex-vivo inspection of mammal tissue which has been resected by a medical specialist to remove tumorous tissue. Typically the mammal tissue removed by the medical specialist also includes a substantial portion of normal tissue to take into account that the tissue that is readily identified as tumorous is surrounded by tissue that at first sight looks normal, but could later develop also into tumorous tissue. Also it may be practically impossible to exactly follow the border of the tumorous tissue when performing a resection.
Accordingly, in these cases the ratio k/q is often selected as:
An average fluorescence signal value FB and a standard deviation S is computed of the fluorescence signal values comprised in the second number of fluorescence signal values. Due to the fact that the ratio k/q is selected not too small, i.e. at least 0.1*re, and preferably 0.2 a sufficient amount of data is available to reliably estimate the average fluorescence signal value and the standard deviation of the fluorescence signal for normal tissue. Due to the fact that the ratio k/q is selected not too large, i.e. at most 0.95*re, and preferably 0.9 it is avoided that the estimation of this statistical data is affected by fluorescence signal data of tumorous tissue.
Yet a further alternative mathematical expression for an excess contrast-to-noise ratio is
Here the adjustable parameter a operates to emphasize differences at low fluoresces signal levels relative to differences at higher fluorescence levels (and vice versa).
It has appeared that in practice similar results for the identified border may be obtained for suitable settings of the threshold value, regularisation, and emphasis parameters. The emphasis parameter may be set according to the distribution of signal differences in the image to be processed and the regularisation parameter and the contrast-to-noise threshold for identification of the border may be calibrated on the basis of pathology information.
A further alternative approach is given by a variation of equation (la):
The excess contrast-to-noise ratio that represents additional local contrast-to-noise ratio over the global contrast-to-noise ratio that is associated with global contrast aspects in the reference region may or may not include the specific simple examples of equations (la) and (1b).
In most embodiments of the invention, an optical (including infrared) arrangement is provided to detect the luminescent, in particular fluorescence signal in a spatially resolved way, e.g. in the form of an image of the luminescent or fluorescent tissue to be inspected. A simple camera with a single lens or even a pinhole camera may be employed. Alternatively, a more sophisticated optical arrangement with a multiple-lens assembly, such as known per se from the field of endoscopy may be employed.
Further, the optical arrangement may be provided with an electrical power supply e.g. based on (re-chargeable) batteries or based on an appropriate power conversion from main power.
As noted the improved image inspection methods as disclosed herein are particular suitable for inspecting a fluorescence image captured of a mammal tissue that has been rendered photosensitive with a fluorescent agent and irradiated with excitation light. In this application, the fluorescence signal values of the fluorescence image (FI) represent the mammal tissue. The method may further comprise a step of performing an image segmentation to distinguish in the fluorescence image (FI) a target region (TR) to denote a portion in the mammal tissue (MT) that is identified as tumorous tissue or infected tissue and a reference region (RR) to denote a remaining portion in the mammal tissue (MT). This step comprises determining per pixel (p) that it is part of the target region (TR) if an excess contrast-to-noise ratio mCNR (p) for said pixel exceeds a predetermined threshold value (TCNR) and determining that the pixel is part of the reference region (RR) otherwise, wherein the excess contrast-to-noise ratio mCNR (p) of a pixel is defined as
The method may further comprise identifying at least one contour (B) of the target region (TR).
In this application the fluorescence image (FI) may further capture a background. Then a preliminary image segmentation may be performed on the fluorescence image to distinguish in the fluorescence image (FI) a foreground region (FR) representing the mammal tissue (MT) and a background region (BR) representing the background. The segmentation step may comprise determining per pixel that it is part of the foreground region (FR) if the fluorescence signal value (FSV) significantly exceeds an average fluorescence signal value determined for the background taking into account a standard deviation of fluorescence signal values (FSV) in the background and determining that the pixel is part of the background region (BR) otherwise. In an example the average fluorescence signal value and the standard deviation of fluorescence signal values are determined from a portion (BP) of the fluorescence image (FI) that is designated as representing the background. In an example the preliminary image segmentation further comprises a dilation operation. Therein the foreground region is extended with one or more pixels to mitigate a risk of edge-effects. Also other corrections may be applied, such as removal of regions identified in the preliminary image segmentation that have an area smaller than a threshold area value. For example isolated small areas that initially are identified as foreground or that initially are identified as background. Typically the largest initially identified foreground area is selected for further processing and any smaller initially identified foreground area are considered as part of the background.
In case a preliminary image segmentation is applied then the subsequent image segmentation to determine one or more target regions are applied to the portion of the image determined as foreground region.
In some examples the fluorescence image of the mammal tissue is captured in-vivo. In other examples the fluorescence image of the mammal tissue is captured ex-vivo with the mammal tissue arranged on the background.
In one example the background is formed by a carrier surface on which a mammal tissue (for example a complete resected tissue or a slice thereof) is arranged for ex-vivo inspection. In another example the fluorescence image is captured in-vivo while a background is placed in the field of view of the camera as a reference. In the preliminary image segmentation it is determined per pixel whether or not its fluorescence signal value (FSV) significantly exceeds an average background fluorescence signal value. If it is determined that a fluorescence signal value (FSV) of a pixel significantly exceeds the average background fluorescence signal value then that pixel is classified as part of the foreground region otherwise it is determined as part of the background region. As an example it is determined that a fluorescence signal value (FSV) of a pixel significantly exceeds the average background fluorescence signal value if a difference between its fluorescence signal value (FSV) and the background fluorescence signal value exceeds a predetermined factor times the standard deviation of the fluorescence signal values of the background. The predetermined factor is for example greater than 1, e.g. in a range from 1.05 to −5, for example about 2.
In one example the average fluorescence signal value and the standard deviation are estimated in a calibration step, wherein prior to capturing the fluorescence image a calibration fluorescence image is captured of the background only and the average fluorescence signal value and the standard deviation are determined are determined of the fluorescence signal values in the calibration fluorescence image.
A rough but useful estimation of the average fluorescence signal value can obtained as follows:
Therein min, max respectively are the minimum fluorescence value and the maximum fluorescence value of all fluorescence values in the fluorescence image.
In another example the average fluorescence signal value and the standard deviation of fluorescence signal values are determined from a portion (BP) of the fluorescence image (FI) that is designated as representing the background. An operator may for example a rectangular region in the fluorescence image (FI) that is part of the background represented in the fluorescence image (FI). Based on the average fluorescence signal value and the standard deviation of fluorescence signal values in this region a complete preliminary image segmentation can then be performed.
In an example the inspection method further comprises a scan trajectory based evaluation that includes obtaining at least one fluorescence signal value vector of fluorescence signal values in the fluorescence image (FI) along a scan trajectory. Then for each threshold value of a plurality of threshold values a respective set of candidate scan trajectory sections is determined in which the fluorescence signal value exceeds the threshold value and statistical properties of sections of the scan trajectory are determined that are not candidate scan trajectory sections. Subsequently it is determined for which threshold value of the plurality of threshold values the respective set of candidate scan trajectory sections best matches the image segmentation of the fluorescence image (FI) along the scan trajectory according to an excess contrast-to-noise ratio based segmentation using the determined statistical properties.
In an example the improved method further comprises determining at least one main axis for at least one contour. Subsequently at least one fluorescence signal value vector of fluorescence signal values in the fluorescence image (FI) along a scan line is obtained that is orthogonal to the main axis. Based on information of the contour at points of intersection with the scan line, one or more sections of the scan line are identified where an excess contrast-to-noise ratio exceeds a predetermined level. These scan line sections each comprise a respective first end point indicative for a transition (NT) from normal tissue to tumorous tissue or infected tissue and a respective second end point indicative for a transition (TN) from tumorous tissue or infected tissue to normal tissue.
The present disclosure further provides a further image inspecting method to inspect a luminescence image, in particular a fluorescence image, represented as an array of pixels, NI in number, and having respective fluorescence signal values (FI(p)). The further image method comprising a procedure for indicating in the fluorescence image a border between a target region representing a tumour and a reference region outside the target region. The further image inspection method obtains at least one sequence of respective logarithmic fluorescence signal values of respective subsequent pixels that are arranged along a scan trajectory within the fluorescence image, wherein the scan trajectory starts in a position identified as being part of the reference region in the fluorescence image. The method subsequently computes an indicator for a local linearity of the logarithmic fluorescence signal value as a function of the position in the at least one sequence. The method then identifies a position in the sequence wherein the indicator indicates that the logarithmic fluorescence signal value as a function of the position in the sequence is no longer linear, the identified position being a candidate border position for the border between the normal tissue and the tumor tissue or infected tissue. The method then indicates the border by pixels having an excess contrast-to-noise ratio larger than a predetermined threshold value.
In some examples, an identified contour of the target region is shown on a display, for example superposed on the fluorescence image. This may serve as an aid to a medical specialist to perform an intervention to a selected portion of the tissue corresponding to the target region in the fluorescence image, for example by treating the selected tissue portion with therapeutic radiation, by supplying a pharmaceutical agent for treatment in the selected tissue portion represented in the target region, by selectively activating a pharmaceutical agent for treatment in the selected tissue portion or by excising the selected tissue portion. Instead of superposing the contour on the fluorescence image it also possible to superpose the contour on a natural image of the tissue, i.e. an image that appears to have been taken under ambient light conditions. Therewith the medical specialist can monitor the tissue while performing the medical intervention as if he/she were directly seeing the tissue under ambient light conditions instead of monitoring the fluorescence response of the image. In a still further example the contour is projected onto the tissue.
The present disclosure also provides an improved inspection device for inspection of a luminescence, in particular fluorescence image represented as an array of pixels having respective fluorescence signal values (FI(p)) and configured to carry-out a method as disclosed herein.
In an example, the improved inspection device is further configured to perform the following operations for indicating the border:
First the inspection device obtains respective fluorescence signal vectors (FL( . . . )) for respective scan trajectories (L). Each scan trajectory (L) extends through a tissue area (TA). A scan trajectory is typically a scan line, but may alternatively be a curve.
Respective values of a respective fluorescence signal vector (FL( . . . )) are an indication of a magnitude of the fluorescence signal in the fluorescence image (FI) at respective positions (p) of the scan trajectory (L).
In this example the inspection device evaluates respective excess contrast-to-noise ratio vectors (mCNRLM( . . . )) for respective fluorescence signal vectors (FL( . . . )). Respective values of respective excess contrast-to-noise ratio vectors (mCNRLM( . . . ) are computed for respective positions (p) of the scan trajectory (L) as follows.
Therein FB is a reference fluorescence signal value being an average value of reference fluorescence signal values of the fluorescence image, S being a standard deviation of the reference fluorescence signal values and c being a regularization parameter.
The exemplary image inspection device is configured to repeat the following steps for each of a plurality of positions along the scan trajectory:
In an embodiment the image inspection device is configured to indicate the border as a primary curve that interconnects peripheral candidate border positions.
In another embodiment the image inspection device is configured to indicate the border with a secondary curve that encloses a primary curve that interconnects the peripheral candidate border position, and that extends at a distance outside the primary curve dependent on the type of tumor present in the tissue. Guidelines for the distance to be selected i.e. the tumor-free margin depend on the type of tumor, and are presented in Table 1 of Voskuil et al. “Intraoperative imaging in pathology-assisted surgery”, Nat Biomed Eng. 6 (2022) 503, https://doi.org/10.1038/s41551-021-00808-8. In a further elaboration of this embodiment the image inspection device is configured to construct the secondary curve in a manner that avoids an intersection of specified anatomical structure(s). In an embodiment of the image inspection device the indication of the magnitude of the fluorescence signal in the fluorescence image at a position of the scan trajectory is an average value of fluorescence signal values of pixels in the fluorescence image within a one-dimensional window comprising that position and being directed transverse to a direction of the scan trajectory. This operation results in a magnitude indication with an improved signal to noise ratio in particular in case the scan trajectory crosses the border to be determined in a substantially transverse direction thereof. In a specific example the average value is determined as a weighted sum of the fluorescence signal values of the pixels within a one-dimensional window in accordance with a Gaussian function having its maximum at the position of the scan trajectory.
In an embodiment the image inspection device is configured to repeat the following steps for each of a plurality of positions along the scan trajectory.
The image inspection device tentatively assigns a position from the plurality of positions along the scan trajectory as a presumed point of the border of the target region.
The image inspection device computes the reference fluorescence signal value as the average of the fluorescence signal values of the fluorescence signal vector corresponding to positions of the scan trajectory at a side of the tentatively assigned position.
The image inspection device computes the standard deviation as the standard deviation of the fluorescence signal values along that side of the scan trajectory.
In an example a respective average fluorescence signal value is computed for the scan trajectory positions on the scan trajectory at each side of the tentatively assigned position and the side having the lowest average fluorescence signal value is presumed to be in the reference region. Hence, the lowest average fluorescence signal value is used as the reference fluorescence signal value and the standard deviation used is the standard deviation of the fluorescence signal values along the side of the scan trajectory with the lowest average fluorescence signal value.
The image inspection device identifies the tentatively assigned position as a candidate border position if the excess contrast-to-noise ratio vector has a zero-crossing at the tentatively assigned position.
In this embodiment the plurality of positions may typically include all positions of the scan trajectory except the ends thereof, so that at least two signal values are available to estimate the standard deviation. In an example the image inspection device is configured to perform a low-pass filtering of the excess contrast-to-noise ratio vector. Therewith occurrences of spurious zero-crossings are mitigated.
In an embodiment of the image inspection device the respective scan trajectories comprise at least two scan trajectories with a mutually different direction. The candidate border positions will typically indicate positions where the scan trajectory crosses the border in a direction transverse to the scan trajectory. Accordingly, a more complete set of candidate border position is obtained with scan trajectories of mutually different directions. For example the scan trajectories comprise a first set of scan trajectories in a horizontal direction and a second set of scan trajectories in a vertical direction. This embodiment is computationally very efficient. At the cost of an increased computational effort, additional candidate border positions can be computed with a larger number of scan trajectory directions. For example sets of scan trajectories may be used for each direction being a multiple of n degrees, wherein n for example is 10.
As noted above, the image inspection device may be applied both for in-vivo and ex-vivo analysis. In case the image inspection device is used for ex-vivo analysis, the fluorescence image is obtained from a tissue sample that is taken from the subject and subsequently arranged on a background, typically a dark background. In an embodiment the image inspection device is configured to identify an area in the fluorescence image that represents the tissue sample as the tissue area and to identify an area in the fluorescence image of the background as the background area. In an example of this embodiment the image inspection device is further configured to determine a first maximum intensity in the target area of the fluorescence image, to determine a second maximum intensity along a scan trajectory and to skip further processing steps for the scan trajectory if the second maximum intensity is less than a predetermined fraction of the first maximum intensity.
In an embodiment the image inspection device is alternatively or additionally configured to reject a candidate border position for further processing if an indicated value for the fluorescence intensity is less than a threshold value. The indicated value can be the intensity value of the fluorescence image at the location of the candidate border position to be decided about. However, a reduced noise sensitivity in this candidate border position filtering operation can be achieved in an implementation wherein the indicated value is the maximum of the fluorescence intensities within a window centered around the candidate border position. This is the value that is indicated by the “movmax” function, wherein the size of the window may be selected in a range of 2 to 10 pixels, for example 5 pixels.
In an embodiment the image inspection device comprises a camera for obtaining a fluorescence image from tissue in a subject, and further comprising a display device to display the tissue and one or more indications of the border, e.g. as a primary curve and/or as a secondary curve that encloses the primary curve. This embodiment is particular suitable for use during treatment to guide the medical specialist in the process of excising the tumor or irradiating the tumor. In this case the patient to which the treatment is performed has been administered a fluorescent agent.
In an embodiment, the inspection device is further configured to:
The improved inspection method and the inspection device carrying out the inspection method are for example applicable to process a fluorescence image obtained from a tissue of a subject so as to facilitate a specialist or a surgery device to perform a therapy.
These and other aspects of the present disclosure are described in more detail with reference to the drawings. Therein
The image inspection device 1 has a signal vector retrieval module 10 configured to obtain respective fluorescence signal vectors FL( . . . ) for respective scan trajectories L as indicated by scan trajectory selection module 11. Respective values of a fluorescence signal vector FI ( . . . ) indicate a magnitude of the fluorescence signal in the fluorescence image FI at respective positions p of the scan trajectory L.
An excess contrast-to-noise ratio computation module 12 computes a respective excess contrast-to-noise ratio vector mCNRLM( . . . ) for each fluorescence signal vector FL( . . . ). The corresponding respective values contained in an excess contrast-to-noise ratio vector mCNRLM( . . . ) are computed from a fluorescence signal vector FL( . . . ) for respective positions p of the scan trajectory L as
Therein a statistic module 13 provides a reference fluorescence signal FB which is an average value of reference fluorescence signal values of the fluorescence image and a standard deviation S of the reference fluorescence signal values. Furthermore, c is a regularization parameter. For example c=2.
Zero crossing detection module 14 identifies a respective set of transition positions {pt} along each scan trajectory. These are the positions where the excess contrast-to-noise ratio vector mCNRLM( . . . ) has a zero-crossing.
The scan trajectory selection module 11 selects a plurality of mutually different scan trajectories and for each selected scan trajectory a respective set of transition positions is determined.
The border indication module 15 subsequently indicates the border between the target region TR the reference region RR based on the sets of transition positions obtained for the respective scan trajectories.
In the embodiment shown, the image inspection device 1 further comprises a display module 16, that generates a modified fluorescence image FI″ wherein the border B indicated by the border indication module 15 is superposed on the original fluorescence image FI. In case the original fluorescence image FI is obtained in-vivo, this image can assist the surgeon in the process of excising the tumor or irradiating the tumor with therapeutic radiation.
The scan trajectory selection module 11 subsequently selects scan trajectories L from a set of scan trajectories and instructs the signal vector retrieval module 10 to obtain a fluorescence signal vector of which respective fluorescence signal vector values are an indication of a magnitude of the fluorescence signal in the fluorescence image FI at respective positions p of the scan trajectory L with respective coordinates xp, yp in the fluorescence image FI. In one example the fluorescence signal vector values correspond to the magnitudes of the fluorescence signal in the fluorescence image FI at the respective positions p of the scan trajectory L. In another example the indication FL(p) of the magnitude of the fluorescence signal in the fluorescence image FI at the position of the scan trajectory L is an average value of fluorescence signal values of pixels in the fluorescence image FI within a one-dimensional window comprising the position with coordinates xp, yp and being directed transverse to a direction of the scan trajectory.
Accordingly
Therein the position xq=0, yq=0 coincides with the position xp, yp. By way of example the weight factors are mutually equal, i.e.
In a preferred embodiment the average value is a weighted sum of the fluorescence signal values of the pixels within the one-dimensional window in accordance with a Gaussian function or a similar weighting function having its maximum at the position p of the scan trajectory L.
When using the image inspection device 1 in an intraoperative mode, the fluorescence image FI is obtained from a tissue sample taken from the subject and arranged on a background. In an embodiment the image inspection device 1 comprises a foreground identification module 17 (indicated in dashed lines) with which the image inspection device 1 is configured to identify an area in the fluorescence image that represents the tissue sample as the tissue area and to identify an area in the fluorescence image FI of the background as the non-tissue area. In an example of this embodiment the foreground identification module 17 (indicated by dashed lines) is further configured to determine a first maximum intensity in the tissue area of the fluorescence image FI, to determine a second maximum intensity along a scan trajectory and to skip further processing steps for the scan trajectory if the second maximum intensity is less than a predetermined fraction of the first maximum intensity.
In the embodiment of
The statistic module 13 comprises a vector splitting section 130 that splits the fluorescence signal vector FL ( . . . ) into a first portion FL0 and a second portion FL1. The first portion FL0 comprises the fluorescence signal vector FL( . . . ) data corresponding to a first side of the scan trajectory respective to a position ps of the scan trajectory that is tentatively assigned by position assigning section 131. The second portion FL1 comprises the fluorescence signal vector FL ( . . . ) data corresponding to an opposite side of the scan trajectory respective to the position ps. Each of the portions may or may not include the fluorescence signal vector FL value for the position ps. A first average value computation section 132 computes the average value FB0 of the values of the first portion FL0( . . . ) of the fluorescence signal vector FL ( . . . ). Analogously, the second average value computation section 133 computes the average value FB1 of the values of the second portion FL1( . . . ) of the fluorescence signal vector FL( . . . ). Alternatively a single section may subsequently compute these values FB0, FB1. Decision section 134 determines whether or not the value FB0 exceeds the value FB1. If this is the case it determines that FB=FB1. Otherwise it determines that FB=FB0. Decision section 134 also issues a control signal Son to data selector 135. In the first case, FB=FB1, it controls the data selector 135 to select the second portion FL1( . . . ) of the fluorescence signal vector FL ( . . . ) as the input for the standard deviation computation section 136 so as to compute the standard deviation S from the fluorescence signal data of the second portion FL1( . . . ) of the fluorescence signal vector FL ( . . . ). In the second case, FB=FB0, the data selector 135 is controlled to select the first portion FL0( . . . ) of the fluorescence signal vector FL ( . . . ) as the input. In an embodiment the position assigning section 131 assigns subsequent positions ps of the scan trajectory, and for each tentatively assigned position the corresponding parameters FB and S are determined and used to compute a respective excess contrast-to-noise ratio. In addition, zero crossing detection module 14 specifically selects those tentatively assigned positions as candidate border positions if the excess contrast-to-noise ratio vector (mCNRLM( . . . )) has a zero-crossing at the tentatively assigned position.
An embodiment of the border indication module 15 is shown in more detail in
The border indication module 15 shown therein comprises a candidate border position filter section 150 that is configured to reject a candidate border position for further processing if an indicated value for the fluorescence intensity is less than a threshold value. In an example the indicated value is the maximum of the fluorescence intensities within a window centered around the candidate border position to be decided about. In an example the maximum value is obtained from an auxiliary image FIa that is derived once from the original fluorescence image and stored for subsequent references. The auxiliary image FIa is for example derived in a two-pass procedure, wherein in a first pass for each pixel (x,y) the value FIh (x,y) is determined as
And in a second pass
In an example the threshold value is selected as a percentage of the maximum value over the complete fluorescence image FI. The percentage may be selected in a range of 10-80, more preferably in a range from 40 to 60% depending on the tissue being imaged. For a sample with a smooth surface, such as a bread loaf slice of a tissue 40% is a suitable choice. For samples with a higher surface roughness the percentage should be higher. The size of the window 2w+1 is selected in a range from 2 to 10, wherein 5 was found to be optimal, i.e. corresponding to w=2.
The embodiment of the border indication module 15 shown in
In the embodiment shown, the border indication module 15 comprises a further candidate border position matching section 152 that matches pairs of mutually non-coinciding but neighboring candidate border positions obtained from mutually different scan trajectories, i.e. having a relative angle other than 0 or 180 degrees. The further candidate border position matching section 152 identifies pairs of a first candidate border position obtained from a first scan trajectory and a second candidate border position obtained from a second scan trajectory that have a Euclidian distance less than a predetermined maximum, e.g. 3 pixels and replaces the pair of mutually neighboring candidate border positions with a single replacement candidate border position centrally between the mutually neighboring candidate border positions. It is noted that instead of the Euclidian distance measure also a different distance measure may be taken, for example the L1 measure that computes the distance as the sum of the distances along each of the main direction of the image or the Lx measure that defines the distance as the maximum one of the distances in the main direction.
In the embodiment shown, the border indication module also comprises a candidate border position merging section 153. The candidate border position merging section 153 receives the remaining set {pt}b of candidate border positions from the further candidate border position matching section 152 and merges mutually neighboring ones of the remaining candidate border positions. As indicated by backwards directed arrow “N” the candidate border position merging section 153 may perform this operation a plurality of times. The decision section 154 determines whether the iteration should be stopped “Y” or not “N”. In one example the iteration takes place a predetermined number of times, e.g. 3 to 5 times. In another example the decision section 154 determines whether a data dependent stop criterion is complied with, e.g. the number of remaining candidate border positions is reduced to below a threshold value. The threshold value may be predetermined or may depend on other information. For example the threshold value is a constant times the square root of the total number of pixels within a convex hull comprising all remaining candidate border positions. The border construction section 155 receives the set {pt}n of selected candidate border positions, based on the set of transition positions, from the candidate border position merging section 153 and constructs an indication of the border B.
In an example the border construction section 155 performs the MatLab function boundary (x,y,s). Therein the value s may be selected in a range of 0.1-1, typically in a range from 0.5-1. Best results were obtained a value selected in the range of 0.8 to 1. However the value s=0.5, which is the default value also provides good results.
As shown by dashed lines in
In one example the border construction section 155 is configured to indicate the border B as a primary curve that interconnects the peripheral transition positions.
In another example as shown in
In a variation of the embodiment of
As in the embodiment of
By way of example
In the example shown, tissue from which the fluorescence image is obtained is a slice of the volume of tissue that is excised from a subject. The tumor in this case is a penile cancer and the subject was administered before treatment with cetuximab-IRDye800CW as a fluorescent agent.
Alternatively the fluorescence image is obtained from the excised volume of tissue, i.e. the resection-specimen itself.
In subsequent operations the image inspection device 1 identifies a first area in the fluorescence image that represents the tissue sample as the tissue area and identifies an area in the fluorescence image FI of the background as the background area BA. In an example these operations are performed by the foreground identification module 17.
In a first exemplary operation the foreground identification module 17 converts the fluorescence image FI into a binary image, as shown in
Areas formed by pixels with the first binary value are denoted candidate foreground areas. Areas formed by pixels with the second binary value are denoted candidate background areas.
Subsequently the foreground identification module 17 performs a dilation operation to dilate the candidate foreground areas. Typically a dilation by one pixel is sufficient to avoid that occasionally image data would be lost at edge portions of the tissue. As shown in
In an example the foreground identification module 17 also determines the maximum intensity Imax,fg of the fluorescence image FI in the foreground area (denoted as TA in
As shown in
In an example the scanline selection module 11 determines for each scan trajectory L the maximum of the values of the fluorescence signal vector FL( . . . ) which is denoted as Imax,ln. Also in this example it determines whether or not the maximum intensity Imax,ln is at least equal to a predetermined percentage, e.g. about 10%, of the maximum intensity Imax, fi of the foreground area of the fluorescence image as a whole. Experiments were performed for various values of the predetermined percentage selected from 0, 1, 10, 33 and 50%. Best results were obtained with 33 as the predetermined percentage.
If in this example, it is determined that the maximum intensity Imax, ln found among the values of the fluorescence signal vector FL( . . . ) is less than the predetermined percentage of the maximum intensity Imax, fi the scan trajectory L is not selected for further processing. This deselection is based on the assumption that the lack of high intensity pixels along the scan trajectory indicates the absence of tumor tissue in the path through the tissue corresponding to the scan trajectory. The predetermined percentage may be selected in a range of 10% to 50%. Experiments indicated a percentage of 40 as optimal.
However, if it is determined that the maximum intensity Imax, ln found among the values of the fluorescence signal vector FL( . . . ) is at least equal to the predetermined percentage of the maximum intensity Imax,fi, the excess contrast-to-noise ratio computation module 12 computes an excess contrast-to-noise ratio vector mCNRLM( . . . ) for a fluorescence signal vector FL( . . . ). Based on the excess contrast-to-noise ratio vector mCNRLM( . . . ) data one or more positions are estimated where the scan trajectory traverses a border between a sub-area with healthy tissue and a sub-area with tumor tissue. A position where the scan trajectory traverses a border in the direction from a sub-area with healthy tissue to a sub-area with tumor tissue is characterized by a zero-crossing in a direction from a negative polarity to a positive polarity of the excess contrast-to-noise ratio vector mCNRLM( . . . ) and a position where the scan trajectory traverses a border in the direction from a sub-area with tumor tissue to a sub-area with healthy tissue is characterized by a zero-crossing in a direction from a positive polarity to a negative polarity.
In one example the excess contrast-to-noise ratio computation module 12 computes the excess contrast-to-noise ratio vectors mCNRLM( . . . ) based on respective predetermined values for the background intensity FB and the standard deviation S. This implementation is advantageous for the sake of a relatively low computational complexity. An alternative implementation with which the border can be determined with improved precision comprises the following procedure which is repeated for each pixel xs along the scan trajectory, excluding the ends of the scan trajectory. For simplicity it is presumed now that the scan trajectory extends in the x-direction and that the boundaries of the scan trajectory on the foreground with the background are x0, x1 respectively. Nevertheless, this description is equally applicable for arbitrary directions.
In this improved procedure it is presumed that the selected pixel xs coincides with the border, and that all pixels on the scan trajectory on a first side of the selected pixel xs represent tumor tissue and all pixels on the scan trajectory on a second side (opposite to the first side) of the selected pixel represent healthy tissue.
Based on this presumption, the vector splitting section 130 splits the fluorescence signal vector FL ( . . . ) into a first portion FL0 and a second portion FL1. The first portion FL0 represents the portion of the scan trajectory between the first endpoint, here with x coordinate x0, and the tentatively assigned border position xs. The second portion FL1 represents the portion of the scan trajectory between the tentatively assigned border position xs and the second endpoint, here with x coordinate x1.
Based on this presumption, the first average value computation section 132 computes an average value FB0 of the values of the first portion FL0 of the fluorescence signal vector FL ( . . . ). Likewise the second average value computation section 133 computes an average value FB1 of the values of the second portion FL1 of the fluorescence signal vector FL ( . . . ).
Hence if ps (here xs) is the tentatively selected position on the scan trajectory and p0 (here x0) and p1 (here x1) are the positions of the end pixels then at each side of that position ps the average value of the intensities is determined as follows.
The tumor is considered to be represented in the pixels of the scan trajectory at the side of ps having the highest average intensity. The pixels on the scan trajectory on the opposite side, having the lowest average intensity are considered to represent the background. This determined by decision section 134. Based on this presumption the average value FB and the standard deviation S of the pixel values of the pixels on the scan trajectory on the second side of the selected pixel are computed.
Hence, if FB0>FB1 then it is presumed that the tumor is represented in the range p0-ps and the value FB1 represents the presumed average background intensity level FB. In this case decision section 134 by means of selection signal Son causes data selector 135 to select the second portion FL1 of the fluorescence signal vector FL ( . . . ) as the input for the standard deviation computation section 136. Accordingly in that case the standard deviation S is estimated as:
Alternatively, if FB0≤FB1 then it is presumed that the tumor is represented in the range ps-p1 and the value FB0 represents the presumed average background intensity level FB. In this case decision section 134 by means of selection signal Son causes data selector 135 to select the first portion FL0 of the fluorescence signal vector FL ( . . . ) as the input for the standard deviation computation section 136. Accordingly in that case the standard deviation S is estimated as:
Based on values for the average background intensity FB and the standard deviation S, estimated for a tentatively assigned position ps, the excess contrast-to-noise ratio computation module 12 computes the excess contrast-to-noise ratio mCNRLM(p) as
Accordingly, for each presumed ps a vector mCNRLM( . . . ) is obtained, resulting in a matrix wherein each row represents the values of mCNRLM( . . . ) computed for a particular tentatively assigned position ps.
By way of example
Therewith the excess contrast-to-noise ratio vector mCNRLM( . . . ) is computed from the values of the fluorescence signal vector FL(p) as shown in
With this input, the zero crossing detection module 14 determines for which values of the tentatively assigned position ps the excess contrast-to-noise ratio vector mCNRLM( . . . ) obtained for that position ps indeed has a zero-crossing. The corresponding positions of the scan trajectory in the fluorescence image FI are considered to represent candidate border positions. In the example shown in
It is noted that a low pass filter may be applied to each excess contrast-to-noise ratio vector mCNRLM( . . . ) prior to identifying zero-crossings therein for the purpose of eliminating spurious zero-crossings resulting from noise. In an example the low pass filter has a normalized passband frequency of less than 0.5, typically less than 0.1. Optimum results were obtained with a normalized passband frequency of 0.045.
As such it is sufficient to determine only the presence of a zero-crossing at the position p of the excess contrast-to-noise ratio vector mCNRLM( . . . ) coinciding with the tentatively assigned position ps. I.e. it is sufficient to compute the excess contrast-to-noise ratio vector mCNRLM( . . . ) only in the neighborhood of the position ps, optionally taking into account a window of a low-pass filter. However, it can be advantageous to completely compute each excess contrast-to-noise ratio vector mCNRLM( . . . ), so that subsequent operations can be easily performed in parallel using a vector processor.
It is noted that output of the zero crossing detection module 14 may comprise a set with a plurality of candidate border positions {pt}. A set of candidate border positions may comprise a first candidate border position where the scan trajectory crosses the border in the direction from the area in the image representing the healthy tissue to the area representing the tumor containing tissue and a second candidate border position where the scan trajectory crosses the border in the direction from the area representing the tumor containing tissue to the area in the image representing the healthy tissue. The set may be empty if the scan trajectory does not enter the area representing the non-healthy tissue. In some cases the border of the image area representing the tumor containing tissue and the image area representing the healthy tissue is concave. In these cases the zero crossing detection module 14 may identify a plurality of pairs of candidate border positions for a scan trajectory.
As shown in
In some embodiments all scan trajectories are parallel. This complicates however the detection of a tissue border that extends in the same direction as the scan trajectories.
This can be avoided by performing the procedure with at least two sets of scan trajectories with a mutually different direction. In an example subsequent sets of scan trajectories have directions differing by 45 degrees.
The total number of pixels of the scan trajectories should cover at least a predetermined fraction of the total number of pixels in the foreground area.
If a scan trajectory represents a strip of pixels, the predetermined fraction can be relatively small.
The zero crossing detection module 14 repeats the zero-crossing estimation procedure for all scan trajectories resulting in a plurality of candidate border positions of a border between healthy and non-healthy tissue.
In an example the border indication module 15 compares candidate border positions of respective scan trajectories with candidate border positions of respective overlapping scan trajectories that extend in the opposite direction. In this example the border indication module 15 determines which candidate border positions of a first scan trajectory match with a candidate border position of the overlapping oppositely directed scan trajectory. A pair of candidate border positions is determined as matching if they coincide or are close to each other, that is their Euclidean distance is at most a distance threshold value, e.g. a value selected from the range of 1 to 10. Best results were obtained with a value in the range of 2-5. In case the mutually overlapping oppositely directed scan trajectories extend along a main coordinate axis x,y of the image the Euclidian distance measure reduces to the absolute difference between the coordinate values of the candidate border positions to be compared. In an implementation the border indication module 15 then eliminates those candidate border positions that do not have a matching candidate border position in the overlapping oppositely directed scan trajectory. Exemplary results of this operation are shown in
A further implementation of the border indication module 15 of this example also performs a merging operation. That is, if it detects a pair of candidate border positions obtained from a pair of mutually overlapping oppositely directed scan trajectories that do not coincide but that are close enough to comply with the distance threshold then it replaces the pair of candidate border positions with a single candidate border position having a position centered between the two original candidate border positions. Results of this operation are shown in
In a variation the original candidate border positions are associated with a confidence indication. The confidence indication is based for example on the magnitude of the gradient found for the gradient of the fluorescence signal vector FL( . . . ) of the scan trajectory with which the original candidate border position was obtained. A higher magnitude of the gradient is indicative for a higher confidence of the location of the border position. In an example the single candidate border position is located closer to the original candidate border position having the highest confidence indication.
In an embodiment, the border indication module 15 performs an operation to eliminate isolated candidate border positions. In this embodiment the border indication module 15 identifies a candidate border position as an isolated candidate border position if there is no other candidate border position in the complete set of candidate border positions within a predetermined distance from that candidate border position. The predetermined distance may be the same as the predetermined distance in the previously mentioned operation wherein it is determined whether or not a candidate border position obtained with a scan trajectory matches a candidate border position of an overlapping scan trajectory in the opposite direction. Exemplary results of this elimination operation are shown in
In an embodiment the border indication module 15 performs an operation wherein it merges respective pairs of candidate border positions that are within a threshold distance from each other into a respective single candidate border position. Contrary to the merging procedure described for merging pairs of candidate border positions obtained from mutually overlapping oppositely directed scan trajectories, the present merging procedure is applied to any pair of candidate border positions in the available set of candidate border positions that are within the specified threshold distance for this operation. The specified threshold distance for this operation may also be selected from a range of 2-5.
Subsequently a border is constructed in the fluorescence image based on the set of candidate border positions obtained for the respective scan trajectories. This border is indicative for a margin in the tissue between the tumor and the healthy part of the tissue.
In an embodiment the constructed border is a primary curve that interconnects the peripheral candidate border positions. The primary curve in the fluorescence image is to indicate the edge of the high fluorescence area itself. In an example wherein the fluorescence image is obtained from a tumor containing tissue that has been rendered fluorescent with a sufficiently specific tracer, the edge of the high fluorescent area is likely to coincide with the margin of the tumor.
In another embodiment the border is constructed as a secondary curve that encloses a primary curve that interconnects the peripheral transition positions, and that extends at a distance outside the primary curve dependent on the type of tumor present in the tissue. The secondary curve indicates a region that should be treated or be excised. Typically this secondary curve encloses the primary curve at a predetermined distance outside the primary curve dependent on the type of tumor tissue. In an embodiment locally the distance between the secondary curve and the primary curve is smaller than the predetermined distance, so as to avoid an intersection of a specified anatomical structure.
From the exemplary results presented in this example, it was concluded that the border B constructed from the filtered set {pt}a of candidate border positions best matched the margin of the tumor indicated by a pathologist. For example for the fluorescence image obtained in-vivo the border constructed as shown in
From the exemplary results presented in example III, it was concluded that the border B constructed from the filtered set {pt}a of candidate border positions best matched the margin of the tumor indicated by a pathologist. For example for the fluorescence image obtained in-vivo the border constructed as shown in
In preparatory step S1 the mammal tissue is rendered photosensitive with a fluorescent agent. The fluorescent agent serves to visualize different types of tissue such as tumor tissue and tumor free tissue. In one example the fluorescent agent is a targeted fluorescent tracer such as Cetuximab-IRDye800CW or hexyl aminolevulinate, also briefly referred to as hexvix for imaging tumor tissue and/or infection and track medicinal therapy. In another example, the fluorescent agent is an untargeted fluorescent dye such as Indocyanine green (ICG) for imaging tissue perfusion. The excitation light with which the tissue is to be irradiated, in-vivo or ex-vivo is typically in the infra-red range. A fluorescent agent can be administered to the patient or may be used to impregnate the tissue.
In preparatory step S3 the mammal tissue being rendered photosensitive with the fluorescent agent is irradiated with excitation light and in preparatory step S4 a fluorescence image is captured of the mammal tissue. The fluorescence image comprises an array of pixels having respective fluorescence signal values. The fluorescence signal values comprise a first number of fluorescence signal values representing the mammal tissue in the fluorescence image. The first number is the number of pixels of the fluorescence image (FI) if only the mammal tissue is captured in the image, but can a smaller number if for example also a background is present in the image.
In step S6 of the improved inspection method a reference value is determined such that a second number of fluorescence signal values comprised in the first number of fluorescence signal values, is smaller than or equal to the reference value and the remainder of the first number of fluorescence signal values exceeds the reference value. The second number is a predetermined fraction of the first number.
In step S7 an average fluorescence signal value μR and a standard deviation OR is determined is determined of the fluorescence signal values comprised in the second number of fluorescence signal values.
In step S8 an image segmentation is performed to distinguish in the fluorescence image FI a target region TR and a reference region RR to denote a remaining portion in the mammal tissue MT. This step is performed pixelwise. That is, it is determined per pixel (p) that it is part of the target region TR if an excess contrast-to-noise ratio mCNR (p) for the pixel exceeds a predetermined threshold value (TCNR) and it is determined that the pixel is part of the reference region RR otherwise. Therein the excess contrast-to-noise ratio mCNR (p) of a pixel is defined as
Therein FI(p) is the fluorescence signal value of the pixel (p) and c is a regularization parameter. Optimal values are a threshold value of 1 and a value 2 for the regularization parameter c.
In step S9 at least one contour B of the target region TR is identified. In one example the at least one contour comprises a primary contour B that indicates a border of the target area with the reference area. In another example the at least one contour comprises a secondary contour that extends at a distance outside a border of the target area with the reference area to extend the target area with a safety area, to mitigate the risk that tissue near the target area that appears to be normal later develops into tumor tissue. In a specific implementation of the secondary contour B′ extends at a distance outside the border in a manner that avoids an intersection of a specified anatomical structure. In an example both the primary contour and the secondary contour are identified.
An embodiment of the improved method is described with reference to
Therein min, max respectively are the minimum fluorescence value and the maximum fluorescence value of all fluorescence values in the fluorescence image.
In the preliminary image segmentation S5 it is determined per pixel whether or not its fluorescence signal value (FSV) significantly exceeds an average background fluorescence signal value. If it is determined that a fluorescence signal value (FSV) of a pixel significantly exceeds the average background fluorescence signal value then that pixel is classified as part of the foreground region otherwise it is determined as part of the background region. As an example it is determined that a fluorescence signal value (FSV) of a pixel significantly exceeds the average background fluorescence signal value if a difference between its fluorescence signal value (FSV) and the background fluorescence signal value exceeds a regularization parameter times the standard deviation of the fluorescence signal values of the background. The regularization parameter is for example greater than 1, for example in a range of 1.05 to 5, for example about 2.
In one example the average fluorescence signal value and the standard deviation are estimated in a calibration step, wherein prior to capturing the fluorescence image a calibration fluorescence image is captured of the background only and the average fluorescence signal value and the standard deviation are determined are determined of the fluorescence signal values in the calibration fluorescence image.
A rough but useful estimation of the average fluorescence signal value can obtained as specified in equations (3a), (3b) above.
In the example shown in
μest≈5.18;σest≈1.59
Based on this estimation pixels having a fluorescence value of at least 8.36 were identified as foreground FG, i.e. representing the mammal tissue and pixels having a lower fluorescence value as background BG.
Based on these statistical properties an image segmentation is performed to distinguish in the fluorescence image a target region TR and a reference region RR, wherein the reference region denotes a remaining portion in the mammal tissue other than that denoted by the target region. In
Therein FI(p) is the fluorescence signal value of the pixel (p) and c is a regularization parameter. In the present example c has the value 2 and the predetermined threshold value (TCNR) has the value 1.
The method as described above can be used in combination with a scanline based method. An example of a scan trajectory based method is schematically illustrated in
The inspection method illustrated therein comprises a step S10 wherein at least one fluorescence signal value vector of fluorescence signal values in the fluorescence image along a scan trajectory is obtained. For practical purposes the scan trajectory is typically a line aligned with a principle axis of the fluorescence image.
In step S11 for a threshold value ts one or more candidate scan trajectory sections (typically scanline sections) are determined in which the fluorescence signal value exceeds the threshold value ts. This is repeated for a plurality of threshold values. In step S12 it is verified whether or not the procedure has been performed for all threshold values of the plurality.
The remaining sections of the scan trajectory are considered as reference sections, and statistical properties are derived of the fluorescence signal values of the pixels forming part thereof. Typically the average value μrs and the standard deviation σrs of these fluorescence signal values are determined. As the value found for these statistical properties depends on the selection of the threshold value ts, they can be written as μrs (ts) and σrs (ts) respectively.
Having determined these statistical properties it is determined which of the pixels (p) on the scan trajectory comply with the requirement mCNR(p)≥tr, wherein:
Therein c is a regularization parameter that is selected from a range of 1.5 to 3, for example about 2 and tr is a threshold, for example of a value 1. In step S13 it is determined for which threshold value ts of the plurality of threshold values the respective set of candidate scan trajectory sections best matches the set of one or more scan trajectory sections that are obtained using the mCNR requirement referred to above. In an example the extent to which the identified scan trajectory sections match is determined by the F-measure as specified above.
Alternatively, an optimal value topt is determined as
In the embodiment of
In the embodiment shown the procedure in steps S10-S14 is also repeated for a plurality of sets of scan trajectories. To that end it is verified in step S15 whether the steps S10-S14 have been performed for sets of scan trajectories, for example for the set of horizontal scanlines and vertical scanlines.
The method of
In another example the method of
In a still further example, the method of
A suitable definition of the main axis is a line segment that minimizes an average distance measure between that line segment and the points of the contour. As an example the distance measure is the Euclidian distance measure but other options are available too. A main axis can be found with the OpenCV tool “fitLine”.
For practical purposes, the fluorescence image (FI) is rotated prior to performing the method of
In the method of
The method of
For each threshold value, the statistical properties the statistical properties μrs and σrs are estimated from the fluorescence signal values in the one or more reference sections of the scan trajectory, and based on these statistical properties an alternative partitioning of the scan trajectory is determined according to the mCNR criterion. The threshold topt is identified for which the threshold based partitioning best matches the mCNR-based partitioning using the statistical properties of the one or more reference sections.
As shown in
As another example,
The upper part of
The fluorescence image (FI) rotated in this manner can be optimally scanned with scanlines directed according to the x-axis. Furthermore the location of the contour C1 can provide heuristic information that reduces the scanline based approach in
In the example shown in the upper part of
The upper part of
The lower part of
In an additional or alternative processing step, clusters of points having a maximum pixel intensity less than a reference value are rejected. The reference value is for example the global intensity mean plus a factor of the standard deviation, as a modifiable parameter. In a further additional or alternative processing step a cluster of points is rejected if its area (to be computed) is lower than a certain fraction of the total image area.
The inspection device 1 comprises a reference value determination module 18 that is configured to determine a reference value IR such that a second number N2 of fluorescence signal values comprised in the first number of fluorescence signal values is smaller than or equal to the reference value IR and the remainder of the first number of fluorescence signal values exceeds the reference value. In one example the second number is a predetermined fraction of the first number for example the N2/N1=0.5, in which case the reference value is the median. A statistical property evaluation module 12 determines an average fluorescence signal value (μR) and a standard deviation (σR) of the fluorescence signal values comprised in the second number N2 of fluorescence pixel values.
A segmentation module 19 performs an image segmentation to distinguish in the fluorescence image (FI) a target region (TR) to denote a portion in the mammal tissue (MT) that is identified as tumorous tissue and a reference region (RR) to denote a remaining portion in the mammal tissue (MT). The segmentation module operates in a pixelwise manner in that it determines per pixel (p) that it is part of the target region (TR) if an excess contrast-to-noise ratio mCNR (p) for said pixel exceeds a predetermined threshold value (TCNR) and to determine that the pixel is part of the reference region (RR) otherwise, wherein the excess contrast-to-noise ratio mCNR (p) of a pixel is defined as
The segmentation module 19 further is configured to identify a contour C of the target region. The contour C is a primary contour that indicates a border of the target area with the reference area. The segmentation module 19 further is configured to identify a secondary contour C′ that extends at a distance outside a border of the target area with the reference area. In the example shown the segmentation module 19 is configured to generate the secondary contour C′ such that it extends at a distance outside the border in a manner that avoids an intersection of a specified anatomical structure.
The present invention renders it possible to more accurately identify a contour of an affected tissue, e.g. a tissue affected by a tumor, or an infected tissue. A precise knowledge of the location of the contour is of crucial importance for treatment. This is for example important for surgical removal of an affected tissue, to ascertain that no affected tissue remains after surgery, but also to ascertain that not more healthy tissue is removed than necessary. Likewise the precise knowledge of the location of the contour is crucial for applying photodynamic therapy. Therewith a therapeutic substance is locally activated within the region of the tissue that is indicated as affected. Outside the indicated region the therapeutic substance is not activated, so as to mitigate damage of healthy tissue.
In one example, the therapeutic substance may be activated to act as a chemotherapeutic agent within a region indicated as comprising a tumor. In another example the therapeutic substance may be activated to have an antimicrobial activity within a region indicated as comprising a infected tissue.
The photodynamic therapy hence involves at least the following steps. A fluorescence image is obtained in-vivo of a mammal tissue that has been rendered photosensitive with a fluorescent agent and irradiated with excitation light. The so obtained fluorescence image comprises an array of pixels having respective fluorescence signal values.
The fluorescent agent is used to visualize affected tissue, such as tumor tissue or an infected tissue. In one example the fluorescent agent is a targeted fluorescent tracer such as Cetuximab-IRDye800CW or hexvix for imaging tumor tissue and/or infection and track medicinal therapy. In another example, the fluorescent agent is an untargeted fluorescent dye such as Indocyanine green (ICG) for imaging tissue perfusion.
Exemplary agents for imaging an infected tissue are vancomycin-IRDye800CW and 1D9-IRDye800CW. Therein 1D9 is a monoclonal antibody against Staphylococcus aureus (including MRSA). Further examples are presented in the references included in the ANNEX.
An example of the latter application is illustrated in
The first sample I is a sterile foam, wherein further no tracer is present.
The second sample, foam II has been immersed in a solution comprising a Staphylococcus aureus culture but not comprising a tracer.
The third sample, foam III has been immersed in a solution comprising a Staphylococcus aureus culture and using an amount of 10 μL of a tracer tIRDye800CW solution.
The fourth sample. Foam IV has been immersed in a sterile solution comprising the tracer tIRDye800CW.
The fifth sample, foam V has been immersed in a solution comprising a Staphylococcus aureus culture and an amount of 20 μL of a tracer tIRDye800CW solution.
According the reference value used in step S7 to determine the average fluorescence signal value μR and the standard deviation OR is such that a fraction Q of the pixels have a fluorescence intensity less than the reference value and the fraction 1−Q has a fluorescence intensity greater than or equal to the reference value. It has been found that best results are obtained with a value Q=0.70.
As part of the present research the inventors conjectured that the fluorescent radiation observed at the border of an affected tissue, e.g. a tumorous tissue or an infected tissue, is stray radiation, i.e. fluorescent radiation that originates from the affected tissue that is scattered in the healthy tissue near the border. The inventors further conjectured that as a result, the intensity of the fluorescent radiation is expected to decline in a direction away from the border according to an exponential function i.e.
Wherein I0 is the intensity measured at a position of the border of the affected tissue, and I(d) is the intensity at a position in the healthy tissue at a distance d from the border position, and wherein a is a constant. Based on this observations the following method is described with reference to
Accordingly, the function log (I(x)) is expected to have linear portions for areas in the healthy tissue, near the affected tissue. To identify these areas, the linearity of the function log (I(x)) as a function of x is determined by matching the curve in a sliding window with a linear function. By way of example the sliding window has length of 30 pixels and a linear function is matched with least squares method. Also a different length may be applicable, however the length should not be too small, in order to have an adequate signal to noise ratio. Preferably the length is at least 10 pixels. In order to have a sufficiently high resolution, the length should not be too large. However, this depends on the resolution of the image (mm·pixel−1). For the present case, wherein the resolution is 85 μm, the length of the sliding window is preferably not larger than 70 pixels. However, in case the resolution is higher with a certain factor, then also the maximum length of the window can be larger with that factor. The sliding window is symmetric to avoid a bias in the Linearity function. However, it may be contemplated to use an asymmetric window instead and to compensate the bias.
In
At this point is the transition from the region wherein the function log (I(x)) linearly increases to the region wherein the function log (I(x)) assumes a more constant value. The point A′ indicates the position along the scanline where the more constant value has been achieved. Likewise a location where the affected tissue borders the health tissue at a position right of B can be determined.
The method may be repeated with different scanlines. For example in this case, wherein the scanlines extend in the direction x, the border positions can be determined for respective scanlines with different y-coordinates, to estimate the contour of the affected tissue within the healthy tissue. The method may alternatively or additionally be applied with scanlines in different directions
The method as described with reference to
Alternatively the method as described with reference to
In summary, the inspection method as elucidated herewith with reference to
It is presumed that a fluorescence image has been captured of a mammal tissue that has been rendered photosensitive with a fluorescent agent and irradiated with excitation light, the fluorescence image (FI) comprising an array of pixels having respective fluorescence signal values.
The fluorescence image may be obtained ex-vivo so as to verify that an affected tissue has been completely removed during surgery. Alternatively the fluorescence image may be obtained in-vivo for the purpose of assisting a surgeon during operation.
The fluorescent agent is used to visualize affected tissue, such as tumor tissue or an infected tissue. Exemplary agents for imaging an infected tissue are vancomycin-IRDye800CW and 1D9-IRDye800CW. Therein 1D9 is a monoclonal antibody against Staphylococcus aureus (including MRSA). Further examples are presented in the references included in the ANNEX.
At least one sequence of fluorescence values I(x) is obtained from pixels along positions x of a scan path. A logarithmic value is determined of each of the values of the sequence of fluorescence values I(x). Alternatively it may be contemplated to compute the logarithmic value of all fluorescence values I(x) in the image and to subsequently obtain a sequence of logarithmic values log (I(x)) from pixels along positions x of a scan path. However it is generally preferred to first obtain the sequence of fluorescence values and to subsequently apply the logarithmic function so that the logarithmic function need not be applied to pixels that are not involved in the computation.
Then it is determined to which extent a sequence of logarithmic values log (I(x)) locally approximates a linear function.
A transition from healthy tissue to affected tissue boundary is estimated at a location where the linearity starts to decrease significantly, e.g. decreases below a threshold value, e.g. 0.95.
The scan path can be a scanline in an arbitrary direction but may alternatively be a curved path. Nevertheless a scan line or a scan path with a negligible curvature is preferred to avoid that the curvature of the path would affect the linearity of a sequence of values in the boundary regions.
Number | Date | Country | Kind |
---|---|---|---|
23154545.0 | Feb 2023 | EP | regional |
2034294 | Mar 2023 | NL | national |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/NL2024/050114 | Mar 2024 | WO |
Child | 18780009 | US |