An FPGA oprimization of a multiple resolution architecture for LDR to HDR image conversion