METHOD AND SYSTEM FOR ESTIMATING POINT SPREAD FUNCTION

Information

  • Patent Application
  • 20170024862
  • Publication Number
    20170024862
  • Date Filed
    July 22, 2016
    7 years ago
  • Date Published
    January 26, 2017
    7 years ago
Abstract
The present disclosure relates to a method and device for estimating a point spread function. In one implementation, a method includes capturing, by a scanning device, an image by scanning a plurality of rectangle blocks which are same sized and closely arranged, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning; obtaining line spread functions for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtaining standard deviation parameters of the line spread functions; and combining the standard deviation parameters for the two directions to obtain a two dimensional Point Spread Function (PSF) parameter so as to estimate the point spread function.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS

This application bases on and claims priority to Chinese Patent Application No. 201510437211.6, filed on Jul. 23, 2015, published as ______, which are incorporated herein by reference in entirety.


BACKGROUND

Field


The disclosure relates to the technical field of perspective imaging, in particular, to a method and a system for estimating a point spread function.


Description of Related Information


In a perspective imaging system, an image is likely to be blurry due to movement of a scanning device and crosstalk of detectors, which have impacts on visual effects of the image, observation of the image and finding of suspicious areas from the image by an inspector. Image quality degradation of the system can be approximated as a convolution of a point spread function (PSF) to the image. The image can be deblurred by some image restoration technologies so as to get a clear image if the PSF was known. In addition, the quantitative description of the PSF can be used as an important index evaluating the imaging quality of the system, and a suggestion from deeply analyzing the PSF may be provided to improve software and hardware of the system.


The PSF is required to be estimated to improve image quality and analyze the reasons of image degradation. Most of the existing estimating approaches, such as the typical Cepstrum Approach, the Variational Bayesian Approach, the Sparsity Constrained Optimization Approach, etc., are used for a visible light imaging system. These approaches are used for common images and have poor estimation accuracy without specific devices, and most of them have slow computation speed. Some parameters of a testing device and system, such as width of a slit, radius of a hole, physical size of a detector, etc., should be known accurately for the approaches used in an X-ray imaging system. If the testing device is improperly designed or has low processing precision, an inaccurate estimation and a complex computing process will be occurred readily.


OVERVIEW OF SOME ASPECTS

According to a first aspect, a method for estimating point spread function is provided. The method includes: capturing, by a scanning device, an image by scanning a plurality of rectangle blocks which are same sized and closely arranged, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning; obtaining line spread functions for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtaining standard deviation parameters of the line spread functions; and combining the standard deviation parameters for the two directions to obtain a two dimensional Point Spread Function (PSF) parameter so as to estimate the point spread function.


According to a second aspect, a system for estimating a point spread function is provided. The system includes: an imaging unit configured to capture, by a scanning device, an image by scanning a plurality of rectangle blocks which are same sized and closely arranged, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning; a parameter obtaining unit configured to obtain line spread functions for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtain standard deviation parameters of the line spread functions; and an estimating unit configured to combine the standard deviation parameters for the two directions to obtain a two dimensional Point Spread Function (PSF) parameter so as to estimate the point spread function.


According to a third aspect, an image processing system for an X-ray imaging device is provided. The system comprises a radiation source, a detector, rectangle blocks, and the system for estimating point spread function as above.





BRIEF DESCRIPTION OF THE DRAWINGS

To clearly illustrate technical solutions in related art and in embodiments of the present disclosure, descriptions are made to the solutions, taken in conjunction with the accompanying drawings. Notably, the accompanying drawings described below are embodiments of the present disclosure, and for those skilled in the art, other drawings can be conceived without any creative work.



FIG. 1 is a basic flow diagram showing a method for estimating PSF according to an embodiment of the disclosure.



FIG. 2 is a schematic diagram showing an exemplary flow of a method for estimating PSF according to an embodiment of the disclosure.



FIG. 3 is a schematic diagram showing a scanned image of rectangle blocks according to an embodiment of the disclosure.



FIG. 4 is a schematic diagram showing an execution flow of step 202 in FIG. 1 according to an embodiment of the disclosure.



FIG. 5 is a schematic diagram showing an area for which a cumulative gray level transformation curve of a vertical direction is computed according to an embodiment of the disclosure.



