Apparatus and method for determining measure of similarity between images

Information

  • Patent Grant
  • 7480399
  • Patent Number
    7,480,399
  • Date Filed
    Tuesday, January 16, 2007
    17 years ago
  • Date Issued
    Tuesday, January 20, 2009
    15 years ago
Abstract
A method and system is presented in image-guided radiosurgery for determining the measure of similarity of two digital images, for example a 2D x-ray image and a 2D DRR synthesized from 3D scan data. A two-dimensional array of pixel values of a difference image may be formed by subtracting each pixel value of the second image from the corresponding pixel value of the first image. The pattern intensity function may be constructed by taking the summation of functions of the gradients of the difference image. The neighborhood R may be defined so as to allow the gradients of the difference image to be considered in at least one direction.
Description
TECHNICAL FIELD

Embodiments of the present invention relate to an apparatus and method for determining the measure of similarity of two images.


BACKGROUND

Radiosurgery is useful for treating tumors and other lesions by delivering a prescribed high dose of high-energy radiation to the target area while minimizing radiation exposure to the surrounding tissue. In radiosurgery, precisely focused beams of radiation (e.g. very intense x-ray beams) are delivered to a target region in order to destroy tumors or to treat the tumor for other purposes. The goal is to apply a lethal or other desired amount of radiation to one or more tumors, without damaging the surrounding healthy tissue.


Conventional radiosurgery uses a rigid and invasive stereotactic frame to immobilize the patient prior to diagnostic CT or MRI scanning. The treatment planning is then conducted from the diagnostic images. The treatment planning software determines the number, intensity, and direction of the radiosurgical beams that should be cross-fired at the target, in order to ensure that a sufficient dose is administered throughout the tumor so as to destroy it, without damaging adjacent healthy tissue. Immobilization of patient is necessary in order to maintain the spatial relationship between the target and the radiation source that ensures accurate dose delivery. The frame is fixed on the patient during the whole treatment process, causing pain and inconvenience to the patient.


Image-guided radiosurgery allows the elimination of such invasive frame fixation, during treatment. In an image-guided radiosurgical process, the patient position and the relative alignment of the radiation beam with respect to the patient target is continuously adjusted. In order to ensure the delivery of the correct dose of radiation to the correct location, the patient (and target) position during treatment needs to be detected. This is accomplished by registering the x-ray image acquired at the treatment time with the diagnostic 3D scan data (e.g., CT, MRI, ultrasound, or PET scan data) obtained pre-operatively at the time of treatment planning. In the field of medical image registration, this problem is categorized as a 2D/3D registration.


In the 2D/3D registration process, similarity measures are useful for comparing the image intensities in the x-ray images and the DRR images, so that the change in patient position (and thus in target region position) that has occurred between the diagnostic scanning and the taking of real-time images can be accurately detected. Image-guided radiosurgery requires precise and fast positioning of the target at the treatment time. In practice, the accuracy should be below 1 mm, and the computation time should be on the order of a few seconds. Unfortunately, it is difficult to meet both requirements simultaneously. In order to optimize the 2D/3D registration process in image-guided radiosurgery, it is necessary to provide an accurate, robust, and efficient similarity measure method and system.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 illustrates the generation of 2D DRRs from 3D CT scan data of a treatment target within an anatomical region of a patient.



FIG. 2 schematically illustrates the neighborhood for calculating pattern intensity, in one embodiment of the present invention.



FIG. 3 illustrates a schematic block diagram of a system for determining the measure of similarity between an x-ray image of an object, and a synthesized DRR of the object, constructed in accordance with one embodiment of the present invention.





DETAILED DESCRIPTION

The present invention is directed to a similarity measure, based on pattern intensity, for use in 2D/3D medical image registration. Similarity measures are used to compare two images, each of which have been generated using different modalities (e.g., CT versus x-rays), so that information from one image can be registered onto the other. Similarity measures are useful in procedures such as the 2D/3D medical image registration procedures in image-guided radiosurgery. The similarity measure method and system disclosed in the present invention allows for selected phases of the 2D/3D registration process in image-guided radiosurgery to be carried out in a more robust, efficient, and powerful manner, as compared to processes carried out using other similarity measures known and used in the art.


