27 lines
832 B
C#
27 lines
832 B
C#
namespace HardwareControl.Core.SampleAnalysis
|
|
{
|
|
/// <summary>基准画面信息(放置靶样前)。</summary>
|
|
public sealed record SampleBaselineInfo(
|
|
int Width,
|
|
int Height,
|
|
DateTimeOffset CapturedAt);
|
|
|
|
/// <summary>靶样画面信息(放置靶样后)。</summary>
|
|
public sealed record SampleTargetInfo(
|
|
int Width,
|
|
int Height,
|
|
DateTimeOffset CapturedAt);
|
|
|
|
/// <summary>图像坐标系下的采样点。</summary>
|
|
public sealed record SamplePoint(int X, int Y);
|
|
|
|
/// <summary>靶样轮廓与采样点分析结果。</summary>
|
|
public sealed record SampleAnalysisResult(
|
|
byte[] ImageData,
|
|
string MimeType,
|
|
int Width,
|
|
int Height,
|
|
int SamplingPointCount,
|
|
IReadOnlyList<SamplePoint> SamplingPoints);
|
|
}
|