[−][src]Struct opencv::xfeatures2d::LUCID
Class implementing the locally uniform comparison image descriptor, described in LUCID
An image descriptor that can be computed very fast, while being about as robust as, for example, SURF or BRIEF.
Note: It requires a color image as input.
Implementations
impl LUCID
[src]
pub fn as_raw_LUCID(&self) -> *const c_void
[src]
pub fn as_raw_mut_LUCID(&mut self) -> *mut c_void
[src]
impl LUCID
[src]
pub fn create(lucid_kernel: i32, blur_kernel: i32) -> Result<Ptr<LUCID>>
[src]
Parameters
- lucid_kernel: kernel for descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
- blur_kernel: kernel for blurring image prior to descriptor construction, where 1=3x3, 2=5x5, 3=7x7 and so forth
C++ default parameters
- lucid_kernel: 1
- blur_kernel: 2
Trait Implementations
impl AlgorithmTrait for LUCID
[src]
pub fn as_raw_Algorithm(&self) -> *const c_void
[src]
pub fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
pub fn clear(&mut self) -> Result<()>
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
pub fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn save(&self, filename: &str) -> Result<()>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for LUCID
[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 Drop for LUCID
[src]
impl Feature2DTrait for LUCID
[src]
pub fn as_raw_Feature2D(&self) -> *const c_void
[src]
pub fn as_raw_mut_Feature2D(&mut self) -> *mut c_void
[src]
pub fn detect(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
mask: &dyn ToInputArray
) -> Result<()>
pub fn detect_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
[src]
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
masks: &dyn ToInputArray
) -> Result<()>
pub fn compute(
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
pub fn compute_multiple(
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
images: &dyn ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut dyn ToOutputArray
) -> Result<()>
pub fn detect_and_compute(
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
[src]
&mut self,
image: &dyn ToInputArray,
mask: &dyn ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut dyn ToOutputArray,
use_provided_keypoints: bool
) -> Result<()>
pub fn descriptor_size(&self) -> Result<i32>
[src]
pub fn descriptor_type(&self) -> Result<i32>
[src]
pub fn default_norm(&self) -> Result<i32>
[src]
pub fn write(&self, file_name: &str) -> Result<()>
[src]
pub fn read(&mut self, file_name: &str) -> Result<()>
[src]
pub fn write_1(&self, unnamed: &mut FileStorage) -> Result<()>
[src]
pub fn read_1(&mut self, unnamed: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
pub fn write_2(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
impl LUCIDTrait for LUCID
[src]
pub fn as_raw_LUCID(&self) -> *const c_void
[src]
pub fn as_raw_mut_LUCID(&mut self) -> *mut c_void
[src]
impl Send for LUCID
[src]
Auto Trait Implementations
impl RefUnwindSafe for LUCID
[src]
impl !Sync for LUCID
[src]
impl Unpin for LUCID
[src]
impl UnwindSafe for LUCID
[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>,