EoD

modified dparsfa's extract ROI function