[][src]Function arrayfire::scale

pub fn scale<T: HasAfEnum>(
    input: &Array<T>,
    scale0: f32,
    scale1: f32,
    odim0: i64,
    odim1: i64,
    method: InterpType
) -> Array<T>

Scale an Image

Scale is the same functionality as resize except that the scale function uses the transform kernels. The other difference is that scale does not set boundary values to be the boundary of the input array. Instead these are set to 0.

Scale is a special case of the transform function.


Return Values

Translated Image(Array).