The invention discloses a platform
histogram equalization realization method based on an FPGA, and d device thereof. When frames are effective, a
histogram statistic module carries out
histogram statistics on the data of a number t frame of image, an RAM reading-writing control module process a statistical histogram according to a set upper limit platform value, and the processed statistical histogram is input into the RAM; after the data of the number t frame of image is counted, a reading
signal of the RAM is generated by an RAM reading control module, the reading
signal is sent to the RAM through the RAM reading-writing control module, the read statistical histogram is sent to a histogram accumulation module, the histogram accumulation module accumulates the statistical histogram, and the accumulated statistical histogram is written into an SDRAM through an SDRAM arbitration control module; and when the data of a number (t+1) frame of image is effective, the above operation on the statistical histogram is repeated, and a platform histogram output module reads the accumulated histogram of the number t frame of image through the SDRAM, calculates the number (t+1) frame of image after
equalization and outputs the image. According to the invention, a large number of internal resources of the FPGA are saved, the
power consumption of the FPGA is reduced, and the operation speed is improved.