删除简单的opencv模板匹配算子,改为使用更高级一点的可旋转匹配算子(C++)

This commit is contained in:
李伟
2026-05-13 14:02:34 +08:00
parent b9106acdf0
commit aedbef5ecc
26 changed files with 1135 additions and 2429 deletions
-153
View File
@@ -780,159 +780,6 @@ namespace XP.Common.Resources {
}
}
/// <summary>
/// 查找类似 模板匹配 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_Name {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_Name", resourceCulture);
}
}
/// <summary>
/// 查找类似 在整幅灰度图中搜索模板图像的最佳位置,可选绘制匹配框 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_Description {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_Description", resourceCulture);
}
}
/// <summary>
/// 查找类似 模板文件路径 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_TemplatePath {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_TemplatePath", resourceCulture);
}
}
/// <summary>
/// 查找类似 磁盘上的模板图像路径(支持 bmp/png/jpg 等,彩色将转为灰度) 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_TemplatePath_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_TemplatePath_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 匹配方法 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_MatchMethod {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_MatchMethod", resourceCulture);
}
}
/// <summary>
/// 查找类似 OpenCV 模板匹配类型;CcoeffNormed/CcorrNormed 等越大越好,SqdiffNormed 越小越好(越接近 0 越相似) 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_MatchMethod_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_MatchMethod_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 匹配阈值 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_MatchThreshold {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_MatchThreshold", resourceCulture);
}
}
/// <summary>
/// 查找类似 相关类方法:得分需≥该值判为匹配;Sqdiff/SqdiffNormed:得分需≤该值(建议 Normed 时 0.1~0.3) 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_MatchThreshold_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_MatchThreshold_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 绘制匹配矩形 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_DrawMatch {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_DrawMatch", resourceCulture);
}
}
/// <summary>
/// 查找类似 匹配通过阈值时在输出图上用白框标出模板区域 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_DrawMatch_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_DrawMatch_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 矩形线宽 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_RectThickness {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_RectThickness", resourceCulture);
}
}
/// <summary>
/// 查找类似 匹配框线宽(像素) 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_RectThickness_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_RectThickness_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 Search region X 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_SearchRegionX {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_SearchRegionX", resourceCulture);
}
}
/// <summary>
/// 查找类似 Search region Y 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_SearchRegionY {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_SearchRegionY", resourceCulture);
}
}
/// <summary>
/// 查找类似 Search region width 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_SearchRegionWidth {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_SearchRegionWidth", resourceCulture);
}
}
/// <summary>
/// 查找类似 Search region height 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_SearchRegionHeight {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_SearchRegionHeight", resourceCulture);
}
}
/// <summary>
/// 查找类似 Rectangular search window in source pixels. 的本地化字符串。
/// </summary>
public static string TemplateMatchingProcessor_SearchRegion_Desc {
get {
return ResourceManager.GetString("TemplateMatchingProcessor_SearchRegion_Desc", resourceCulture);
}
}
/// <summary>
/// 查找类似 自动对比度 的本地化字符串。
/// </summary>