antsRegistration in fMRIprep

Dear all,

how does the method antsRegistration exactly work? in the Docs of fmriprep it is said that antsregistration shrinks brain lesions when registering lesional brains to an atlas? How does this exactly work?

Cheers