pub trait DAISYTraitConst: Feature2DTraitConst {
Show 14 methods
// Required method
fn as_raw_DAISY(&self) -> *const c_void;
// Provided methods
fn get_radius(&self) -> Result<f32> { ... }
fn get_q_radius(&self) -> Result<i32> { ... }
fn get_q_theta(&self) -> Result<i32> { ... }
fn get_q_hist(&self) -> Result<i32> { ... }
fn get_norm(&self) -> Result<i32> { ... }
fn get_h(&self) -> Result<Mat> { ... }
fn get_interpolation(&self) -> Result<bool> { ... }
fn get_use_orientation(&self) -> Result<bool> { ... }
fn get_default_name(&self) -> Result<String> { ... }
fn get_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
) -> Result<()> { ... }
fn get_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64,
) -> Result<bool> { ... }
fn get_unnormalized_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
) -> Result<()> { ... }
fn get_unnormalized_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64,
) -> Result<bool> { ... }
}
Expand description
Constant methods for crate::xfeatures2d::DAISY
Required Methods§
fn as_raw_DAISY(&self) -> *const c_void
Provided Methods§
fn get_radius(&self) -> Result<f32>
fn get_q_radius(&self) -> Result<i32>
fn get_q_theta(&self) -> Result<i32>
fn get_q_hist(&self) -> Result<i32>
fn get_norm(&self) -> Result<i32>
fn get_h(&self) -> Result<Mat>
fn get_interpolation(&self) -> Result<bool>
fn get_use_orientation(&self) -> Result<bool>
fn get_default_name(&self) -> Result<String>
Sourcefn get_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
) -> Result<()>
fn get_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, ) -> Result<()>
§Parameters
- y: position y on image
- x: position x on image
- orientation: orientation on image (0->360)
- descriptor: supplied array for descriptor storage
Sourcefn get_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64,
) -> Result<bool>
fn get_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64, ) -> Result<bool>
§Parameters
- y: position y on image
- x: position x on image
- orientation: orientation on image (0->360)
- descriptor: supplied array for descriptor storage
- H: homography matrix for warped grid
Sourcefn get_unnormalized_descriptor(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
) -> Result<()>
fn get_unnormalized_descriptor( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, ) -> Result<()>
§Parameters
- y: position y on image
- x: position x on image
- orientation: orientation on image (0->360)
- descriptor: supplied array for descriptor storage
Sourcefn get_unnormalized_descriptor_1(
&self,
y: f64,
x: f64,
orientation: i32,
descriptor: &mut f32,
h: &mut f64,
) -> Result<bool>
fn get_unnormalized_descriptor_1( &self, y: f64, x: f64, orientation: i32, descriptor: &mut f32, h: &mut f64, ) -> Result<bool>
§Parameters
- y: position y on image
- x: position x on image
- orientation: orientation on image (0->360)
- descriptor: supplied array for descriptor storage
- H: homography matrix for warped grid
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.