CvDataProcessorNormalize(ImageRgb24, Single, Single, Boolean) 方法
Normalizes image with mean subtraction and scaling
使用均值减除和缩放标准化图像
命名空间: DeploySharp.Data程序集: DeploySharp.ImageSharp (在 DeploySharp.ImageSharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public static float[] Normalize(
Image<Rgb24> image,
float[] mean,
float[] scale,
bool isScale
)
- image ImageRgb24
- Source image/源图像
- mean Single
- Channel means/通道均值
- scale Single
- Channel scales/通道缩放
- isScale Boolean
- Whether to apply 0-1 scaling/是否应用0-1缩放
SingleNormalized float array/标准化后的浮点数组
Uses parallel processing for better performance on large images
对大图像使用并行处理以提高性能