lucasb-eyer / pydensecrf

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

How to specify Unary and Pairwise functions in dense CRF? [Help Wanted] #74

Closed manishh closed 5 years ago

manishh commented 5 years ago

I am exploring pydensecrf for image de-noising. Initially, I am trying to figure out how to add Unary and Pairwise terms of the energy function in pydensecrf code. How do I do this? Any pointers would be highly appreciated.

manishh commented 5 years ago

Never mind, figured it out from the examples.