Trait PhaseUnwrappingTrait

Source
pub trait PhaseUnwrappingTrait: AlgorithmTrait + PhaseUnwrappingTraitConst {
    // Required method
    fn as_raw_mut_PhaseUnwrapping(&mut self) -> *mut c_void;

    // Provided methods
    fn unwrap_phase_map(
        &mut self,
        wrapped_phase_map: &impl ToInputArray,
        unwrapped_phase_map: &mut impl ToOutputArray,
        shadow_mask: &impl ToInputArray,
    ) -> Result<()> { ... }
    fn unwrap_phase_map_def(
        &mut self,
        wrapped_phase_map: &impl ToInputArray,
        unwrapped_phase_map: &mut impl ToOutputArray,
    ) -> Result<()> { ... }
}
Expand description

Required Methods§

Provided Methods§

Source

fn unwrap_phase_map( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, shadow_mask: &impl ToInputArray, ) -> Result<()>

Unwraps a 2D phase map.

§Parameters
  • wrappedPhaseMap: The wrapped phase map of type CV_32FC1 that needs to be unwrapped.
  • unwrappedPhaseMap: The unwrapped phase map.
  • shadowMask: Optional CV_8UC1 mask image used when some pixels do not hold any phase information in the wrapped phase map.
§C++ default parameters
  • shadow_mask: noArray()
Source

fn unwrap_phase_map_def( &mut self, wrapped_phase_map: &impl ToInputArray, unwrapped_phase_map: &mut impl ToOutputArray, ) -> Result<()>

Unwraps a 2D phase map.

§Parameters
  • wrappedPhaseMap: The wrapped phase map of type CV_32FC1 that needs to be unwrapped.
  • unwrappedPhaseMap: The unwrapped phase map.
  • shadowMask: Optional CV_8UC1 mask image used when some pixels do not hold any phase information in the wrapped phase map.
§Note

This alternative version of PhaseUnwrappingTrait::unwrap_phase_map function uses the following default values for its arguments:

  • shadow_mask: noArray()

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.

Implementors§