lucasb-eyer / pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.
MIT License
1.96k stars 417 forks source link

Gaussian potential with nonzero mean #96

Open IdoMa opened 5 years ago

IdoMa commented 5 years ago

Hi there, thanks for this fantastic wrapper! Is there a way to construct a pairwise Gaussian potential with nonzero mean? As in: p(f_i, f_j) ~ exp(- (mu - |f_i - f_j|) ^2 / (2 * sigma^2)) Thanks!