ImageEstimatorsCatalog 类

定义

用于 TransformsCatalog 创建图像处理转换器组件的实例的扩展方法的集合。

public static class ImageEstimatorsCatalog
type ImageEstimatorsCatalog = class
Public Module ImageEstimatorsCatalog
继承
ImageEstimatorsCatalog

方法

ConvertToGrayscale(TransformsCatalog, String, String)

创建一个ImageGrayscalingEstimator,它将指定列InputColumnName中的图像转换为新列中的灰度图像: OutputColumnName

ConvertToImage(TransformsCatalog, Int32, Int32, String, String, ImagePixelExtractingEstimator+ColorBits, ImagePixelExtractingEstimator+ColorsOrder, Boolean, Single, Single, Int32, Int32, Int32, Int32)

创建一个VectorToImageConvertingEstimator,用于从指定inputColumnName列到新列的数据创建图像: outputColumnName

ExtractPixels(TransformsCatalog, String, String, ImagePixelExtractingEstimator+ColorBits, ImagePixelExtractingEstimator+ColorsOrder, Boolean, Single, Single, Boolean)

创建一个ImagePixelExtractingEstimator,它将像素值从列中指定的数据中提取到新列: inputColumnNameoutputColumnName

LoadImages(TransformsCatalog, String, String, String)

创建一个ImageLoadingEstimator,将数据从图像中指定的inputColumnName列加载到新列: outputColumnName

LoadRawImageBytes(TransformsCatalog, String, String, String)

创建一个ImageLoadingEstimator,将数据从指定为原始字节图像的列inputColumnName加载到新列: outputColumnName

ResizeImages(TransformsCatalog, String, Int32, Int32, String, ImageResizingEstimator+ResizingKind, ImageResizingEstimator+Anchor)

创建一个ImageResizingEstimator,用于将图像从指定inputColumnName列的大小调整为新列: outputColumnName

适用于