Library for microscopy image processing