preprocessing pipeline from images+masks into HoG in the format of train/test data/label