FIG. 6 is a schematic diagram showing an area for which a cumulative gray level transformation curve of a horizontal direction is computed according to an embodiment of the disclosure.



FIG. 7 is a cumulative gray level transformation curve computed for the area shown in FIG. 5 according to an embodiment of the disclosure.



FIG. 8 is a schematic diagram showing a LSF curve obtained by applying a differential calculation to the cumulative gray level transformation curve shown in FIG. 7 according to an embodiment of the disclosure.



FIG. 9 is a schematic diagram showing a curve after noise removal of the LSF curve shown in FIG. 8 (solid line) and a resulted curve of Gaussian Fitting (dashed line) according to an embodiment of the disclosure.



FIG. 10 is an exemplary flow diagram showing a method for estimating PSF according to an embodiment of the disclosure.



FIG. 11 is a basic structure diagram showing a system for estimating PSF according to an embodiment of the disclosure.



FIG. 12 is a structure diagram showing an image processing system for an X-ray imaging device according to an embodiment of the disclosure.





DETAILED DESCRIPTION OF ILLUSTRATIVE IMPLEMENTATIONS

To clearly illustrate the objectives, technical solutions and advantages of the embodiments of the disclosure, descriptions are made clearly and completely to the embodiments of the disclosure in details by reference to the accompanying drawings therein. Notably, the following drawings are some embodiments of the disclosure, and the skilled in the related art may conceive other embodiments without any creative works, which are all fall within the protection scope of the present disclosure.


A method for estimating a PSF is provided according to an embodiment of the disclosure, as shown in FIG. 1. The method includes the following steps.


Step 101: an image is captured by scanning a plurality of rectangle blocks which are same sized and closely arranged using a scanning device. The plurality of rectangle blocks may be made of different materials and/or have different mass thicknesses. The incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning;


Step 102: line spread functions (LSFs) are obtained for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and standard deviation parameters of the line spread functions are obtained.


Step 103: the standard deviation parameters for the two directions are combined to obtain a two dimensional PSF parameter so as to estimate the PSF.


In some embodiments, the length side and/or width side of each of the rectangle blocks has a size that not less than a predetermined multiple of size of a detector in the scanning device, for example, 5˜100 times The size of the detector refers to an effective size of the detector for collecting X-rays.


In some embodiments, obtaining LSFs for two directions of each of the rectangle blocks based on the scanned image may include: determining, with respect to both the two directions, positions of boundaries between every two rectangle blocks based on the number and arrangement of the rectangle blocks, computing cumulative gray level transformation curves for the boundaries in two directions, and obtaining the LSFs for the two directions by applying a differential calculation to the cumulative gray level transformation curves.


In some embodiments, obtaining the standard deviation parameters of the LSFs may include: applying Gaussian fitting to the LSFs of the two directions in order to obtain the standard deviation parameters of the line spread functions.


In some embodiments, after obtaining the standard deviation parameters of the LSFs and before combining the standard deviation parameters of the two directions, the method may include: obtaining an average standard deviation parameter for the two directions by averaging multiple LSF parameters in the same direction in accordance with the materials and the mass thicknesses of the rectangle blocks.



FIG. 2 is a schematic diagram showing an exemplary flow of a method for estimating a PSF according to an embodiment of the disclosure. In the method, a plurality of rectangle blocks which are uniform tabular materials with similar sized and having different mass thicknesses are used. As shown in FIG. 2, the method includes the following steps.


Step 201: an image is captured by scanning a plurality of rectangle blocks which are same sized and closely arranged using a scanning device.


At step 201, a plurality of rectangle blocks made of Iron or Polyethylene with different mass thickness are scanned for image formulation. The scanned image is shown in FIG. 3. The size of each rectangle block is 200 mm×200 mm. The rectangle blocks in the first row are iron blocks with mass thicknesses of 6 g/cm2, 8 g/cm2, 10 g/cm2 respectively. The first rectangle block in the second row is an iron block with mass thickness of 4 g/cm2, and the second and third rectangle blocks in the second row are polyethylene blocks with mass thicknesses of 2 g/cm2 and 4 g/cm2 respectively. The first rectangle block in the third row is an iron block with mass thickness of 3 g/cm2, and the second and third rectangle blocks in the third row are polyethylene blocks with the mass thicknesses of 6 g/cm2 and 8 g/cm2 respectively. This fixed material of blocks arranged closely is placed in the scanning device with its surface being perpendicular to the incident direction of rays so that a scanned image can be obtained. The scanning direction is parallel to the horizontal sides of the rectangle blocks shown in FIG. 3.


