The invention discloses a method for extracting multi-layer peak values of an
image based on an FPGA (
Field Programmable Gate Array), which relates to the technical field of
image processing and comprises the following steps of: inputting an image, inputting a high-speed image in an FPGA parallel mode, and setting that a plurality of pixels of a row of high-speed image are simultaneously input in each
clock period; marking the
peak value of the high-speed image, obtaining the complete
peak value of the high-speed image by determining the starting point, the peak top and the end point of the
peak value of the high-speed image, and marking the peak value of the high-speed image according to the starting point, the peak top and the end point of the peak value of the high-speed image; screening peak values, finding starting point marks for a plurality of pixels input at the same time in the same
clock period according to a position sequence, ignoring other marks of subsequent parallel image pixels, only finding peak top marks, only finding peak end point marks after finding the peak top marks, and circularly selecting complete peaks according to a starting point, peak top and end
point sequence of the peak values; the method can improve the peak identification accuracy, is small in
noise interference degree, carries out
parallel processing, and is high in efficiency and real-time performance.