1874c4a5bb
统一补齐对齐核心工具类、RoiAlignment 算子、模板匹配对齐扩展和多语言资源,便于在检测前稳定完成示教 ROI 到运行图的变换。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
481 B
C#
16 lines
481 B
C#
namespace XP.ImageProcessing.Core.Alignment;
|
|
|
|
/// <summary>
|
|
/// 与 VoidMeasurement / BgaVoidRate / QfnLeadPadVoid 等算子一致的多边形 ROI 参数名。
|
|
/// </summary>
|
|
public static class RoiPolygonParameterNames
|
|
{
|
|
public const int MaxPoints = 32;
|
|
|
|
public const string RoiMode = "RoiMode";
|
|
public const string PolyCount = "PolyCount";
|
|
|
|
public static string PolyX(int index) => $"PolyX{index}";
|
|
public static string PolyY(int index) => $"PolyY{index}";
|
|
}
|