Step 202: LSFs are obtained for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and standard deviation parameters of the LSFs are obtained.


The execution flow of step 202 is shown in FIG. 4. As shown, at step 401, positions of the boundaries between every two rectangle blocks can be determined by a simple computation based on the information about the numbers of rectangle blocks in every row and column. Next, at step 402, for each boundary, a cumulative gray level transformation curve is computed for a rectangle area around the boundary and centered on the midpoint of the boundary. For example, the computing area of the vertical boundary between the first and the second blocks of the first top row shown in FIG. 5 and the computing area of the horizontal boundary between the second block of the middle row and the second block of the lower row shown in FIG. 6 may be selected, to obtain the cumulative gray level transformation curves corresponding to the vertical and the horizontal directions respectively by accumulating along the trend of the respective boundaries. And then the LSFs for the two directions can be obtained in step 403. For example, the cumulative gray level transformation curve computed for the computing area shown in FIG. 5 is shown in FIG. 7. An approximate derivative is computed by applying a first order differential calculation to the curve to obtain an approximate LSF curve as shown in FIG. 8. In the differential calculation, the gray level values of the both ends of the gray level transformation curve are used to determine whether a forward differential calculation or a backward differential calculation should be employed (the forward differential calculation f(x)−f(x−1) is employed if the gray level value on the left is smaller, otherwise the backward differential f(x)−f(x+1) is employed), in order to ensure most differential values are positive.


After obtaining the LSFs for the two directions at step 403, the LSF curve is searched for a negative or zero value from its maximum value to both sides, and when a negative or zero value is found, all the values thereafter are set to zeros, in order to obtain a LSF curve having noises eliminated. After eliminating noises, the LSF curve shown in FIG. 8 may be changed to the solid line shown in FIG. 9. At step 404, a standard deviation parameter of the LSF may be obtained by applying Gaussian fitting to the solid line shown in FIG. 9 and computing its average value and standard deviation. The result of the fitting is shown as the dotted line in FIG. 9.


Step 203: A two dimensional PSF parameter may be obtained by combining the standard deviation parameters of the two directions so as to estimate the PSF.


At this step, the distribution of the PSF may be estimated as below by combining the standard deviation parameters of the vertical and horizontal directions (i.e., x and y):







h


(

x
,
y

)


=


1
C



exp


(


-


x
2


2


σ
x
2




+


y
2


2


σ
y
2




)







wherein C is a normalized coefficient, σx and σy are the standard deviation parameters of the x direction and y direction respectively.



FIG. 10 is an exemplary flow diagram showing a method for estimating a PSF according to an embodiment of the disclosure. Referring to FIG. 10, the method for estimating the PSF of the present embodiment is basically the same as that discussed with respect to FIG. 2 In the method, before step 1004 which is corresponding to step 203 of FIG. 2, it may include: step 1003 where average standard deviation parameters for the two directions may be obtained by averaging multiple LSF parameters in the same direction in accordance with the materials and the mass thicknesses of the rectangle blocks.


At this step, vertical and horizontal average standard deviations may be obtained by averaging the standard deviation parameters of the respective two directions after the foregoing LSF computation and standard deviation fitting steps for all the 6 inner vertical boundaries and all the 6 inner horizontal boundaries of the blocks.


Correspondingly, at step 1004, the standard deviation parameters σx and σy of the x direction and y direction may be replaced with the average standard deviation parameters of the x direction and y direction respectively.



FIG. 11 is a basic structure diagram showing a system for estimating PSF according to an embodiment of the disclosure. As shown in FIG. 11, the system includes: an imaging unit 1101 configured to acquire an image by scanning a plurality of rectangle blocks which are same sized and closely arranged using a scanning device, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning; a parameter obtaining unit 1102 configured to obtain LSFs of two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtain standard deviation parameters of the LSFs; and an estimating unit 1103 configured to combine the standard deviation parameters of the two directions to obtain a two dimensional PSF parameter so as to estimate the point spread function.


The size of the length side and the width side of each of the rectangle block is not less than a predetermined multiple of size of a detector in the scanning device.


