Struct opencv::stitching::Detail_GraphCutSeamFinder
source · pub struct Detail_GraphCutSeamFinder { /* private fields */ }
Expand description
Minimum graph cut-based seam estimator. See details in V03 .
Implementations§
source§impl Detail_GraphCutSeamFinder
impl Detail_GraphCutSeamFinder
sourcepub fn new(
cost_type: i32,
terminal_cost: f32,
bad_region_penalty: f32
) -> Result<Detail_GraphCutSeamFinder>
pub fn new( cost_type: i32, terminal_cost: f32, bad_region_penalty: f32 ) -> Result<Detail_GraphCutSeamFinder>
C++ default parameters
- cost_type: COST_COLOR_GRAD
- terminal_cost: 10000.f
- bad_region_penalty: 1000.f
sourcepub fn new_def() -> Result<Detail_GraphCutSeamFinder>
pub fn new_def() -> Result<Detail_GraphCutSeamFinder>
Note
This alternative version of [new] function uses the following default values for its arguments:
- cost_type: COST_COLOR_GRAD
- terminal_cost: 10000.f
- bad_region_penalty: 1000.f
sourcepub fn new_1(
cost_type: &str,
terminal_cost: f32,
bad_region_penalty: f32
) -> Result<Detail_GraphCutSeamFinder>
pub fn new_1( cost_type: &str, terminal_cost: f32, bad_region_penalty: f32 ) -> Result<Detail_GraphCutSeamFinder>
C++ default parameters
- terminal_cost: 10000.f
- bad_region_penalty: 1000.f
Trait Implementations§
source§impl Boxed for Detail_GraphCutSeamFinder
impl Boxed for Detail_GraphCutSeamFinder
source§impl Debug for Detail_GraphCutSeamFinder
impl Debug for Detail_GraphCutSeamFinder
source§impl Detail_GraphCutSeamFinderBaseTrait for Detail_GraphCutSeamFinder
impl Detail_GraphCutSeamFinderBaseTrait for Detail_GraphCutSeamFinder
fn as_raw_mut_Detail_GraphCutSeamFinderBase(&mut self) -> *mut c_void
source§impl Detail_GraphCutSeamFinderBaseTraitConst for Detail_GraphCutSeamFinder
impl Detail_GraphCutSeamFinderBaseTraitConst for Detail_GraphCutSeamFinder
fn as_raw_Detail_GraphCutSeamFinderBase(&self) -> *const c_void
source§impl Detail_GraphCutSeamFinderTraitConst for Detail_GraphCutSeamFinder
impl Detail_GraphCutSeamFinderTraitConst for Detail_GraphCutSeamFinder
fn as_raw_Detail_GraphCutSeamFinder(&self) -> *const c_void
source§impl Detail_SeamFinderTraitConst for Detail_GraphCutSeamFinder
impl Detail_SeamFinderTraitConst for Detail_GraphCutSeamFinder
fn as_raw_Detail_SeamFinder(&self) -> *const c_void
source§impl Drop for Detail_GraphCutSeamFinder
impl Drop for Detail_GraphCutSeamFinder
source§impl From<Detail_GraphCutSeamFinder> for Detail_GraphCutSeamFinderBase
impl From<Detail_GraphCutSeamFinder> for Detail_GraphCutSeamFinderBase
source§fn from(s: Detail_GraphCutSeamFinder) -> Self
fn from(s: Detail_GraphCutSeamFinder) -> Self
Converts to this type from the input type.
source§impl From<Detail_GraphCutSeamFinder> for Detail_SeamFinder
impl From<Detail_GraphCutSeamFinder> for Detail_SeamFinder
source§fn from(s: Detail_GraphCutSeamFinder) -> Self
fn from(s: Detail_GraphCutSeamFinder) -> Self
Converts to this type from the input type.
impl Send for Detail_GraphCutSeamFinder
Auto Trait Implementations§
impl RefUnwindSafe for Detail_GraphCutSeamFinder
impl !Sync for Detail_GraphCutSeamFinder
impl Unpin for Detail_GraphCutSeamFinder
impl UnwindSafe for Detail_GraphCutSeamFinder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more