Implement the Bilateral filter for FPGA architecture