clementfarabet/lua---imgraph — pull request #3 by srinituraga (2012-09-14 08:33:27+00:00)
Title: Merge back to Clément's repo: correct/tested implementation of MalisCriterion

- switched from using sq-sq loss to the hinge loss
- computing fp, tp, fn, tn
- can simultaneously compute pos and/or neg example pairs
- can specify binarization threshold
- fixed "bug" where border pixels were just completely ignored. borders pixels and edges are now correctly handled.