PreprocessingFilter.Resize

Resize(int, int, InterpolationFilterType)

Rescale image - 放大或缩小图像分辨率。

public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
范围类型描述
widthInt32图像的新宽度。
heightInt32图像的新高度。
typeInterpolationFilterTypeInterpolationFilterType

返回值

调整大小过滤器对象。

也可以看看


Resize(int, int)

Rescale image - 放大或缩小图像分辨率。 InterpolationFilterType = Lanczos8

public static PreprocessingFilter Resize(int width, int height)
范围类型描述
widthInt32图像的新宽度。
heightInt32图像的新高度。

返回值

调整大小过滤器对象。

也可以看看