Removing background of image stimuli

Can you use a visual.Aperture approach like in this post?