A few utility functions for performing image processing techniques with SXGP