OBTAINING MEASUREMENT INFORMATION FROM AN EDGE-ON X-RAY DETECTOR AND DETERMINING THE ORIENTATION OF AN EDGE-ON X-RAY DETECTOR WITH RESPECT TO THE DIRECTION OF INCOMING X-RAYS

20170269234 · 2017-09-21

Assignee

Inventors

Cpc classification

International classification

Abstract

There is provided a method for at least partly determining the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source. The method includes obtaining (S1) information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays. The method also includes determining (S2) at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

Claims

1-36. (canceled)

37. A method for at least partly determining the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source, wherein the edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays, wherein said method comprises: obtaining information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays; and determining at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

38. The method of claim 37, wherein the geometrical model describes the position of the source, the position and orientation of the x-ray detector, the position of the phantom, and geometrical parameters representing a relative motion of the phantom in relation to the x-ray detector and the x-ray source.

39. The method of claim 37, wherein the geometrical model is able to predict movement of a trace or shadow from the phantom with respect to the detector.

40. The method of claim 37, wherein said at least one parameter associated with the orientation includes at least an angle between the direction of the x-rays and a line in a detector plane defined by a trace of an x-ray beam on the detector, where the x-ray beam is defined by a feature of the phantom.

41. The method of claim 40, wherein said at least one parameter associated with the orientation further includes the orientation of said line in said detector plane.

42. The method of claim 37, wherein the edge-on detector has elements in two directions, wherein one of the directions of the edge-on detector has a component in the direction of the x-rays.

43. The method of claim 37, wherein the phantom comprises at least one hole and/or edge in an x-ray attenuating sheet, or comprises at least one ball bearing.

44. The method of claim 37, wherein the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays is/are used to improve a forward model used in image reconstruction.

45. The method of claim 37, wherein the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays is/are used to localize the focal spot of the x-ray tube.

46. The method of claim 45, wherein the method further comprises the step of finding the optimal position of the focal spot from an image quality perspective.

47. The method of claim 37, wherein the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays is/are used to adjust an individual x-ray detector in a detector array.

48. The method of claim 37, wherein the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays is/are used to perform post-processing of measurement data measured by the x-ray detector.

49. The method of claim 37, wherein the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays is/are used to deliberately misalign detector elements of the x-ray detector in the direction of the x-rays such that an oversampling is achieved.

50. A method for obtaining measurement information from an edge-on x-ray detector having detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of x-rays from an x-ray source, wherein said method comprises: providing a phantom, which is designed to embed directional information in the x-ray field when exposed to x-rays, between the x-ray source and the x-ray detector; and inducing relative motion of the phantom in relation to the x-ray detector and the x-ray source; and performing measurements of the intensity of the x-rays at a minimum of two different relative positions of the phantom in relation to the x-ray detector and the x-ray source to obtain the measurement information.

51. A method for estimating at least one parameter associated with the orientation of an edge-on x-ray detector with respect to the direction of x-rays based on measurement information obtained by the method of claim 50.

52. The method of claim 51, wherein said at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays is determined based on the obtained measurement information and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

53. The method of claim 51, wherein said at least one parameter associated with the orientation includes at least an angle between the direction of the x-rays and a line in a detector plane defined by a trace of an x-ray beam on the detector, where the x-ray beam is defined by a feature of the phantom.

54. The method of claim 51, wherein quality of the detector mounting in the gantry is evaluated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

55. The method of claim 51, wherein input parameters of a forward model of the source/detector system are calibrated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

56. The method of claim 51, wherein geometrical parameters describing the spatial configuration of the x-ray source-detector system, such as positions of projection measurements, are calibrated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

57. The method of claim 51, wherein corrections of x-ray measurement data are performed based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

58. A method for predicting an effect of movement of an edge-on x-ray detector and/or a focal spot of an x-ray source based on based on measurement information obtained by the method of claim 50, wherein the measurements are made with different positions of the x-ray detector and/or the focal spot, and at least one correction for a position of the x-ray detector, and/or a focal spot of the x-ray source is computed.

