MIPL:An Image Processing Library for Medical Applications