Got rid of the DenseDesignMatrix object. The script processes the dataset and saves it as an hdf5 file, without returning an object.
Added a parameter to choose the dump and image dir
Bugfix: use NEAREST to resize the mask, otherwise interpolated values might not represent any class.