59. A system configured to at least partly determine the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source, wherein the edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays, wherein the system is configured to obtain information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays; and wherein the system is configured to determine at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

60. The system of claim 59, wherein the system comprises a processor and a memory, said memory comprising instructions executable by the processor, whereby the processor is operative to determine said at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays.

61. A computer-program product comprising a computer-readable medium having stored thereon a computer program for at least partly determining, when executed by a computer, the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source, wherein the edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays, wherein the computer program comprises instructions, which when executed by the computer, cause the computer to: read information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays; and determine at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

62. An x-ray measurement system comprising: an edge-on x-ray detector having detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of x-rays from an x-ray source; a phantom, which is designed to embed directional information in the x-ray field when exposed to x-rays, arranged between the x-ray source and the x-ray detector, wherein relative motion of the phantom can be induced in relation to the x-ray detector and the x-ray source; and wherein the x-ray measurement system is configured to perform measurements of the intensity of the x-rays at a minimum of two different relative positions of the phantom in relation to the x-ray detector and the x-ray source to obtain measurement information.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The embodiments, together with further objects and advantages thereof, may best be understood by making reference to the following description taken together with the accompanying drawings, in which:

[0046] FIG. 1 is a schematic flow diagram illustrating an example of a method for at least partly determining the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source according to an embodiment.

[0047] FIG. 2 is a schematic flow diagram illustrating an example of a method for obtaining measurement information from an edge-on x-ray detector according to an embodiment.

[0048] FIG. 3 is a schematic diagram illustrating an example of a fan-beam CT system.

[0049] FIG. 4 is schematic diagram illustrating example definitions of detector misalignment.

[0050] FIG. 5 is a schematic diagram illustrating an example of an edge-on detector displaying a 2D grid of detector elements.

[0051] FIG. 6 is a schematic diagram visualizing the data representation from a measurement of the x-ray intensity as a function of gantry rotation angle for each detector element.

[0052] FIG. 7 is a schematic flow diagram of an example method for estimation of the direction of an x-ray beam with respect to an edge-on detector.

[0053] FIG. 8 is a schematic diagram illustrating an example of a system

[0054] FIG. 9 is a schematic diagram illustrating an example of computer implementation according to an embodiment.

[0055] FIG. 10 is a schematic diagram illustrating an example of an x-ray measurement system according to an embodiment.

DETAILED DESCRIPTION

[0056] Throughout the drawings, the same reference designations are used for similar or corresponding elements.

[0057] According to a first aspect, there is provided a method for at least partly determining the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source. The edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays.

[0058] With reference to FIG. 1, the method basically comprises the following steps:

S1: obtaining information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays; and
S2: determining at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

[0059] In this way, useful information that can be employed for many different purposes can be obtained in an efficient manner.

[0060] By way of example, the parameter(s) associated with the orientation of the x-ray detector can be used for performing system calibrations in terms of, for example, adjustment of the focal spot of the x-ray tube, adjustment of the alignment of individual detectors, improvement of the forward model used in image reconstruction, and/or corrections of measured data by post-processing.

[0061] As an example, the geometrical model may describe the position of the source, the position and orientation of the x-ray detector, the position of the phantom, and geometrical parameters representing a relative motion of the phantom in relation to the x-ray detector and the x-ray source.

[0062] In a particular example, the geometrical model is able to predict movement of a trace or shadow from the phantom with respect to the detector. By trace it is meant the intersection of a feature in the x-ray field defined by the phantom and the detector wafer.

[0063] In a basic example, the overall x-ray detector arrangement is normally based on a detector array of multiple edge-on x-ray detectors, which are detector wafers oriented with the edge towards the incoming x-rays. Each detector wafer has detector elements in the so-called slice direction (z in FIG. 3) and also substantially in the direction of the x-rays. Herein, the “detector plane” is typically considered as the plane of the detector wafer.

