1. A method for correcting an x-ray scatter in an image data of an object, comprising: determining in a processor a scatter-correction convolution core G for the object, wherein the object has at least two object areas having different scattering properties, wherein the convolution core G is an object-dependent non-parametric convolution core; segmenting the image data to identify distinct image areas based on said at least two object areas; and applying the scatter-correction convolution core to the image data when examining the object, wherein the scatter-correction convolution core G is calculated from an equation defined as follows: ∑ k ⁢ ∫ B k ⁢ ∫ Fp ⁡ ( x _ ′ ) ⁢ G k ⁡ ( x _ - x ′ _ ) ⁢ ⁢ ⅆ x ′ _ = ∑ k ⁢ Fp * G k ⁡ ( x _ ) = S ⁡ ( x _ ) wherein: B k is a variable indicative of said identified distinct image areas, G k is a scatter-correction convolution core determined only for image area B k .