The invention discloses an
image processing implementation method and
system, and the method comprises the steps: obtaining a to-be-filtered original image which is H in height and W in width; whereinR is the
radius corresponding to the mean value, the expansion operation core and the
corrosion operation core, the window size of the corresponding core is 2R + 1, and R is greater than 0; performing upper and lower
boundary extension processing on the original image according to the
radius R; performing left and right
boundary extension processing on the image after the upper and lower boundaryextension
processing; and outputting the target image according to a preset
performance function. According to the image
algorithm provided by the invention, except that the column direction and theradius R are related to edge extension and first calculation, the rest mean filtering and expansion
corrosion operations are irrelevant to the
radius; according to the method, the required memory amount is small, the
algorithm flow storage data is less, mean filtering, expansion and
corrosion operations are realized by adopting a unified framework, and the performance and the application value ofthe graphic image
algorithm are greatly improved.