Image Processing Python Opencv Imwrite