[][src]Function opencv::photo::create_align_mtb

pub fn create_align_mtb(
    max_bits: i32,
    exclude_range: i32,
    cut: bool
) -> Result<PtrOfAlignMTB>

Creates AlignMTB object

Parameters

  • max_bits: logarithm to the base 2 of maximal shift in each dimension. Values of 5 and 6 are usually good enough (31 and 63 pixels shift respectively).
  • exclude_range: range for exclusion bitmap that is constructed to suppress noise around the median value.
  • cut: if true cuts images, otherwise fills the new regions with zeros.

C++ default parameters

  • max_bits: 6
  • exclude_range: 4
  • cut: true