Characterizing a sample by material basis decomposition
10969220 · 2021-04-06
Assignee
Inventors
Cpc classification
International classification
Abstract
A method for characterizing a sample, by estimating a plurality of characteristic thicknesses, each being associated with a calibration material, including acquiring an energy spectrum (S.sup.ech) transmitted through this sample, located in an X and/or gamma spectral band; for each spectrum of a plurality of calibration spectra (s.sup.base(L.sub.k; L.sub.t)) calculating a likelihood from said calibration spectrum (S.sup.base(L.sub.k; L.sub.t)), and from the spectrum transmitted through the sample (S.sup.ech), each calibration spectrum (S.sup.base(L.sub.k; L.sub.t)) corresponding to the energy spectrum transmitted through a stack of gauge blocks, each formed of a known thickness of a calibration material; estimating the characteristic thicknesses (L.sub.1, L.sub.2) associated with the sample according to the criterion of maximum likelihood.
Claims
1. A method for characterization of a sample, the method comprising: acquiring, by circuitry comprising a memory and a detector connected to a processor, a spectrum transmitted through the sample, said spectrum being an energy spectrum defined by a number of photons transmitted through the sample in each channel of a plurality of energy channels located in an X spectral band and/or a gamma spectral band; acquiring, by said memory, calibration spectra, wherein each of the calibration spectra corresponds to a calibration spectrum transmitted through a stack of gauge blocks, each gauge block of said stack consisting of a different calibration material, and said stack consisting of a different set of thicknesses for each of the gauge blocks; calculating, by said circuitry, values of a likelihood function from said acquired calibration spectra and from the spectrum transmitted through the sample; determining, by said circuitry, a maximum likelihood value from among the calculated values of the likelihood function, the determined maximum likelihood value corresponding to an acquired calibration spectrum corresponding to a stack of gauge blocks, each gauge block of the stack consisting of a different calibration material, the acquired calibration spectrum being most similar to the acquired spectrum transmitted through the sample; and outputting, from the circuitry, a plurality of estimated characteristic thicknesses, each of the outputted estimated characteristic thicknesses being associated with a different calibration material, wherein each different calibration material making up a gauge block from the stack of gauge blocks of the acquired calibration spectrum corresponding to said determined maximum likelihood value, the method further comprising: interpolating the calculated values of the likelihood function by a likelihood interpolation function, said interpolated calculated values being associated with combinations of predetermined thicknesses of respective calibration materials, such that for each respective calibration material a corresponding set of thicknesses is located within a first interval associated with the respective calibration material; searching for a maximum among calculated values of said likelihood interpolation function, thicknesses associated with said maximum among the calculated values of the likelihood interpolation function forming approximate values of the plurality of estimated characteristic thicknesses of the respective calibration materials; interpolating the calibration spectrum by a spectrum interpolation function depending on at least one variable, said at least one variable corresponding to a thickness of said each calibration material, and taking values located within a second respective interval, narrower than the first interval associated with the respective calibration material and centred on an approximate value of said approximate values; and for each value of said spectrum interpolation function, calculating a value of the likelihood function and searching for a maximum among said calculated values of the likelihood function, thicknesses associated with the maximum among the calculated values of the likelihood function for each value of the spectrum interpolation function forming the plurality of estimated characteristic thicknesses of the respective calibration materials.
2. The method according to claim 1, wherein said outputting the plurality of estimated characteristic thicknesses comprises searching for the maximum likelihood value from among the calculated values of the likelihood function, the thicknesses associated with the maximum likelihood value from among the calculated values of the likelihood function forming the plurality of estimated characteristic thicknesses.
3. The method according to claim 1, wherein at least one of the interpolating the calculated values of the likelihood function and the interpolating the calibration spectrum implements a non-linear interpolation function.
4. The method according to claim 1, wherein the likelihood function is determined from a statistical modelling of the spectrum transmitted through the sample, according to a Poisson distribution.
5. The method according to claim 1, wherein the likelihood function calculated from said calibration spectrum and from the spectrum transmitted through the sample, is defined by:
6. The method according to claim 1, wherein at least one calibration spectrum corresponding to the spectrum transmitted through an additional standard is used, the additional standard consisting of a determined thickness of a reference material, wherein the reference material is different from each of the calibration materials, and wherein the additional standard is associated with a virtual combination of predetermined thicknesses of calibration materials such that at least one thickness in the virtual combination takes a negative value.
7. The method according to claim 1, wherein a step of manufacturing a calibration basis comprising said calibration spectrum is carried out, comprising: measuring spectra transmitted through each of a plurality of the stacks of gauge blocks, each gauge block consisting of a predetermined thickness of a different calibration material; for at least one additional standard, measuring a spectrum transmitted through the at least one additional standard, the at least one additional standard consisting of a determined thickness of a reference material, wherein the reference material is different from each of the calibration materials, and wherein the at least one additional standard is associated with a virtual combination of predetermined thicknesses of calibration materials such that at least one thickness in the virtual combination takes a negative value; and ranking of the spectra transmitted through said each of the plurality of the stacks of gauge blocks and of the spectrum transmitted through the at least one additional standard into a single database connecting a spectrum to a combination of thicknesses of the calibration materials.
8. The method according to claim 1, comprising calculating a mean effective atomic number of the sample as a function of the plurality of estimated characteristic thicknesses.
9. The method according to claim 8, wherein the mean effective atomic number is lower than 30.
10. A non-transitory computer-readable storage medium, storing computer-readable instructions thereon, which, when executed by a processor, cause the processor to perform the method according to claim 1.
11. A device for characterizing a sample, comprising: an electromagnetic source emitting into an X spectral band and/or a gamma spectral band; the detector configured to measure a spectrum transmitted through the sample, said spectrum being defined by a number of photons transmitted through the sample in each channel of a plurality of energy channels; the processor configured to implement the method according to claim 1; and a memory receiving the calibration spectrum and being connected to the processor.
12. The method according to claim 1, further comprising calculating a mean effective atomic number of the sample and determination of a function ƒ such that:
Z.sub.eff=f(ρ.sub.1{circumflex over (L)}.sub.1.sup.ech, ρ.sub.2{circumflex over (L)}.sub.2.sup.ech, . . . , ρ.sub.M{circumflex over (L)}.sub.M.sup.ech) with M being a number of calibration materials, ρ.sub.i being density of a calibration material i, and {circumflex over (L)}.sub.i.sup.ech being an estimated characteristic thickness associated with the calibration material i.
13. The method according to claim 12, wherein the function ƒ is defined by:
14. The method according to claim 12, wherein the function ƒ is defined by:
15. A method for characterization of a sample, the method comprising: acquiring, by circuitry comprising a memory and a detector connected to a processor, a spectrum transmitted through the sample, said spectrum being an energy spectrum defined by a number of photons transmitted through the sample in each channel of a plurality of energy channels located in an X spectral band and/or a gamma spectral band; acquiring, by said memory, calibration spectra, wherein each of the calibration spectra corresponds to a calibration spectrum transmitted through a stack of gauge blocks, each gauge block of said stack consisting of a different calibration material, and said stack consisting of a different set of thicknesses for each of the gauge blocks; calculating, by said circuitry, values of a likelihood function from said acquired calibration spectra and from the spectrum transmitted through the sample; determining, by said circuitry, a maximum likelihood value from among the calculated values of the likelihood function, the determined maximum likelihood value corresponding to an acquired calibration spectrum corresponding to a stack of gauge blocks, each gauge block of the stack consisting of a different calibration material, the acquired calibration spectrum being most similar to the acquired spectrum transmitted through the sample; and outputting, from the circuitry, a plurality of estimated characteristic thicknesses, each of the outputted estimated characteristic thicknesses being associated with a different calibration material, wherein each different calibration material making up a gauge block from the stack of gauge blocks of the acquired calibration spectrum corresponding to said determined maximum likelihood value, the method further comprises interpolating the calibration spectrum by a spectrum interpolation function, said calibration spectrum being associated with combinations of predetermined thicknesses of respective calibration materials, such that for each respective calibration material a corresponding set of thicknesses is located within a first interval associated with the respective calibration material; for each value of said spectrum interpolation function, calculating a value of the likelihood function and searching for a maximum among said calculated values of the likelihood function, thicknesses associated with the maximum among the calculated values of the likelihood function for each value of the spectrum interpolation function forming approximate values of the plurality of estimated characteristic thicknesses of the calibration materials; interpolating the calculated values of the likelihood function by a likelihood interpolation function depending on at least one variable, each of said at least one variable corresponding to a thickness of said each calibration material, and taking values located within a second respective interval, narrower than the first interval associated with the respective calibration material and centred on one of said approximate values of the plurality of estimated characteristic thicknesses of the respective calibration material; and searching for a maximum among calculated values of said likelihood interpolation function, thicknesses associated with said maximum among the calculated values of the likelihood interpolation function forming the estimated characteristic thicknesses of the calibration materials.
16. The method according to claim 15, wherein at least one of the interpolating the calculated values of the likelihood function and the interpolating the calibration spectrum implements a non-linear interpolation function.
17. The method according to claim 15, wherein the likelihood function is determined from a statistical modelling of the spectrum transmitted through the sample, according to a Poisson distribution.
18. The method according to claim 15, wherein the likelihood function calculated from said calibration spectrum and from the spectrum transmitted through the sample, is defined by:
19. The method according to claim 15, wherein at least one calibration spectrum corresponding to the spectrum transmitted through an additional standard is used, the additional standard consisting of a determined thickness of a reference material, wherein the reference material is different from each of the calibration materials, and wherein the additional standard is associated with a virtual combination of predetermined thicknesses of calibration materials such that at least one thickness in the virtual combination takes a negative value.
20. The method according to claim 15, wherein a step of manufacturing a calibration basis comprising said calibration spectrum is carried out, comprising: measuring spectra transmitted through each of a plurality of the stacks of gauge blocks, each gauge block consisting of a predetermined thickness of a different calibration material; for at least one additional standard, measuring a spectrum transmitted through the at least one additional standard, the at least one additional standard consisting of a determined thickness of a reference material, wherein the reference material is different from each of the calibration materials, and wherein the at least one additional standard is associated with a virtual combination of predetermined thicknesses of calibration materials such that at least one thickness in the virtual combination takes a negative value; and ranking of the spectra transmitted through said each of the plurality of the stacks of gauge blocks and of the spectrum transmitted through the at least one additional standard into a single database connecting a spectrum to a combination of thicknesses of the calibration materials.
21. The method according to claim 15, comprising calculating a mean effective atomic number of the sample as a function of the plurality of estimated characteristic thicknesses.
22. A non-transitory computer-readable storage medium, storing computer-readable instructions thereon, which, when executed by a processor, cause the processor to perform the method according to claim 15.
23. A device for characterizing a sample, comprising: an electromagnetic source emitting into an X spectral band and/or a gamma spectral band; the detector configured to measure a spectrum transmitted through the sample, said spectrum being defined by a number of photons transmitted through the sample in each channel of a plurality of energy channels; the processor configured to implement the method according to claim 15; and a memory receiving the calibration spectrum and being connected to the processor.
24. The method according to claim 15, further comprising calculating a mean effective atomic number of the sample and determination of a function ƒ such that:
Z.sub.eff=f(ρ.sub.1{circumflex over (L)}.sub.1.sup.ech,ρ.sub.2{circumflex over (L)}.sub.2.sup.ech, . . . , ρ.sub.M{circumflex over (L)}.sub.M.sup.ech) with M being a number of calibration materials, π.sub.i being density of a calibration material i, and {circumflex over (L)}.sub.i.sup.ech being an estimated characteristic thickness associated with the calibration material i.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) The invention will be better understood upon reading the description of exemplary embodiments given by way of purely indicating and in no way limiting examples, with reference to the accompanying drawings in which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
DETAILED DISCLOSURE OF PARTICULAR EMBODIMENTS
(10) The invention relates to a method for characterizing a sample. Characterizing here consists in defining a spectrum of the energy transmitted through the sample of a thickness L, as being the spectrum of the energy transmitted through a stack of two gauge blocks or more, each consisting of a different calibration material.
(11) Each gauge block of a calibration material has a thickness, named characteristic thickness, or equivalent thickness, which is attempted to be estimated and which characterizes the sample.
(12) The calibration materials are materials the respective attenuation coefficients of which define a decomposition basis to characterize any sample. Two calibration materials or even more are considered.
(13) Thus, a linear combination of the spectra transmitted through a respective calibration material, each associated with a characteristic thickness, can be associated with the sample.
(14) The aim is, in an equivalent way, to associate to the sample a linear combination of the attenuation coefficients of calibration materials, each associated with a characteristic thickness (the energy spectrum S.sub.0(E) in the absence of a sample and a gauge block being a constant).
(15) The method according to the invention is implemented in a device 400 such as depicted in
(16) The thickness corresponds to the distance travelled in the sample 402, respectively in a gauge block of a calibration material by an analysis beam 409 emitted by the electromagnetic radiation source 401 and received by the detector 403 after crossing the sample 402, respectively the gauge block (refer to
(17) The sample here refers to any object, in particular a biological sample, such as a biological tissue. The method according to the invention does not dictate any condition regarding its mean effective atomic number. Nevertheless, the latter is advantageously lower than 30.
(18) During an initial calibration step, a series of spectra is acquired, each being a spectrum of the energy transmitted through a stack of gauge blocks. Each energy spectrum is defined by a number of photons transmitted through the stack, in each channel of a plurality of energy channels located within an X and/or gamma spectral band. Such an energy spectrum is referred to as a calibration spectrum.
(19) Each gauge block, also referred to as a standard, or a calibration sample, consists in a calibration material, and has a known thickness. It is for example a lamella consisting of said material. The plural gauge blocks of the stack are formed of distinct calibration materials.
(20) This step is preferably implemented only once, the same calibration spectra being used afterwards to characterize any sample.
(21) This step is preferably implemented in the device of
(22) In a first step 31, the spectrum transmitted through the sample, S.sup.ech, is acquired using the detector 403. The spectrum transmitted through the sample is the spectrum of the energy transmitted through said sample. It is defined by a number of photons per energy channel, for each channel of a plurality of energy channels. The spectrum transmitted through the sample comprises at least two energy channels, preferably several tens. For example, the energy channels cover together all the energy band ranging from 10 to 120 keV, and each have a width of 1 keV. The energy channels of the spectrum transmitted through the sample are preferably the same as those of the calibration spectra.
(23) For each of the plurality of calibration spectra, in step 32, the value of a likelihood function is calculated, corresponding to the likelihood of the calibration spectrum taking into account the spectrum transmitted through the sample S.sup.ech. The different energy channels of a same spectrum are processed together, and not independently from each other.
(24) Each calibration spectrum being associated with a known thickness of a calibration material, the likelihood function according to the invention depends on the thicknesses of the calibration materials.
(25) Two calibration materials MAT1 and MAT2 are for example considered. A calibration spectrum S.sup.base(L.sub.1; L.sub.2) is the energy spectrum transmitted through a gauge block of a thickness L.sub.1 of a material MAT1 joined to a gauge block of a thickness L.sub.2 of a material MAT2. The likelihood function calculated from the spectrum transmitted through the sample S.sup.ech and from the calibration spectrum S.sup.base(L.sub.1; L.sub.2) thus depends on L.sub.1 and on L.sub.2.
(26)
(27) Let L.sub.1 be able to take N1 values, and L.sub.2 be able to take N2 values, at the end of step 32 N1×N2 values of the likelihood function are obtained.
(28) In step 33, these values of the likelihood function are used to determine an estimation of a thickness L.sub.1.sup.ech of the material MAT1 and of a thickness L.sub.2.sup.ech of the material MAT2, such that the spectrum transmitted through the sample corresponds to the spectrum transmitted through the juxtaposition of a gauge block of a thickness L.sub.1.sup.ech of a material MAT1 and of a gauge block of a thickness L.sub.2.sup.ech of a material MAT2. The estimated values of L.sub.1.sup.ech and L.sub.2.sup.ech are noted {circumflex over (L)}.sub.1.sup.ech and {circumflex over (L)}.sub.2.sup.ech.
(29) The aim is to search for, by means of the calibration basis, the calibration spectrum consisting of a thickness L.sub.1 of the material MAT1 and of a thickness L.sub.2 of the material MAT2, which most resembles the spectrum transmitted through the sample.
(30) The criterion used for the estimation is the maximum likelihood.
(31) In the example illustrated in
(32) For example, let a thickness L.sub.1 of polyethylene take the values 0, 1, 2 or 3 (length unit), and a thickness L.sub.2 of PVC take the values 0, 1, 2 or 3 (length unit), for a given sample, the following values of the likelihood function are obtained:
(33) TABLE-US-00001 L.sub.2 L.sub.1 0 1 2 3 0 4457 5173 5646 5925 1 5891 6068 6121 6075 2 6093 6044 5914 5721 3 5887 5705 5470 5192
(34) We then have {circumflex over (L)}.sub.1.sup.ech=2 and {circumflex over (L)}.sub.2.sup.ech=1, the maximum value of the likelihood function being 6121.
(35) Thus, according to the invention, to estimate the characteristic thicknesses, a plurality of energy spectra are used, associated with a plurality of combinations of known thicknesses of calibration materials. In the general case with M calibration materials, each calibration material y being able to take U.sub.y different thicknesses, we have a calibration basis available comprising Π.sub.y=1.sup.M U.sub.y calibration spectra. The number of possible thicknesses for each material can vary. Each calibration spectrum is noted S.sup.base(L.sub.1, L.sub.2, . . . , L.sub.M) with L.sub.1, L.sub.2, . . . , L.sub.M the thicknesses of the materials MAT1, MAT2, . . . , MATM.
(36) The spectrum transmitted through the sample to be characterised is compared with those of the calibration basis by using the following likelihood function:
V(L.sub.1, L.sub.2, . . . L.sub.M)=Π.sub.j=1.sup.R P(S.sub.j.sup.ech|S.sub.j.sup.base(L.sub.1, L.sub.2, . . . L.sub.M)) (4)
(37) V(L.sub.1, L.sub.2, . . . L.sub.M) describes the likelihood that the spectrum transmitted through the sample corresponds to the spectrum transmitted through a stack of thicknesses L.sub.1, L.sub.2, . . . L.sub.M of the M materials of the calibration basis.
(38) S.sub.j.sup.ech is the number of photons (or counts) counted in the channel j, in the spectrum transmitted through the sample, S.sup.ech with R energy channels. The R components of the vector S.sup.ech are independent random variables.
(39) P(S.sub.j.sup.ech|S.sub.j.sup.base (L.sub.1, L.sub.2, . . . L.sub.M)) is the probability that the channel j of the spectrum transmitted through the sample, corresponds to the channel j of the calibration spectrum associated with thicknesses L.sub.1, L.sub.2, . . . L.sub.M of the materials 1 to M.
(40) Thus, the likelihood function is equal to the product, for each of the channels j, of the probabilities that the channel j of the spectrum transmitted through the sample (measured spectrum) corresponds to the channel j of the calibration spectrum associated with thicknesses L.sub.1, L.sub.2, . . . L.sub.M.
(41) The function P describes a statistical modelling of a transmission rate through the sample, in each energy channel.
(42) According to a particularly advantageous embodiment, the arrival of photons in each energy channel is assumed to follow a statistical Poisson distribution. The choice of a Poisson distribution enables the best estimation to be provided, this distribution best modelling the physical reality in the spectrometer.
(43) Thus, in each energy channel j, the probability to have S.sub.j.sup.ech photons transmitted through the stack of the thicknesses L.sub.ki of the materials MATi, i=M, during a predetermined irradiation duration, is given by:
(44)
(45) with v.sub.j the number of photons transmitted through the sample in the channel j, during an irradiation time T (identical for the spectrum transmitted through the sample and for the calibration spectra). P(S.sub.j.sup.ech|v.sub.j) is the probability of measuring S.sub.j.sup.ech counts for an expected value v.sub.j.
(46) If it is assumed that the thicknesses of the materials 1 to M are the thicknesses L.sub.1, L.sub.2, . . . L.sub.M, there is:
v.sub.j=μS.sub.j.sup.base(L.sub.1, L.sub.2, . . . L.sub.M,) (6)
(47) μ corresponds to the drift of the spectrometer between the measurement of the calibration spectra and the measurement of the spectrum transmitted through the sample. This drift is assumed to be zero, corresponding to μ=1, which is a quite realistic hypothesis.
(48) The likelihood function is then expressed:
(49)
(50) The characteristic thicknesses of the sample are obtained by searching for the maximum of the likelihood function. For convenience, it is simpler to try to maximise the logarithm of the likelihood function, which is quicker to calculate. There is in particular:
(51)
(52) Then, the characteristic thicknesses of the M basis materials are given by:
({circumflex over (L)}.sub.1.sup.ech, {circumflex over (L)}.sub.2.sup.ech, . . . , {circumflex over (L)}.sub.M.sup.ech)=argmax(ln(V(L.sub.1, L.sub.2, . . . L.sub.M))) (9)
(53) It can be seen that the invention implements a probabilistic approach, based on likelihood calculations and using as an estimation criterion, the maximum likelihood.
(54) This approach is based on Bayes theorem, and on the hypothesis according to which all the combinations of thicknesses are equiprobable. This hypothesis enables to establish that:
{circumflex over (θ)}=argmax(P(S.sup.ech|θ)) (10)
(55) with S.sup.ech the spectrum transmitted through the sample, θ=L.sub.1, L.sub.2, . . . L.sub.M, and {circumflex over (θ)}={circumflex over (L)}.sub.1.sup.ech, {circumflex over (L)}.sub.2.sup.ech, . . . , {circumflex over (L)}.sub.M.sup.ech the estimated characteristic thicknesses.
(56) Since the calibration basis only comprises a finite discrete number of material thicknesses, the likelihoods for the intermediate thicknesses are advantageously calculated by interpolation, either by interpolating the calibration spectra, or by interpolating the likelihood.
(57) Interpolation enables the number of necessary calibration spectra to be limited. Linear or polynomial interpolation models can be used, or any other interpolation model describing at best the behaviour of the spectra or of the likelihood as a function of the characteristic thicknesses of the calibration materials.
(58) It can be an interpolation of calibration spectra. Thus, a larger number of spectra named reference spectra is available, and these are used to calculate the value of a likelihood function corresponding to the likelihood of this reference spectrum taking into account the spectrum transmitted through the sample S.sup.ech.
(59) The reference spectra refer both to the calibration spectra and to the interpolated spectra (values of an interpolation function of said calibration spectra).
(60) In particular, an interpolation of the calibration spectra can be performed by an interpolation function depending on the thickness of one of the calibration materials. The calibration basis can thus be enhanced by calibration spectra named interpolated spectra.
(61) Subsequently, the values of a likelihood function are calculated from the spectrum of the sample S.sup.ech and from the spectra of the enhanced calibration basis. The maximum of the values of the likelihood function is then searched for, this maximum being associated with the estimations of the characteristic thicknesses.
(62) Preferably, an interpolation of the calibration spectra is performed by an interpolation function depending on at least one variable, each variable corresponding to the thickness of one of the calibration materials. More preferentially, the interpolation function depends on several variables, corresponding to the thicknesses of each of the calibration materials.
(63) A linear interpolation can for example be performed on the logarithm of the energy spectra. Let a calibration basis with two calibration materials. Let a thickness l.sub.1 of the material MAT1 comprised between L.sub.1.sup.k and L.sub.1.sup.k+1, and a thickness l.sub.2 of the material MAT2 comprised between L.sub.2.sup.q and L.sub.2.sup.q+1. The spectrum transmitted through a thickness l.sub.1 of the material MAT1 joined to a thickness l.sub.2 of the material MAT2 can be estimated by interpolating the spectra of the calibration basis. For example the spectra in l.sub.1,L.sub.1.sup.q (respectively in l.sub.1,L.sub.2.sup.q+1) can be calculated from the spectra in L.sub.1.sup.k, L.sub.2.sup.q and L.sub.1.sup.k+1, L.sub.2.sup.q (respectively in L.sub.1.sup.k, L.sub.2.sup.q+1 and L.sub.1.sup.k+1, L.sub.2.sup.q+1). For each channel j, the number of photons is given by:
(64)
The spectrum in l.sub.1, l.sub.2 can then be interpolated from the previously calculated spectra in l.sub.1, L.sub.2.sup.q and l.sub.1, L.sub.2.sup.q+1. The value of the spectrum in the channel j for a thickness l.sub.1 of the material MAT1 joined to a thickness l.sub.2 of the material MAT2 is obtained as follows:
(65)
(66) Alternatively, a non-linear interpolation is performed, for example by a Lagrange polynomial or a cubic Hermite polynomial.
(67) The interpolation by an interpolation function depending on the thickness of a calibration material enables a calibration spectrum to be obtained for each thickness of this calibration material located within a determined interval. Interpolation of spectra can also simply consist in increasing the number of available spectra, by adding to the initial calibration spectra a finite number of spectra obtained by interpolation.
(68) Alternatively or additionally, an interpolation of the values of the likelihood function is performed. Thus, a larger number of values is available, among which a maximum is searched for.
(69) In particular an interpolation of the values of the likelihood function can be performed by an interpolation function depending on at least one variable, each variable corresponding to the thickness of one of the calibration materials. More preferentially the interpolation function depends on several variables, corresponding to the thicknesses of each of the calibration materials.
(70) Subsequently, the maximum of the values of the likelihood function is searched for, among the initial values and the values obtained by interpolation. This maximum is associated with the estimations of the characteristic thicknesses.
(71) For example, an interpolation of the values of the likelihood function is performed using a function of two variables. Each variable corresponds to one of the materials MAT1 or MAT2. This function is advantageously non-linear, for example a second order polynomial function of the type:
F(L.sub.1, L.sub.2)=a+bL.sub.1+cL.sub.2+dL.sub.1L.sub.2+eL.sub.1.sup.2+fL.sub.2.sup.2 (13)
(72) where a, b, c, d, e, f are constants adjusted according to the least square method, to the values calculated in step 32.
(73) Interpolation by an interpolation function depending on the thickness of a calibration material enables a value of the likelihood function to be obtained for each thickness of this calibration material located within a determined interval. Interpolation of the values of the likelihood function can also simply consist in increasing a number of available values of the likelihood function, by adding to the initial values a finite number of values obtained by interpolation.
(74) Interpolations make it possible to resort to a reduced number of calibration spectra, while providing a high accuracy of estimation of the characteristic thicknesses.
(75) Both interpolation types can be combined and/or implemented several times to gradually refine the estimation of the characteristic thicknesses (iterative methods).
(76) For example, an interpolation of the calibration spectra is performed to obtain a plurality of values of the likelihood function, then these values are interpolated and a maximum of the obtained values is searched for after this second interpolation.
(77) Several successive interpolations can also be implemented, reducing each time the interval of considered thicknesses and the pitch, as a function of the previously obtained estimation. In particular, successive cycles of searching a maximum of the values of the likelihood function and of estimating the characteristic thicknesses are implemented. At each cycle, a pitch of the thicknesses of calibration material is decreased, said thicknesses being associated with the calibration spectra and/or with the values of the likelihood function. Preferably, the decrease in this pitch comes along a decrease in a considered interval of thicknesses. The calibration spectra here refer to the initial calibration spectra and when necessary spectra obtained by interpolation(s). The values of the likelihood function here refer to the values calculated from the calibration spectra and when necessary to values directly obtained by interpolation(s).
(78) The detector 403 is connected to a processor 404, configured to implement the characterizing method according to the invention. The processor 404 is connected to a memory 405 storing the calibration spectra. The processor receives in input a spectrum transmitted through the sample, and outputs the estimations of the characteristic thicknesses of the sample.
(79)
(80) In a first step 61, the spectrum transmitted through the sample S.sup.ech is acquired. Subsequently (step 62) the values of a likelihood function are calculated from this spectrum S.sup.ech and from each of the calibration spectra S.sup.base(L.sub.1; L.sub.2) of an initial calibration basis. The initial calibration basis corresponds to stacks of gauge blocks of a thickness L.sub.1 of the material MAT1 and a thickness L.sub.2 of the material MAT2, with: L.sub.1 extending over a first interval associated with the material MAT1 (interval [0; L.sub.MAT1max] for example) and according to a first sampling pitch associated with the material MAT1
(81)
and L.sub.2 extending over a first interval associated with the material MAT2 (interval [0; L.sub.MAT2max] for example) and according to a first sampling pitch associated with the material MAT2
(82)
(83) Thus N1*N2 spectra acquired with the combinations of thicknesses ranging from 0 to L.sub.MAT1 max for the material MAT1 and from 0 to L.sub.MAT2 max for the material MAT2 are obtained.
(84) In step 65, an interpolation of the values of the likelihood function is performed. Subsequently, the maximum of the values of the likelihood function which are available after interpolation is searched for (step 66). This maximum is associated with thicknesses {circumflex over (L)}′.sub.1 and {circumflex over (L)}′.sub.2 respectively of the material MAT1 and the material MAT2, and form approximate values of the estimations of the characteristic thicknesses.
(85) In step 67, for each calibration material, a second respective interval is determined, narrower than the first interval associated with the same calibration material, and centred on the corresponding approximate value. The second intervals [L′.sub.11; L′.sub.12] and [L′.sub.21; L′.sub.22] are obtained.
(86) Subsequently, an interpolation of the spectra of the initial calibration basis is performed on these second intervals [L′.sub.11; L′.sub.12] and [L′.sub.21; L′.sub.22] (step 68). An enhanced calibration basis is obtained, comprising the spectra S′.sup.base(L.sub.1; L.sub.2).
(87) The enhanced calibration basis corresponds to: a thickness L.sub.1 of the material MAT1 extending over the second interval [L′.sub.11; L′.sub.12] (narrower than the interval [0; L.sub.MAT1max]) and according to a second respective sampling pitch lower than the first sampling pitch associated with the same calibration material (pitch lower than
(88)
and a thickness L.sub.2 of the material MAT2 extending over the second interval [L′.sub.21; L′.sub.22] (narrower than the interval [0; L.sub.MAT2 max]) and according to a second respective sampling pitch lower than the first sampling pitch associated with the same calibration material (pitch lower than
(89)
(90) Step 62 of calculating the values of a likelihood function is subsequently reiterated, this time from the spectrum S.sup.ech and from each of the spectra of the enhanced calibration basis S′.sup.base(L.sub.1; L.sub.2).
(91) Finally, the maximum of the thus calculated values is searched for (step 69). This maximum is associated with thicknesses {circumflex over (L)}′.sub.1.sup.ech and {circumflex over (L)}.sub.2.sup.ech of the material MAT1 and the material MAT2, respectively, and form consolidated estimations of the characteristic thicknesses.
(92) According to an alternative depicted in
(93) Subsequently, the spectrum transmitted through the sample, S.sup.ech, is acquired (step 71), and the values of a likelihood function are calculated from this spectrum S.sup.ech and from each of the spectra of the enhanced calibration basis (step 72).
(94) The maximum of the values of the likelihood function thus obtained is searched for (step 73). The thicknesses associated with this maximum form approximate values {circumflex over (L)}.sub.1.sup.(2) and {circumflex over (L)}.sub.2.sup.(2) of the estimations of the characteristic thicknesses.
(95) Subsequently, in step 77, second intervals [L.sub.11.sup.(2), L.sub.12.sup.(2)] and [L.sub.21.sup.(2); L.sub.22.sup.(2)] are determined, each being associated with one of the calibration materials. Each second interval is centred on the previously obtained approximate value associated with the same calibration material. Each second interval is narrower than the first interval of thicknesses such as defined above, associated with the same calibration material and with the enhanced calibration basis.
(96) Then, an interpolation of the values of the likelihood function is performed (step 75). Subsequently, the maximum of the values of the likelihood function is performed (new iteration of step 73), this time among the values of the likelihood function available after this second interpolation. This maximum is associated with thicknesses {circumflex over (L)}.sub.1.sup.ech and {circumflex over (L)}.sub.2.sup.ech respectively of the material MAT1 and the material MAT2, and form consolidated estimations of the characteristic thicknesses.
(97) As specified above, the calibration spectra can be experimentally obtained, using stacks of gauge blocks, each gauge block being made of a calibration material and having a known respective thickness, or numerically simulated. Thus, a first calibration basis is obtained.
(98) Each calibration material has an effective atomic number. The maximum and the minimum of the effective atomic numbers of the considered calibration materials define together an interval of effective atomic number. If the mean effective atomic number of the sample is outside this interval, at least one of the associated characteristic thicknesses can be negative. For example, if the material MAT1 is polyethylene (Z.sub.eff=5.53), the material MAT2 is PVC (Z.sub.eff=4.23), a sample of iron (Z.sub.eff=26), of chromium (Z.sub.eff=24), or of chlorine (Z.sub.eff=17), will be characterised by a negative characteristic thickness of polyethylene. We are therefore in an area not covered by the first calibration basis.
(99) A common solution consists in performing an extrapolation of the points of the first calibration basis.
(100) A more reliable solution is here provided. The aim is to enhance the first calibration basis using measurements or simulations implying an additional standard (or additional gauge block) of a determined thickness made of a reference material, distinct from the calibration materials MAT1 and MAT2. Said reference material has an effective atomic number outside the above-described interval. The characteristic thicknesses of this additional standard, in the calibration material basis, are known, and at least one of these characteristic thicknesses is negative. In other words, the spectrum of the energy transmitted through the additional standard is equal to the spectrum of the energy transmitted through a virtual stack of gauge blocks of a calibration material, one gauge block at least having a negative thickness (hence the term “virtual”).
(101) The first calibration basis is thus enhanced by points associated with negative characteristic thicknesses. The characteristic thicknesses associated with said additional standard can be determined using a method according to prior art such as described in the introduction.
(102) Thus, each calibration spectrum corresponds to the spectrum of the energy transmitted through a stack of gauge blocks each formed of a known thickness of a calibration material, and when necessary a gauge block having a negative thickness (virtual gauge block).
(103) In
(104) The invention is not limited to a decomposition in a basis of two calibration materials. A decomposition in a basis of more than two calibration materials, for example three, four or more can be performed. Furthermore, the considered calibration materials do not have to meet any particular condition. The use of bases with more than 2 materials can prove to be useful when there is a continuity of the energy spectrum (known as “k-edge”) in the measured energy range.
(105) The method according to the invention can comprise, after estimation of the characteristic thicknesses, an additional step of processing, comprising for example the estimation of a concentration in the sample, or an estimation of the effective atomic number of the sample.
(106) In particular, a function ƒ can be determined, such as:
Z.sub.eff=ƒ(ρ.sub.1{circumflex over (L)}.sub.1.sup.ech, ρ.sub.2{circumflex over (L)}.sub.2.sup.ech, . . . , ρ.sub.M{circumflex over (L)}.sub.M.sup.ech) (14)
(107) with M being the calibration materials, ρ.sub.i the density of the calibration material i, {circumflex over (L)}.sub.i.sup.ech the estimation of the characteristic length associated with the calibration material i.
(108) There is for example:
(109)
(110) with a, b, c, d real numbers and for example polyethylene for MAT1 and PVC for MAT2.
(111) If the basis contains more than two materials, the following function can be used:
(112)
(113) p being estimated from measurements performed on materials of known Z.sub.eff.
(114) The invention is especially applied in the medical field, especially for analysing biological samples by spectral tomography.
(115) The invention is not limited to the examples which have just been developed, and numerous alternatives can be imagined without departing from the scope of the present invention, for example other calibration materials, other types of interpolations, etc. For example, other definitions of the likelihood function can be considered, based on other statistical modelling of the transmission rate through the sample in the spectrometer.