type conversion of input image to float64