@Namespace(value="cv::bgsegm") @NoOffset @Properties(inherit=opencv_bgsegm.class) public class SyntheticSequenceGenerator extends Algorithm
It will generate the moving object on top of the background. It will apply some distortion to the background to make the test more complex.
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
SyntheticSequenceGenerator(GpuMat background,
GpuMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
SyntheticSequenceGenerator(Mat background,
Mat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
\brief Creates an instance of SyntheticSequenceGenerator.
|
SyntheticSequenceGenerator(Pointer p)
Pointer cast constructor.
|
SyntheticSequenceGenerator(UMat background,
UMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
Modifier and Type | Method and Description |
---|---|
void |
getNextFrame(GpuMat frame,
GpuMat gtMask) |
void |
getNextFrame(Mat frame,
Mat gtMask)
\brief Obtain the next frame in the sequence.
|
void |
getNextFrame(UMat frame,
UMat gtMask) |
clear, empty, getDefaultName, position, read, save, save, write, write, write
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public SyntheticSequenceGenerator(Pointer p)
Pointer.Pointer(Pointer)
.public SyntheticSequenceGenerator(@ByVal Mat background, @ByVal Mat object, double amplitude, double wavelength, double wavespeed, double objspeed)
background
- Background image for object.object
- Object image which will move slowly over the background.amplitude
- Amplitude of wave distortion applied to background.wavelength
- Length of waves in distortion applied to background.wavespeed
- How fast waves will move.objspeed
- How fast object will fly over background.public SyntheticSequenceGenerator(@ByVal UMat background, @ByVal UMat object, double amplitude, double wavelength, double wavespeed, double objspeed)
Copyright © 2020. All rights reserved.