ROI mask MATLAB to ASCII converter (for our project)