[−][src]Struct opencv::rgbd::Linemod_DepthNormal
\brief Modality that computes quantized surface normals from a dense depth map.
Implementations
impl Linemod_DepthNormal
[src]
pub fn as_raw_Linemod_DepthNormal(&self) -> *const c_void
[src]
pub fn as_raw_mut_Linemod_DepthNormal(&mut self) -> *mut c_void
[src]
impl Linemod_DepthNormal
[src]
pub fn default() -> Result<Linemod_DepthNormal>
[src]
\brief Default constructor. Uses reasonable default parameter values.
pub fn new(
distance_threshold: i32,
difference_threshold: i32,
num_features: size_t,
extract_threshold: i32
) -> Result<Linemod_DepthNormal>
[src]
distance_threshold: i32,
difference_threshold: i32,
num_features: size_t,
extract_threshold: i32
) -> Result<Linemod_DepthNormal>
\brief Constructor.
\param distance_threshold Ignore pixels beyond this distance. \param difference_threshold When computing normals, ignore contributions of pixels whose depth difference with the central pixel is above this threshold. \param num_features How many features a template must contain. \param extract_threshold Consider as candidate feature only if there are no differing orientations within a distance of extract_threshold.
pub fn create(
distance_threshold: i32,
difference_threshold: i32,
num_features: size_t,
extract_threshold: i32
) -> Result<Ptr<Linemod_DepthNormal>>
[src]
distance_threshold: i32,
difference_threshold: i32,
num_features: size_t,
extract_threshold: i32
) -> Result<Ptr<Linemod_DepthNormal>>
Trait Implementations
impl Boxed for Linemod_DepthNormal
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for Linemod_DepthNormal
[src]
impl Linemod_DepthNormalTrait for Linemod_DepthNormal
[src]
fn as_raw_Linemod_DepthNormal(&self) -> *const c_void
[src]
fn as_raw_mut_Linemod_DepthNormal(&mut self) -> *mut c_void
[src]
fn distance_threshold(&self) -> i32
[src]
fn set_distance_threshold(&mut self, val: i32)
[src]
fn difference_threshold(&self) -> i32
[src]
fn set_difference_threshold(&mut self, val: i32)
[src]
fn num_features(&self) -> size_t
[src]
fn set_num_features(&mut self, val: size_t)
[src]
fn extract_threshold(&self) -> i32
[src]
fn set_extract_threshold(&mut self, val: i32)
[src]
fn name(&self) -> Result<String>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
impl Linemod_Modality for Linemod_DepthNormal
[src]
fn as_raw_Linemod_Modality(&self) -> *const c_void
[src]
fn as_raw_mut_Linemod_Modality(&mut self) -> *mut c_void
[src]
fn process(
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
[src]
&self,
src: &Mat,
mask: &Mat
) -> Result<Ptr<dyn Linemod_QuantizedPyramid>>
fn name(&self) -> Result<String>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
impl Send for Linemod_DepthNormal
[src]
Auto Trait Implementations
impl RefUnwindSafe for Linemod_DepthNormal
impl !Sync for Linemod_DepthNormal
impl Unpin for Linemod_DepthNormal
impl UnwindSafe for Linemod_DepthNormal
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,