public static class opencv_video.BackgroundSubtractor extends opencv_core.Algorithm
opencv_core.Algorithm.Constructor, opencv_core.Algorithm.Getter, opencv_core.Algorithm.SetterPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
opencv_video.BackgroundSubtractor() |
opencv_video.BackgroundSubtractor(int size) |
opencv_video.BackgroundSubtractor(Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(opencv_core.Mat image,
opencv_core.Mat fgmask) |
void |
apply(opencv_core.Mat image,
opencv_core.Mat fgmask,
double learningRate)
the update operator that takes the next video frame and returns the current foreground mask as 8-bit binary image.
|
void |
getBackgroundImage(opencv_core.Mat backgroundImage)
computes a background image
|
opencv_video.BackgroundSubtractor |
position(int position) |
_create, _create, getAlgorithm, getAlgorithm, getBool, getBool, getDouble, getDouble, getInt, getInt, getList, getMat, getMat, getMatVector, getMatVector, getParams, getString, getString, info, name, paramHelp, paramHelp, paramType, paramType, read, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setAlgorithm, setAlgorithm, setBool, setBool, setDouble, setDouble, setInt, setInt, setMat, setMat, setMatVector, setMatVector, setString, setString, writeaddress, asBuffer, asByteBuffer, capacity, capacity, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, hashCode, isNull, limit, limit, memchr, memcmp, memcpy, memmove, memset, offsetof, position, put, setNull, sizeof, toString, withDeallocator, zeropublic opencv_video.BackgroundSubtractor()
public opencv_video.BackgroundSubtractor(int size)
public opencv_video.BackgroundSubtractor(Pointer p)
public opencv_video.BackgroundSubtractor position(int position)
position in class opencv_core.Algorithmpublic void apply(opencv_core.Mat image, opencv_core.Mat fgmask, double learningRate)
public void apply(opencv_core.Mat image, opencv_core.Mat fgmask)
public void getBackgroundImage(opencv_core.Mat backgroundImage)
Copyright © 2014. All Rights Reserved.