A new non-parametric method for image intensity inhomogeneity correction using a non-uniform gradient filter and path integrals | Synapse