nifty.graph.opt.lifted_multicut¶
Functions¶
-
nifty.graph.opt.lifted_multicut.
liftedMulticutObjective
()¶
-
nifty.graph.opt.lifted_multicut.
liftedUcmFeatures
()¶
-
nifty.graph.opt.lifted_multicut.
pixelWiseLmcObjective
(weights, offsets)¶
-
nifty.graph.opt.lifted_multicut.
pixel_wise_lmc_edge_gt_2d
()¶
Classes¶
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
factories
¶
-
-
class
nifty.graph.opt.lifted_multicut.
ChainedSolversSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
factories
¶
-
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
numberOfIterations
¶
-
numberOfThreads
¶
-
proposalGenerator
¶
-
stopIfNoImprovement
¶
-
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
numberOfIterations
¶
-
numberOfThreads
¶
-
proposalGenerator
¶
-
stopIfNoImprovement
¶
-
-
class
nifty.graph.opt.lifted_multicut.
FusionMoveBasedSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
numberOfIterations
¶
-
numberOfThreads
¶
-
proposalGenerator
¶
-
stopIfNoImprovement
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutAndresKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutBaseLiftedMulticutObjectiveUndirectedGraph
¶ -
optimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutBaseLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
optimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutBaseLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
optimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
nodeNumStopCond
¶
-
weightStopCond
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
nodeNumStopCond
¶
-
weightStopCond
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutGreedyAdditiveSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
nodeNumStopCond
¶
-
weightStopCond
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutKernighanLinSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
epsilon
¶
-
numberOfInnerIterations
¶
-
numberOfOuterIterations
¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutObjectiveUndirectedGraph
¶ -
static
chainedSolversFactory
(factories)¶ create an instance of
ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGraph
Chain multiple solvers such that each successor is warm-started with its predecessor solver.Warning
The solvers should be able to be warm started.
Parameters: - weightStopCond (float) – stop clustering when the highest weight in cluster-graph is lower as this value (default: {0.0})
- nodeNumStopCond – stop clustering when a cluster-graph reached a certain number of nodes. Numbers smaller 1 are interpreted as fraction of the graphs number of nodes. If nodeNumStopCond is smaller 0 this stopping condition is ignored (default: {-1})
Returns: multicut factory
Return type:
-
evalNodeLabels
()¶
-
static
fusionMoveBasedFactory
(proposalGenerator=None, numberOfThreads=1, numberOfIterations=1000, stopIfNoImprovement=100)¶ - factory function for a fusion move based lifted
- multicut solver
Parameters: - proposalGenerator (None, optional) – Proposal generator (default watershedProposalGenerator)
- numberOfThreads (int, optional) – (default 1)
- numberOfIterations (int, optional) – Maximum number of iterations(default 1000)
- stopIfNoImprovement (int, optional) – Stop after n iterations without improvement (default 100)
Returns: Description
Return type: TYPE
-
graph
¶
-
insertLiftedEdgesBfs
(maxDistance, returnDistance=False)¶
-
liftedGraph
¶
-
static
liftedMulticutAndresGreedyAdditiveFactory
()¶
-
static
liftedMulticutAndresKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
static
liftedMulticutGreedyAdditiveFactory
(weightStopCond=0.0, nodeNumStopCond=-1.0)¶
-
liftedMulticutIlpCplexFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='cplex')¶
-
static
liftedMulticutIlpFactory
(verbose=0, addThreeCyclesConstraints=True, addOnlyViolatedThreeCyclesConstraints=True, relativeGap=0.0, absoluteGap=0.0, memLimit=-1.0, ilpSolver='cplex')¶
-
liftedMulticutIlpGlpkFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='glpk')¶
-
liftedMulticutIlpGurobiFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='gurobi')¶
-
static
liftedMulticutKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
liftedUvIds
()¶
-
numberOfLiftedEdges
¶
-
setCost
()¶
-
setCosts
()¶
-
setGraphEdgesCosts
()¶
-
setLiftedEdgesCosts
()¶
-
static
verboseVisitor
(visitNth=1)¶
-
static
watershedProposalGenerator
(sigma=1.0, numberOfSeeds=0.1, seedingStrategie='SEED_FROM_LIFTED')¶ factory function for a watershed based proposal generator for fusion move based lifted multicuts.
Parameters: - sigma (float, optional) – The weights are perturbed by a additive Gaussian noise n(0,sigma) (default 0.0)
- numberOfSeeds (float, optional) – Number of seed to generate. A number smaller as one will be interpreted as a fraction of the number of nodes (default 0.1)
- seedingStrategie (str, optional) –
Can be: - ‘SEED_FROM_LIFTED’ : All negative weighted lifted edges
can be used to generate seeds.- ’SEED_FROM_LOCAL’ : All negative weighted local edges
- can be used to generate seeds.
- ’SEED_FROM_BOTH’ : Both, lifted and local edges
can be used for seeding
Returns: parameter object used construct a WatershedProposalGenerator
Return type: TYPE
-
static
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
static
chainedSolversFactory
(factories)¶ create an instance of
ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
Chain multiple solvers such that each successor is warm-started with its predecessor solver.Warning
The solvers should be able to be warm started.
Parameters: - weightStopCond (float) – stop clustering when the highest weight in cluster-graph is lower as this value (default: {0.0})
- nodeNumStopCond – stop clustering when a cluster-graph reached a certain number of nodes. Numbers smaller 1 are interpreted as fraction of the graphs number of nodes. If nodeNumStopCond is smaller 0 this stopping condition is ignored (default: {-1})
Returns: multicut factory
Return type: ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
-
evalNodeLabels
()¶
-
static
fusionMoveBasedFactory
(proposalGenerator=None, numberOfThreads=1, numberOfIterations=1000, stopIfNoImprovement=100)¶ - factory function for a fusion move based lifted
- multicut solver
Parameters: - proposalGenerator (None, optional) – Proposal generator (default watershedProposalGenerator)
- numberOfThreads (int, optional) – (default 1)
- numberOfIterations (int, optional) – Maximum number of iterations(default 1000)
- stopIfNoImprovement (int, optional) – Stop after n iterations without improvement (default 100)
Returns: Description
Return type: TYPE
-
graph
¶
-
insertLiftedEdgesBfs
(maxDistance, returnDistance=False)¶
-
liftedGraph
¶
-
static
liftedMulticutAndresGreedyAdditiveFactory
()¶
-
static
liftedMulticutAndresKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
static
liftedMulticutGreedyAdditiveFactory
(weightStopCond=0.0, nodeNumStopCond=-1.0)¶
-
liftedMulticutIlpCplexFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='cplex')¶
-
static
liftedMulticutIlpFactory
(verbose=0, addThreeCyclesConstraints=True, addOnlyViolatedThreeCyclesConstraints=True, relativeGap=0.0, absoluteGap=0.0, memLimit=-1.0, ilpSolver='cplex')¶
-
liftedMulticutIlpGlpkFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='glpk')¶
-
liftedMulticutIlpGurobiFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='gurobi')¶
-
static
liftedMulticutKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
liftedUvIds
()¶
-
numberOfLiftedEdges
¶
-
setCost
()¶
-
setCosts
()¶
-
setGraphEdgesCosts
()¶
-
setLiftedEdgesCosts
()¶
-
static
verboseVisitor
(visitNth=1)¶
-
static
watershedProposalGenerator
(sigma=1.0, numberOfSeeds=0.1, seedingStrategie='SEED_FROM_LIFTED')¶ factory function for a watershed based proposal generator for fusion move based lifted multicuts.
Parameters: - sigma (float, optional) – The weights are perturbed by a additive Gaussian noise n(0,sigma) (default 0.0)
- numberOfSeeds (float, optional) – Number of seed to generate. A number smaller as one will be interpreted as a fraction of the number of nodes (default 0.1)
- seedingStrategie (str, optional) –
Can be: - ‘SEED_FROM_LIFTED’ : All negative weighted lifted edges
can be used to generate seeds.- ’SEED_FROM_LOCAL’ : All negative weighted local edges
- can be used to generate seeds.
- ’SEED_FROM_BOTH’ : Both, lifted and local edges
can be used for seeding
Returns: parameter object used construct a WatershedProposalGenerator
Return type: TYPE
-
static
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
static
chainedSolversFactory
(factories)¶ create an instance of
ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
Chain multiple solvers such that each successor is warm-started with its predecessor solver.Warning
The solvers should be able to be warm started.
Parameters: - weightStopCond (float) – stop clustering when the highest weight in cluster-graph is lower as this value (default: {0.0})
- nodeNumStopCond – stop clustering when a cluster-graph reached a certain number of nodes. Numbers smaller 1 are interpreted as fraction of the graphs number of nodes. If nodeNumStopCond is smaller 0 this stopping condition is ignored (default: {-1})
Returns: multicut factory
Return type: ChainedSolversFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
-
evalNodeLabels
()¶
-
static
fusionMoveBasedFactory
(proposalGenerator=None, numberOfThreads=1, numberOfIterations=1000, stopIfNoImprovement=100)¶ - factory function for a fusion move based lifted
- multicut solver
Parameters: - proposalGenerator (None, optional) – Proposal generator (default watershedProposalGenerator)
- numberOfThreads (int, optional) – (default 1)
- numberOfIterations (int, optional) – Maximum number of iterations(default 1000)
- stopIfNoImprovement (int, optional) – Stop after n iterations without improvement (default 100)
Returns: Description
Return type: TYPE
-
graph
¶
-
insertLiftedEdgesBfs
(maxDistance, returnDistance=False)¶
-
liftedGraph
¶
-
static
liftedMulticutAndresGreedyAdditiveFactory
()¶
-
static
liftedMulticutAndresKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
static
liftedMulticutGreedyAdditiveFactory
(weightStopCond=0.0, nodeNumStopCond=-1.0)¶
-
liftedMulticutIlpCplexFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='cplex')¶
-
static
liftedMulticutIlpFactory
(verbose=0, addThreeCyclesConstraints=True, addOnlyViolatedThreeCyclesConstraints=True, relativeGap=0.0, absoluteGap=0.0, memLimit=-1.0, ilpSolver='cplex')¶
-
liftedMulticutIlpGlpkFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='glpk')¶
-
liftedMulticutIlpGurobiFactory
= functools.partial(<function __extendLiftedMulticutObj.<locals>.liftedMulticutIlpFactory>, ilpSolver='gurobi')¶
-
static
liftedMulticutKernighanLinFactory
(numberOfOuterIterations=1000000, numberOfInnerIterations=100, epsilon=1e-07)¶
-
liftedUvIds
()¶
-
numberOfLiftedEdges
¶
-
setCost
()¶
-
setCosts
()¶
-
setGraphEdgesCosts
()¶
-
setLiftedEdgesCosts
()¶
-
static
verboseVisitor
(visitNth=1)¶
-
static
watershedProposalGenerator
(sigma=1.0, numberOfSeeds=0.1, seedingStrategie='SEED_FROM_LIFTED')¶ factory function for a watershed based proposal generator for fusion move based lifted multicuts.
Parameters: - sigma (float, optional) – The weights are perturbed by a additive Gaussian noise n(0,sigma) (default 0.0)
- numberOfSeeds (float, optional) – Number of seed to generate. A number smaller as one will be interpreted as a fraction of the number of nodes (default 0.1)
- seedingStrategie (str, optional) –
Can be: - ‘SEED_FROM_LIFTED’ : All negative weighted lifted edges
can be used to generate seeds.- ’SEED_FROM_LOCAL’ : All negative weighted local edges
- can be used to generate seeds.
- ’SEED_FROM_BOTH’ : Both, lifted and local edges
can be used for seeding
Returns: parameter object used construct a WatershedProposalGenerator
Return type: TYPE
-
static
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVerboseVisitorLiftedMulticutObjectiveUndirectedGraph
¶ -
stopOptimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVerboseVisitorLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
stopOptimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVerboseVisitorLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
stopOptimize
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVisitorBaseLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVisitorBaseLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
LiftedMulticutVisitorBaseLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
PixelWiseLmcObjective
(weights, offsets)¶ -
cpp_obj
()¶
-
evaluate
(labels)¶
-
optimize
(factory, labels=None)¶
-
-
class
nifty.graph.opt.lifted_multicut.
ProposalGeneratorFactoryBaseLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
ProposalGeneratorFactoryBaseLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
ProposalGeneratorFactoryBaseLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
SolverFactoryBaseLiftedMulticutObjectiveUndirectedGraph
¶ -
create
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
SolverFactoryBaseLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
create
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
SolverFactoryBaseLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
create
()¶
-
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorFactoryLiftedMulticutObjectiveUndirectedGraph
¶
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorFactoryLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorFactoryLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorSettingsTypeLiftedMulticutObjectiveUndirectedGraph
¶ -
class
SeedingStrategie
¶ -
SEED_FROM_BOTH
= SeedingStrategie.SEED_FROM_BOTH¶
-
SEED_FROM_LIFTED
= SeedingStrategie.SEED_FROM_LIFTED¶
-
SEED_FROM_LOCAL
= SeedingStrategie.SEED_FROM_LOCAL¶
-
-
numberOfSeeds
¶
-
seedingStrategie
¶
-
sigma
¶
-
class
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph2DSimpleNh
¶ -
class
SeedingStrategie
¶ -
SEED_FROM_BOTH
= SeedingStrategie.SEED_FROM_BOTH¶
-
SEED_FROM_LIFTED
= SeedingStrategie.SEED_FROM_LIFTED¶
-
SEED_FROM_LOCAL
= SeedingStrategie.SEED_FROM_LOCAL¶
-
-
numberOfSeeds
¶
-
seedingStrategie
¶
-
sigma
¶
-
class
-
class
nifty.graph.opt.lifted_multicut.
WatershedProposalGeneratorSettingsTypeLiftedMulticutObjectiveUndirectedGridGraph3DSimpleNh
¶ -
class
SeedingStrategie
¶ -
SEED_FROM_BOTH
= SeedingStrategie.SEED_FROM_BOTH¶
-
SEED_FROM_LIFTED
= SeedingStrategie.SEED_FROM_LIFTED¶
-
SEED_FROM_LOCAL
= SeedingStrategie.SEED_FROM_LOCAL¶
-
-
numberOfSeeds
¶
-
seedingStrategie
¶
-
sigma
¶
-
class