Struct opencv::rgbd::LineMod_ColorGradient
source · pub struct LineMod_ColorGradient { /* private fields */ }
Expand description
\brief Modality that computes quantized gradient orientations from a color image.
Implementations§
source§impl LineMod_ColorGradient
impl LineMod_ColorGradient
sourcepub fn default() -> Result<LineMod_ColorGradient>
pub fn default() -> Result<LineMod_ColorGradient>
\brief Default constructor. Uses reasonable default parameter values.
sourcepub fn new(
weak_threshold: f32,
num_features: size_t,
strong_threshold: f32
) -> Result<LineMod_ColorGradient>
pub fn new( weak_threshold: f32, num_features: size_t, strong_threshold: f32 ) -> Result<LineMod_ColorGradient>
\brief Constructor.
\param weak_threshold When quantizing, discard gradients with magnitude less than this. \param num_features How many features a template must contain. \param strong_threshold Consider as candidate features only gradients whose norms are larger than this.
pub fn create( weak_threshold: f32, num_features: size_t, strong_threshold: f32 ) -> Result<Ptr<LineMod_ColorGradient>>
Trait Implementations§
source§impl Boxed for LineMod_ColorGradient
impl Boxed for LineMod_ColorGradient
source§impl Debug for LineMod_ColorGradient
impl Debug for LineMod_ColorGradient
source§impl Drop for LineMod_ColorGradient
impl Drop for LineMod_ColorGradient
source§impl From<LineMod_ColorGradient> for LineMod_Modality
impl From<LineMod_ColorGradient> for LineMod_Modality
source§fn from(s: LineMod_ColorGradient) -> Self
fn from(s: LineMod_ColorGradient) -> Self
Converts to this type from the input type.
source§impl LineMod_ModalityTraitConst for LineMod_ColorGradient
impl LineMod_ModalityTraitConst for LineMod_ColorGradient
fn as_raw_LineMod_Modality(&self) -> *const c_void
source§fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<LineMod_QuantizedPyramid>>
fn process( &self, src: &Mat, mask: &Mat ) -> Result<Ptr<LineMod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
source§fn process_def(&self, src: &Mat) -> Result<Ptr<LineMod_QuantizedPyramid>>
fn process_def(&self, src: &Mat) -> Result<Ptr<LineMod_QuantizedPyramid>>
\brief Form a quantized image pyramid from a source image. Read more
fn name(&self) -> Result<String>
fn write(&self, fs: &mut FileStorage) -> Result<()>
impl Send for LineMod_ColorGradient
Auto Trait Implementations§
impl RefUnwindSafe for LineMod_ColorGradient
impl !Sync for LineMod_ColorGradient
impl Unpin for LineMod_ColorGradient
impl UnwindSafe for LineMod_ColorGradient
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more