[0064] For example, the parameter(s) associated with the orientation includes at least an angle between the direction of the x-rays and a line in a detector plane defined by a trace of an x-ray beam on the detector, where the x-ray beam is defined by a feature of the phantom.

[0065] The parameter(s) associated with the orientation may further include the orientation of said line in said detector plane.

[0066] In a particular example, the edge-on detector typically has elements in two directions, wherein one of the directions of the edge-on detector has a component in the direction of the x-rays.

[0067] Many different types of so-called phantoms that embed directional information in the x-ray field can be employed. For example, the phantom may comprise at least one hole and/or edge in an x-ray attenuating sheet, or at least one ball bearing. In other words, one or more holes may be defined in the phantom or one or more edges or ball bearings of the phantom may be used.

[0068] In a particular example, the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays may be used to improve a forward model used in image reconstruction.

[0069] In another example, the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays may be used to localize the focal spot of the x-ray tube.

[0070] For example, the method may further comprise the step of finding the optimal position of the focal spot from an image quality perspective.

[0071] In yet another example, the determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays may be used to adjust an individual x-ray detector in a detector array.

[0072] The determined parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays may also be used to deliberately misalign detector elements of the x-ray detector in the direction of the x-rays such that an oversampling in projection space is achieved.

[0073] According to a second aspect, there is provided a method for obtaining measurement information from an edge-on x-ray detector having detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of x-rays from an x-ray source.

[0074] With reference to FIG. 2, the method basically comprises the following steps:

S11: providing a phantom, which is designed to embed directional information in the x-ray field when exposed to x-rays, between the x-ray source and the x-ray detector;
S12: inducing relative motion of the phantom in relation to the x-ray detector and the x-ray source; and
S13: performing measurements of the intensity of the x-rays at a minimum of two different relative positions of the phantom in relation to the x-ray detector and the x-ray source to obtain the measurement information.
In this way, useful measurement information that can be employed, e.g. for estimating at least one parameter associated with the orientation of an edge-on x-ray detector or for predicting an effect of movement of an edge-on x-ray detector and/or a focal spot of an x-ray source, can be obtained in an efficient manner.

[0075] By way of example, the phantom may comprise at least one hole and/or edge in an x-ray attenuating sheet, or at least one ball bearing.

[0076] In a particular example, the relative motion is induced by rotation of a rotational system comprising the x-ray source and the x-ray detector, and/or the relative motion is induced by movement of the phantom.

[0077] According to a third aspect, there is provided a method for estimating at least one parameter associated with the orientation of an edge-on x-ray detector with respect to the direction of x-rays based on measurement information obtained by the method according to the second aspect.

[0078] By way of example, said at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays is determined based on the obtained measurement information and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

[0079] In a particular example, the geometrical model describes the position of the source, the position and orientation of the x-ray detector, the position of the phantom, and geometrical parameters representing a relative motion of the phantom in relation to the x-ray detector and the x-ray source.

[0080] As an example, the geometrical model is able to predict movement of a trace or shadow from the phantom with respect to the detector.

[0081] For example, said at least one parameter associated with the orientation may include at least an angle between the direction of the x-rays and a line in a detector plane defined by a trace of an x-ray beam on the detector, where the x-ray beam is defined by a feature of the phantom.

[0082] Optionally, said at least one parameter associated with the orientation further includes the orientation of said line in said detector plane.

[0083] In a particular example, the edge-on detector has elements in two directions, wherein one of the directions of the edge-on detector has a component in the direction of the x-rays.

[0084] The estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays may be utilized for various purposes.

[0085] By way of example, quality of the detector mounting in the gantry may be evaluated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

[0086] In another example, input parameters of a forward model of the source/detector system are calibrated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

