Changed image representation

*storing data in floats to be able to store single pixel camera output
in the same format