Line detection using wavelet filters