[0087] In yet another example, geometrical parameters describing the spatial configuration of the x-ray source-detector system, such as positions of projection measurements, are calibrated based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

[0088] It is also possible to perform corrections of x-ray measurement data based on the estimated parameter(s) associated with the orientation of the x-ray detector with respect to the direction of x-rays.

[0089] According to a fourth aspect, there is provided a method for predicting an effect of movement of an edge-on x-ray detector and/or a focal spot of an x-ray source based on based on measurement information obtained by the method according to the second aspect, wherein the measurements are made with different positions of the x-ray detector and/or the focal spot.

[0090] In a particular example, at least one correction for a position of the x-ray detector, and/or a focal spot of the x-ray source is computed.

[0091] For example, said at least one correction may be used as basis for physical adjustments of the position of the x-ray detector, the focal spot, or both.

[0092] As an example, a spatial correction of the position of the x-ray source may be computed for simultaneously minimizing a misalignment error of one or many x-ray detectors in a detector array.

[0093] In the following, the proposed technology will be described with reference to various non-limiting examples. It should though be understood that the invention is not limited thereto.

[0094] In this example embodiment, the detector array is mounted in a CT gantry that rotates about a central axis. The general geometry is described by FIG. 3, where the {circumflex over (z)}-axis defines the axis of rotation, the {circumflex over (x)}- and ŷ-axes define the central slice plane, the angle θ defines the rotational position of the gantry and the angle ξ defines the position of a detector in the detector array.

[0095] The x-ray source is located on one side of the gantry at a distance from the rotational center. The detector array is mounted on the opposite side of the gantry, facing the x-ray source. Both the x-ray source and the detector array rotate with the gantry.

[0096] The detectors are, for example, semiconductor wafers with a plurality of pixels in two dimensions (FIG. 5), which are mounted edge-on. The vectors {circumflex over (x)}′ and ŷ′ in FIG. 5 lie in the detector plane and {circumflex over (z)}′ is the normal of the detector plane. An example of an edge-on mounting of the detector is when the source lies on the {circumflex over (x)}′-axis such that the x-rays travel along the {circumflex over (x)}′-axis when they hit the middle of the front row of detector.

[0097] In this example embodiment of the invention, an x-ray absorbing phantom object is placed stationary at an off-center position inside the gantry. The object can, for example, be a metal sheet with a plurality of holes or a set of highly attenuating beads. The object embeds directional information in the x-ray field by creating “shadows”. In other words, the attenuating object creates a gradient in the x-ray field orthogonal to the direction of the x-rays and thus defines the direction of the x-rays by distinguishable features in the gradient of the x-ray field behind the phantom. It is hereinafter assumed, for simplicity only, that the phantom has a single hole defined in a highly attenuating sheet that creates a single beam of x-rays. The phantom is positioned in the gantry such that the radial distance from the hole to the rotational axis is known with highest possible accuracy.

[0098] When rotating the gantry, and keeping the phantom stationary, the beam of x-rays will move with respect to the detector array due to the off-center position of the hole. Assume now that we perform measurements with the detectors at each rotational position θ.sub.k, where a measurement produces a signal for each detector element proportional to the intensity of the x-rays passing through that detector element. The data representation typically consists of an array of measurements of x-ray intensity for each detector element on the detector for each rotational position θ.sub.k. FIG. 6 visualizes the data representation for the case of a single x-ray beam passing over the detector the gantry rotates.

[0099] The current invention comprises the utilization of the above said measurement to estimate the direction of the x-rays with respect to the detector using geometrical arguments. An example of the method is described by the flow chart in FIG. 7. There are many possible methods for performing the step of estimating the direction of the x-rays with respect to a detector. With reference to FIG. 7, a non-limiting example of such a method is illustrated.

