Class AbstractColorbasedObjectDetector<I,P,R,C extends ThreeChannelColor>
- java.lang.Object
-
- science.aist.imaging.api.objectdetection.AbstractObjectDetector<I,P,R>
-
- science.aist.imaging.api.objectdetection.AbstractColorbasedObjectDetector<I,P,R,C>
-
- Type Parameters:
P
- Type of Point wrapped by Point2WrapperI
- Type of Image wrapped by ImageWrapperC
- Type of Color for detectionR
- Type of Rectangle wrapped by RectangleWrapper
- All Implemented Interfaces:
ObjectDetector<I,P,R>
- Direct Known Subclasses:
OpenCVHSVColorbasedObjectDetector
,OpenCVRGBColorbasedObjectDetector
public abstract class AbstractColorbasedObjectDetector<I,P,R,C extends ThreeChannelColor> extends AbstractObjectDetector<I,P,R>
Abstract class for detecting object based on a given color range
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
Fields Modifier and Type Field Description protected C
lowerBound
Field containing Low color value of the object which should be detectedprotected C
upperBound
Field containing High color value of the object which should be detected-
Fields inherited from class science.aist.imaging.api.objectdetection.AbstractObjectDetector
pointTransformer
-
-
Constructor Summary
Constructors Constructor Description AbstractColorbasedObjectDetector()
-
Method Summary
-
Methods inherited from class science.aist.imaging.api.objectdetection.AbstractObjectDetector
getObjectCenter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface science.aist.imaging.api.objectdetection.ObjectDetector
getBoundingBox
-
-
-
-
Field Detail
-
lowerBound
protected C extends ThreeChannelColor lowerBound
Field containing Low color value of the object which should be detected
-
upperBound
protected C extends ThreeChannelColor upperBound
Field containing High color value of the object which should be detected
-
-