[][src]Function opencv::core::batch_distance

pub fn batch_distance(
    src1: &dyn ToInputArray,
    src2: &dyn ToInputArray,
    dist: &mut dyn ToOutputArray,
    dtype: i32,
    nidx: &mut dyn ToOutputArray,
    norm_type: i32,
    k: i32,
    mask: &dyn ToInputArray,
    update: i32,
    crosscheck: bool
) -> Result<()>

naive nearest neighbor finder

see http://en.wikipedia.org/wiki/Nearest_neighbor_search @todo document

C++ default parameters

  • norm_type: NORM_L2
  • k: 0
  • mask: noArray()
  • update: 0
  • crosscheck: false