pub fn apply_transform(src: &NDArray, transform: TransformType) -> NDArray
Apply a 2D transform to an NDArray.