气泡测量第三步:魔棒flood fill,灰度阈值连通区域标记,空隙率实时计算

This commit is contained in:
李伟
2026-04-27 13:11:00 +08:00
parent 0c8d8afc51
commit 179a6a6755
3 changed files with 139 additions and 3 deletions
@@ -42,6 +42,7 @@ namespace XplorePlane.Views
"Angle" => "角度",
"FillRate" => "填锡率",
"BgaVoid" => "BGA空隙",
"BubbleVoid" => "气泡空隙",
_ => "点点距"
};
string valueText = args.MeasureType switch
@@ -49,6 +50,7 @@ namespace XplorePlane.Views
"Angle" => $"{args.Distance:F2}°",
"FillRate" => $"{args.Distance:F1}%",
"BgaVoid" => $"{args.Distance:F1}%",
"BubbleVoid" => $"{args.Distance:F1}%",
_ => $"{args.Distance:F2} px"
};
SetStatus($"{typeLabel}: {valueText} | 共 {args.TotalCount} 条测量");