@Namespace(value="cv::bgsegm") @NoOffset public static class opencv_bgsegm.SyntheticSequenceGenerator extends opencv_core.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.
| Constructor and Description |
|---|
SyntheticSequenceGenerator(opencv_core.GpuMat background,
opencv_core.GpuMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
SyntheticSequenceGenerator(opencv_core.Mat background,
opencv_core.Mat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
\brief Creates an instance of SyntheticSequenceGenerator.
|
SyntheticSequenceGenerator(opencv_core.UMat background,
opencv_core.UMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed) |
SyntheticSequenceGenerator(org.bytedeco.javacpp.Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
getNextFrame(opencv_core.GpuMat frame,
opencv_core.GpuMat gtMask) |
void |
getNextFrame(opencv_core.Mat frame,
opencv_core.Mat gtMask)
\brief Obtain the next frame in the sequence.
|
void |
getNextFrame(opencv_core.UMat frame,
opencv_core.UMat gtMask) |
clear, empty, getDefaultName, position, read, save, save, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic SyntheticSequenceGenerator(org.bytedeco.javacpp.Pointer p)
Pointer.Pointer(Pointer).public SyntheticSequenceGenerator(@ByVal
opencv_core.Mat background,
@ByVal
opencv_core.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
opencv_core.UMat background,
@ByVal
opencv_core.UMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
public SyntheticSequenceGenerator(@ByVal
opencv_core.GpuMat background,
@ByVal
opencv_core.GpuMat object,
double amplitude,
double wavelength,
double wavespeed,
double objspeed)
public void getNextFrame(@ByVal
opencv_core.Mat frame,
@ByVal
opencv_core.Mat gtMask)
frame - Output frame.gtMask - Output ground-truth (reference) segmentation mask object/background.public void getNextFrame(@ByVal
opencv_core.UMat frame,
@ByVal
opencv_core.UMat gtMask)
public void getNextFrame(@ByVal
opencv_core.GpuMat frame,
@ByVal
opencv_core.GpuMat gtMask)
Copyright © 2018. All rights reserved.