Create preprocessimgdata

Preprocess image data from disk and store in a pre-defined format