opencv::stereo

Function modified_census_transform_def

Source
pub fn modified_census_transform_def(
    img1: &impl MatTraitConst,
    img2: &impl MatTraitConst,
    kernel_size: i32,
    dist1: &mut impl MatTrait,
    dist2: &mut impl MatTrait,
    typ: i32,
) -> Result<()>
Expand description

STANDARD_MCT - Modified census which is memorizing for each pixel 2 bits and includes a tolerance to the pixel comparison MCT_MEAN_VARIATION - Implementation of a modified census transform which is also taking into account the variation to the mean of the window not just the center pixel *

ยงNote

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

  • t: 0
  • integral_image1: Mat()
  • integral_image2: Mat()