def box_blur(image, radius):
 image.load()
 return image._new(image.im.box_blur(radius))

def box_blur ( image , radius ) : image . load ( ) return image . _new ( image . im . box_blur ( radius ) )
blur the image by setting each pixel to the average value of the pixels in a square box extending radius pixels in each direction .