pub trait SyntheticSequenceGeneratorTrait: AlgorithmTrait + SyntheticSequenceGeneratorTraitConst {
fn as_raw_mut_SyntheticSequenceGenerator(&mut self) -> *mut c_void;
fn get_next_frame(
&mut self,
frame: &mut dyn ToOutputArray,
gt_mask: &mut dyn ToOutputArray
) -> Result<()> { ... }
}
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.