ImageDataF(Int32, Int32, Int32, ImageDataSingleDataFormat) 构造函数
Initializes a new blank float image with specified dimensions
使用指定尺寸初始化新的空白浮点图像
命名空间: DeploySharp.Data程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public ImageDataF(
int width,
int height,
int channels,
ImageDataTDataFormat format = ImageDataTDataFormat.HWC
)
参数
- width Int32
- Image width in pixels (>0) 图像宽度(像素,>0)
- height Int32
- Image height in pixels (>0) 图像高度(像素,>0)
- channels Int32
- Number of color channels (1-4 typical) 颜色通道数(通常1-4)
- format ImageDataTDataFormat (Optional)
- Data layout format (default HWC) 数据布局格式(默认HWC)