点到直线距离
This commit is contained in:
parent
9c83b13673
commit
103994520a
@ -139,6 +139,9 @@ public partial class VisionConfigViewModel
|
||||
case VisionFlowType.点到点距离:
|
||||
ContentRegion = new PointToPointDistance();
|
||||
break;
|
||||
case VisionFlowType.点到线距离:
|
||||
ContentRegion = new PointToLineDistance();
|
||||
break;
|
||||
}
|
||||
|
||||
if (ContentRegion != null)
|
||||
@ -482,6 +485,9 @@ public partial class VisionConfigViewModel
|
||||
case VisionFlowType.点到点距离:
|
||||
newFlow.StringParams["ResultVar"] = "点到点距离";
|
||||
break;
|
||||
case VisionFlowType.点到线距离:
|
||||
newFlow.StringParams["ResultVar"] = "点到线距离";
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
|
||||
public bool Execute(VisionFunction func, VisionFlow item)
|
||||
{
|
||||
_ = System.Windows.Application.Current.Dispatcher.InvokeAsync(() =>
|
||||
System.Windows.Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
func.DrawCommands.Clear();
|
||||
func.EditImageEdit?.Remove("DrawOverlay");
|
||||
|
||||
@ -0,0 +1,50 @@
|
||||
<UserControl x:Class="PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm.PointToLineDistance"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:PLCSharp.VVMs.Vision.VisionFlowHandler"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:vision="clr-namespace:PLCSharp.VVMs.Vision"
|
||||
mc:Ignorable="d"
|
||||
d:DataContext="{d:DesignInstance Type=vision:VisionConfigViewModel}"
|
||||
d:DesignHeight="200" d:DesignWidth="300">
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
||||
<StackPanel>
|
||||
<GroupBox Header="参数">
|
||||
<Grid Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
<RowDefinition />
|
||||
</Grid.RowDefinitions>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="80" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Row="0" Text="点变量" VerticalAlignment="Center" />
|
||||
<ComboBox Grid.Row="0" Grid.Column="1"
|
||||
ItemsSource="{Binding AllVariables}"
|
||||
SelectedValue="{Binding SelectVisionFlow.StringParams[PointVar], Mode=TwoWay}"
|
||||
SelectedValuePath="Name" DisplayMemberPath="Name" />
|
||||
<TextBlock Grid.Row="1" Text="线变量" VerticalAlignment="Center" />
|
||||
<ComboBox Grid.Row="1" Grid.Column="1"
|
||||
ItemsSource="{Binding AllVariables}"
|
||||
SelectedValue="{Binding SelectVisionFlow.StringParams[LineVar], Mode=TwoWay}"
|
||||
SelectedValuePath="Name" DisplayMemberPath="Name" />
|
||||
<TextBlock Grid.Row="2" Text="结果变量" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding SelectVisionFlow.StringParams[ResultVar], Mode=TwoWay, TargetNullValue=点到线距离}" />
|
||||
<TextBlock Grid.Row="3" Text="距离" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="3" Grid.Column="1"
|
||||
Text="{Binding SelectedVisionFunction.Params.ResultDoubles[PointLineDist_Distance], Mode=OneWay}"
|
||||
IsReadOnly="True" Background="#FFF0F0F0" />
|
||||
<TextBlock Grid.Row="4" Text="垂足X,Y" VerticalAlignment="Center" />
|
||||
<TextBox Grid.Row="4" Grid.Column="1"
|
||||
Text="{Binding SelectedVisionFunction.Params.ResultDoubles[PointLineDist_FootX], Mode=OneWay}"
|
||||
IsReadOnly="True" Background="#FFF0F0F0" />
|
||||
</Grid>
|
||||
</GroupBox>
|
||||
</StackPanel>
|
||||
</ScrollViewer>
|
||||
</UserControl>
|
||||
@ -0,0 +1,12 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm
|
||||
{
|
||||
public partial class PointToLineDistance : UserControl
|
||||
{
|
||||
public PointToLineDistance()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,72 @@
|
||||
using OpenCvSharp;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm
|
||||
{
|
||||
/// <summary>
|
||||
/// 点到线距离工具 —— 读取一个 Pos 变量和一个 Line 变量,计算点到直线的垂直距离。
|
||||
/// </summary>
|
||||
public class PointToLineDistanceHandler : IVisionFlowHandler
|
||||
{
|
||||
public VisionFlowType Type => VisionFlowType.点到线距离;
|
||||
|
||||
public bool Execute(VisionFunction func, VisionFlow item)
|
||||
{
|
||||
var pointVarName = item.StringParams.TryGetValue("PointVar", out var pv) && !string.IsNullOrEmpty(pv) ? pv : "None";
|
||||
var lineVarName = item.StringParams.TryGetValue("LineVar", out var lv) && !string.IsNullOrEmpty(lv) ? lv : "None";
|
||||
|
||||
var pointVar = func.Params.Variables.FirstOrDefault(v => v.Name == pointVarName);
|
||||
var lineVar = func.Params.Variables.FirstOrDefault(v => v.Name == lineVarName);
|
||||
if (pointVar == null) { item.Flow.FailMessage = $"变量 '{pointVarName}' 不存在!"; return false; }
|
||||
if (lineVar == null) { item.Flow.FailMessage = $"变量 '{lineVarName}' 不存在!"; return false; }
|
||||
if (pointVar.RawValue is not Pos point) { item.Flow.FailMessage = $"变量 '{pointVarName}' 不是 Pos 类型!"; return false; }
|
||||
if (lineVar.RawValue is not Line line) { item.Flow.FailMessage = $"变量 '{lineVarName}' 不是 Line 类型!"; return false; }
|
||||
|
||||
// 点到直线垂直距离公式
|
||||
double x1 = line.From.X, y1 = line.From.Y;
|
||||
double x2 = line.To.X, y2 = line.To.Y;
|
||||
double x0 = point.X, y0 = point.Y;
|
||||
|
||||
double A = y2 - y1;
|
||||
double B = x1 - x2;
|
||||
double C = x2 * y1 - x1 * y2;
|
||||
double denom = Math.Sqrt(A * A + B * B);
|
||||
|
||||
if (denom < 1e-10) { item.Flow.FailMessage = "直线长度为零!"; return false; }
|
||||
|
||||
double dist = Math.Abs(A * x0 + B * y0 + C) / denom;
|
||||
dist = Math.Round(dist, 3);
|
||||
|
||||
// 垂足坐标
|
||||
double dot = (x0 - x1) * (x2 - x1) + (y0 - y1) * (y2 - y1);
|
||||
double t = dot / (denom * denom);
|
||||
double footX = Math.Round(x1 + t * (x2 - x1), 3);
|
||||
double footY = Math.Round(y1 + t * (y2 - y1), 3);
|
||||
|
||||
func.Params.ResultDoubles["PointLineDist_Distance"] = dist;
|
||||
func.Params.ResultDoubles["PointLineDist_FootX"] = footX;
|
||||
func.Params.ResultDoubles["PointLineDist_FootY"] = footY;
|
||||
|
||||
var resultVarName = item.StringParams.TryGetValue("ResultVar", out var rv) && !string.IsNullOrEmpty(rv) ? rv : "点到线距离";
|
||||
var resultVar = func.Params.Variables.FirstOrDefault(v => v.Name == resultVarName);
|
||||
if (resultVar == null)
|
||||
{
|
||||
resultVar = new LocalVariableItem(resultVarName, "double", 0.0);
|
||||
System.Windows.Application.Current.Dispatcher.Invoke(() => func.Params.Variables.Add(resultVar));
|
||||
}
|
||||
resultVar.RawValue = dist;
|
||||
|
||||
// 可视化
|
||||
func.DrawCommands.Add(DrawCommand.Line(line.From.X, line.From.Y, line.To.X, line.To.Y, Colors.Lime, 2));
|
||||
func.DrawCommands.Add(DrawCommand.Line(point.X, point.Y, footX, footY, Colors.Cyan, 1));
|
||||
func.DrawCommands.Add(DrawCommand.FilledCircle(point.X, point.Y, 4, Colors.Yellow));
|
||||
func.DrawCommands.Add(DrawCommand.FilledCircle(footX, footY, 3, Colors.Cyan));
|
||||
func.DrawCommands.Add(DrawCommand.TextBlock(
|
||||
(point.X + footX) / 2, (point.Y + footY) / 2 - 10,
|
||||
$"{dist:F3}", Colors.Lime, 16));
|
||||
_ = func.RenderDrawAsync();
|
||||
item.Flow.Done = true;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -2,120 +2,146 @@
|
||||
|
||||
namespace PLCSharp.VVMs.Vision.VisionFlowHandler.Processing
|
||||
{
|
||||
/// <summary>
|
||||
/// 坐标转换:将图像坐标(ImageX, ImageY)通过指定的变换矩阵转换为世界坐标(WorldX, WorldY)。
|
||||
/// 变换矩阵从局部图像列表(Params.Mats)中按名称选取。
|
||||
/// 支持 2×3 仿射矩阵和 3×3 透视变换矩阵(CV_64F / CV_32F)。
|
||||
/// </summary>
|
||||
public class CoordinateTransformHandler : IVisionFlowHandler
|
||||
{
|
||||
/// <summary>
|
||||
/// 当前处理器的功能类型标识
|
||||
/// </summary>
|
||||
public VisionFlowType Type => VisionFlowType.坐标转换;
|
||||
|
||||
/// <summary>
|
||||
/// 执行坐标转换:读取图像坐标,应用变换矩阵,输出世界坐标
|
||||
/// </summary>
|
||||
/// <param name="func">所属的视觉功能实例</param>
|
||||
/// <param name="item">当前流程步骤,包含图像坐标和矩阵名称参数</param>
|
||||
/// <returns>转换成功返回 true,参数缺失或矩阵无效返回 false</returns>
|
||||
public bool Execute(VisionFunction func, VisionFlow item)
|
||||
{
|
||||
// 1. 从局部变量表读取变量,根据类型提取图像坐标
|
||||
if (!item.StringParams.TryGetValue("InputVar", out var varName) || string.IsNullOrEmpty(varName))
|
||||
throw new Exception("输入变量未设置");
|
||||
{ item.Flow.FailMessage = "输入变量未设置"; return false; }
|
||||
var variable = func.Params.Variables.FirstOrDefault(v => v.Name == varName);
|
||||
if (variable == null) throw new Exception("输入变量不存在");
|
||||
if (variable == null) { item.Flow.FailMessage = "输入变量不存在"; return false; }
|
||||
|
||||
double imgX = 0, imgY = 0;
|
||||
switch (variable.VarType)
|
||||
{
|
||||
case "Pos": if (variable.RawValue is Pos p) { imgX = p.X; imgY = p.Y; } else return false; break;
|
||||
case "Circle": if (variable.RawValue is Circle c) { imgX = c.Center.X; imgY = c.Center.Y; } else return false; break;
|
||||
case "Rect": if (variable.RawValue is Rect r) { imgX = r.Center.X; imgY = r.Center.Y; } else return false; break;
|
||||
case "Line": if (variable.RawValue is Line l) { imgX = (l.From.X + l.To.X) / 2; imgY = (l.From.Y + l.To.Y) / 2; } else return false; break;
|
||||
default: return false;
|
||||
}
|
||||
// 读取变换矩阵(优先局部变量,次选全局系统变量)
|
||||
if (!item.StringParams.TryGetValue("TransformMat", out var matName) || string.IsNullOrEmpty(matName))
|
||||
{ item.Flow.FailMessage = "矩阵变量名未设置"; return false; }
|
||||
|
||||
// 2. 从全局变量中读取变换矩阵
|
||||
if (!item.StringParams.TryGetValue("TransformMat", out string? matName) ||
|
||||
string.IsNullOrEmpty(matName))
|
||||
item.StringParams["TransformMat"] = "标定矩阵";
|
||||
Mat transformMat = null;
|
||||
var sysVar = func.GlobalModel.VariablesModel.SystemVariables.FirstOrDefault(v => v.Name == matName);
|
||||
if (sysVar?.Value != null)
|
||||
transformMat = MatExtension.DeserializeAffineMat(sysVar.Value.ToString());
|
||||
if (transformMat == null) { item.Flow.FailMessage = "变换矩阵未找到"; return false; }
|
||||
|
||||
var matVar = func.GlobalModel.VariablesModel.SystemVariables.FirstOrDefault(v => v.Name == matName);
|
||||
if (matVar?.Value == null)
|
||||
throw new Exception("标定矩阵不存在,请标定");
|
||||
|
||||
Mat transformMat = MatExtension.DeserializeAffineMat(matVar.Value.ToString());
|
||||
|
||||
// 4. 将 Mat 转换为 CV_64F 以便统一读取
|
||||
// 统一为 CV_64F
|
||||
if (transformMat.Type() != MatType.CV_64FC1)
|
||||
{
|
||||
Mat converted = new();
|
||||
using var converted = new Mat();
|
||||
transformMat.ConvertTo(converted, MatType.CV_64F);
|
||||
transformMat = converted;
|
||||
transformMat.Dispose();
|
||||
transformMat = converted.Clone();
|
||||
}
|
||||
|
||||
// 5. 根据矩阵尺寸应用变换
|
||||
double wx = 0, wy = 0;
|
||||
if (transformMat.Rows == 2 && transformMat.Cols == 3)
|
||||
// 缩放系数:x 方向 sqrt(a²+c²),y 方向 sqrt(b²+d²)
|
||||
double scale = 1.0;
|
||||
if (transformMat.Rows >= 2 && transformMat.Cols >= 2)
|
||||
{
|
||||
// 2×3 仿射变换
|
||||
// [a b tx] [x] [x']
|
||||
// [c d ty] × [y] = [y']
|
||||
// [1]
|
||||
wx = imgX * transformMat.At<double>(0, 0)
|
||||
+ imgY * transformMat.At<double>(0, 1)
|
||||
+ transformMat.At<double>(0, 2);
|
||||
wy = imgX * transformMat.At<double>(1, 0)
|
||||
+ imgY * transformMat.At<double>(1, 1)
|
||||
+ transformMat.At<double>(1, 2);
|
||||
|
||||
func.Params.ResultDoubles["WorldX"] = wx;
|
||||
func.Params.ResultDoubles["WorldY"] = wy;
|
||||
double sx = Math.Sqrt(transformMat.At<double>(0, 0) * transformMat.At<double>(0, 0)
|
||||
+ transformMat.At<double>(1, 0) * transformMat.At<double>(1, 0));
|
||||
double sy = Math.Sqrt(transformMat.At<double>(0, 1) * transformMat.At<double>(0, 1)
|
||||
+ transformMat.At<double>(1, 1) * transformMat.At<double>(1, 1));
|
||||
scale = (sx + sy) / 2.0;
|
||||
}
|
||||
else if (transformMat.Rows == 3 && transformMat.Cols == 3)
|
||||
|
||||
// 应用仿射变换到点的函数
|
||||
Point2f TransformPoint(double px, double py)
|
||||
{
|
||||
// 3×3 透视变换(单应性矩阵)
|
||||
// [h00 h01 h02] [x] [x']
|
||||
// [h10 h11 h12] × [y] = [y']
|
||||
// [h20 h21 h22] [1] [w ] 需透视除法
|
||||
double w = imgX * transformMat.At<double>(2, 0)
|
||||
+ imgY * transformMat.At<double>(2, 1)
|
||||
+ transformMat.At<double>(2, 2);
|
||||
if (Math.Abs(w) < 1e-10)
|
||||
throw new Exception("标定矩阵奇异矩阵,请重新标定"); // 奇异矩阵
|
||||
|
||||
wx = (imgX * transformMat.At<double>(0, 0)
|
||||
+ imgY * transformMat.At<double>(0, 1)
|
||||
+ transformMat.At<double>(0, 2)) / w;
|
||||
wy = (imgX * transformMat.At<double>(1, 0)
|
||||
+ imgY * transformMat.At<double>(1, 1)
|
||||
+ transformMat.At<double>(1, 2)) / w;
|
||||
|
||||
func.Params.ResultDoubles["WorldX"] = wx;
|
||||
func.Params.ResultDoubles["WorldY"] = wy;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new Exception("不支持的矩阵尺寸,请重新标定"); // 不支持的矩阵尺寸
|
||||
if (transformMat.Rows == 2 && transformMat.Cols == 3)
|
||||
{
|
||||
return new Point2f(
|
||||
(float)(px * transformMat.At<double>(0, 0) + py * transformMat.At<double>(0, 1) + transformMat.At<double>(0, 2)),
|
||||
(float)(px * transformMat.At<double>(1, 0) + py * transformMat.At<double>(1, 1) + transformMat.At<double>(1, 2)));
|
||||
}
|
||||
else if (transformMat.Rows == 3 && transformMat.Cols == 3)
|
||||
{
|
||||
double w = px * transformMat.At<double>(2, 0) + py * transformMat.At<double>(2, 1) + transformMat.At<double>(2, 2);
|
||||
if (Math.Abs(w) < 1e-10) return new Point2f(0, 0);
|
||||
return new Point2f(
|
||||
(float)((px * transformMat.At<double>(0, 0) + py * transformMat.At<double>(0, 1) + transformMat.At<double>(0, 2)) / w),
|
||||
(float)((px * transformMat.At<double>(1, 0) + py * transformMat.At<double>(1, 1) + transformMat.At<double>(1, 2)) / w));
|
||||
}
|
||||
return new Point2f(0, 0);
|
||||
}
|
||||
|
||||
// 输出到变量
|
||||
// 输出变量名
|
||||
if (!item.StringParams.TryGetValue("OutputVar", out var outName) || string.IsNullOrEmpty(outName))
|
||||
outName = "WorldPos";
|
||||
|
||||
object resultValue = null;
|
||||
|
||||
switch (variable.VarType)
|
||||
{
|
||||
item.StringParams["OutputVar"] = "WorldPos";
|
||||
case "Pos":
|
||||
if (variable.RawValue is Pos pos)
|
||||
{
|
||||
var tp = TransformPoint(pos.X, pos.Y);
|
||||
resultValue = new Pos(Math.Round(tp.X, 3), Math.Round(tp.Y, 3), pos.Z, pos.Angle);
|
||||
}
|
||||
break;
|
||||
|
||||
case "Line":
|
||||
if (variable.RawValue is Line line)
|
||||
{
|
||||
var f = TransformPoint(line.From.X, line.From.Y);
|
||||
var t = TransformPoint(line.To.X, line.To.Y);
|
||||
resultValue = new Line(
|
||||
new Pos(Math.Round(f.X, 3), Math.Round(f.Y, 3), 0, 0),
|
||||
new Pos(Math.Round(t.X, 3), Math.Round(t.Y, 3), 0, 0));
|
||||
}
|
||||
break;
|
||||
|
||||
case "Circle":
|
||||
if (variable.RawValue is Circle circle)
|
||||
{
|
||||
var c = TransformPoint(circle.Center.X, circle.Center.Y);
|
||||
resultValue = new Circle(
|
||||
new Pos(Math.Round(c.X, 3), Math.Round(c.Y, 3), 0, 0),
|
||||
Math.Round(circle.Radius * scale, 3));
|
||||
}
|
||||
break;
|
||||
|
||||
case "Rect":
|
||||
if (variable.RawValue is Rect rect)
|
||||
{
|
||||
var cnt = TransformPoint(rect.Center.X, rect.Center.Y);
|
||||
resultValue = new Rect(
|
||||
new Pos(Math.Round(cnt.X, 3), Math.Round(cnt.Y, 3), 0, rect.Center.Angle),
|
||||
Math.Round(rect.Width * scale, 3),
|
||||
Math.Round(rect.Height * scale, 3));
|
||||
}
|
||||
break;
|
||||
|
||||
case "Double":
|
||||
if (variable.RawValue is double dval)
|
||||
{
|
||||
resultValue = Math.Round(dval * scale, 3);
|
||||
}
|
||||
break;
|
||||
|
||||
case "Barcode":
|
||||
// Barcode 不转换,直接复制
|
||||
resultValue = variable.RawValue;
|
||||
break;
|
||||
|
||||
default:
|
||||
item.Flow.FailMessage = $"不支持的变量类型: {variable.VarType}"; return false;
|
||||
}
|
||||
|
||||
if (resultValue == null) { item.Flow.FailMessage = "变量值处理失败"; return false; }
|
||||
|
||||
var outVar = func.Params.Variables.FirstOrDefault(v => v.Name == outName);
|
||||
if (outVar == null)
|
||||
{
|
||||
outVar = new LocalVariableItem(outName, "Pos", new Pos());
|
||||
outVar = new LocalVariableItem(outName, variable.VarType, resultValue);
|
||||
System.Windows.Application.Current.Dispatcher.Invoke(() => func.Params.Variables.Add(outVar));
|
||||
}
|
||||
outVar.RawValue = new Pos(wx, wy, 0, 0);
|
||||
else
|
||||
{
|
||||
outVar.RawValue = resultValue;
|
||||
}
|
||||
|
||||
item.Flow.Done = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,6 +10,7 @@ using PLCSharp.VVMs.Vision.VisionFlowHandler.Access;
|
||||
using PLCSharp.VVMs.Vision.VisionFlowHandler.Algorithm;
|
||||
using PLCSharp.VVMs.Vision.VisionFlowHandler.Processing;
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.ObjectModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
@ -263,7 +264,13 @@ namespace PLCSharp.VVMs.Vision
|
||||
case 0:
|
||||
index = 0;
|
||||
flow.Step++;
|
||||
System.Windows.Application.Current.Dispatcher.Invoke(() =>
|
||||
{
|
||||
DrawCommands.Clear();
|
||||
EditImageEdit?.Remove("DrawOverlay");
|
||||
GlobalModel.GetImageControl(ControlName)?.Remove("DrawOverlay");
|
||||
|
||||
});
|
||||
break;
|
||||
case 1:
|
||||
if (VisionFlows.Count > index)
|
||||
@ -376,6 +383,7 @@ namespace PLCSharp.VVMs.Vision
|
||||
[VisionFlowType.SIFT匹配] = new SiftMatchHandler(),
|
||||
[VisionFlowType.矩阵生成] = new MatrixGenHandler(),
|
||||
[VisionFlowType.点到点距离] = new PointToPointDistanceHandler(),
|
||||
[VisionFlowType.点到线距离] = new PointToLineDistanceHandler(),
|
||||
[VisionFlowType.卡尺找圆] = new CaliperFindCircleHandler(),
|
||||
[VisionFlowType.卡尺找旋转矩形] = new CaliperFindRectHandler(),
|
||||
[VisionFlowType.清除绘制] = new ClearDrawHandler(),
|
||||
|
||||
@ -97,6 +97,9 @@
|
||||
[FlowCategory("算法")]
|
||||
点到点距离 = 41,
|
||||
|
||||
[FlowCategory("算法")]
|
||||
点到线距离 = 45,
|
||||
|
||||
[FlowCategory("算法")]
|
||||
SIFT匹配 = 42,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user