pub fn scale<T: HasAfEnum>(
) -> 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.
inputis input image
trans0is amount by which the first dimension is translated
trans1is amount by which the second dimension is translated
odim0is the first output dimension
odim1is the second output dimension
methodis the interpolation type (Nearest by default)