[−][src]Struct opencv::stitching::Detail_GraphCutSeamFinder
Minimum graph cut-based seam estimator. See details in V03 .
Implementations
impl Detail_GraphCutSeamFinder
[src]
pub fn as_raw_Detail_GraphCutSeamFinder(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_GraphCutSeamFinder(&mut self) -> *mut c_void
[src]
impl Detail_GraphCutSeamFinder
[src]
pub fn new(
cost_type: i32,
terminal_cost: f32,
bad_region_penalty: f32
) -> Result<Detail_GraphCutSeamFinder>
[src]
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
pub fn new_1(
cost_type: &str,
terminal_cost: f32,
bad_region_penalty: f32
) -> Result<Detail_GraphCutSeamFinder>
[src]
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
impl Boxed for Detail_GraphCutSeamFinder
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Detail_GraphCutSeamFinderBaseTrait for Detail_GraphCutSeamFinder
[src]
pub fn as_raw_Detail_GraphCutSeamFinderBase(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_GraphCutSeamFinderBase(&mut self) -> *mut c_void
[src]
impl Detail_GraphCutSeamFinderTrait for Detail_GraphCutSeamFinder
[src]
pub fn as_raw_Detail_GraphCutSeamFinder(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_GraphCutSeamFinder(&mut self) -> *mut c_void
[src]
pub fn find(
&mut self,
src: &Vector<UMat>,
corners: &Vector<Point>,
masks: &mut Vector<UMat>
) -> Result<()>
[src]
&mut self,
src: &Vector<UMat>,
corners: &Vector<Point>,
masks: &mut Vector<UMat>
) -> Result<()>
impl Detail_SeamFinder for Detail_GraphCutSeamFinder
[src]
pub fn as_raw_Detail_SeamFinder(&self) -> *const c_void
[src]
pub fn as_raw_mut_Detail_SeamFinder(&mut self) -> *mut c_void
[src]
pub fn find(
&mut self,
src: &Vector<UMat>,
corners: &Vector<Point>,
masks: &mut Vector<UMat>
) -> Result<()>
[src]
&mut self,
src: &Vector<UMat>,
corners: &Vector<Point>,
masks: &mut Vector<UMat>
) -> Result<()>
impl Drop for Detail_GraphCutSeamFinder
[src]
impl Send for Detail_GraphCutSeamFinder
[src]
Auto Trait Implementations
impl RefUnwindSafe for Detail_GraphCutSeamFinder
[src]
impl !Sync for Detail_GraphCutSeamFinder
[src]
impl Unpin for Detail_GraphCutSeamFinder
[src]
impl UnwindSafe for Detail_GraphCutSeamFinder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,