Trait opencv::prelude::DAISYConst
source · pub trait DAISYConst: Feature2DTraitConst {
fn as_raw_DAISY(&self) -> *const c_void;
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
Class implementing DAISY descriptor, described in Tola10
Parameters
- radius: radius of the descriptor at the initial scale
- q_radius: amount of radial range division quantity
- q_theta: amount of angular range division quantity
- q_hist: amount of gradient orientations range division quantity
- norm: choose descriptors normalization type, where DAISY::NRM_NONE will not do any normalization (default), DAISY::NRM_PARTIAL mean that histograms are normalized independently for L2 norm equal to 1.0, DAISY::NRM_FULL mean that descriptors are normalized for L2 norm equal to 1.0, DAISY::NRM_SIFT mean that descriptors are normalized for L2 norm equal to 1.0 but no individual one is bigger than 0.154 as in SIFT
- H: optional 3x3 homography matrix used to warp the grid of daisy but sampling keypoints remains unwarped on image
- interpolation: switch to disable interpolation for speed improvement at minor quality loss
- use_orientation: sample patterns using keypoints orientation, disabled by default.
Required Methods
fn as_raw_DAISY(&self) -> *const c_void
Provided Methods
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