As explained in the background section, 2D/3D registration is necessary in order to correct patient position and properly align the radiosurgical beam relative to the target. The x-ray image acquired at treatment time is registered with the 3D scan obtained at the time of treatment planning. A CT scan is most frequently used for the 3D scan; however, other 3D scanning methods, such as MRI, ultrasound or PET scanning, may also be used. The 3D data is used as the reference to determine the patient position change during treatment. For this purpose, 2D reference images are reconstructed from the 3D scan data. Typically, digitally reconstructed radiographs (DRRs) need to be generated from 3D CT data and are used as the 2D reference images.



FIG. 1 illustrates the generation of 2D DRRs from 3D CT scan data of a treatment target within an anatomical region of a patient. In FIG. 1, the volumetric 3D CT image of the target is schematically referred to using reference numeral 60. The DRRs 65A and 65B, shown in FIG. 2, are artificial, synthesized 2D images that represent the radiographic image of the target that would be obtained if imaging beams were used having the same intensity, position and angle as the beams used to generate the real time x-ray projection images, and if the target were positioned in accordance with the 3D CT scan data. The reference numerals 50A and 50B illustrate the hypothetical positions and angles from which the imaging beams would be directed through a target positioned in accordance with the CT volumetric image 60 of the target.


Typically, DRRs are generated by casting hypothetical beams or rays through the CT volumetric image of the target. Each ray goes through a number of voxels of the 3D CT image 60. By integrating the CT numbers for these voxels along each ray, and projecting onto an imaging plane (shown as 70A and 70B, respectively, in FIG. 2), the resultant image would emulate the radiograph that would be obtained by passing rays from hypothetical locations (50A and 50B, respectively) through a target positioned in accordance with the volumetric 3D image 60. Ray tracing algorithms, known in the art, are generally used to generate DRRs.


Applications such as image-guided radiosurgery require that the comparison between the DRRs (that contain the 3D CT scan information) and the real-time x-ray images, and consequent adjustment of the position of the x-ray source, be made very rapidly and accurately. In practice, the accuracy should be below 1 mm, and the computation time should be on the order of a few seconds. Unfortunately, it is difficult to meet both requirements simultaneously, because of several reasons. First, the two different modality images, i.e. CT scan images and x-ray images, have different spatial resolution and image quality. Generally, x-ray image resolution and quality are superior to the resolution and quality of DRR images, which are only synthesized images. Typically, some structures in the DRR may appear more blurred (especially normal to the CT slice plane), compared to the x-ray image. Ideally, an optimal similarity measure for a 2D/3D registration process should allow for an accurate registration to be achieved, despite such differences.


Second, DRR generation relies on a proper attenuation model. Because attenuation is proportional to the mass intensity of the target volume through which the beam passes, the exact relationship between the traversed mass intensity and the CT image intensity needs to be known, in order to obtain an accurate modeling. Establishing this relationship is difficult, however, so the linear attenuation model is often used. As is known, the linear attenuation coefficient of a material is dependent on x-ray energy. CT machines and x-ray machines work at different effective energies, however. As a result, the attenuation coefficients measured by a CT scanner are different from the attenuation of a beam of x-rays passing through the target. The skeletal structures in DRR images cannot be reconstructed very well using the linear model, the DRRs being only synthetic x-ray projection images. At CT energies, the ratio of bone-to-soft-tissue attenuation is much lower than at x-ray radiographic energies. Thus, in a DRR produced from a 3D CT volume, the image contrast from soft tissue will be comparable with the image contrast from bone, reducing the clarity of bone details, for example.


Finally, x-ray images usually have a large image size (512×512). For better registration accuracy, it is desirable to use the full resolution image. Full resolution images are rarely used, in practice, however, because the resulting increase in computation time is excessive, and is incompatible with the requirements of image-guided radiosurgery.


Generally, similarity measure methods used in 2D/3D registration can be divided into two categories. The first method is based on image features. The image features could be anatomical edges or segmented objects. The registration accuracy depends on the accuracy of edge detection or object segmentation. The main advantage of this method is its fast computation. Feature-based similarity methods register on salient features that have been segmented from each image. They use a reduced amount of data, which makes the algorithms fast, once the segmentation has been undertaken. Because the full information content of the image is not used, however, the accuracy is sacrificed. Errors in the segmentation stage can lead to an error in the final registration.


The second method is based on image intensity content. Intensity-based methods compare the voxel and pixel values directly, using measures based on image statistics. The original images are used for registration. Usually, a good accuracy can be achieved. Although these methods require little or no segmentation, intensity-based methods are typically much slower. Because a long time computation is required, it is hard to apply intensity-based similarity measures to clinical practice.


