FPGA Based Processor for Image Downsampling