data type changed to float

float image can save more space
use float data type as real number

float type can save more memory
DoubleImage changed to RealImage