init ImageProcessor