preparing parameters and service methods for images: input, template and result