Remove the selected objects from the image.