pub fn prewitt<A, D>(
data: &ArrayRef<A, D>,
axis: Axis,
mode: BorderMode<A>,
) -> Array<A, D>where
A: Copy + Signed + ScalarOperand + FromPrimitive + PartialOrd,
for<'a> &'a [A]: SymmetryStateCheck,
D: Dimension,Expand description
Calculate a Prewitt filter.
data- The input N-D data.axis- The axis of input along which to calculate.mode- Method that will be used to select the padded values. See theCorrelateModeenum for more information.