replace the brick texture in the image with the brick texture in the reference image