final image pixel values greater than zero fix