Disentangled representation learning model for digital pathology data as a custom similarity metric for deformable image registration.