ExecutorPixels
Namespace: E2E
public sealed record ExecutorPixels : IEquatable<ExecutorPixels>Masked viewport pixels cleared for model input: the engine’s capture, sized for the model, and its proven mask count.
Inheritance: object
Implements: IEquatable<ExecutorPixels>
Constructors
Section titled “Constructors”ExecutorPixels(byte[], string, int, int, double, int)
Section titled “ExecutorPixels(byte[], string, int, int, double, int)”public ExecutorPixels(byte[] Data, string MediaType, int Width, int Height, double Scale, int MaskedRegionCount)Masked viewport pixels cleared for model input: the engine’s capture, sized for the model, and its proven mask count.
Parameters
| Name | Type | Description |
|---|---|---|
Data |
byte[] | The encoded image. |
MediaType |
string | The media type of <code class=“paramref”>Data</code>. |
Width |
int | Width in image pixels. |
Height |
int | Height in image pixels. |
Scale |
double | Image pixels per viewport (CSS) pixel. |
MaskedRegionCount |
int | How many regions the engine covered. |
Properties
Section titled “Properties”public byte[] Data { get; init; }The encoded image.
Value: byte[]
Height
Section titled “Height”public int Height { get; init; }Height in image pixels.
Value: int
MaskedRegionCount
Section titled “MaskedRegionCount”public int MaskedRegionCount { get; init; }How many regions the engine covered.
Value: int
MediaType
Section titled “MediaType”public string MediaType { get; init; }The media type of <code class=“paramref”>Data</code>.
Value: string
public double Scale { get; init; }Image pixels per viewport (CSS) pixel.
Value: double
public int Width { get; init; }Width in image pixels.
Value: int