public class ImageData<T>
where T : struct, new(), Object
ImageDataT(Int32, Int32, Int32, ImageDataTDataFormat) | Initializes a new blank image with the specified dimensions and format 使用指定尺寸和格式初始化新的空白图像 |
ImageDataT(T, Int32, Int32, Int32, ImageDataTDataFormat) | Initializes a new image from existing data 从现有数据初始化新图像 |
Channels | Number of color channels 颜色通道数 |
Format | Data layout format 数据布局格式 |
Height | Image height in pixels 图像高度(像素) |
Item | Gets or sets a single channel pixel value (CHW format only) 获取或设置单个通道像素值(仅CHW格式) |
Length | Total number of elements in the buffer 缓冲区中的元素总数 |
Width | Image width in pixels 图像宽度(像素) |
Clear | Clears the image buffer (sets all elements to default(T)) 清除图像缓冲区(将所有元素设置为default(T)) |
Clone | Creates a deep copy of the image 创建图像的深拷贝 |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
Fill | Fills the image buffer with specified value 使用指定值填充图像缓冲区 |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
GetChannelPixelHWC | Gets a channel pixel value (HWC format private access) 获取通道像素值(HWC格式内部访问) |
GetChannelSpan | Gets a span covering all pixels in specified channel (CHW format only) 获取覆盖指定通道所有像素的Span(仅CHW格式) |
GetCHWIndex | |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
GetHWCIndex | |
GetPixel | Gets all components of a pixel (HWC format only) 获取像素的所有分量(仅HWC格式) |
GetRawData | |
GetRawSpan | Gets direct access to the underlying buffer span 直接访问底层缓冲区Span |
GetType | Gets the Type of the current instance. (继承自 Object。) |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
SetPixel | Sets all components of a pixel (HWC format only) 设置像素的所有分量(仅HWC格式) |
ToString | Returns a string that represents the current object. (继承自 Object。) |