Trait opencv::prelude::StarDetector
source · pub trait StarDetector: Feature2DTrait + StarDetectorConst {
fn as_raw_mut_StarDetector(&mut self) -> *mut c_void;
fn set_max_size(&mut self, _max_size: i32) -> Result<()> { ... }
fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()> { ... }
fn set_line_threshold_projected(
&mut self,
_line_threshold_projected: i32
) -> Result<()> { ... }
fn set_line_threshold_binarized(
&mut self,
_line_threshold_binarized: i32
) -> Result<()> { ... }
fn set_suppress_nonmax_size(
&mut self,
_suppress_nonmax_size: i32
) -> Result<()> { ... }
}Required Methods§
fn as_raw_mut_StarDetector(&mut self) -> *mut c_void
Provided Methods§
fn set_max_size(&mut self, _max_size: i32) -> Result<()>
fn set_response_threshold(&mut self, _response_threshold: i32) -> Result<()>
fn set_line_threshold_projected(
&mut self,
_line_threshold_projected: i32
) -> Result<()>
fn set_line_threshold_binarized(
&mut self,
_line_threshold_binarized: i32
) -> Result<()>
fn set_suppress_nonmax_size(&mut self, _suppress_nonmax_size: i32) -> Result<()>
Implementations§
source§impl dyn StarDetector + '_
impl dyn StarDetector + '_
sourcepub fn create(
max_size: i32,
response_threshold: i32,
line_threshold_projected: i32,
line_threshold_binarized: i32,
suppress_nonmax_size: i32
) -> Result<Ptr<dyn StarDetector>>
pub fn create(
max_size: i32,
response_threshold: i32,
line_threshold_projected: i32,
line_threshold_binarized: i32,
suppress_nonmax_size: i32
) -> Result<Ptr<dyn 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