[0100] In order to estimate the direction of the x-rays with respect to a detector, assumptions are made regarding the relative position of the detector, the source and the phantom. The position of the focal spot of the x-ray source is modeled with the point s and the aligned state of a detector is modeled by a point d and two vectors in the detector plane, {circumflex over (x)}′ and ŷ′ as in Fig. X, such that the position of each detector element can be expressed as d.sub.i,j=d+x.sub.i{circumflex over (x)}′+y.sub.jŷ′, where x.sub.i and y.sub.i are known from the model of the detector. For simplicity, the detector elements are assumed to lie on a square grid, however, the described method can readily be adapted to apply when detector elements are not on a square grid. The detector elements with a common x-coordinate will hereinafter be referred to as a detector row. All positions are expressed in a coordinate system that rotates with the gantry such that the detector and the source are stationary. The axis of rotation is defined as the z-axis.

[0101] FIG. 4 displays the definitions of the parameters describing the misalignment of a detector with respect to direction the x-rays that are used here. The direction of the x-rays when they hit the front of the detector is used as reference. The angle β describes the orientation of a line approximating the trace of the x-ray beam as it passes through the detector during the rotation of the gantry. The angle γ describes the orientation of the detector around the trace of the beam in the detector. The said measurement of x-ray intensity as function of rotational angle is invariant to the angle γ if a single beam of x-rays is employed. The angle γ can be estimated by, for example, having an edge in the phantom aligned with the rotational axis and comparing when the right and left side of the detector encounters the shadow from the edge. It can be noted, however, that the angle γ plays a minor role when it comes to detector performance in terms of energy response and detection efficiency. The hereinafter-described method serves to estimate the angle α.

[0102] The position of the hole in the phantom is modeled by p(φ)=[r cos φ,r sin φ,p.sub.z].sup.T (displayed in FIG. 4 as p.sub.1 and p.sub.2, which are determined r by φ.sub.1 and φ.sub.2 respectively) and rotates with {dot over (φ)}=−{dot over (θ)}=−ω in the rotating coordinate system, where ω is the angular speed of the gantry. This implies that, for a given φ, the x-rays in the beam created by the hole in the phantom travel along the line I(φ)=s+k(p(φ)−s) for k>0.

[0103] Assume that the detector is mounted such that the x-ray beam intersects the i:th row of the detector at d.sub.i. If the detector is aligned edge-on, the x-ray beam will intersect all rows for the same value of θ. If the detector is misaligned with respect to the source, on the other hand, the x-ray beam will intersect different rows for different values of θ.

[0104] First, for each detector row, we determine the position along the row and the rotational angle (θ) for which the intersection of the beam and the row is maximal using, for example, Gaussian fitting on the measured x-ray intensities. Call these values y.sub.i* and θ.sub.i* respectively.

[0105] We model the position where the x-ray beam intersects the first detector row by:


d.sub.1*=d+x.sub.1{circumflex over (x)}′+y.sub.1*ŷ′

[0106] The position of the hole in the phantom (p) at the moment when the x-ray beam intersects the first detector row has to lie on the line between d.sub.1* and s, and fulfill {circumflex over (r)}.sup.Tp.sub.1=r, where r is the orthogonal distance between the hole in the phantom and the axis of rotation (see FIG. 2). To find p.sub.1 we solve the equation:


{circumflex over (r)}.sup.T(d.sub.1+q(sd.sub.1))=r  (0.1)

for q and select the smaller solution for q if the bead is closer to the detector than the source and vice versa. Now p.sub.1 is given by:


p.sub.1*=d.sub.1*+q*(sd.sub.1*)

where q* come from the solution of (0.1). The position of the hole on the phantom as a function of the measured rotational angle θ.sub.i* can be modeled by:


p.sub.i*=[r cos(φ.sub.1*+Δθ.sub.i*),r sin(φ.sub.1*+Δθ.sub.i*),{circumflex over (z)}.sup.Tp.sub.1*].sup.T

where the z-component is equal for all i since p rotates around the z-axis and

