pub trait SyntheticSequenceGeneratorTrait: AlgorithmTrait + SyntheticSequenceGeneratorTraitConst {
// Required method
fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void;
// Provided method
fn get_next_frame(
&mut self,
frame: &mut impl ToOutputArray,
gt_mask: &mut impl ToOutputArray,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::bgsegm::SyntheticSequenceGenerator
Required Methods§
fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void
Provided Methods§
Sourcefn get_next_frame(
&mut self,
frame: &mut impl ToOutputArray,
gt_mask: &mut impl ToOutputArray,
) -> Result<()>
fn get_next_frame( &mut self, frame: &mut impl ToOutputArray, gt_mask: &mut impl ToOutputArray, ) -> Result<()>
Obtain the next frame in the sequence.
§Parameters
- frame: Output frame.
- gtMask: Output ground-truth (reference) segmentation mask object/background.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.