[][src]Struct opencv::types::BinaryDescriptorRefMut

pub struct BinaryDescriptorRefMut<'o> { /* fields omitted */ }

Methods from Deref<Target = BinaryDescriptor>

pub fn get_num_of_octaves(&mut self) -> Result<i32>[src]

Get current number of octaves

pub fn set_num_of_octaves(&mut self, octaves: i32) -> Result<()>[src]

Set number of octaves

Parameters

  • octaves: number of octaves

pub fn get_width_of_band(&mut self) -> Result<i32>[src]

Get current width of bands

pub fn set_width_of_band(&mut self, width: i32) -> Result<()>[src]

Set width of bands

Parameters

  • width: width of bands

pub fn get_reduction_ratio(&mut self) -> Result<i32>[src]

Get current reduction ratio (used in Gaussian pyramids)

pub fn set_reduction_ratio(&mut self, r_ratio: i32) -> Result<()>[src]

Set reduction ratio (used in Gaussian pyramids)

Parameters

  • rRatio: reduction ratio

pub fn read(&mut self, _fn: &FileNode) -> Result<()>[src]

Read parameters from a FileNode object and store them

Parameters

  • fn: source FileNode file

pub fn write(&self, fs: &mut FileStorage) -> Result<()>[src]

Store parameters to a FileStorage object

Parameters

  • fs: output FileStorage file

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

Requires line detection

Parameters

  • image: input image
  • keypoints: vector that will store extracted lines for one or more images
  • mask: mask matrix to detect only KeyLines of interest

C++ default parameters

  • mask: Mat()

pub fn detect_1(
    &self,
    images: &VectorOfMat,
    keylines: &mut VectorOfVectorOfKeyLine,
    masks: &VectorOfMat
) -> Result<()>
[src]

Parameters

  • images: input images
  • keylines: set of vectors that will store extracted lines for one or more images
  • masks: vector of mask matrices to detect only KeyLines of interest from each input image

C++ default parameters

  • masks: std::vector()

pub fn compute(
    &self,
    image: &Mat,
    keylines: &mut VectorOfKeyLine,
    descriptors: &mut Mat,
    return_float_descr: bool
) -> Result<()>
[src]

Requires descriptors computation

Parameters

  • image: input image
  • keylines: vector containing lines for which descriptors must be computed
  • descriptors:
  • returnFloatDescr: flag (when set to true, original non-binary descriptors are returned)

C++ default parameters

  • return_float_descr: false

pub fn compute_1(
    &self,
    images: &VectorOfMat,
    keylines: &mut VectorOfVectorOfKeyLine,
    descriptors: &mut VectorOfMat,
    return_float_descr: bool
) -> Result<()>
[src]

Parameters

  • images: input images
  • keylines: set of vectors containing lines for which descriptors must be computed
  • descriptors:
  • returnFloatDescr: flag (when set to true, original non-binary descriptors are returned)

C++ default parameters

  • return_float_descr: false

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

Return descriptor size

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

Return data type

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

returns norm mode

Trait Implementations

impl<'_> Deref for BinaryDescriptorRefMut<'_>[src]

type Target = BinaryDescriptor

The resulting type after dereferencing.

impl<'_> DerefMut for BinaryDescriptorRefMut<'_>[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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.