[][src]Struct opencv::types::PtrOfMSER

pub struct PtrOfMSER { /* fields omitted */ }

Methods

impl PtrOfMSER[src]

pub fn as_raw_PtrOfMSER(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

Trait Implementations

impl Algorithm for PtrOfMSER[src]

fn clear(&mut self) -> Result<()>[src]

Clears the algorithm state

fn empty(&self) -> Result<bool>[src]

Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read

fn save(&self, filename: &str) -> Result<()>[src]

Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more

fn get_default_name(&self) -> Result<String>[src]

Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more

impl Feature2D for PtrOfMSER[src]

fn detect(
    &mut self,
    image: &Mat,
    keypoints: &mut VectorOfKeyPoint,
    mask: &Mat
) -> Result<()>
[src]

Detects keypoints in an image (first variant) or image set (second variant). Read more

fn detect_multiple(
    &mut self,
    images: &VectorOfMat,
    keypoints: &mut VectorOfVectorOfKeyPoint,
    masks: &VectorOfMat
) -> Result<()>
[src]

Parameters * images: Image set. * keypoints: The detected keypoints. In the second variant of the method keypoints[i] is a set of keypoints detected in images[i] . * masks: Masks for each input image specifying where to look for keypoints (optional). masks[i] is a mask for images[i]. Read more

fn compute(
    &mut self,
    image: &Mat,
    keypoints: &mut VectorOfKeyPoint,
    descriptors: &mut Mat
) -> Result<()>
[src]

Computes the descriptors for a set of keypoints detected in an image (first variant) or image set (second variant). Read more

fn compute_multiple(
    &mut self,
    images: &VectorOfMat,
    keypoints: &mut VectorOfVectorOfKeyPoint,
    descriptors: &mut VectorOfMat
) -> Result<()>
[src]

Parameters * images: Image set. * keypoints: Input collection of keypoints. Keypoints for which a descriptor cannot be computed are removed. Sometimes new keypoints can be added, for example: SIFT duplicates keypoint with several dominant orientations (for each orientation). * descriptors: Computed descriptors. In the second variant of the method descriptors[i] are descriptors computed for a keypoints[i]. Row j is the keypoints (or keypoints[i]) is the descriptor for keypoint j-th keypoint. Read more

fn detect_and_compute(
    &mut self,
    image: &Mat,
    mask: &Mat,
    keypoints: &mut VectorOfKeyPoint,
    descriptors: &mut Mat,
    use_provided_keypoints: bool
) -> Result<()>
[src]

Detects keypoints and computes the descriptors Read more

fn descriptor_size(&self) -> Result<i32>[src]

fn descriptor_type(&self) -> Result<i32>[src]

fn default_norm(&self) -> Result<i32>[src]

fn write(&self, file_name: &str) -> Result<()>[src]

fn read(&mut self, file_name: &str) -> Result<()>[src]

fn empty(&self) -> Result<bool>[src]

Return true if detector object is empty

fn get_default_name(&self) -> Result<String>[src]

impl MSER for PtrOfMSER[src]

fn detect_regions(
    &mut self,
    image: &Mat,
    msers: &mut VectorOfVectorOfPoint,
    bboxes: &mut VectorOfRect
) -> Result<()>
[src]

Detect %MSER regions Read more

fn set_delta(&mut self, delta: i32) -> Result<()>[src]

fn get_delta(&self) -> Result<i32>[src]

fn set_min_area(&mut self, min_area: i32) -> Result<()>[src]

fn get_min_area(&self) -> Result<i32>[src]

fn set_max_area(&mut self, max_area: i32) -> Result<()>[src]

fn get_max_area(&self) -> Result<i32>[src]

fn set_pass2_only(&mut self, f: bool) -> Result<()>[src]

fn get_pass2_only(&self) -> Result<bool>[src]

fn get_default_name(&self) -> Result<String>[src]

impl Send for PtrOfMSER[src]

impl Drop for PtrOfMSER[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]