[−][src]Struct opencv::xfeatures2d::StarDetector
The class implements the keypoint detector introduced by Agrawal08, synonym of StarDetector. :
Implementations
impl StarDetector
[src]
pub fn as_raw_StarDetector(&self) -> *const c_void
[src]
pub fn as_raw_mut_StarDetector(&mut self) -> *mut c_void
[src]
impl StarDetector
[src]
pub fn create(
max_size: i32,
response_threshold: i32,
line_threshold_projected: i32,
line_threshold_binarized: i32,
suppress_nonmax_size: i32
) -> Result<Ptr<StarDetector>>
[src]
max_size: i32,
response_threshold: i32,
line_threshold_projected: i32,
line_threshold_binarized: i32,
suppress_nonmax_size: i32
) -> Result<Ptr<StarDetector>>
the full constructor
C++ default parameters
- max_size: 45
- response_threshold: 30
- line_threshold_projected: 10
- line_threshold_binarized: 8
- suppress_nonmax_size: 5
Trait Implementations
impl AlgorithmTrait for StarDetector
[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 StarDetector
[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 StarDetector
[src]
impl Feature2DTrait for StarDetector
[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 Send for StarDetector
[src]
impl StarDetectorTrait for StarDetector
[src]
pub fn as_raw_StarDetector(&self) -> *const c_void
[src]
pub fn as_raw_mut_StarDetector(&mut self) -> *mut c_void
[src]
Auto Trait Implementations
impl RefUnwindSafe for StarDetector
[src]
impl !Sync for StarDetector
[src]
impl Unpin for StarDetector
[src]
impl UnwindSafe for StarDetector
[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>,