pub trait DAISYTrait: Feature2DTrait + DAISYTraitConst {
Show 13 methods
// Required method
fn as_raw_mut_DAISY(&mut self) -> *mut c_void;
// Provided methods
fn set_radius(&mut self, radius: f32) -> Result<()> { ... }
fn set_q_radius(&mut self, q_radius: i32) -> Result<()> { ... }
fn set_q_theta(&mut self, q_theta: i32) -> Result<()> { ... }
fn set_q_hist(&mut self, q_hist: i32) -> Result<()> { ... }
fn set_norm(&mut self, norm: i32) -> Result<()> { ... }
fn set_h(&mut self, h: &impl ToInputArray) -> Result<()> { ... }
fn set_interpolation(&mut self, interpolation: bool) -> Result<()> { ... }
fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()> { ... }
fn compute(
&mut self,
image: &impl ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn compute_1(
&mut self,
images: &impl ToInputArray,
keypoints: &mut Vector<Vector<KeyPoint>>,
descriptors: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn compute_2(
&mut self,
image: &impl ToInputArray,
roi: Rect,
descriptors: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn compute_3(
&mut self,
image: &impl ToInputArray,
descriptors: &mut impl ToOutputArray,
) -> Result<()> { ... }
}
Expand description
Mutable methods for crate::xfeatures2d::DAISY
Required Methods§
fn as_raw_mut_DAISY(&mut self) -> *mut c_void
Provided Methods§
fn set_radius(&mut self, radius: f32) -> Result<()>
fn set_q_radius(&mut self, q_radius: i32) -> Result<()>
fn set_q_theta(&mut self, q_theta: i32) -> Result<()>
fn set_q_hist(&mut self, q_hist: i32) -> Result<()>
fn set_norm(&mut self, norm: i32) -> Result<()>
fn set_h(&mut self, h: &impl ToInputArray) -> Result<()>
fn set_interpolation(&mut self, interpolation: bool) -> Result<()>
fn set_use_orientation(&mut self, use_orientation: bool) -> Result<()>
Sourcefn compute(
&mut self,
image: &impl ToInputArray,
keypoints: &mut Vector<KeyPoint>,
descriptors: &mut impl ToOutputArray,
) -> Result<()>
fn compute( &mut self, image: &impl ToInputArray, keypoints: &mut Vector<KeyPoint>, descriptors: &mut impl ToOutputArray, ) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
§Parameters
- image: image to extract descriptors
- keypoints: of interest within image
- descriptors: resulted descriptors array
fn compute_1( &mut self, images: &impl ToInputArray, keypoints: &mut Vector<Vector<KeyPoint>>, descriptors: &mut impl ToOutputArray, ) -> Result<()>
Sourcefn compute_2(
&mut self,
image: &impl ToInputArray,
roi: Rect,
descriptors: &mut impl ToOutputArray,
) -> Result<()>
fn compute_2( &mut self, image: &impl ToInputArray, roi: Rect, descriptors: &mut impl ToOutputArray, ) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
§Parameters
- image: image to extract descriptors
- roi: region of interest within image
- descriptors: resulted descriptors array for roi image pixels
Sourcefn compute_3(
&mut self,
image: &impl ToInputArray,
descriptors: &mut impl ToOutputArray,
) -> Result<()>
fn compute_3( &mut self, image: &impl ToInputArray, descriptors: &mut impl ToOutputArray, ) -> Result<()>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
§Parameters
- image: image to extract descriptors
- descriptors: resulted descriptors array for all image pixels
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.