1. A computer implemented method comprising: capturing an image of an object using an x-ray source emitting x-rays toward the object and a detector capturing image data of the object; modifying the captured image to correct artifacts therein caused by scattering of the x-rays, the step of modifying the image including: determining a scatter distribution of the x-rays in an air region near the object using the captured image of the object; estimating a scatter intensity of the x-rays within the object based on the determined scatter distribution; and subtracting the estimated scatter intensity of the x-rays from the captured image to provide the modified image.