Abstract:
To solve the problem of insufficient flexibility of the traditional counterfeit digital camouflage generation algorithm development platform, a counterfeit digital camouflage generation algorithm based on field-programmable gate array (FPGA) was proposed. The histogram statistics was used to extract main color information, the background image was mosaicked to obtain color distribution information, and the main colors based on color difference was replaced to obtain a method of imitating digital camouflage. Data were obtained with different main color numbers, color difference calculation weights, and color determination numbers. The results show that after determining 3600 colors, 4 main colors are extracted as the main colors of the fake digital camouflage. When the main colors are replaced according to the color difference, the color weight is 3 ∶6 ∶1, the generated fake digital camouflage has a good encryption effect, and is based on FPGA implements this algorithm, the system occupies few resources. The time required to process a single frame color image with a resolution of 800 pixels×480 pixels is approximately 22.21 ms, which meets the real-time requirements for generating fake digital camouflage in dynamic scenes. This research provides a reference for active camouflage technology.