changed the name of the output for fgResampled