define basic funcionality for image_processor