Code for extracting the LSF from a scan of slanted hard edges