The invention discloses a winograd
algorithm-based rapid
image processing method, which comprises the following steps of: step 1, selecting a
data set, training a self-defined neural
network model byutilizing a Caffe framework, and extracting a
convolution kernel weight and a bias value of the trained model; step 2, extracting input picture pixel points, and storing the input picture pixel pointsin a four-dimensional array, the four dimensions being the number of input pictures, the number of channels, and the length and width of the pictures respectively; step 3, constructing a convolutionoperator based on a winograd
algorithm, judging whether the
convolution kernel size is 3 * 3 and whether the channel number is greater than 10, and if so, performing
convolution operation by using thewinograd operator; and step 4, outputting a result obtained after the convolution operation, judging whether the layer is the last convolution layer or not, if so, sending the output picture into thefull connection layer after
nonlinear transformation of the RELU layer, and otherwise, repeating the step 3. The
image processing method can improve the computing energy efficiency when the processorruns the neural network.