Keras Functions for Image Processing