Class FilterSmallRecognizedObjects<T,V>
- java.lang.Object
-
- science.aist.imaging.core.imageprocessing.filter.impl.FilterSmallRecognizedObjects<T,V>
-
- All Implemented Interfaces:
FilterObjects<T,V>
public class FilterSmallRecognizedObjects<T,V> extends Object implements FilterObjects<T,V>
Removes recognized objects, which are too small. Will remove the object, if size is below the required threshold- Since:
- 1.0
- Author:
- Christoph Praschl, Andreas Pointner
-
-
Constructor Summary
Constructors Constructor Description FilterSmallRecognizedObjects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RecognizedObject<T,V>>
filter(List<RecognizedObject<T,V>> recognizedObjects, double threshold)
Remove objects from the given list using a threshold.
-
-
-
Method Detail
-
filter
public List<RecognizedObject<T,V>> filter(List<RecognizedObject<T,V>> recognizedObjects, double threshold)
Description copied from interface:FilterObjects
Remove objects from the given list using a threshold.- Specified by:
filter
in interfaceFilterObjects<T,V>
- Parameters:
recognizedObjects
- objects to filterthreshold
- threshold to use during the filtering process- Returns:
- new list containing filtered objects
-
-