Retrospective shading correction based on entropy minimization | Synapse