The parameter obtaining unit 1102 may be further configured to determine positions of boundaries between every two rectangle blocks based on the number and arrangement of the rectangle blocks, compute cumulative gray level transformation curves for the boundaries in two directions, and obtain the LSFs of the two directions by applying a differential calculation to the cumulative gray level transformation curves.


The parameter obtaining unit 1102 may be further configured to obtain the standard deviation parameters of the LSFs by applying Gussian fitting to the LSFs of the two directions.


The system may further include an averaging unit connected with the parameter obtaining unit and the estimating unit respectively and configured to obtain an average standard deviation parameter of each of the two directions by averaging multiple LSF parameters in the same direction in accordance with the materials and the mass thicknesses of the rectangle blocks.


The method and system described above may be used in an image processing method and image processing system of an X-ray imaging system, to determine imaging quality of an X-ray imaging device or restore images.


Specifically, after the estimated PSF is obtained, a predetermined pixel range threshold may be used to determine whether the acquired image is clear or whether imaging quality meets requirements. The pixel range of the PSF may be small when the acquired image is clear, for example, 3*3 pixels; and the pixel range of the PSF may be relatively large when the imaging quality is low, for example, 7*7 pixels.


In addition, when the quality of the acquired image is less than satisfactory, the obtained PSF may be used to operate with the acquired image to restore the image with higher quality and thereby improve the imaging quality. There are many ways for image restoration, for example, deconvolution operation, which may perform a deconvolution to the acquired image with the PSF, to obtain a better image.



FIG. 12 is a structure diagram showing an imaging processing system for an X-ray imaging device according to an embodiment of the disclosure. As shown in FIG. 12, the system includes: a radiation source 1201, a detector 1202, and rectangle blocks 1203 and the system for estimating a PSF 1204 as described above.


The radiation source 1201 emits X-rays to the plurality of rectangle blocks 1203 arranged closely, the detector 1202 collects signals, and the system for estimating a PSF 1204 analyzes the collected signals to estimate a PSF.


In some embodiments, each of the rectangle blocks may be made of one of Graphite, Lead, Iron and Polyethylene.


In some embodiments, the mass thickness of each of the rectangle block may be 2˜50 g/cm2.


In some embodiments, the size of a length side and/or a width side of each of the rectangle block may be 5˜100 times of an effective size of the detector for collecting X-rays.


The method and system for estimating a SPF provided in the embodiments of the disclosure provide a way to estimate a PSF automatically and quickly without having knowledge of the size and mass thickness of each of the rectangle blocks and the size of the detector. The quantitative description of the PSF obtained by the estimation of the disclosure can be used to give a quantitative evaluation on imaging quality of the scanning device, and thereby a restoration technical can be used to deblur the image so as to improve the definition of the image. In addition, a corresponding suggestion can be presented to improve the hardware of the scanning system based on the PSF parameters. The method and system of the disclosure are suitable to various scanning system for estimating a PSF, especially a PSF that may be approximated as a Gaussian shape and has different standard deviations with respect to the two directions. In summary, the method and system for estimating a PSF provided in the embodiments of the disclosure may achieve the following effects:


(1) Simple usage and high level of automation. It only requires that the plurality of rectangle blocks have same size and each block has uniform thickness, with no precise requirement for specific thickness and size, which may reduce production requirements. Further, except for image scanning, it can automatically complete the processes, such as area location, parameter computation and the like without any human intervention;


(2) High robustness and adaptive ability. It comprehensively utilizes the step edges of multiple areas, which reduces influence by noises. Further, it requires only that the plurality of rectangle blocks have the same size and each block has uniform thickness, and the numbers of the rectangle blocks in both directions are known, with no precise requirement for specific thickness and size, which may reduce requirements for physical processing precision, such as thickness and size of the material, etc.


(3) High processing speed. The processing speed can be dramatically improved since the PSF may be approximate to a Gaussian shape and there is no too many deconvolution operations.


It should be noted that the above embodiments are exemplary and explanatory only, and are not restrictive of the present disclosure. Those skilled in the art will appreciate that even though the specific descriptions are made with reference to the forgoing embodiments, any modifications, equivalent alternations and improvements could be made to the above embodiments without departing from the scope and spirit of the disclosure.

