pub trait RgbdNormalsTraitConst: AlgorithmTraitConst {
// Required method
fn as_raw_RgbdNormals(&self) -> *const c_void;
// Provided methods
fn apply(
&self,
points: &impl ToInputArray,
normals: &mut impl ToOutputArray,
) -> Result<()> { ... }
fn initialize(&self) -> Result<()> { ... }
fn get_rows(&self) -> Result<i32> { ... }
fn get_cols(&self) -> Result<i32> { ... }
fn get_window_size(&self) -> Result<i32> { ... }
fn get_depth(&self) -> Result<i32> { ... }
fn get_k(&self) -> Result<Mat> { ... }
fn get_method(&self) -> Result<i32> { ... }
}
Expand description
Constant methods for crate::rgbd::RgbdNormals
Required Methods§
fn as_raw_RgbdNormals(&self) -> *const c_void
Provided Methods§
Sourcefn apply(
&self,
points: &impl ToInputArray,
normals: &mut impl ToOutputArray,
) -> Result<()>
fn apply( &self, points: &impl ToInputArray, normals: &mut impl ToOutputArray, ) -> Result<()>
Given a set of 3d points in a depth image, compute the normals at each point.
§Parameters
- points: a rows x cols x 3 matrix of CV_32F/CV64F or a rows x cols x 1 CV_U16S
- normals: a rows x cols x 3 matrix
Sourcefn initialize(&self) -> Result<()>
fn initialize(&self) -> Result<()>
Initializes some data that is cached for later computation If that function is not called, it will be called the first time normals are computed
fn get_rows(&self) -> Result<i32>
fn get_cols(&self) -> Result<i32>
fn get_window_size(&self) -> Result<i32>
fn get_depth(&self) -> Result<i32>
fn get_k(&self) -> Result<Mat>
fn get_method(&self) -> Result<i32>
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.