Class OpenCVDifferencebasedObjectDetector
- java.lang.Object
-
- science.aist.imaging.api.objectdetection.AbstractObjectDetector<I,P,R>
-
- science.aist.imaging.api.objectdetection.AbstractDifferencebasedObjectDetector<org.opencv.core.Mat,org.opencv.core.Point,org.opencv.core.Rect>
-
- science.aist.imaging.opencv.imageprocessing.objectdetection.OpenCVDifferencebasedObjectDetector
-
- All Implemented Interfaces:
ObjectDetector<org.opencv.core.Mat,org.opencv.core.Point,org.opencv.core.Rect>
public class OpenCVDifferencebasedObjectDetector extends AbstractDifferencebasedObjectDetector<org.opencv.core.Mat,org.opencv.core.Point,org.opencv.core.Rect>
opencv implementation of a difference based Object Detector. Detects Object based on differences between the reference image and the input image
- Since:
- 1.0
- Author:
- Christoph Praschl
-
-
Field Summary
-
Fields inherited from class science.aist.imaging.api.objectdetection.AbstractDifferencebasedObjectDetector
referenceImage
-
Fields inherited from class science.aist.imaging.api.objectdetection.AbstractObjectDetector
pointTransformer
-
-
Constructor Summary
Constructors Constructor Description OpenCVDifferencebasedObjectDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point>
getBoundingBox(ImageWrapper<org.opencv.core.Mat> image)
Method for detecting an object based on the differences between the reference image and the input image.-
Methods inherited from class science.aist.imaging.api.objectdetection.AbstractObjectDetector
getObjectCenter
-
-
-
-
Method Detail
-
getBoundingBox
public RectangleWrapper<org.opencv.core.Rect,org.opencv.core.Point> getBoundingBox(ImageWrapper<org.opencv.core.Mat> image)
Method for detecting an object based on the differences between the reference image and the input image. If no reference image is set, first input image will be used as reference image.- Parameters:
image
- Image where object should be detected- Returns:
- Returns the boundingbox of the detected object.
-
-