FPGA-Otsu Verilog Implementation of Otsu's algorithm To Run Resize Images to 768x512 Convert image to .bmp format Extract .hex file using bmp2hex.m using matlab run tb_simulation in Xilinx ISE in simulation console, type: run 6ms.