bnl.ops.CleanByAbsorb
- class bnl.ops.CleanByAbsorb(window=1.0)[source]
Bases:
CleanStrategyClean boundaries by absorbing less salient ones within a window.
Public Methods:
Inherited from
Strategyregister(name)A class method to register strategies in a central registry.
- Parameters:
window (float)
- __call__(bc)[source]
Cleans boundaries in a BoundaryContour.
- Parameters:
bc (BoundaryContour)
- Return type: