Routines for image processing of life science data