WO2010038195A2 - Method and system for removing butting or stitching artifacts from images - Google Patents
Method and system for removing butting or stitching artifacts from images Download PDFInfo
- Publication number
- WO2010038195A2 WO2010038195A2 PCT/IB2009/054266 IB2009054266W WO2010038195A2 WO 2010038195 A2 WO2010038195 A2 WO 2010038195A2 IB 2009054266 W IB2009054266 W IB 2009054266W WO 2010038195 A2 WO2010038195 A2 WO 2010038195A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- butting
- artifact
- cubic
- image
- linear
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/77—Retouching; Inpainting; Scratch removal
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10116—X-ray image
Definitions
- THIS invention relates to a method and a system for removing butting or stitching artifacts from images, in particular from x-ray images from scanning x-ray systems.
- Imaging apparatus in particular scanning x-ray systems, of the type disclosed in WO 00/53093, typically includes an x-ray source and an x-ray detector which are moved relative to a subject under examination in order to generate a composite image of the subject.
- a plurality of individual abutting camera arrays is provided in the x-ray system.
- the camera arrays being in abutment with each other, there is typically a degradation of the generated image at a contact region of the camera arrays.
- the degradation or distortion of the image at the contact regions of the camera arrays is what is referred to as butting artifacts.
- the object of the present invention is to provide a method to minimize, if not eliminate, such distortions or butting or stitching artifacts from images generated by scanning x-ray systems, for example.
- a method for removing butting or stitching artifacts from an image including:
- the model may include at least a shape and an amplitude of the butting artifact.
- the electromagnetic absorption level may be an x-ray absorption level.
- the method may comprise:
- the method may further comprise: determining a blurring kernel footprint size and associating this with each pixel row index for the butting artifact;
- the step of determining linear weighting values may comprise determining the sum of the absolute differences between the linear interpolation model and the image, and inverting the sum into arrays of linear weighting values, Wu n .
- the step of determining cubic weighting values may comprise determining the sum of the absolute differences between the cubic interpolation model and the image, and inverting the sum into arrays of cubic weighting values,
- the method may further comprise:
- the method may comprise:
- the method may comprise:
- the method preferably includes determining an average of the local linear and cubic butting artifact estimates to obtain a final artifact estimate.
- the butting artifact subtracted by the subtraction algorithm may be the final artifact estimate.
- a system for removing butting or stitching artifacts from an image including:
- a locating module arranged to locate and identify at least one region in the image in which a butting artifact is present
- a modeling module arranged to determine at least one model of a butting artifact as a function of electromagnetic absorption level at the identified region
- a subtraction module arranged to apply a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
- the modeling module may be arranged to apply a linear interpolation algorithm to the butting artifact in the image to obtain a linear interpolation of the butting artifact or a linear interpolation model.
- the modeling module may be arranged to apply a cubic interpolation algorithm to the butting artifact in the image to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
- Figure 1 shows a camera of a camera array of a scanning x- ray system
- Figure 2 shows a front view of a camera array of the scanning x-ray system
- Figure 3 shows a functional block diagram of a system in accordance with an example embodiment of the invention
- Figure 4 shows a graphical representation of an image profile, cubic interpolation profile, linear interpolation profile and true image profile in accordance with the invention
- Figure 5 shows a high level flow diagram of a method in accordance with an example embodiment
- Figure 6 shows a flow diagram of the method of Figure 5 in greater detail.
- a scanning x-ray system of the type described in WO 00/53093 typically includes a camera array 9 of cameras 10 arranged side-by-side to other similar cameras 10 ( Figure 2).
- Each camera 10 typically comprises optical fibre bundles 12 which taper from a larger scintillator face 14 to a smaller Charge Coupled Device (CCD) face 16.
- CCD Charge Coupled Device
- the scintillator face 16 typically has a parallelogram shape such that when the cameras 10 are side-by-side there is a certain amount of overlap in data from one camera 10 to another.
- the overlap between adjacent cameras 10 ensures that there will be no or very little loss of data for any pixel column in the resultant x-ray image captured by the camera array 9.
- this arrangement often results in butting or stitching artifacts occurring at the region of the overlap.
- the system 20 is a system for removing butting artifacts from x-ray images captured by the camera array 9 for example.
- the system 20 is therefore communicatively coupled to the camera array 9.
- the system 20 is provided in a scanning x-ray system as hereinbefore described, typically at or in a digital signal processing module of the scanning x-ray system.
- the system 20 does not form part of the scanning x-ray system and is operated in a post-processing fashion to remove butting artifacts from images obtained from the scanning x-ray system.
- the system 20 comprises a plurality of components or modules which correspond to the functional tasks to be performed by the system 20.
- module in the context of the specification will be understood to include an identifiable portion of code, computational or executable instructions, data, or computational object to achieve a particular function, operation, processing, or procedure. It follows that a module need not be implemented in software; a module may be implemented in software, hardware, or a combination of software and hardware. Further, the modules need not necessarily be consolidated into one device but may be spread across a plurality of devices typically in the scanning x-ray system.
- the system 20 operates on pixels of the images.
- the system 20 operates on a matrix of pixels, comprising of rows and columns of pixels, associated with the image.
- the system 20 includes a locating module 22 arranged to locate and identify at least one region in the image in which a butting artifact is present.
- the identified region may typically have a footprint size associated therewith which is determined by the locating module 22.
- the footprint size defines a continuous range of rows in a butting artifact space (which may be the identified region) where the shape of the butting artifact remains relatively similar to the butting artifact shape at this row location.
- the locating module 22 is arranged to locate and identify a row start and stop range of the identified region, in particular row indices of the row start and stop range.
- the footprint size is chosen to be inversely proportional to the amount of variation in the scanning direction.
- the scanning direction is the direction in which the x-ray source and an x-ray detector of the scanning x-ray system are moved relative to a subject under examination (also herein referred to as the y-direction).
- fan-beam direction will be understood as the direction of the x-ray beams emitted by the x-ray source, the fan-beam direction being typically transverse to the scanning direction (also herein referred to as the x-direction). It follows that if there is little variation in the image in the scanning direction this range will be relatively large. If there is a lot of variation in the scanning direction, the range will be small.
- the range must be correspondingly larger if there is more variation in the fan beam direction of the true underlying image. This improves the accuracy of performance of the system 20.
- the locating module 22 is further arranged to determine a variable footprint size. It will be appreciated that the variable footprint size takes into account variations of the overlap artifact in both the scanning direction (so called y- direction), and the fan beam direction (so called x-direction).
- the locating module 22 is arranged to determine the averages of absolute edge differences in a scanning direction across the butting artifact for a particular pixel row in the image and the averages are correspondingly associated with that row.
- the averages in the scanning direction are referred to as T y .To make matters computationally efficient, these values are actually accumulated in the scanning direction yielding a lookup table ⁇ y .
- the locating module 22 is arranged to determine a similar value T x which provides an indication of what amount of variation that occurs for a particular row in the fan beam direction for the underlying artifact-free image at a butting artifact.
- the locating module 22 is arranged to determine T x by determining an average of three independent techniques.
- the first technique calculates the sum of the absolute differences of adjacent pixels in the row of the artifact. This technique is biased by the artifact yet captures high variations in the underlying image which the other two techniques do not capture.
- the second technique determines the average slope at the left and right extremes of the butt and multiplies it by the butt width.
- the third technique simply calculates the absolute difference between the left and right intensity for that butt row. It follows that the locating module 22 uses the average of the three techniques above to determine T x ,
- the foot print size is the calculated to be the row indices that accumulated T x ( ⁇ T X ) changes but the actual T x amount upwards and downwards separately. These extents define the footprint upper and lower limits (accFootLow and accFootHigh). Footprint limits arrays (accFootLow and accFootHigh) which are determined by the locating module 22 are then smoothed for continuity.
- the system 20 further includes a modeling module 24 arranged to determine at least one model of a butting artifact as a function of x-ray absorption level at the region identified by the locating module 22.
- the model includes at least a shape and amplitude of the butting artifact.
- the system 20 also includes a subtraction module 26 arranged to apply a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
- the subtraction is "based" on the model of the butting artifact means that the subtraction module 26 is arranged to subtract the model from the image or alternately the subtraction module 26 is arranged to subtract the butting artifact from the image from data associated with or obtained from the model for example (explained in greater detail below).
- the system 20 includes a linear interpolation module 28 arranged to apply a linear interpolation algorithm to the butting artifact in the image.
- the linear interpolation is illustrated accordingly in Figure 4.
- the system 20 further includes a cubic interpolation module 30 arranged to apply a cubic interpolation algorithm to the butting artifact in the image (also illustrated graphically in Figure 4).
- the linear and cubic interpolation modules 28 and 30 respectively are included in the modeling module 24 or are used by the modeling module 24 such that they facilitate the determination of the model of the butting artifact.
- applying the linear interpolation algorithm may include the linear interpolation module 28 being arranged to perform a linear interpolation curve fit to the identified butt region.
- applying the cubic interpolation algorithm may include the cubic interpolation module 30 being arranged to perform a cubic spline curve fit to the identified butt region.
- the system 20 includes a butting artifact error estimation module 32 arranged to determine linear butting artifact error estimates from differences between the linear interpolation, as determined by the linear interpolation module 28, and the image.
- the butting artifact estimation module 32 is also arranged to determine cubic butting artifact error estimates from differences between the cubic interpolation of the butting artifact, as determined by the cubic interpolation module 30, and the image. (This is explained in greater detail below.)
- the linear and cubic butting artifact estimates are stored, for example, in arrays A Un and A Cu be respectively for each row of the indentified butt region and for each row separately
- the system 20 further includes a weighting module 34 arranged to determine a linear weighting value of the linear interpolation with respect to the image; and a cubic weighting value of the cubic interpolation with respect to the image. These weighting values are associated with a goodness of fit (sum of absolute differences) of each of these interpolations with respect to the image. In particular the weighting values are determined or calculated from the inverted sums of absolute differences and are stored in arrays W Lln and W CU be respectively and for each row in the region.
- the weighting module 34 is further arranged to multiply the linear butting artifact estimates for each row by the linear weighting values (ALin*WLin) and to accumulate these in the scan direction ⁇ accAWLin). It will be noted that the weighting module 34 is further arranged to multiply the cubic butting artifact estimates for each row by the cubic weighting values (ACube*WCube) and accumulate these in the scan direction ⁇ accAWCube). The weighting factors are accumulated likewise, separately as well ⁇ accWCube, accWLin).
- the system 20 includes a database 38 arranged to store at least the weighted linear artifact estimates and the weighted cubic artifact estimates or their associated arrays. It follows that the database 38 is arranged to store a plurality of data, for example other arrays, not expressly mentioned herein but which may have to be stored for use by the system 20.
- weighting factor and the artifact estimate quantities are accumulated in the scanning direction ⁇ (J ⁇ j - m - ⁇ j - m ) an( * stored in the database 38.
- the weighting factors are accumulated and stored into ⁇ (fiP ⁇ ) also in the database 38.
- W is the weighting factor for row j
- the subtraction module 26 is arranged to apply the subtraction algorithm to subtract the final or best fit artifact estimate from the image thereby effectively removing the butting artifact from the image.
- the method 70 may operate at run-time or it may be a post-processing procedure.
- the method 70 includes identifying, at block 72, at least one region in the image in which a butting artifact is present. This is typically done by way of the locating module 22 as hereinbefore described. In particular, this step includes determining a footprint size as described above.
- the method 70 then includes determining, at block 74, at least one model of a butting artifact as a function of electromagnetic, in particular x-ray absorption level, at the identified region, the model including at least a shape and amplitude of the butting artifact.
- the modeling module 24 is arranged to determine the model of the butting artifact as hereinbefore described.
- the method 70 includes applying, at block 76 a subtraction algorithm, by way of the subtraction module 26 for example, to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
- a subtraction algorithm by way of the subtraction module 26 for example, to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
- the model referred to here is the final or best artifact estimate as hereinbefore described.
- the method 80 includes determining, at block 82, a footprint size by way of the locating module 22 as hereinbefore described.
- the method 70 includes determining a blurring kernel footprint size and associating this with each pixel row index for the butting artifact.
- the blurring kernel footprint size provides a measure of the continuous range of rows in the butt space where the butt shape remains relatively similar to the butt shape at this row location.
- the method 80 includes further applying, at block 84, a linear interpolation algorithm, in particular a linear interpolation curve fit, to the butting artifact in the image by way of the linear interpolation module 28 thereby to obtain a linear interpolation of the butting artifact or a linear interpolation model.
- a linear interpolation algorithm in particular a linear interpolation curve fit
- the method 80 includes applying, at block 86, a cubic interpolation algorithm, in particular a cubic spline fit, to the butting artifact in the image by way of the cubic interpolation module 30 thereby to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
- a cubic interpolation algorithm in particular a cubic spline fit
- the method 80 also includes determining, at block 88, a cost function.
- the method 80 includes determining, by way of module 32, linear butting artifact estimates, A Lin , from differences between the linear interpolation of the butting artifact and the original image; determining cubic butting artifact estimates, A Cub e, from differences between the cubic interpolation of the butting artifact and the original image; determining, for each row, linear weighting values of the linear interpolation model, and determining, for each row, cubic weighting values of the cubic interpolation model.
- step of determining linear weighting values comprises determining the sum of the absolute differences between the linear interpolation model and the image, and inverting the sum into arrays of linear weighting values, Wu n -
- the step of determining cubic weighting values comprises determining the sum of the absolute differences between the cubic interpolation model and the image, and inverting the sum into arrays of cubic weighting values, W Cu be-
- the method 80 also includes determining, at block 90, a weighted artifact error.
- the method 80 includes, for example, multiplying the linear butting artifact estimates, Au n , for each row by the linear weighting values or factors W Li ⁇ , by way of the weighting module 34, and accumulating these products, accAW ⁇ n, in the scan direction; multiplying the cubic butting artifact estimates, A Cu be, for each row by the cubic weighting values or factors W Cube and accumulating these products, ace AWCu be, in the scan direction; and also accumulating the weighting values Wu n and Wc ube separately as accWLin and accWCube respectively.
- the method 80 also includes determining, by using footprint indices for each row, the difference between the accumulated weighted linear butting artifact estimates, accAWLin, separated by the foot print size from high to low indices; and dividing the determined difference by a corresponding difference in accumulated linear weighting factors, accWLin, to yield a local linear butting artifact estimate.
- the method 80 also comprises determining, by using footprint indices for each row, the difference between the accumulated weighted cubic butting artifact estimates, accAWCube, separated by the foot print size from high to low indices; and dividing the determined difference by a corresponding difference in accumulated cubic weighting factors, accWCube, to yield a local cubic butting artifact estimate.
- This can be better understood by way of the following example equation for yielding the local cubic butting artifact estimate:
- the method includes determining an average of the local linear and cubic butting artifact estimates to obtain a final or best artifact estimate.
- the method 80 therefore includes correcting, at block 92, the image by applying the subtraction algorithm to subtract the final or best artifact estimate from the image thereby effectively to remove the butting artifact from the image.
- the method and system as herein before described provide a convenient and effective way to remove butting or stitching artifacts from images.
- the described algorithm can also be used to extrapolate data when missing data is present, such as photograph and image restoration when scratches are present.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
A method and system for removing butting or stitching artifacts from an image are disclosed. The system includes a locating module which is arranged to locate and identify at least one region in the image in which a butting artifact is present. A modeling module determines at least one model of a butting artifact as a function of electromagnetic absorption level, typically an x-ray absorption level, at the identified region. A subtraction module applies a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact. The method may include applying linear and cubic interpolation algorithms to the butting artifact in the image to obtain respective linear and cubic interpolations of the butting artifact, or respective linear and cubic interpolation models.
Description
METHOD AND SYSTEM FOR REMOVING BUTTING OR STITCHING ARTIFACTS FROM IMAGES
BACKGROUND OF THE INVENTION
THIS invention relates to a method and a system for removing butting or stitching artifacts from images, in particular from x-ray images from scanning x-ray systems.
Imaging apparatus, in particular scanning x-ray systems, of the type disclosed in WO 00/53093, typically includes an x-ray source and an x-ray detector which are moved relative to a subject under examination in order to generate a composite image of the subject.
As described in WO 00/53093, a plurality of individual abutting camera arrays is provided in the x-ray system. Despite the camera arrays being in abutment with each other, there is typically a degradation of the generated image at a contact region of the camera arrays. The degradation or distortion of the image at the contact regions of the camera arrays is what is referred to as butting artifacts.
The object of the present invention is to provide a method to minimize, if not eliminate, such distortions or butting or stitching artifacts from images generated by scanning x-ray systems, for example.
SUMMARY OF THE INVENTION
According to a first aspect of the invention there is provided a method for removing butting or stitching artifacts from an image, the method including:
identifying at least one region in the image in which a butting artifact is present;
determining at least one model of a butting artifact as a function of an electromagnetic absorption level at the identified region; and
applying a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
The model may include at least a shape and an amplitude of the butting artifact.
The electromagnetic absorption level may be an x-ray absorption level.
As part of determining a model for the butting artifact, the method may comprise:
applying a linear interpolation algorithm to the butting artifact in the image to obtain a linear interpolation of the butting artifact or a linear interpolation model; and
applying a cubic interpolation algorithm to the butting artifact in the image to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
The method may further comprise:
determining a blurring kernel footprint size and associating this with each pixel row index for the butting artifact;
determining linear butting artifact estimates, ALin, from differences between the linear interpolation of the butting artifact and the original image;
determining cubic butting artifact estimates, ACube, from differences between the cubic interpolation of the butting artifact and the original image;
determining, for each row, linear weighting values of the linear interpolation model, and
determining, for each row, cubic weighting values of the cubic interpolation model.
The step of determining linear weighting values may comprise determining the sum of the absolute differences between the linear interpolation model and the image, and inverting the sum into arrays of linear weighting values, Wun.
The step of determining cubic weighting values may comprise determining the sum of the absolute differences between the cubic interpolation model and the image, and inverting the sum into arrays of cubic weighting values,
Wcube-
The method may further comprise:
multiplying the linear butting artifact estimates, AUn, for each row by the linear weighting values or factors Wun and accumulating these products, accAWLin, in a scan direction;
multiplying the cubic butting artifact estimates, ACυbe, for each row by the cubic weighting values or factors WCube and accumulating these products, accAWCube; in the scan direction; and
accumulating the weighting values WUn and WCube separately as accWLin and accWCube respectively.
The method may comprise:
determining, by using footprint indices for each row, the difference between the accumulated weighted linear butting artifact estimates, accAWLin, separated by the foot print size from high to low indices; and
dividing the determined difference by a corresponding difference in accumulated linear weighting factors, accWLin, to yield a local linear butting artifact estimate.
The method may comprise:
determining, by using footprint indices for each row, the difference between the accumulated weighted cubic butting artifact estimates, accAWCube, separated by the foot print size from high to low indices; and
dividing the determined difference by a corresponding difference in accumulated cubic weighting factors, accWCube, to yield a local cubic butting artifact estimate.
The method preferably includes determining an average of the local linear and cubic butting artifact estimates to obtain a final artifact estimate.
It will be appreciated that the butting artifact subtracted by the subtraction algorithm may be the final artifact estimate.
According to a second aspect of the invention there is provided a system for removing butting or stitching artifacts from an image, the system including:
a locating module arranged to locate and identify at least one region in the image in which a butting artifact is present;
a modeling module arranged to determine at least one model of a butting artifact as a function of electromagnetic absorption level at the identified region; and
a subtraction module arranged to apply a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
The modeling module may be arranged to apply a linear interpolation algorithm to the butting artifact in the image to obtain a linear interpolation of the butting artifact or a linear interpolation model.
The modeling module may be arranged to apply a cubic interpolation algorithm to the butting artifact in the image to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
BRIEF DESCRIPTION OF THE DRAWINGS
Figure 1 shows a camera of a camera array of a scanning x- ray system;
Figure 2 shows a front view of a camera array of the scanning x-ray system;
Figure 3 shows a functional block diagram of a system in accordance with an example embodiment of the invention;
Figure 4 shows a graphical representation of an image profile, cubic interpolation profile, linear interpolation profile and true image profile in accordance with the invention;
Figure 5 shows a high level flow diagram of a method in accordance with an example embodiment; and
Figure 6 shows a flow diagram of the method of Figure 5 in greater detail.
DESCRIPTION OF PREFERRED EMBODIMENTS
In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of an embodiment of the present disclosure. It will be evident, however, to one skilled in the art that the present disclosure may be practiced without these specific details.
Referring to Figures 1 and 2 of the drawings, a scanning x-ray system of the type described in WO 00/53093 typically includes a camera array 9 of cameras 10 arranged side-by-side to other similar cameras 10 (Figure 2). Each camera 10 typically comprises optical fibre bundles 12 which taper from a larger scintillator face 14 to a smaller Charge Coupled Device (CCD) face 16. The scintillator face 16 typically has a parallelogram shape such that when the cameras 10 are side-by-side there is a certain amount of overlap in data from one camera 10 to another. The overlap between adjacent cameras 10 ensures that there will be no or very little loss of data for any pixel column in the resultant x-ray image captured by the camera
array 9. However, this arrangement often results in butting or stitching artifacts occurring at the region of the overlap.
It must be noted that the most significant properties of butting artifacts are that:
• different butting artifacts (horizontally separated in image) generally have different shapes; the shape of a particular butting artifact remains nearly constant for a relatively large range of absorption levels but is deformed if the gain compensation is inaccurate at the given absorption level; deformed butting artifacts cannot be predicted without knowing what the gain compensation (calibration) errors are;
• the shape and amplitude of the butting artifact remain relatively similar at different vertical offsets in the image if the absorption level is the same;
• the amplitude of the butting artifact, noise amplitude and gain compensation errors increase with absorption level (at a rate faster than an exponential rate in certain circumstances) butting artifact shapes, amplitudes as well as gain compensation accuracy vary for different machine settings; at high voltage and current settings of the machine, gain compensation errors and butt shape distortion occur at low absorption levels - it will be appreciated that this may be that the machine was not calibrated for this operating region; and occasionally spurious butting artifact amplitudes are encountered which are not predictable.
It will be understood that the above explanations attempt to provide a better understanding of the invention as described herein.
The invention is now described further with reference to Figure 3 of the drawings, wherein a system in accordance with the invention is generally indicated by reference numeral 20. In particular, the system 20 is a system for removing butting artifacts from x-ray images captured by the camera
array 9 for example. Conveniently, the system 20 is therefore communicatively coupled to the camera array 9. In an example embodiment the system 20 is provided in a scanning x-ray system as hereinbefore described, typically at or in a digital signal processing module of the scanning x-ray system. In other example embodiments the system 20 does not form part of the scanning x-ray system and is operated in a post-processing fashion to remove butting artifacts from images obtained from the scanning x-ray system.
The system 20 comprises a plurality of components or modules which correspond to the functional tasks to be performed by the system 20. In this regard, "module" in the context of the specification will be understood to include an identifiable portion of code, computational or executable instructions, data, or computational object to achieve a particular function, operation, processing, or procedure. It follows that a module need not be implemented in software; a module may be implemented in software, hardware, or a combination of software and hardware. Further, the modules need not necessarily be consolidated into one device but may be spread across a plurality of devices typically in the scanning x-ray system.
It will be understood that in a preferred example embodiment, the system 20 operates on pixels of the images. In this regard, the system 20 operates on a matrix of pixels, comprising of rows and columns of pixels, associated with the image.
In particular, the system 20 includes a locating module 22 arranged to locate and identify at least one region in the image in which a butting artifact is present. The identified region may typically have a footprint size associated therewith which is determined by the locating module 22. Typically, the footprint size defines a continuous range of rows in a butting artifact space (which may be the identified region) where the shape of the butting artifact remains relatively similar to the butting artifact shape at this row location.
It follows that the locating module 22 is arranged to locate and identify a row start and stop range of the identified region, in particular row indices of the row start and stop range.
Typically, the footprint size is chosen to be inversely proportional to the amount of variation in the scanning direction. In this regard, the scanning direction is the direction in which the x-ray source and an x-ray detector of the scanning x-ray system are moved relative to a subject under examination (also herein referred to as the y-direction). Also, fan-beam direction will be understood as the direction of the x-ray beams emitted by the x-ray source, the fan-beam direction being typically transverse to the scanning direction (also herein referred to as the x-direction). It follows that if there is little variation in the image in the scanning direction this range will be relatively large. If there is a lot of variation in the scanning direction, the range will be small.
Similarly, the range must be correspondingly larger if there is more variation in the fan beam direction of the true underlying image. This improves the accuracy of performance of the system 20.
The locating module 22 is further arranged to determine a variable footprint size. It will be appreciated that the variable footprint size takes into account variations of the overlap artifact in both the scanning direction (so called y- direction), and the fan beam direction (so called x-direction).
In this regard, the locating module 22 is arranged to determine the averages of absolute edge differences in a scanning direction across the butting artifact for a particular pixel row in the image and the averages are correspondingly associated with that row. The averages in the scanning direction are referred to as Ty .To make matters computationally efficient, these values are actually accumulated in the scanning direction yielding a lookup table γτy .
In the fan beam direction, the locating module 22 is arranged to determine a similar value Tx which provides an indication of what amount of variation that occurs for a particular row in the fan beam direction for the underlying artifact-free image at a butting artifact. In particular the locating module 22 is arranged to determine Tx by determining an average of three independent techniques. The first technique calculates the sum of the absolute differences of adjacent pixels in the row of the artifact. This technique is biased by the artifact yet captures high variations in the underlying image which the other two techniques do not capture. The second technique determines the average slope at the left and right extremes of the butt and multiplies it by the butt width. The third technique simply calculates the absolute difference between the left and right intensity for that butt row. It follows that the locating module 22 uses the average of the three techniques above to determine Tx,
The foot print size is the calculated to be the row indices that accumulated Tx (∑TX ) changes but the actual Tx amount upwards and downwards separately. These extents define the footprint upper and lower limits (accFootLow and accFootHigh). Footprint limits arrays (accFootLow and accFootHigh) which are determined by the locating module 22 are then smoothed for continuity.
The system 20 further includes a modeling module 24 arranged to determine at least one model of a butting artifact as a function of x-ray absorption level at the region identified by the locating module 22. The model includes at least a shape and amplitude of the butting artifact.
The system 20 also includes a subtraction module 26 arranged to apply a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
It will be understood that the subtraction is "based" on the model of the butting artifact means that the subtraction module 26 is arranged to
subtract the model from the image or alternately the subtraction module 26 is arranged to subtract the butting artifact from the image from data associated with or obtained from the model for example (explained in greater detail below).
In an example embodiment, with reference to Figure 4, the system 20 includes a linear interpolation module 28 arranged to apply a linear interpolation algorithm to the butting artifact in the image. The linear interpolation is illustrated accordingly in Figure 4. Similarly, the system 20 further includes a cubic interpolation module 30 arranged to apply a cubic interpolation algorithm to the butting artifact in the image (also illustrated graphically in Figure 4).
In an example embodiment, the linear and cubic interpolation modules 28 and 30 respectively are included in the modeling module 24 or are used by the modeling module 24 such that they facilitate the determination of the model of the butting artifact.
It will be noted that applying the linear interpolation algorithm may include the linear interpolation module 28 being arranged to perform a linear interpolation curve fit to the identified butt region. In a similar way applying the cubic interpolation algorithm may include the cubic interpolation module 30 being arranged to perform a cubic spline curve fit to the identified butt region.
The system 20 includes a butting artifact error estimation module 32 arranged to determine linear butting artifact error estimates from differences between the linear interpolation, as determined by the linear interpolation module 28, and the image. The butting artifact estimation module 32 is also arranged to determine cubic butting artifact error estimates from differences between the cubic interpolation of the butting artifact, as determined by the cubic interpolation module 30, and the image. (This is explained in greater detail below.)
The linear and cubic butting artifact estimates are stored, for example, in arrays AUn and ACube respectively for each row of the indentified butt region and for each row separately
The system 20 further includes a weighting module 34 arranged to determine a linear weighting value of the linear interpolation with respect to the image; and a cubic weighting value of the cubic interpolation with respect to the image. These weighting values are associated with a goodness of fit (sum of absolute differences) of each of these interpolations with respect to the image. In particular the weighting values are determined or calculated from the inverted sums of absolute differences and are stored in arrays WLln and WCUbe respectively and for each row in the region.
It will be noted that the weighting module 34 is further arranged to multiply the linear butting artifact estimates for each row by the linear weighting values (ALin*WLin) and to accumulate these in the scan direction {accAWLin). It will be noted that the weighting module 34 is further arranged to multiply the cubic butting artifact estimates for each row by the cubic weighting values (ACube*WCube) and accumulate these in the scan direction {accAWCube). The weighting factors are accumulated likewise, separately as well {accWCube, accWLin).
It will be understood that in one example embodiment, the system 20 includes a database 38 arranged to store at least the weighted linear artifact estimates and the weighted cubic artifact estimates or their associated arrays. It follows that the database 38 is arranged to store a plurality of data, for example other arrays, not expressly mentioned herein but which may have to be stored for use by the system 20.
In order to improve the speed of implementation the multiplication of weighting factor and the artifact estimate quantities are accumulated in the scanning direction ∑(J¥j-m -^j-m ) an(* stored in the database 38.
Simiiarly, the weighting factors are accumulated and stored into ∑(fiP}) also in the database 38.
Using the footprint limit indices associated with each row as hereinbefore described, the difference is taken of the accumulated weighted artifact estimates separately from high to low indices. These values are divided by the corresponding difference in accumulated weights from high to low indices. For the new artifact estimates, a local artifact estimate becomes:
W = is the weighting factor for row j,
AJ = difference between the interpolated image and the original image; nij = lower footprint size for row j, and rij = upper foot print size for row j.
The same is done for the linear interpolation as well as the cubic spline interpolation version and the average of the two is taken to create the final or best fit artifact estimate. It follows that the subtraction module 26 is arranged to apply the subtraction algorithm to subtract the final or best fit artifact estimate from the image thereby effectively removing the butting artifact from the image.
Example embodiments will now be further described in use with reference to Figures 5 and 6. The example methods shown in Figures 5 and 6 are described with reference to Figure 3, although it is to be appreciated that the example methods may be applicable to other systems (not illustrated) as well.
Referring now to Figure 5 of the drawings where a flow diagram of a method in accordance with an example embodiment is generally indicated by reference numeral 70.
It will be appreciated that the method 70 may operate at run-time or it may be a post-processing procedure.
The method 70 includes identifying, at block 72, at least one region in the image in which a butting artifact is present. This is typically done by way of the locating module 22 as hereinbefore described. In particular, this step includes determining a footprint size as described above.
The method 70 then includes determining, at block 74, at least one model of a butting artifact as a function of electromagnetic, in particular x-ray absorption level, at the identified region, the model including at least a shape and amplitude of the butting artifact. In an example embodiment, the modeling module 24 is arranged to determine the model of the butting artifact as hereinbefore described.
It follows that the method 70 includes applying, at block 76 a subtraction algorithm, by way of the subtraction module 26 for example, to subtract the butting artifact from the image at the identified region based on the model of the butting artifact. It will be appreciated that the model referred to here is the final or best artifact estimate as hereinbefore described.
Turning now to Figure 6 of the drawings, a method in accordance with a further example embodiment is generally indicated by reference numeral 80.
The method 80 includes determining, at block 82, a footprint size by way of the locating module 22 as hereinbefore described. In particular the method 70 includes determining a blurring kernel footprint size and associating this with each pixel row index for the butting artifact. The blurring kernel footprint size provides a measure of the continuous range of rows in the
butt space where the butt shape remains relatively similar to the butt shape at this row location.
The method 80 includes further applying, at block 84, a linear interpolation algorithm, in particular a linear interpolation curve fit, to the butting artifact in the image by way of the linear interpolation module 28 thereby to obtain a linear interpolation of the butting artifact or a linear interpolation model.
Similarly the method 80 includes applying, at block 86, a cubic interpolation algorithm, in particular a cubic spline fit, to the butting artifact in the image by way of the cubic interpolation module 30 thereby to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
The method 80 also includes determining, at block 88, a cost function. In particular, the method 80 includes determining, by way of module 32, linear butting artifact estimates, ALin, from differences between the linear interpolation of the butting artifact and the original image; determining cubic butting artifact estimates, ACube, from differences between the cubic interpolation of the butting artifact and the original image; determining, for each row, linear weighting values of the linear interpolation model, and determining, for each row, cubic weighting values of the cubic interpolation model.
It will be appreciated that the step of determining linear weighting values comprises determining the sum of the absolute differences between the linear interpolation model and the image, and inverting the sum into arrays of linear weighting values, Wun-
Similarly the step of determining cubic weighting values comprises determining the sum of the absolute differences between the cubic interpolation model and the image, and inverting the sum into arrays of cubic weighting values, WCube-
The method 80 also includes determining, at block 90, a weighted artifact error. In particular, the method 80 includes, for example, multiplying the linear butting artifact estimates, Aun, for each row by the linear weighting values or factors WLiπ, by way of the weighting module 34, and accumulating these products, accAWϋn, in the scan direction; multiplying the cubic butting artifact estimates, ACube, for each row by the cubic weighting values or factors WCube and accumulating these products, ace AWCu be, in the scan direction; and also accumulating the weighting values Wun and Wcube separately as accWLin and accWCube respectively.
The method 80 also includes determining, by using footprint indices for each row, the difference between the accumulated weighted linear butting artifact estimates, accAWLin, separated by the foot print size from high to low indices; and dividing the determined difference by a corresponding difference in accumulated linear weighting factors, accWLin, to yield a local linear butting artifact estimate.
Similarly, the method 80 also comprises determining, by using footprint indices for each row, the difference between the accumulated weighted cubic butting artifact estimates, accAWCube, separated by the foot print size from high to low indices; and dividing the determined difference by a corresponding difference in accumulated cubic weighting factors, accWCube, to yield a local cubic butting artifact estimate. This can be better understood by way of the following example equation for yielding the local cubic butting artifact estimate:
, , _ , r Π (αccArtWCube[αccFootHigh[row]] - αccArtWCube[αccFooLov{row]])
LocαlArtCube[mw] = ^ — -. 2^ r-^
\αccWCube[αccFootHigh[row]] - αccWCube[αccFooLow{row]])
It will be appreciated that, despite the symbols denoting certain elements not being identical, the above equation corresponds to the equation hereinbefore described.
It follows that the method includes determining an average of the local linear and cubic butting artifact estimates to obtain a final or best artifact estimate.
The method 80 therefore includes correcting, at block 92, the image by applying the subtraction algorithm to subtract the final or best artifact estimate from the image thereby effectively to remove the butting artifact from the image.
The method and system as herein before described provide a convenient and effective way to remove butting or stitching artifacts from images. The described algorithm can also be used to extrapolate data when missing data is present, such as photograph and image restoration when scratches are present.
Claims
1. A method for removing butting or stitching artifacts from an image, the method including:
identifying at least one region in the image in which a butting artifact is present;
determining at least one model of a butting artifact as a function of an electromagnetic absorption level at the identified region; and
applying a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
2. A method according to claim 1 wherein the model includes at least a shape and an amplitude of the butting artifact.
3. A method according to claim 1 or claim 2 wherein the electromagnetic absorption level is an x-ray absorption level.
4. A method according to any one of claims 1 to 3 wherein, as part of determining a model for the butting artifact, the method comprises:
applying a linear interpolation algorithm to the butting artifact in the image to obtain a linear interpolation of the butting artifact or a linear interpolation model; and
applying a cubic interpolation algorithm to the butting artifact in the image to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
5. A method according to any one of claims 1 to 4, further including:
determining a blurring kernel footprint size and associating this with each pixel row index for the butting artifact;
determining linear butting artifact estimates, Aun, from differences between the linear interpolation of the butting artifact and the original image;
determining cubic butting artifact estimates, ACUbe, from differences between the cubic interpolation of the butting artifact and the original image;
determining, for each row, linear weighting values of the linear interpolation model, and
determining, for each row, cubic weighting values of the cubic interpolation model.
6. A method according to claim 5 wherein the step of determining linear weighting values comprises determining the sum of the absolute differences between the linear interpolation model and the image, and inverting the sum into arrays of linear weighting values, WLin.
7. A method according to claim 5 or claim 6 wherein the step of determining cubic weighting values comprises determining the sum of the absolute differences between the cubic interpolation model and the image, and inverting the sum into arrays of cubic weighting values, WCuhe-
8. A method according to any one of claims 5 to 7, further including: multiplying the linear butting artifact estimates, ALin, for each row by the linear weighting values or factors WUn and accumulating these products, accAWLin, in a scan direction;
multiplying the cubic butting artifact estimates, Acube, for each row by the cubic weighting values or factors Wcute and accumulating these products, ace AWCu be, in the scan direction; and
accumulating the weighting values WUn and WCube separately as accWLin and accWCube respectively.
9. A method according to any one of claims 5 to 8, including:
determining, by using footprint indices for each row, the difference between the accumulated weighted linear butting artifact estimates, accAWLin, separated by the foot print size from high to low indices; and
dividing the determined difference by a corresponding difference in accumulated linear weighting factors, accWLin, to yield a local linear butting artifact estimate.
10. A method according to any one of claims 5 to 9, including:
determining, by using footprint indices for each row, the difference between the accumulated weighted cubic butting artifact estimates, accAWCube, separated by the foot print size from high to low indices; and
dividing the determined difference by a corresponding difference in accumulated cubic weighting factors, accWCube, to yield a local cubic butting artifact estimate.
11. A method according to any one of claims 5 to 10 including determining an average of the local linear and cubic butting artifact estimates to obtain a final artifact estimate.
12. A method according to claim 11 wherein the butting artifact subtracted by the subtraction algorithm is the final artifact estimate.
13. A system for removing butting or stitching artifacts from an image, the system including:
a locating module arranged to locate and identify at least one region in the image in which a butting artifact is present;
a modeling module arranged to determine at least one model of a butting artifact as a function of electromagnetic absorption level at the identified region; and
a subtraction module arranged to apply a subtraction algorithm to subtract the butting artifact from the image at the identified region based on the model of the butting artifact.
14. A system according to claim 13 wherein the modeling module is arranged to apply a linear interpolation algorithm to the butting artifact in the image to obtain a linear interpolation of the butting artifact or a linear interpolation model.
15. A system according to claim 13 or claim 14 wherein the modeling module is arranged to apply a cubic interpolation algorithm to the butting artifact in the image to obtain a cubic interpolation of the butting artifact or a cubic interpolation model.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| ZA2011/03035A ZA201103035B (en) | 2008-09-30 | 2011-04-21 | Method and system for removing butting or atitching artifacts from images |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| ZA2008/08324 | 2008-09-30 | ||
| ZA200808324 | 2008-09-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2010038195A2 true WO2010038195A2 (en) | 2010-04-08 |
| WO2010038195A3 WO2010038195A3 (en) | 2011-01-20 |
Family
ID=42073966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/IB2009/054266 Ceased WO2010038195A2 (en) | 2008-09-30 | 2009-09-30 | Method and system for removing butting or stitching artifacts from images |
Country Status (2)
| Country | Link |
|---|---|
| WO (1) | WO2010038195A2 (en) |
| ZA (1) | ZA201103035B (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102096915A (en) * | 2011-02-09 | 2011-06-15 | 北京航空航天大学 | Camera lens cleaning method based on precise image splicing |
| US9129185B1 (en) * | 2012-05-21 | 2015-09-08 | The Boeing Company | System and method for reducing image clutter |
| WO2017102887A1 (en) * | 2015-12-15 | 2017-06-22 | Koninklijke Philips N.V. | Streak artifact prediction |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2000132663A (en) * | 1998-10-23 | 2000-05-12 | Canon Inc | Image processing apparatus, method, and computer-readable storage medium |
| DE10135427A1 (en) * | 2001-07-20 | 2003-02-13 | Siemens Ag | Areal image detector for electromagnetic rays, especially X-rays |
| WO2007042251A2 (en) * | 2005-10-10 | 2007-04-19 | Nordic Bioscience A/S | A method of segmenting an image |
| DE102006037046A1 (en) * | 2006-08-08 | 2008-02-14 | Siemens Ag | Image processing method e.g. for correction of shock zone artifacts disturbed x-ray image, involves creating intermediate image with low-pass filtering of x-ray image |
-
2009
- 2009-09-30 WO PCT/IB2009/054266 patent/WO2010038195A2/en not_active Ceased
-
2011
- 2011-04-21 ZA ZA2011/03035A patent/ZA201103035B/en unknown
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102096915A (en) * | 2011-02-09 | 2011-06-15 | 北京航空航天大学 | Camera lens cleaning method based on precise image splicing |
| US9129185B1 (en) * | 2012-05-21 | 2015-09-08 | The Boeing Company | System and method for reducing image clutter |
| WO2017102887A1 (en) * | 2015-12-15 | 2017-06-22 | Koninklijke Philips N.V. | Streak artifact prediction |
| CN108369745A (en) * | 2015-12-15 | 2018-08-03 | 皇家飞利浦有限公司 | Streak Artifact Prediction |
| US10803632B2 (en) | 2015-12-15 | 2020-10-13 | Koninklijke Philips N.V. | Image processing system for eliminating or reducing streak artifacts in rotational imaging |
| CN108369745B (en) * | 2015-12-15 | 2023-11-07 | 皇家飞利浦有限公司 | Streak artifact prediction |
| EP3391341B1 (en) * | 2015-12-15 | 2025-02-19 | Koninklijke Philips N.V. | Streak artifact prediction |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2010038195A3 (en) | 2011-01-20 |
| ZA201103035B (en) | 2013-04-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR101389841B1 (en) | Panorama image data providing method and apparatus | |
| JP6142611B2 (en) | Method for stereo matching and system for stereo matching | |
| CN101795349B (en) | Method for processing faulty wire of X-ray flat panel detector image and device thereof | |
| EP2293239B1 (en) | Line noise reduction apparatus and method | |
| EP2261853B1 (en) | Image processing apparatus, medium, and method | |
| CN113379636B (en) | Infrared image non-uniformity correction method, device, equipment and storage medium | |
| US10491815B2 (en) | Image-processing apparatus, image-processing method, and non-transitory computer readable medium storing image-processing program | |
| US20110128422A1 (en) | Image capturing apparatus and image processing method | |
| JP2010258628A5 (en) | ||
| US20140056536A1 (en) | Method and system for substantially removing dot noise | |
| CN104867157B (en) | A kind of bearing calibration of CT detector pixels response nonuniformity | |
| KR20180026399A (en) | Static soiling detection and correction | |
| CN102770075A (en) | X-ray image diagnosis device, and medical image processing program and method | |
| US20140363090A1 (en) | Methods for Performing Fast Detail-Preserving Image Filtering | |
| KR20130006246A (en) | Depth image conversion apparatus and method thereof | |
| WO2010038195A2 (en) | Method and system for removing butting or stitching artifacts from images | |
| US10152774B2 (en) | Method and system for estimating point spread function | |
| JP6685762B2 (en) | Image processing apparatus, image processing method, and program | |
| CN120339289B (en) | Image defect detection method, device and storage medium | |
| EP1958158A2 (en) | Method for detecting streaks in digital images | |
| van Zwanenberg et al. | Estimation of ISO12233 Edge Spatial Frequency Response from Natural Scene Derived Step-Edge Data. | |
| KR20210078547A (en) | Image processing method and image processing apparatus | |
| CN104809708A (en) | Fluorescent micro-image restoration method and device based on modified split Bregman algorithm | |
| CN111275639B (en) | Line pixel defect correction method and terminal for X-ray image | |
| JP5302838B2 (en) | Image processing apparatus, image processing method, image processing program, and X-ray image photographing apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 09787324 Country of ref document: EP Kind code of ref document: A2 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 09787324 Country of ref document: EP Kind code of ref document: A2 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 09787324 Country of ref document: EP Kind code of ref document: A2 |