[−][src]Struct opencv::types::BinaryDescriptorRef
Methods from Deref<Target = BinaryDescriptor>
pub fn as_raw_BinaryDescriptor(&self) -> *mut c_void
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn detect_1(
&self,
images: &VectorOfMat,
keylines: &mut VectorOfVectorOfKeyLine,
masks: &VectorOfMat
) -> Result<()>
[src]
&self,
images: &VectorOfMat,
keylines: &mut VectorOfVectorOfKeyLine,
masks: &VectorOfMat
) -> Result<()>
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]
&self,
image: &Mat,
keylines: &mut VectorOfKeyLine,
descriptors: &mut Mat,
return_float_descr: bool
) -> Result<()>
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]
&self,
images: &VectorOfMat,
keylines: &mut VectorOfVectorOfKeyLine,
descriptors: &mut VectorOfMat,
return_float_descr: bool
) -> Result<()>
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 BinaryDescriptorRef<'_>
[src]
type Target = BinaryDescriptor
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Auto Trait Implementations
impl<'o> RefUnwindSafe for BinaryDescriptorRef<'o>
impl<'o> !Send for BinaryDescriptorRef<'o>
impl<'o> !Sync for BinaryDescriptorRef<'o>
impl<'o> Unpin for BinaryDescriptorRef<'o>
impl<'o> UnwindSafe for BinaryDescriptorRef<'o>
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,
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.
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>,