In a co-pending patent application Ser. No. 10/652,786, a method and system for 2D/3D image registration is disclosed that uses a hierarchical and iterative framework for the registration algorithm, to achieve a higher accuracy with less computing time. The Ser. No. 10/652,786 application is owned by the assignee of the present application, and is hereby incorporated by reference in its entirety. In the Ser. No. 10/652,786 application, a 2D/3D image registration procedure is disclosed that includes the steps of 1) performing a 3D multi-level matching to determine an initial estimate in-plane transformation parameters, 2) performing an initial 1-D search for each of a pair of out-of-plane rotation parameters, then 3) iteratively refining the in-plane parameters (x, y, θ) and the out-of-plane parameters (r, φ), until the parameters converge to a desired accuracy. The similarity measure methods disclosed in the present invention are designed to optimize the 2D/3D image registration procedure disclosed in the Ser. No. 10/652,786 application.


The similarity measure method of the present invention is based on pattern intensity, and provides a powerful and efficient way to solve the 2D/3D image registration procedure, as disclosed in the Ser. No. 10/652,786 application. In particular, the pattern intensity based method and system of the present invention is designed for the 1D search phase (for the out-of-plane parameters), and the iterative refining phases of the 2D/3D image registration procedure disclosed in the Ser. No. 10/652,786 application.


For the 3D multi-level search phase, the “sum of absolute differences” (SAD) measure is used, which is a known, simple similarity measure. The SAD measure is widely used in medical image processing and video processing, in cases where the two images to be matched have high image quality. The main advantage of using SAD is its fast computation and its easy optimization in parallel computation. Its main disadvantage is that the solution is sensitive to image noise, artifacts and intensity difference between the live and DRR images. As a result, SAD is only used in the first search phase to get approximate results. SAD can be expressed as







SAD
=




i
,
j











I
Live



(


,
j

)


-


I
DRR



(


,
j

)







,





where Ilive(i,j) represents the intensity of the “live” real-time x-ray image, and IDRR(i,j) represents the intensity of the reconstructed DRR image.


The pattern intensity similarity measure of the present invention is more accurate, and less sensitive to image noise, artifacts, and to the intensity difference between the images being compared. In the exemplary embodiment described in the following paragraphs, the first image is a 2D x-ray image of a radiosurgical treatment target, and the second image is a 2D DRR that is reconstructed from 3D CT scan data generated at the time of treatment planning. In a preferred embodiment, the two images are discretized, digital images, characterized by first and second 2D arrays of pixel values. The pixel arrays are equi-dimensional, i.e. the number of rows and columns of the first array is equal to the number of rows and columns of the second array. As well known, each pixel value of an image is a number representative of the intensity of the image at a unique corresponding 2D area element forming the image.


A difference image is formed from the real-time x-ray image and the DRR image, by subtracting the corresponding pixel values of the second image (the DRR image) from each pixel value of the first image (the real-time):

Idif(i,j)=ILive(i,j)−IDRR(i,j),

where Idif(i,j) represents the intensity or pixel value of the ij-th pixel of the difference image,

  • Ilive(i,j) represents the intensity or pixel value of the ij-th pixel of the live x-ray image; and
  • IDRR(i,j) represents the intensity or pixel value of the ij-th pixel of the artificial DRR image.


A pattern intensity function is defined, which operates on the difference image. The pattern intensity function is expressed as an asymptotic function of the gradients of the difference image:











[

[





i
,
j















k
.
k


R








σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(


i
+
k

,

j
+
l


)



)

2





,

]

]






i
,
j















k
.
k


R





σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(


i
+
k

,

j
+
l


)



)

2






,




(
1
)








where σ is a weighting constant and R is a neighborhood that is defined using the pixel (i, j) as the center point. The form of the mathematical formulation results in the similarity measure tending to a maximum value, as the number of structures tends to zero, and the similarity measure asymptotically tending to zero, as the number of structures increase. Because of the asymptotic nature of the pattern intensity measure, large differences in intensity have the same effect on the measure, regardless of their magnitude. This makes the measure robust to large differences in pixel intensity.


The function is weighted by the weighting constant σ. The constant σ is used to weight the function, so that small deviations in intensity (caused by noise, by way of example) results in the measure remaining proximate to its maximum value. The sensitivity of the solution to the variation of X-ray image can be minimized by careful selection of this constant. The larger the weighting constant, the more stable the results become. However, the choice of the weighting constant is a tradeoff between stability and accuracy. If the value of the weighting constant is too large, the smaller details in the images cannot be reflected in the similarity measure. Based on experimentation, the empirical value of σ is determined to be in the range from about 4 to about 16, although other values of σ are also within the scope of the present invention.


