Function arrayfire::dog [] [src]

pub fn dog(input: &Array, radius1: i32, radius2: i32) -> Array

Difference of Gaussians.

Given an image, this function computes two different versions of smoothed input image using the difference smoothing parameters and subtracts one from the other and returns the result.

Parameters

  • input is the input image
  • radius1 is the radius of the first gaussian kernel
  • radius2 is the radius of the second gaussian kernel

Return Values

Difference of smoothed inputs - An Array.