pub trait VGG: Feature2DTrait + VGGConst {
fn as_raw_mut_VGG(&mut self) -> *mut c_void;
fn set_sigma(&mut self, isigma: f32) -> Result<()> { ... }
fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()> { ... }
fn set_use_scale_orientation(
&mut self,
use_scale_orientation: bool
) -> Result<()> { ... }
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()> { ... }
fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> Result<()> { ... }
}Required Methods
fn as_raw_mut_VGG(&mut self) -> *mut c_void
Provided Methods
fn set_sigma(&mut self, isigma: f32) -> Result<()>
fn set_use_normalize_image(&mut self, img_normalize: bool) -> Result<()>
fn set_use_scale_orientation(
&mut self,
use_scale_orientation: bool
) -> Result<()>
fn set_scale_factor(&mut self, scale_factor: f32) -> Result<()>
fn set_use_normalize_descriptor(&mut self, dsc_normalize: bool) -> Result<()>
Implementations
sourceimpl dyn VGG + '_
impl dyn VGG + '_
sourcepub fn create(
desc: i32,
isigma: f32,
img_normalize: bool,
use_scale_orientation: bool,
scale_factor: f32,
dsc_normalize: bool
) -> Result<Ptr<dyn VGG>>
pub fn create(
desc: i32,
isigma: f32,
img_normalize: bool,
use_scale_orientation: bool,
scale_factor: f32,
dsc_normalize: bool
) -> Result<Ptr<dyn VGG>>
C++ default parameters
- desc: VGG::VGG_120
- isigma: 1.4f
- img_normalize: true
- use_scale_orientation: true
- scale_factor: 6.25f
- dsc_normalize: false