dirac-institute / kbmod

KBMOD (Kernel-Based Moving Object Detection)
BSD 2-Clause "Simplified" License
46 stars 14 forks source link

Remove the BatchFilter abstract data type #561

Closed jeremykubica closed 7 months ago

jeremykubica commented 7 months ago

The BatchFilter abstract data type is only ever used for clustering and is wrapped in the function apply_clustering(). To keep the code simple, this removes the BatchFilter abstract data type and ResultList's apply_batch_filter() method and instead uses the ResultList's filter_results() method directly.

This also simplifies some of the logic with using other result data types that I have been experimenting with in #549