image processing module begin