Streaks in images are detected by determining a rotation angle of an image and calculating a rotated image based on a rotation of the image by the rotation angle. A cross-sectional pixel profile of the rotated image is determined and a peak in the cross-sectional pixel profile of the rotated image is determined. A streak in the image is identified based on the determined peak.