Cosmic-Ray Rejection by Laplacian Edge Detection