[−][src]Struct opencv::rgbd::RgbdNormals
Object that can compute the normals in an image. It is an object as it can cache data for speed efficiency The implemented methods are either:
- FALS (the fastest) and SRI from
Fast and Accurate Computation of Surface Normals from Range Images
by H. Badino, D. Huber, Y. Park and T. Kanade - the normals with bilateral filtering on a depth image from
Gradient Response Maps for Real-Time Detection of Texture-Less Objects
by S. Hinterstoisser, C. Cagniart, S. Ilic, P. Sturm, N. Navab, P. Fua, and V. Lepetit
Implementations
impl RgbdNormals
[src]
pub fn as_raw_RgbdNormals(&self) -> *const c_void
[src]
pub fn as_raw_mut_RgbdNormals(&mut self) -> *mut c_void
[src]
impl RgbdNormals
[src]
pub fn default() -> Result<RgbdNormals>
[src]
pub fn new(
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<RgbdNormals>
[src]
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<RgbdNormals>
Constructor
Parameters
- rows: the number of rows of the depth image normals will be computed on
- cols: the number of cols of the depth image normals will be computed on
- depth: the depth of the normals (only CV_32F or CV_64F)
- K: the calibration matrix to use
- window_size: the window size to compute the normals: can only be 1,3,5 or 7
- method: one of the methods to use: RGBD_NORMALS_METHOD_SRI, RGBD_NORMALS_METHOD_FALS
C++ default parameters
- window_size: 5
- method: RgbdNormals::RGBD_NORMALS_METHOD_FALS
pub fn create(
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<Ptr<RgbdNormals>>
[src]
rows: i32,
cols: i32,
depth: i32,
k: &dyn ToInputArray,
window_size: i32,
method: i32
) -> Result<Ptr<RgbdNormals>>
C++ default parameters
- window_size: 5
- method: RgbdNormals::RGBD_NORMALS_METHOD_FALS
Trait Implementations
impl AlgorithmTrait for RgbdNormals
[src]
pub fn as_raw_Algorithm(&self) -> *const c_void
[src]
pub fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
pub fn clear(&mut self) -> Result<()>
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
pub fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn save(&self, filename: &str) -> Result<()>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for RgbdNormals
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for RgbdNormals
[src]
impl RgbdNormalsTrait for RgbdNormals
[src]
pub fn as_raw_RgbdNormals(&self) -> *const c_void
[src]
pub fn as_raw_mut_RgbdNormals(&mut self) -> *mut c_void
[src]
pub fn initialize(&self) -> Result<()>
[src]
pub fn get_rows(&self) -> Result<i32>
[src]
pub fn set_rows(&mut self, val: i32) -> Result<()>
[src]
pub fn get_cols(&self) -> Result<i32>
[src]
pub fn set_cols(&mut self, val: i32) -> Result<()>
[src]
pub fn get_window_size(&self) -> Result<i32>
[src]
pub fn set_window_size(&mut self, val: i32) -> Result<()>
[src]
pub fn get_depth(&self) -> Result<i32>
[src]
pub fn set_depth(&mut self, val: i32) -> Result<()>
[src]
pub fn get_k(&self) -> Result<Mat>
[src]
pub fn set_k(&mut self, val: &Mat) -> Result<()>
[src]
pub fn get_method(&self) -> Result<i32>
[src]
pub fn set_method(&mut self, val: i32) -> Result<()>
[src]
impl Send for RgbdNormals
[src]
Auto Trait Implementations
impl RefUnwindSafe for RgbdNormals
[src]
impl !Sync for RgbdNormals
[src]
impl Unpin for RgbdNormals
[src]
impl UnwindSafe for RgbdNormals
[src]
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>,