the invention relates to digital x - ray mammography image acquisition , detection and correction in general and in particular systems where image data is integrated over time , such as multi - slit scanners . fig2 illustrates a part of an exemplary photon detector 150 having twenty eight ( 28 ) pixel lines 151 , i . e . 28 line detectors . each line detector is a silicon strip with a multiple of 768 channels , ( but individual channels are too small to be illustrated ). each line detector receives photons from one thin x - ray beam , formed by a slit in the collimator . according to this example , the resulting detector output is 28 overlapping part images . the detector assembly moves essentially perpendicular to the detector lines and multiple detector lines collect image data from essentially the same image area . different slits and detector lines pass the same point in the image field at different instants of time . if the imaged object moves during that time interval , the images from different slits will not match as expected . a resulting image of a moving breast of an examined patient is illustrated in fig3 . unlike this simplified example , the typical motion is small , just a few pixels , but nevertheless it degrades image quality . another difference is that motions are non - uniform and the motions vectors vary over the image . fig4 illustrates the first part image received from one detector line , where the scan direction is downwards , with respect to the plane of the drawing . fig5 illustrates the sum of the first two part images in the sequence . fig6 and 7 illustrate the effect of more overlapping image parts . due to the motions , the image quality is degraded . the overlaps are due to the fact that each slit of the collimator acquires a part image , and the slit - images are partly overlapping . disregarding noise and other imperfections , these overlapping parts of the slit - images are supposed to be identical , but they are relatively displaced due to motion of the object relative to the imaging device . the other imperfections may be fluctuations in detector efficiency , lack of calibration , unequal slit width , x - ray output and individual detector sensitivity . such imperfections increase the level of difficulty for automatic alignment algorithms , and call for robust methods such as phase - based methods . fig8 to 11 illustrate same sequence as previously ( fig3 - 7 ), but this time the part images are perfectly aligned . the preferred embodiment estimates motion vectors in order to detect and correct motion blur . for mere motion detection , it is however possible to skip explicit computation of motion vectors . in one embodiment , it is enough to use a gauge of the overall abundance of motions , and estimate their impact on the image quality . the motion vectors are estimated comprising local offset , shift , rotation , deformation , and position relative data from different part images is conducted . a motion detecting system presents a warning when the motion vectors as a whole , weighted based on image contents , exceed a set of pre - defined threshold . correction uses the estimated motion vectors to warp , i . e . shift , move or resample the part images so that alignment is improved . the aligned part images are merged pixel - wise to form a corrected resultant image . in the preferred embodiment , the resultant image is constructed by computing the average of all overlapping part images for each pixel , i . e . computing the sum and dividing by the number of contributing part images in each pixel . however , averaging is not the only useful method of merging data . the optimal method depends on the kind of noise distribution in the part images , which in turn depends on the photon detector . for example , median may be better than averaging if the part images are contaminated by outliers or so called “ salt and pepper ” noise . a middle way is outlier rejection followed by averaging . fig1 illustrates an exemplary arrangement for image correction according to present invention . the arrangement is used for estimation , correction and image construction for a multi - slit system . the arrangement comprises a displacement estimator 131 , displace / warp units 132 a - 132 d ( depending on the number of slits ) and an image merger 133 , which is normally a mean value calculator . the displacement estimator 131 and controller receives image data from the detector for each slit ( four in this case ) and estimate the displacement based on comparison of part images to each other or to a reference image derived from multiple part images . 134 contains a threshold for motion detection , which computes an overall figure of merit of estimated motions and compares to a pre - defined threshold value . algorithms for estimation of motion vectors in 131 may be virtually any algorithm for image registration , image fusion or motion estimation , for example : block matching algorithms that search for maximum correlation / similarity or minimal difference of relatively displaced blocks . gradient algorithms for optical flow , that use derivatives of the image in spatial and temporal directions ( x , y , t ) to locally estimate one component of the motion vector , based on a famous publication by horn & amp ; schunk , 1981 . phase from gabor filters , or quadrature filters , or fourier transforms , e . g . fleet and jepson , hemmendorff 1997 , 1999 and 2002 . in the preferred embodiment , a two - step algorithm is used . the first step is estimation of local descriptors of the local motions , commonly referred to as gradient constraints , motions constraints , motion tensors or local cost functions . the local descriptors are estimated using phase from quadrature filters . the second step is least square fitting of local motion vectors to said motion constraints . to produce reliable motion vectors in image parts with noise and without sufficient contours , the process involves use of motion descriptors at other image coordinates . this is achieved using global parametric models , such as affine models , quadratic models or finite element models with stiffness matrices or cost functions on deformations . in this case a spatiotemporal finite element model is implemented , where coordinates span both location and time or slit number , based on accurate information about scanning geometry in the pixel domain . according to commonly accepted finite element method theory , a cost function for deformations should be used , which is commonly implemented using a stiffness matrix . every element in the finite element model gets a cost function based on its motion relative to nearby elements . the first version of our preferred implementation uses a simpler and computationally faster method can be to low - pass filter descriptors across the image and then solve the motion in least squares sense . said descriptors are outer products of motion constraint vectors or , or the matrices and vectors of contributions from local parametric motion models . this method is equivalent to fitting local motion vectors in overlapping image regions . the low - pass filtering can also be spatio - temporal and filter descriptors across data from different slits based on a model of the detector geometry . the signals from the detector are also fed to a corresponding displace / warp unit 132 a - 132 d , which also obtain parameters from the estimator 131 . the parameters are typically local motion vectors , or their inverse . the output from each displace / warp unit 132 a - 132 d is used as an input to the image merger 133 , which preferably computes a mean value image of all corrected part images and outputs a corrected , sharp full - field image of the breast ( fig1 ). the invention is not only limited to motion blur due to patient motions . the scanning device itself may also move , which also make part images mismatch . motion - like blur may also be due to lack of accurate information about the relative position of the part images . the invention applies to all such cases , since the effect appear the same way in the image data as object motions . when describing the invention , the word motion also refers to displacement due to such reasons , since they appear as object motions in the acquired image data . the invention may also be realized as computer program comprising procedures for executing the steps mentioned earlier . the invention is not limited to the shown embodiments but can be varied in a number of ways without departing from the scope of the patent claims and the arrangement and the method can be implemented in various ways depending on application , functional units , needs and requirements and the like .
methods and arrangement for providing digital x - ray mammography image acquisition by means of an x - ray system that includes acquiring image data by irradiating an object , such as a human breast , automatically by the system analyzing the acquired image data with respect to presence of motion blur , indicating whether motion blur is present .