bnl.ops.LevelByMeanShift
- class bnl.ops.LevelByMeanShift(bw=0.05)[source]
Bases:
LevelStrategyUse mean shift clustering to find peaks in the salience values and clusters them into levels.
Public Methods:
Inherited from
Strategyregister(name)A class method to register strategies in a central registry.
- Parameters:
bw (float)
- __call__(bc)[source]
Quantize boundaries’ levels in a BoundaryContour.
- Parameters:
bc (BoundaryContour)
- Return type: