A Unified Probabilistic Computational Framework for Cross-Domain Compensated Medical Imaging