Claims
  • 1. A method for estimating a point spread function, the method comprising: capturing, by a scanning device, an image by scanning a plurality of rectangle blocks which are same sized and closely arranged, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning;obtaining line spread functions for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtaining standard deviation parameters of the line spread functions; andcombining the standard deviation parameters for the two directions to obtain a two dimensional Point Spread Function (PSF) parameter so as to estimate the point spread function.
  • 2. The method of claim 1 or the invention of any claim herein, wherein size of the length side and width side of each of the rectangle blocks is not less than a predetermined multiple of size of a detector in the scanning device.
  • 3. The method of claim 1 or the invention of any claim herein, wherein said obtaining the line spread functions further comprises: determining, for the two directions, positions of boundaries between every two rectangle blocks based on the number and arrangement of the rectangle blocks;computing cumulative gray level transformation curves for the boundaries in two directions; andobtaining the line spread functions for the two directions by applying a differential calculation to the cumulative gray level transformation curves.
  • 4. The method of claim 1 or the invention of any claim herein, wherein said obtaining the standard deviation parameters of the line spread functions comprises: applying Gaussian fitting to the line spread functions for the two directions in order to obtain the standard deviation parameters of the line spread functions.
  • 5. The method of claim 1 or the invention of any claim herein, wherein after obtaining the standard deviation parameters of the line spread functions and before combining the standard deviation parameters for the two directions, the method further comprising: obtaining an average standard deviation parameter of each of the two directions by averaging multiple line spread function parameters in the same direction in accordance with the materials and the mass thicknesses of the rectangle blocks.
  • 6. A system for estimating a point spread function, the system comprising: an imaging unit configured to capture, by a scanning device, an image by scanning a plurality of rectangle blocks which are same sized and closely arranged, wherein the plurality of rectangle blocks are made of different materials and/or have different mass thicknesses, and an incident direction of rays is perpendicular to a scanning direction and a surface of the plurality of rectangle blocks arranged closely during scanning;a parameter obtaining unit configured to obtain line spread functions for two directions along a length side and a width side of each of the rectangle blocks based on the scanned image, and obtain standard deviation parameters of the line spread functions; andan estimating unit configured to combine the standard deviation parameters for the two directions to obtain a two dimensional Point Spread Function (PSF) parameter so as to estimate the point spread function.
  • 7. The system of claim 6 or the invention of any claim herein, wherein size of the length side and width side of each of the rectangle blocks is not less than a predetermined multiple of size of a detector in the scanning device.
  • 8. The system of claim 6 or the invention of any claim herein, wherein the parameter obtaining unit is further configured to: determining, for the two directions, positions of boundaries between every two rectangle blocks based on the number and arrangement of the rectangle blocks;computing cumulative gray level transformation curves for the boundaries in two directions; andobtaining the line spread functions of the two directions by applying a differential calculation to the cumulative gray level transformation curves.
  • 9. The system of claim 6 or the invention of any claim herein, wherein the parameter obtaining unit is further configured to: applying Gaussian fitting to the line spread functions of the two directions in order to obtain the standard deviation parameters of the line spread functions.
  • 10. The system of claim 6 or the invention of any claim herein, wherein the system further comprises: an averaging unit connected with the parameter obtaining unit and the estimating unit and configured to obtaining an average standard deviation parameter of each of the two directions by averaging multiple line spread function parameters in the same direction in accordance with the materials and the mass thicknesses of the rectangle blocks.
  • 11. An image processing system for an X-ray imaging device, comprising a radiation source, a detector, rectangle blocks, and the system for estimating point spread function according to any one of claim 6 through claim 10.
  • 12. The image processing system for an X-ray imaging device of claim 11 or the invention of any claim herein, wherein each of the rectangle blocks is made of one of: Graphite, Lead, Iron and Polyethylene.
  • 13. The image processing system for an X-ray imaging device of claim 11 or the invention of any claim herein, wherein the mass thickness of each of the rectangle blocks is 2 to 50 g/cm2, or about 2 to about 50 g/cm2.
  • 14. The image processing system for an X-ray imaging device of claim 11 or the invention of any claim herein, wherein the size of length side and/or width side of each of the rectangle blocks is 5 to 100 times of an effective size of the detector for collecting X-rays, or about 5 to about 100 times of an effective size of the detector for collecting X-rays.
Priority Claims (1)
Number Date Country Kind
201510437211.6 Jul 2015 CN national