add option to extractSingleBase to allow use to extract arbitrary softmask