1. A method for correcting image artifacts on an x-ray image, the method comprising the steps of: obtaining at least one x-ray image having a plurality of pixels, the at least one x-ray image comprising at least one bad pixel line having a plurality of bad pixels; processing at least one bad pixel line with a correction algorithm to generate at least one corrected pixel line, the pixels of the at least one corrected pixel line having a corrected pixel value; processing the at least one corrected pixel line with a filtering algorithm to generate at least one filtered pixel line, the pixels of the at least one filtered pixel line having a filtered pixel value, the filtering algorithm configured to preserve a statistical property of the pixels along the at least one bad pixel line; and generating at least one corrected x-ray image by replacing the bad pixel lines with the filtered pixel lines.