[−][src]Struct opencv::types::PtrOfAgastFeatureDetector
Methods
impl PtrOfAgastFeatureDetector
[src]
pub fn as_raw_PtrOfAgastFeatureDetector(&self) -> *mut c_void
[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self
[src]
Trait Implementations
impl Algorithm for PtrOfAgastFeatureDetector
[src]
fn as_raw_Algorithm(&self) -> *mut c_void
[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 AgastFeatureDetector for PtrOfAgastFeatureDetector
[src]
fn as_raw_AgastFeatureDetector(&self) -> *mut c_void
[src]
fn set_threshold(&mut self, threshold: i32) -> Result<()>
[src]
fn get_threshold(&self) -> Result<i32>
[src]
fn set_nonmax_suppression(&mut self, f: bool) -> Result<()>
[src]
fn get_nonmax_suppression(&self) -> Result<bool>
[src]
fn set_type(&mut self, _type: i32) -> Result<()>
[src]
fn get_type(&self) -> Result<i32>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl Feature2D for PtrOfAgastFeatureDetector
[src]
fn as_raw_Feature2D(&self) -> *mut c_void
[src]
fn detect(
&mut self,
image: &Mat,
keypoints: &mut VectorOfKeyPoint,
mask: &Mat
) -> Result<()>
[src]
&mut self,
image: &Mat,
keypoints: &mut VectorOfKeyPoint,
mask: &Mat
) -> Result<()>
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]
&mut self,
images: &VectorOfMat,
keypoints: &mut VectorOfVectorOfKeyPoint,
masks: &VectorOfMat
) -> Result<()>
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]
&mut self,
image: &Mat,
keypoints: &mut VectorOfKeyPoint,
descriptors: &mut Mat
) -> Result<()>
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]
&mut self,
images: &VectorOfMat,
keypoints: &mut VectorOfVectorOfKeyPoint,
descriptors: &mut VectorOfMat
) -> Result<()>
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]
&mut self,
image: &Mat,
mask: &Mat,
keypoints: &mut VectorOfKeyPoint,
descriptors: &mut Mat,
use_provided_keypoints: bool
) -> Result<()>
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 Send for PtrOfAgastFeatureDetector
[src]
impl Drop for PtrOfAgastFeatureDetector
[src]
Auto Trait Implementations
impl Unpin for PtrOfAgastFeatureDetector
impl !Sync for PtrOfAgastFeatureDetector
impl RefUnwindSafe for PtrOfAgastFeatureDetector
impl UnwindSafe for PtrOfAgastFeatureDetector
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,