def METHOD_NAME(img, tx, ty):
    if tx == args.divide * width - 1 or ty == args.divide * width - 1 or tx == 0 or ty == 0: 
        return img
    img[tx, ty] = (img[tx, ty] + img[tx + 1, ty] + img[tx, ty + 1] + img[tx - 1, ty] + img[tx, ty - 1] + img[tx + 1, ty - 1] + img[tx - 1, ty + 1] + img[tx - 1, ty - 1] + img[tx + 1, ty + 1]) / 9
    return img