The pattern intensity function considers a selected neighborhood for each pixel. In a preferred embodiment of the invention, illustrated in FIG. 2, the neighborhood R is defined such that the gradients in four directions are considered: horizontal, vertical, 45° diagonal and −45° diagonal. As shown in FIG. 2, in the horizontal direction, the (i, j−1)-th pixel is considered. In the vertical direction, the (i−1,j)-th pixel is considered. In the 45° diagonal direction, the (i−1, j+1)-th pixel is considered. In the −45° direction, the (i−1, j−1)-th pixel is considered.


Based on the definition of the neighborhood R as shown in FIG. 2, the pattern intensity expression is given as the sum below:













i
,
j








σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(


,

j
-
1


)



)

2




+




i
,
j








σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(



-
1

,
j

)



)

2




+




i
,
j








σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(



-
1

,

j
-
1


)



)

2




+




i
,
j








σ
2



σ
2

+


(



I
dif



(


,
j

)


-


I
dif



(



-
1

,

j
+
1


)



)

2








(
2
)








The formulation of the pattern intensity function, given in equation (2) above, provides a number of advantages over other known similarity measures, as discussed in paragraph 41 below.



FIG. 3 schematically illustrates a system 200 for determining, during image-guided surgery, the measure of similarity between two images, constructed in accordance with one embodiment of the present invention. The present invention features a system for determining the measure of similarity of a 2D x-ray image of an object, and a 2D DRR of the object generated from previously obtained 3D scan data. Preferably, the x-ray image and the DRR are discretized digital images, which are characterized by a first and second 2D array of pixel values. The system includes a 3D scanner for generating 3D scan data of the target. The 3D scanner may include, but is not limited to, a CT scanner, an MRI system, an ultrasound system, and a PET system.


A radiation source 202 (typically an x-ray source) is provided for generating at least one imaging beam (typically an x-ray beam). An imaging system 206 is provided for generating a 2D radiographic image of the target in near real time, by directing the imaging beam towards and through the target from a known location and angle and at a known intensity, and detecting the imaging beam after the beam has passed through the target. The imaging system 206 is preferably an x-ray imaging system for generating a pair of orthogonal x-ray projection images of the target. The imaging system 206 preferably has a pair of x-ray sources for generating diagnostic imaging beams (having known positions, angles, and intensities), and a corresponding pair of x-ray image detectors which detect the beams after the beams have passed through the target.


The system includes a controller 208. The controller 208 includes software for generating a set of reconstructed 2D images (preferably DRRs) of the target, based on the 3D scan data from the 3D scanner 201, and the known intensity, location, and angle of the imaging beams. The controller also includes software for determining the measure of similarity between the 2D x-ray image and the 2D DRR, in a manner described above in paragraphs 28-36.


The pattern intensity similarity measure of the present invention provides a number of advantages over other methods known in the art. First, the difference image filters out the low frequency part that is basically the soft tissues and keeps the high frequency part that is mostly the skeletal structures. This feature makes the algorithm robust to some brightness intensity difference between live and DRR images. Second, because of the asymptotic nature of the pattern intensity function, the similarity measure is less affected by pixels whose intensity values deviate only slightly from its neighboring pixels. These kinds of pixels are thought to contain random noise, hence undesirable. Third, because the asymptotic function quickly approaches to zero when the variable increases, large intensity differences such as image artifacts have the same effects on the similarity measure, regardless of their magnitude. Accordingly, the pattern intensity is less sensitive to image artifacts.


