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 dyn ToOutputArray,
gt_mask: &mut dyn 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 dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()>
fn get_next_frame( &mut self, frame: &mut dyn ToOutputArray, gt_mask: &mut dyn ToOutputArray ) -> Result<()>
Obtain the next frame in the sequence.
Parameters
- frame: Output frame.
- gtMask: Output ground-truth (reference) segmentation mask object/background.