Extract process Image to a class