The invention provides an image processing method. The method comprises the following steps that 1, for each pixel point of an image, grayscale frequency and coordinate information of the pixel pointare recorded; 2, the grayscales of all the pixel points in the image are clustered according to the gray level types to form a spatial gray level area position distribution diagram Ti with different gray level types as characteristics; 3, all gray level blocks in the gray level area position distribution diagram with different gray level types are screened, and target blocks are selected; the target blocks which are found from the gray level area position distribution diagram with different gray level types are combined, identified and subjected to image reconstruction. Compared with originaldeep leaning image identification, the image processing method has the advantages that another way is provided, a grayscale standard is adopted for conducting block division on the image, the restrictions of the learning capacity and the variable target edge gradient are removed, the data processing speed is greatly increased, the identification validity is greatly improved, the requirement for hardware is remarkably reduced, the high universality is achieved, and the difficult problems of complex environment, low contrast degree and tracking identification for a small target are solved.