An image processing template library