Frequency domain design of FIR and IIR Laplacian of Gaussian filters for edge detection