Line scan camera image processing for train photography