using OpenCvSharp; using System.Collections.Generic; namespace BetterGenshinImpact.Core.Recognition.OpenCv.Model; /// /// 特征块 /// 对特征按图像区域进行划分 /// public class KeyPointFeatureBlock { public List KeyPointList { get; set; } = []; private KeyPoint[]? keyPointArray; public KeyPoint[] KeyPointArray { get { keyPointArray ??= [.. KeyPointList]; return keyPointArray; } } /// /// 在完整 KeyPoint[] 中的下标 /// public List KeyPointIndexList { get; set; } = []; public Mat? Descriptor; public int MergedCenterCellCol = -1; public int MergedCenterCellRow = -1; }