A semi-automatic method for SWI processing