While the invention has been particularly shown and described with reference to specific preferred embodiments, it should be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims
  • 1. A method in image-guided radiation treatment, comprising: determining a measure of similarity of a first image of an object and a second image of the object, wherein each of the first image and the second image has pixel values, and wherein determining the measure of similarity comprises: forming a difference image by subtracting corresponding pixel values of the second image from each pixel value of the first image; andforming a pattern intensity function over all the pixels in the difference image within a neighborhood.
  • 2. The method of claim 1, wherein the first image is an x-ray image of the object and the second image is a digitally reconstructed radiograph (DRR) synthesized from a previously generated three dimensional (3D) scan data of the object.
  • 3. The method of claim 1, wherein forming the pattern intensity function comprises summing functions of gradients of the difference image.
  • 4. The method of claim 3, wherein the neighborhood is defined so that the gradients of the difference image can be considered in at least one direction.
  • 5. The method of claim 3, wherein the neighborhood is defined so that the gradients of the difference image can be considered in a plurality of directions.
  • 6. The method of claim 1, wherein said pattern intensity function is characterized by a mathematical formulation given by
  • 7. The method of claim 6, wherein σ is from about 1 to about 64.
  • 8. A computer readable medium storing software that provides instructions which, if executed, performs operations comprising: determining a measure of similarity of a first image of an object and a second image of the object, wherein each of the first image and the second image has pixel values, and wherein determining the measure of similarity comprises: forming a difference image by subtracting corresponding pixel values of the second image from each pixel value of the first image; andforming a pattern intensity function over all the pixels in the difference image within a neighborhood.
  • 9. The computer readable medium of claim 8, wherein the first image is an x-ray image of the object and the second image is a digitally reconstructed radiograph (DRR) synthesized from a previously generated three dimensional (3D) scan data of the object.
  • 10. The computer readable medium of claim 8, wherein forming the pattern intensity function comprises summing functions of gradients of the difference image.
  • 11. The computer readable medium of claim 10, wherein the neighborhood is defined so that the gradients of the difference image can be considered in at least one direction.
  • 12. The computer readable medium of claim 10, wherein the neighborhood is defined so that the gradients of the difference image can be considered in a plurality of directions.
  • 13. The computer readable medium of claim 8, wherein said pattern intensity function is characterized by a mathematical formulation given by
  • 14. The computer readable medium of claim 13, wherein σ is from about 1 to about 64.
  • 15. The computer readable medium of claim 8, wherein the first image is an x-ray image of the object and the second image is a digitally reconstructed radiograph (DRR) synthesized from a previously generated three dimensional (3D) scan data of the object, and wherein the pattern intensity function is formed by summing asymptotic functions of the gradients of the difference image over all the pixels within a neighborhood R, and wherein the neighborhood R is defined so that the gradients of the difference image can be considered in at least four directions.
  • 16. A computer readable medium of claim 15, wherein the first and second images are discretized images respectively characterized by a first and a second two-dimensional (2D) arrays of pixel values; and wherein said difference image is a discretized image characterized by a third 2D array of pixel values, and wherein each pixel value of an image is a number representative of an intensity of the image at a corresponding 2D array element.
  • 17. A computer readable medium of claim 16, wherein the pixel value for each image represents the intensity of said image, and wherein the pixel value at an i-th row and j-th column of the third away of pixel values for the difference image is given by Idif(i,j)=ILive(i,j)−IDRR(i,j),
  • 18. The computer readable medium of claim 15, wherein the pattern intensity function is characterized by a mathematical formulation given by
  • 19. The computer readable medium of claim 15, wherein the at least four directions comprise: a substantially horizontal direction;a substantially vertical direction;a diagonal direction of about 45 degrees; anda diagonal direction of about −45 degrees.
  • 20. The computer readable medium of claim 19, wherein the pattern intensity function is given by
REFERENCE TO RELATED APPLICATIONS

This application is a continuation of application Ser. No. 10/652,717, filed Aug. 29, 2003 now U.S. Pat. No. 7,187,792.

US Referenced Citations (16)
Number Name Date Kind
5117829 Miller et al. Jun 1992 A
5901199 Murphy et al. May 1999 A
6235038 Hunter et al. May 2001 B1
6307914 Kunieda et al. Oct 2001 B1
6470207 Simon et al. Oct 2002 B1
6501981 Schweikard et al. Dec 2002 B1
6665555 Henderson et al. Dec 2003 B2
6782287 Grzeszczuk et al. Aug 2004 B2
7024237 Bova et al. Apr 2006 B1
20020077543 Grzeszczuk et al. Jun 2002 A1
20040092815 Schweikard et al. May 2004 A1
20040131150 Pankratov et al. Jul 2004 A1
20040267113 Thomson Dec 2004 A1
20050047544 Fu et al. Mar 2005 A1
20050049477 Fu et al. Mar 2005 A1
20050049478 Kuduvalli et al. Mar 2005 A1
Related Publications (1)
Number Date Country
20070116341 A1 May 2007 US
Continuations (1)
Number Date Country
Parent 10652717 Aug 2003 US
Child 11654254 US