pub trait Filter: AlgorithmTrait + FilterConst {
    fn as_raw_mut_Filter(&mut self) -> *mut c_void;

    fn apply(
        &mut self,
        src: &dyn ToInputArray,
        dst: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... } }

Required Methods

Provided Methods

Applies the specified filter to the image.

Parameters
  • src: Input image.
  • dst: Output image.
  • stream: Stream for the asynchronous version.
C++ default parameters
  • stream: Stream::Null()

Implementors