Struct opencv::imgproc::FilterEngine [] [src]

pub struct FilterEngine {
    pub ptr: *mut c_void,
}

Fields

ptr

Methods

impl FilterEngine

fn as_raw_FilterEngine(&self) -> *mut c_void

impl FilterEngine

fn new() -> Result<FilterEngine, String>

the default constructor

fn start_size(&mut self, wholeSize: Size, roi: Rect, maxBufRows: i32) -> Result<i32, String>

starts filtering of the specified ROI of an image of size wholeSize.

default value for arguments: - maxBufRows: default -1

fn start_mat(&mut self, src: &Mat, srcRoi: Rect, isolated: bool, maxBufRows: i32) -> Result<i32, String>

starts filtering of the specified ROI of the specified image.

default value for arguments: - srcRoi: default Rect(0,0,-1,-1) - isolated: default false - maxBufRows: default -1

fn apply(&mut self, src: &Mat, dst: &Mat, srcRoi: Rect, dstOfs: Point, isolated: bool) -> Result<(), String>

applies filter to the specified ROI of the image. if srcRoi=(0,0,-1,-1), the whole image is filtered.

default value for arguments: - srcRoi: default Rect(0,0,-1,-1) - dstOfs: default Point(0,0) - isolated: default false

fn is_separable(&self) -> Result<bool, String>

returns true if the filter is separable

fn remaining_input_rows(&self) -> Result<i32, String>

returns the number

fn remaining_output_rows(&self) -> Result<i32, String>

Trait Implementations

impl Drop for FilterEngine

fn drop(&mut self)