Struct opencv::optflow::GPCMatchingParams
source · #[repr(C)]pub struct GPCMatchingParams {
pub use_opencl: bool,
}Expand description
Class encapsulating matching parameters.
Fields§
§use_opencl: boolWhether to use OpenCL to speed up the matching.
Implementations§
source§impl GPCMatchingParams
impl GPCMatchingParams
sourcepub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
pub fn new(_use_opencl: bool) -> Result<GPCMatchingParams>
C++ default parameters
- _use_opencl: false
pub fn copy(params: GPCMatchingParams) -> Result<GPCMatchingParams>
Trait Implementations§
source§impl Clone for GPCMatchingParams
impl Clone for GPCMatchingParams
source§fn clone(&self) -> GPCMatchingParams
fn clone(&self) -> GPCMatchingParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more