The invention relates to an image processing apparatus arranged to scale an object within an image, said image processing apparatus comprising:
an input arranged to input a pre-determined true dimension of a marker into a calibrator;
the calibrator arranged to scale the object based on a scaling factor determined from a relationship between the true dimension of the marker and a dimension of the marker in pixel units in the image.
The invention further relates to an imaging system.
The invention still further relates to a method for enabling scaling of an object within an image based on a scaling factor determined from a relation between a pre-determined true dimension of a marker and a dimension of the marker in pixel units in the image.
The invention still further relates to a computer program.
An embodiment of an image processing apparatus as is set forth in the opening paragraph is known from U.S. Pat. No. 6,405,071. The known image processing apparatus is arranged to determine a length of a root canal from an X-ray image thereof, said image comprising a projection of a marker aligned with the root canal and being conceived to be used for scaling purposes. The marker has a pre-known length. Thus, a relationship, notably a ratio between a dimension of the marker in pixel units and its true length yields an image scaling factor. The measured length of the root canal will be scaled according to its length in pixel units and the scaling factor.
It is a common practice to use a marker for determination of the image scaling factor. The marker is a foreign object suitably aligned in relation with the object to be scaled and imaged together with the object. For purpose of obtaining the scaling factor, a user manually delineates the marker, for example by indicating two points for a length measurement, using a suitably arranged graphic user interface. Subsequently, the user executes a suitable computation routine for a calculation of a dimension of the marker in pixel units. When the dimension of the marker in pixel units is determined, the user manually inputs the true dimension of the marker using a suitable input, so that a suitable calibrator of the image processing apparatus calculates the scaling factor.
It is a disadvantage of the known image processing apparatus that a procedure of establishing the scaling factor is time consuming and is subject to human errors. These errors might propagate into an error in a value of the object size, which is unacceptable.
It is an object of the invention to provide an image processing apparatus where the determination of the scaling factor is enabled with high reliability.
To this end the image processing apparatus according to the invention further comprises an image processing tool arranged to delineate a feature in the image with a graphic template linked to a measurement tool arranged to determine a dimension of the feature in pixel units, the calibrator being further arranged to use the feature as the marker.
The technical measure of the invention is based on the insight that it is advantageous to provide an automatically delineated graphic object to the user, said graphic object being linked to a suitable associated measurement for purposes of establishing the scaling factor. According to the technical measure of the invention the marker is assigned to an image feature, which is automatically drawn in the image, whereby its dimension in pixel units is automatically determined by a measurement tool. Thus, the delineated image feature can be used as the marker for image scaling purposes. Any feature in the image with a known dimension may be used as the marker. The term ‘feature’ is attributed to any identifiable item in the image, which has a pre-determined true dimension, notably a length and is thus suitable for image scaling purposes. For example, the feature may be based on two landmarks, a line between two landmarks, a circle with a diameter or a radius, or any other suitable one- or multi-dimensional object comprising a plurality of pixels. Additionally, the feature may be obtained from a suitable image segmentation step, which is arranged to provide a suitable shape, for example, positioned on top of a specific part of an anatomy or a further object shown in the image.
According to the technical measure of the invention the calibrator is arranged to use the delineated feature as the marker for image scaling purposes. Thus, the user does not have to manually delineate the marker, which improves the accuracy and reliability of the image scaling step. Suitable graphic routines operable to calculate the dimension in pixel units are known per se in the art. Preferably, if the image processing apparatus according to the invention is used for a certain type of images, for example for planning an implant, the graphic template may comprise the pre-determined true length of the envisaged marker, the user having only to confirm the value of the true length using the input, or, otherwise, to use the input to edit said value accordingly. Upon a completion of the image scaling step, the true dimension of the object conceived to be scaled will be determined with high precision and without a substantial user interaction.
It is found to be preferable that the graphic template not only provides a suitable marker, but also automatically delineates the object conceived to be scaled. A plurality of suitable means for delineating an object within the image are known per se in the art, the examples comprising any suitable image matching or segmentation techniques.
In an embodiment of the image processing apparatus according to the invention the measurement tool is defined within a geometric relational application framework macro.
According to this technical measure the geometric relational application framework macro is used for an image calibration step. This is advantageous, as the geometric relational application framework macro can be configured to interrelate a plurality of objects in such a way, that when a single object is repositioned, the other objects related to it are repositioned accordingly. This results not only in a provision of a fully automated image processing, but also in a provision of a highly reliable delineation, measurement and calibration means.
An embodiment of the image handling using the geometric relational application framework macro is known from WO/0063844, which is assigned to the present Applicant. The geometric relational application framework macro is arranged to provide detailed descriptions of various geometric templates defined within the image, in particular to structurally interrelate said templates within geometry of the image, thus providing a structural handling of various geometrical templates so that a certain pre-defined geometrical consistency between the templates is maintained. The geometric relational application framework macro further enables analysis and/or measurement of geometrical properties of anatomical structures, when the structure is provided with a suitable landmark. A broad variety of possible geometric relations between pre-definable geometric templates, like a circle, a line, a sphere, etc., is possible and is defined within the geometric relational application framework macro. The geometric template is operable by the geometric relational application framework macro using a landmark, or a set of landmarks associated with the geometric template.
In a further embodiment of the image processing apparatus according to the invention a plurality of objects is interconnected within the geometric relational application framework macro.
It is found to be particularly advantageous to interrelate a plurality of objects for scaling purposes. This measure has an advantage that in case when a scaling factor is updated, for example due to a user interaction, the true dimension of each respective interrelated object is automatically updated. This feature further improves user-friendliness and reliability of the image processing apparatus according to the invention.
An imaging system according to the invention comprises a display and the image processing apparatus, as is set forth in the foregoing. Advantageously, the imaging system according to the invention further comprises a data acquisition unit connectable to the image processing apparatus. In this way an easy to operate data acquisition and processing system is provided, whereby the user is enabled to carry out necessary image processing steps with high reliability.
The method according to the invention comprises the following steps:
delineating the marker in the image using a graphic template linked to a measurement tool arranged to determine a dimension of the marker in pixel units;
obtaining a true dimension of the feature;
using the feature as the marker;
calculating the scaling factor;
scaling the object using the scaling factor and a dimension of the object in pixel units.
According to the method of the invention the user is enabled to carry out necessary image scaling steps easy and reliably, whereby a measurable graphic object based on an image feature is provided for a direct calculation of the scaling factor. Further advantageous embodiments of the method according to the invention are set forth in claims 8, 9.
The computer program according to the invention is arranged to cause a processor to carry out the steps of the method as is set forth in the foregoing. The computer program comprises suitable subroutines arranged to load image data and to run a measurement protocol. The measurement protocol is arranged to initiate a toolkit macro that arranged to delineate a feature in the image. Preferably, the graphic template is positioned in the image using suitable image matching techniques. For example, when the user selects a feature to be represented by a standard geometric shape, for example a circle or a line, the matching subroutine carries out an automatic matching between a part of the image and the template, by suitably sizing and displacing the template. When the geometric template is placed, the measurement routine is executed, resulting in a dimension of the feature in pixel units. When the true dimension of the feature is input, the calibration routine automatically calculates the scaling factor, which is applicable for all objects conceived to be scaled within the image. The user may alter the value of the true size of the feature, the calibration and scaling being updated automatically.
These and other aspects of the invention will be described in further detail with reference to figures.
a presents in a schematic way an embodiment of a graphic template according to the invention.
b presents in a schematic way a further embodiment of the graphic template according to the invention.
c presents in a schematic way a still further embodiment of the graphic template according to the invention.
d presents in a schematic way an embodiment of an image processing apparatus according to the invention.
a presents in a schematic way an embodiment of a graphic template according to the invention. In order to illustrate the effect of the graphic template according to the invention on the calibration and scaling process, processing of image 10 is shown in two temporary consecutive steps 11a and 11b. At step 11a the image 10 comprises image data 11a′ onto which a graphic template 11a″ is overlaid. The graphic template 11a′ is arranged to delineate a feature 12. The graphic template 11a′ is linked to an associated measurement tool for determination of the dimension of the feature 12 in pixel units. The user may input the true length of the feature in the interactive window 13. When the calibrator selects the feature 12 as the marker for image scaling purposes, the scaling factor is determined, for example based on a ratio between the true dimension of the thus defined marker and its pixel length in the image 10. Preferably, the scaling factor is fed back (not shown). The graphic template 11a″ further comprises an object 14, which is conceived to be scaled to its true dimension using the scaling factor. For user's convenience the corresponding reading is shown in window 15. It must be noted that according to the invention, the calculation of the scaling factor and the calculation of the true length of the object are provided automatically and without user's interaction, in case when suitable calibration routine uses a default value of the true dimension of the marker. In case a marker of another dimension is used for calibration, the user may edit the value in window 13, as is shown at step 11b. In this case the user uses a suitable user interface to change the default value of 80.0 mm to, for example 50.0 mm, the true dimension of the object 15a being updated automatically. It is shown that according to the technical measure of the invention, the user does not have to spend his time on delineating the marker and the object, them being overlaid automatically on the image using suitable graphic templates. Therefore, the image scaling step is user friendly and is reliable, thus reducing mistakes due to human errors. Although a very specific example is shown in this figure, those skilled in the art appreciate that a plurality of possibly suitable measurement tools may be overlaid on the image and may be made available to the user for scaling purposes. Preferably, the position of the marker and the object conceived to be scaled are delineated automatically using suitable techniques, for example image segmentation. Alternatively, the user may delineate and/or edit an automatic delineation of the object himself.
b presents in a schematic way a further embodiment of the graphic template according to the invention, whereby a graphic template comprises a measurement tool arranged within a geometric relational application framework macro. In this example an automatic diameter measurement of a human femur is shown. The solid lines 32, 34 represent graphic templates within the geometric relational application framework macro: a line 32 modeling the femoral axis, a second perpendicular line 34 modeling a direction of a diameter measurement 35. This perpendicular line 34 is arranged to contain two graphic templates, namely two point objects 33a, 33b with an associated distance measurement, all being defined within the geometric relational application framework macro. In this example, open contours 31 are associated with the points 33a, 33b. These contours position themselves automatically along the edges of the femoral bone using a suitable image segmentation technique. Through specifically defined relations between the line 34, the line 32 and the contours 31, the positions of the two point objects 33a, 33b are automatically adapted to the intersection of the perpendicular line 34 and each graphic object 31. The image 30 further comprises a delineated feature 37, which is used as the marker for image scaling purposes. The marker 37 is preferably overlaid on an object with a known dimension, for example a ruler or, alternatively an image of an implant or a screw may be used as well. A corresponding scaling factor or a true length of the marker is being fed-back to the user in the window 37a. In case when the scaling factor is changed, for example due to editing of the true length of the marker, the reading of the true distance 36 is updated automatically. Also, the reading of the true distance 36 is automatically updated in case when a position of any of the lines 31, 32, 34 is changed, leading to a different reading of a length for a trajectory 35 between new points 33a and 33b. Thus, in case when the user picks up the perpendicular line 34 and moves it along the femoral axis, the diameter measurement 35 will adapt dependent on the current femur diameter at a new location of the perpendicular line 34. According to this technical measure, a versatile and easy to operate image processor is provided, whereby due to coupling between the graphic objects in a geometric relational application framework macro, any repositioning of the objects automatically lead to an update of the true dimension of the object of interest 35, using the scaling factor.
c presents in a schematic way a still further embodiment of the graphic template according to the invention, whereby a plurality of objects is associated. This particular embodiment illustrates an application related to a measurement of a leg length difference based on an X-ray image. Any suitable implementation for associating geometric objects in the image 20 is possible, including, but not limited to a geometric relational application framework macro. Any other suitable image from any other suitable imaging modality may as well be used for practicing the invention, the invention being not limited to a medical domain. The objects inter-related by the geometric relational application framework macro comprise two circles 22a, 22b arranged for modeling of size and position of corresponding femoral heads, and a line 26 arranged for indicating the base of the pelvis. Distances from both circle centers 21c, 21c′ to this baseline 28b, 28c are also part of the geometric relational application framework macro structure and are calculated automatically, using the same scaling factor (not shown) obtained from a suitable marker 29. The true length of the marker 29 is preferably given in a window 29a, which may be edited by the user. Therefore, the difference between the distances 24a, 24b representing the leg length difference is also obtained automatically with high precision.
If one element (circle 22a or line 26) is modified all other elements are automatically updated to reflect this modification. Also, in case the true length of the marker is modified, the measurement of the leg length is updated instantly. According to the technical measure of this embodiment of the invention, objects 23a, 23b, 25a, 25b are associated with respective graphic objects 22a, 22b, 26. These graphic objects are arranged to position themselves automatically along edges or other features of the image data. Through specifically defined relations between graphic objects 22a, 22b, 26 inter-related by the geometric relational application framework macro and the graphic objects 23a, 23b, 25a, 25b, the circles 22a, 22b are positioned to fit optimally to the paths of the closed contours 23a, 23b, while the straight line 26 is positioned such that it touches both open contours 25a, 25b. The graphic template is thus coupled, so that adaptations of the circles 22a, 22b, or the straight line 26 are automatically reflected in the measured distances 28a, 28b. Preferably, the constraints and relations that exist between the geometric objects are arranged to limit the adaptation of these objects, which is in turn automatically translated into limitations for the adaptation of the graphic objects. Such constraints are preferably based on knowledge of anatomical consistency.
d presents in a schematic way an embodiment of an image processing apparatus according to the invention. The image processing apparatus 40 has an input 42 for receiving the image data in any suitable form. For example, the apparatus 40 may be involved in the acquisition of the image data. In this case the image data may be acquired in an analogue form and converted using a suitable A/D converter to a digital form for further processing. The image data may also be received in a digital form, e.g. through direct acquisition in a digital form or via a computer network after having been acquired by another computer/medical instrument. The core of the image processing apparatus is formed by a processor 44 which is arranged to load image data from the input 42 and made these data available for further processing. An example of a suitable processor 44 is a conventional microprocessor or signal processor, a background storage 48 (typically based on a hard disk) and working memory 46 (typically based on RAM). The background storage 48 can be used for storing the image data (or parts of it) when not being processed, and for storing operations of the graphic template and suitable shape models (when not being executed by the processor). The main memory 46 typically holds the (parts of) image data being processed and the instructions of the geometric template and the models used for processing those parts of the image data. The apparatus 40 according to the invention comprises a calibrator 45 arranged to determine respective a scaling factor for the image and to apply the scaling factor to a dimension in pixel units of an object in order to yield its true dimension. The apparatus further comprises image processing tool 47 for delineating a feature in the image using a graphic template linked to a measurement tool. The calibrator 45 is further arranged to use a delineated feature as the marker for image scaling purposes. Preferably, the calibrator 45 and the image processing tool 47 are operable by a computer program 43, preferably stored in memory 48. An output 49 is used for outputting the result of the suitable scaling. For example, if the processor 44 has been loaded with a segmenting program, for example retrieved from the storage 48, then the output may be a segmented structure with an identifiable feature provided with a corresponding calculation of its dimension in pixel units, for example visually indicated on a suitable display (not shown). Preferably, the output comprises a result of the associating of the marker with a delineated feature and a suitable object conceived to be scaled. To obtain the scaling factor, for example a default true length of the marker may be used. The user is then prompted whether he wishes to accept the scaling factor or to edit the true length of the marker. Alternatively, the user may input the true dimension of the marker using the input 42. Various embodiments for the suitable input 42 are possible. For example, a file reader for reading a default value, for example assigned to the graphic template, a graphic user interface, a text editor, an interactive window, or the like.
Number | Date | Country | Kind |
---|---|---|---|
04102401.9 | May 2004 | EP | regional |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB05/51704 | 5/25/2005 | WO | 00 | 11/27/2006 |