make pixel type to float