lucasb-eyer / pydensecrf

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

Gaussian potential with nonzero mean #96

Open IdoMa opened 4 years ago

IdoMa commented 4 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!