gest image in a batch and create a pixel mask. Can be overridden by the `do_pad` parameter in the `preprocess` method. Ú