[00001] Δθ i * = θ i * - θ 1 * and ϕ 1 * = cos - 1 ( x ^ T .Math. p _ 1 * r )

[0107] The extent of the x-ray beam can be modeled by the line Ī.sub.i=s+k(p.sub.i−s) for k>0. The relative lengths between the positions where the x-ray beam and the detector rows intersect are given by L.sub.m,n*=√{square root over ((x.sub.m−x.sub.n).sup.2+(y.sub.m*−y.sub.n*).sup.z)}. The positions where the x-ray beam intersects the detector can therefore be obtained by solving the equation:


d.sub.1*−(s+k(p.sub.i*−s))∥=L.sub.1,i*

for k and estimating the positions where the x-ray beam intersects the detector rows by:

[00002] d _ i * = { d _ + x 1 .Math. x ^ + y 1 * .Math. y ^ , i = 1 .Math. s _ + k * ( p _ i * - s _ ) , i = 2 , 3 , .Math. , n

[0108] As the hole in the phantom rotates, the beam moves along a cone shaped surface. The size and shape of the cone will depend on the position of the hole with respect to the rotational axis and the source. Considering that the misalignments of the detector is small and that the curvature of the cone can be made very small by appropriate selection of the phantom object, the positions where the beam intersects the detector lie on a straight line to a very good approximation.

[0109] Therefore, we can form the directional vector v* that defines the line that fits to the set of points d.sub.i* and lies in the detector plane. The direction of the x-rays when they pass through the point d.sub.1* is given by Ī.sub.i*. The angle α can now be estimated by:


α*=cos.sup.−1(v*.sup.TĪ.sub.1*)

[0110] It can be shown that small errors in the model and/or in the measurements do not substantially affect the result of the method. Since the detector is mounted according to a model of the detector gantry, it is fair to assume that we know the above-mentioned relative positions to fairly high accuracy, within millimeters.

[0111] Another example method for utilizing the measurement information relates to the optimal positioning of the focal spot of the x-ray source, i.e. the position that aligns the detector in a true edge on fashion. Similar methods (with some modifications) in which the detector is moved and the focal spot is stationary are also possible. This can be done, e.g. by using the above method if we know the direction with which we can translate the focal spot by a simple calculation. However, the direction with which the focal spot can be translated is not generally known (in the detector coordinate system) and also, the above method uses a model which might induce errors. In this method, we instead trace how the measurements of the beam as it passes the detector change when the focal spot is moved and compute the optimal position of the focal spot without using a geometrical model of the system.

[0112] Here we make the assumption that the local motion of the beam with respect to the detector as the beam passes the detector is linear, i.e. the beam is only translated, not rotated. Considering that the detector is generally a thin wafer (approx. 0.5 mm thick) and that it is close to being aligned edge-on to the x-rays, the beam passes the detector very briefly and linearity of motion is a good approximation. However, we do not know, without using a model as in the method described herein, the direction in which the beam is translated with respect to the detector. Also, we do not know the speed with which the beam is translated with respect to the detector.

[0113] We introduce a coordinate system S′:{{circumflex over (x)},ŷ,{circumflex over (z)}′}, where {circumflex over (z)}′ represents the direction of motion. The axis {circumflex over (z)}′ can be skew with respect to {circumflex over (x)} and/or ŷ. In this coordinate system, we define the positions where the beam intersects the i:th detector row as p.sub.i′=(x.sub.i, y.sub.i*, θ.sub.i*) (see above for definitions) and the direction of the x-rays in the skew coordinate system v′ is given by a linear regression to the points p.sub.i′. Now, we measure v′ for three different positions of the focal spot: a null position and two translations of the focal spot from the null position in linearly independent directions (T.sub.1 and T.sub.2). Let's call the measured vectors v.sub.0′, v.sub.1′ and v.sub.2. The method seeks to find factors k.sub.1 and k.sub.2 such that the translation of the focal spot k.sub.1T.sub.1+k.sub.2T.sub.2 aligns the detector edge-on. The state that aligns the detector edge-on is one where v′∥{circumflex over (x)}, i.e. the z and y components of v′ are zero. In order to predict when this state occurs we observe that the projection of v′ onto an x=constant plane moves linearly with the translation of the focal spot to a very good approximation. Therefore, we project the vectors v′ onto the x=1 plane by s=v′/v′.sup.T{circumflex over (x)} and observe that s as a function of k.sub.1 and k.sub.2 can be expressed as:


s(k.sub.1,k.sub.2)=s.sub.0+k.sub.1(s.sub.1−s.sub.0)+k.sub.2(s.sub.2−s.sub.0)

[0114] The aligned state is defined by that s.sup.T ŷ=0 and s.sup.T{circumflex over (z)}=0. We can therefore find the values of k.sub.1 and k.sub.2 that align the detector by solving the linear equation:

[00003] [ y ^ T ( s 1 - s 0 ) y ^ T ( s 2 - s 0 ) z ^ T ( s 1 - s 0 ) z ^ T ( s 2 - s 0 ) ] [ k 1 k 2 ] = [ - y ^ T .Math. s 0 - z ^ T .Math. s 0 ]

[0115] It will be appreciated that the methods and devices described herein can be combined and re-arranged in a variety of ways.

[0116] For example, embodiments may be implemented in hardware, or in software for execution by suitable processing circuitry, or a combination thereof.

[0117] The steps, functions, procedures, modules and/or blocks described herein may be implemented in hardware using any conventional technology, such as discrete circuit or integrated circuit technology, including both general-purpose electronic circuitry and application-specific circuitry.

[0118] Particular examples include one or more suitably configured digital signal processors and other known electronic circuits, e.g. discrete logic gates interconnected to perform a specialized function, or Application Specific Integrated Circuits (ASICs).

[0119] Alternatively, at least some of the steps, functions, procedures, modules and/or blocks described herein may be implemented in software such as a computer program for execution by suitable processing circuitry such as one or more processors or processing units.

[0120] Examples of processing circuitry includes, but is not limited to, one or more microprocessors, one or more Digital Signal Processors (DSPs), one or more Central Processing Units (CPUs), video acceleration hardware, and/or any suitable programmable logic circuitry such as one or more Field Programmable Gate Arrays (FPGAs), or one or more Programmable Logic Controllers (PLCs).

[0121] It should also be understood that it may be possible to re-use the general processing capabilities of any conventional device or unit in which the proposed technology is implemented. It may also be possible to re-use existing software, e.g. by reprogramming of the existing software or by adding new software components.

[0122] According to a fifth aspect, there is provided a system configured to at least partly determine the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source. The edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays. The system is configured to obtain information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays. The system is configured to determine at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

[0123] In a particular example, the system 100 comprises a processor 110 and a memory 120, the memory comprising instructions executable by the processor, whereby the processor is operative to determine the parameter(s) associated with the orientation of the edge-on detector, as illustrated in FIG. 8. Optionally, the system comprises an input/output interface for receiving input data and outputting resulting output data.

[0124] In this particular example, at least some of the steps, functions, procedures, modules and/or blocks described herein are implemented in a computer program, which is loaded into the memory for execution by processing circuitry including one or more processors. The processor(s) and memory are interconnected to each other to enable normal software execution. An optional input/output device may also be interconnected to the processor(s) and/or the memory to enable input and/or output of relevant data such as input parameter(s) and/or resulting output parameter(s).

[0125] The term ‘processor’ should be interpreted in a general sense as any system or device capable of executing program code or computer program instructions to perform a particular processing, determining or computing task.

[0126] The processing circuitry including one or more processors is thus configured to perform, when executing the computer program, well-defined processing tasks such as those described herein.

[0127] The processing circuitry does not have to be dedicated to only execute the above-described steps, functions, procedure and/or blocks, but may also execute other tasks.

[0128] FIG. 9 is a schematic diagram illustrating another example of computer implementation according to an embodiment.

[0129] According to a sixth aspect, there is provided a computer program for at least partly determining, when executed by a computer, the orientation of an edge-on x-ray detector with respect to the direction of x-rays from an x-ray source, wherein the edge-on detector has detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of the x-rays. The computer program comprises instructions, which when executed by the computer, cause the computer to: [0130] read information from measurements, performed by the x-ray detector, representing the intensity of the x-rays at a minimum of two different relative positions of a phantom in relation to the x-ray detector and the x-ray source, the phantom being situated between the x-ray source and the x-ray detector and designed to embed directional information in the x-ray field when exposed to x-rays; and [0131] determine at least one parameter associated with the orientation of the x-ray detector with respect to the direction of x-rays based on the obtained information from measurements and a geometrical model of the spatial configuration of the x-ray detector, x-ray source and phantom.

[0132] The proposed technology also provides a computer-program product comprising a computer-readable medium 220; 230 having stored thereon such a computer program.

[0133] By way of example, the software or computer program 225; 235 may be realized as a computer program product, which is normally carried or stored on a computer-readable medium 220; 230, in particular a non-volatile medium. The computer-readable medium may include one or more removable or non-removable memory devices including, but not limited to a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc (CD), a Digital Versatile Disc (DVD), a Blu-ray disc, a Universal Serial Bus (USB) memory, a Hard Disk Drive (HDD) storage device, a flash memory, a magnetic tape, or any other conventional memory device. The computer program may thus be loaded into the operating memory of a computer or equivalent processing device for execution by the processing circuitry thereof.

[0134] The flow diagram or diagrams presented herein may be regarded as a computer flow diagram or diagrams, when performed by one or more processors. A corresponding device, system and/or apparatus may be defined as a group of function modules, where each step performed by the processor corresponds to a function module. In this case, the function modules are implemented as a computer program running on the processor. Hence, the device, system and/or apparatus may alternatively be defined as a group of function modules, where the function modules are implemented as a computer program running on at least one processor.

[0135] The computer program residing in memory may thus be organized as appropriate function modules configured to perform, when executed by the processor, at least part of the steps and/or tasks described herein.

[0136] FIG. 10 is a schematic diagram illustrating an example of an x-ray measurement system according to an embodiment. Basically, the x-ray measurement system 300 comprises: [0137] an edge-on x-ray detector 310 having detector elements arranged to enable measuring of x-ray intensity with spatial separation in the direction of x-rays from an x-ray source 320; [0138] a phantom 330, which is designed to embed directional information in the x-ray field when exposed to x-rays, arranged between the x-ray source and the x-ray detector, [0139] wherein relative motion of the phantom can be induced in relation to the x-ray detector and the x-ray source; and [0140] wherein the x-ray measurement system 300 is configured to perform measurements of the intensity of the x-rays at a minimum of two different relative positions of the phantom in relation to the x-ray detector and the x-ray source to obtain measurement information.

[0141] The x-ray measurement system 300, simply referred to as an x-ray system, may include more than one edge-on x-ray detector, as understood by the skilled person.

[0142] In the particular example of FIG. 10, a measurement readout module 340 may be connected to each detector for reading and optionally pre-processing the measurement data and subsequently transferring the measurement data to a computer or similar processing system (not shown in FIG. 10) for computerized processing.

[0143] By way of example, the x-ray measurement system 300 may include a control system 350 for effectuating the desired control operations of the system, including inducing the relative motion and/or performing measurements of the intensity of the x-rays at a minimum of two different relative positions.

[0144] The embodiments described above are merely given as examples, and it should be understood that the proposed technology is not limited thereto. It will be understood by those skilled in the art that various modifications, combinations and changes may be made to the embodiments without departing from the present scope as defined by the appended claims. In particular, different part solutions in the different embodiments can be combined in other configurations, where technically possible.