Struct opencv::imgproc::IntelligentScissorsMB [−][src]
Intelligent Scissors image segmentation
This class is used to find the path (contour) between two points which can be used for image segmentation.
Usage example: usage_example_intelligent_scissors
Reference: “Intelligent Scissors for Image Composition” algorithm designed by Eric N. Mortensen and William A. Barrett, Brigham Young University Mortensen95intelligentscissors
Implementations
impl IntelligentScissorsMB
[src]
pub fn as_raw_IntelligentScissorsMB(&self) -> *const c_void
[src]
pub fn as_raw_mut_IntelligentScissorsMB(&mut self) -> *mut c_void
[src]
impl IntelligentScissorsMB
[src]
pub fn default() -> Result<IntelligentScissorsMB>
[src]
Trait Implementations
impl Boxed for IntelligentScissorsMB
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for IntelligentScissorsMB
[src]
impl IntelligentScissorsMBTrait for IntelligentScissorsMB
[src]
fn as_raw_IntelligentScissorsMB(&self) -> *const c_void
[src]
fn as_raw_mut_IntelligentScissorsMB(&mut self) -> *mut c_void
[src]
fn set_weights(
&mut self,
weight_non_edge: f32,
weight_gradient_direction: f32,
weight_gradient_magnitude: f32
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
weight_non_edge: f32,
weight_gradient_direction: f32,
weight_gradient_magnitude: f32
) -> Result<IntelligentScissorsMB>
fn set_gradient_magnitude_max_limit(
&mut self,
gradient_magnitude_threshold_max: f32
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
gradient_magnitude_threshold_max: f32
) -> Result<IntelligentScissorsMB>
fn set_edge_feature_zero_crossing_parameters(
&mut self,
gradient_magnitude_min_value: f32
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
gradient_magnitude_min_value: f32
) -> Result<IntelligentScissorsMB>
fn set_edge_feature_canny_parameters(
&mut self,
threshold1: f64,
threshold2: f64,
aperture_size: i32,
l2gradient: bool
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
threshold1: f64,
threshold2: f64,
aperture_size: i32,
l2gradient: bool
) -> Result<IntelligentScissorsMB>
fn apply_image(
&mut self,
image: &dyn ToInputArray
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
image: &dyn ToInputArray
) -> Result<IntelligentScissorsMB>
fn apply_image_features(
&mut self,
non_edge: &dyn ToInputArray,
gradient_direction: &dyn ToInputArray,
gradient_magnitude: &dyn ToInputArray,
image: &dyn ToInputArray
) -> Result<IntelligentScissorsMB>
[src]
&mut self,
non_edge: &dyn ToInputArray,
gradient_direction: &dyn ToInputArray,
gradient_magnitude: &dyn ToInputArray,
image: &dyn ToInputArray
) -> Result<IntelligentScissorsMB>
fn build_map(&mut self, source_pt: Point) -> Result<()>
[src]
fn get_contour(
&self,
target_pt: Point,
contour: &mut dyn ToOutputArray,
backward: bool
) -> Result<()>
[src]
&self,
target_pt: Point,
contour: &mut dyn ToOutputArray,
backward: bool
) -> Result<()>
impl Send for IntelligentScissorsMB
[src]
Auto Trait Implementations
impl RefUnwindSafe for IntelligentScissorsMB
impl !Sync for IntelligentScissorsMB
impl Unpin for IntelligentScissorsMB
impl UnwindSafe for IntelligentScissorsMB
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>,