-
Notifications
You must be signed in to change notification settings - Fork 1
GraphCutOptimization
Sébastien Mestrallet edited this page Jan 10, 2025
·
4 revisions
https://vision.cs.uwaterloo.ca/code/, section "Multi-label optimization" (gco-v3.0 library)
Code with my fixes (commit d7477e9): https://github.com/LIHPC-Computational-Geometry/validity-first-polycube-labeling/tree/main/ext/GraphCutOptimization
Also take a look at what Marco Livesu did: https://github.com/mlivesu/GraphCuts
In the most general case (see GeneralGraph_DArraySArraySpatVarying() in their example.cpp), given a set of connected sites and a set of labels, the problem is to assign a label to each site, depending on:
- the data cost, the cost of assigning each site to each label
- the smooth cost, the adjacency cost of pairs of labels
- the neighborhood cost, the proximity of two sites, encouraging the same label for both or not
TODO
TODO
TODO



