Replacement Simple Image Processing Very Slow Mathematica Stack

Replacement Simple Image Processing Very Slow Mathematica Stack