mirror of
https://github.com/eggplantlwj/VisionEdit.git
synced 2026-04-02 23:36:36 +08:00
增加查找线工具
This commit is contained in:
106
FindCircle/FindCircle.cs
Normal file
106
FindCircle/FindCircle.cs
Normal file
@@ -0,0 +1,106 @@
|
||||
using System;
|
||||
using HalconDotNet;
|
||||
using static DataStruct.DataStruct;
|
||||
|
||||
namespace FindCircle
|
||||
{
|
||||
[Serializable]
|
||||
public class FindClrcle
|
||||
{
|
||||
/// <summary>
|
||||
/// 输入位姿
|
||||
/// </summary>
|
||||
internal PosXYU inputPose = new PosXYU();
|
||||
/// <summary>
|
||||
/// 期望圆圆心行坐标
|
||||
/// </summary>
|
||||
internal HTuple expectCircleRow = 300;
|
||||
/// <summary>
|
||||
/// 期望圆圆心列坐标
|
||||
/// </summary>
|
||||
internal HTuple expectCircleCol = 300;
|
||||
/// <summary>
|
||||
/// 期望圆半径
|
||||
/// </summary>
|
||||
internal HTuple expectCircleRadius = 200;
|
||||
/// <summary>
|
||||
/// 查找到圆的圆心行坐标
|
||||
/// </summary>
|
||||
private double _resultCircleRow = 0;
|
||||
internal double ResultCircleRow
|
||||
{
|
||||
get
|
||||
{
|
||||
return Math.Round(_resultCircleRow, 3);
|
||||
}
|
||||
set { _resultCircleRow = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 查找到的圆的圆心列坐标
|
||||
/// </summary>
|
||||
private double _resultCircleCol = 0;
|
||||
internal double ResultCircleCol
|
||||
{
|
||||
get
|
||||
{
|
||||
return Math.Round(_resultCircleCol, 3);
|
||||
}
|
||||
set { _resultCircleCol = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// 查找到的圆的半径
|
||||
/// </summary>
|
||||
private double resultCircleRadius = 0;
|
||||
internal double ResultCircleRadius
|
||||
{
|
||||
get
|
||||
{
|
||||
return Math.Round(resultCircleRadius, 3);
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
/// 起始角度
|
||||
/// </summary>
|
||||
internal double startAngle = 10;
|
||||
/// <summary>
|
||||
/// 结束角度
|
||||
/// </summary>
|
||||
internal double endAngle = 360;
|
||||
/// <summary>
|
||||
/// 运行工具时是否刷新输入图像
|
||||
/// </summary>
|
||||
internal bool updateImage = false;
|
||||
/// <summary>
|
||||
/// 圆环径向长度
|
||||
/// </summary>
|
||||
internal double ringRadiusLength = 80;
|
||||
/// <summary>
|
||||
/// 边阈值
|
||||
/// </summary>
|
||||
internal int threshold = 30;
|
||||
/// <summary>
|
||||
/// 卡尺
|
||||
/// </summary>
|
||||
internal HObject contours;
|
||||
/// <summary>
|
||||
/// 找边极性,从明到暗或从暗到明
|
||||
/// </summary>
|
||||
internal string polarity = "negative";
|
||||
/// <summary>
|
||||
/// 卡尺数量
|
||||
/// </summary>
|
||||
internal int cliperNum = 20;
|
||||
/// <summary>
|
||||
/// 输入图像
|
||||
/// </summary>
|
||||
internal HObject inputImage;
|
||||
/// <summary>
|
||||
/// 新的跟随姿态变化后的预期圆信息
|
||||
/// </summary>
|
||||
HTuple newExpecCircleRow = new HTuple(200), newExpectCircleCol = new HTuple(200), newExpectCircleRadius = new HTuple(200);
|
||||
/// <summary>
|
||||
/// 制作模板时的输入位姿
|
||||
/// </summary>
|
||||
internal PosXYU templatePose = new PosXYU();
|
||||
}
|
||||
}
|
||||
80
FindCircle/FindCircleTool.csproj
Normal file
80
FindCircle/FindCircleTool.csproj
Normal file
@@ -0,0 +1,80 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{3D2739DB-5618-49BF-BF5C-5CCCD6A55C64}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FindCircleTool</RootNamespace>
|
||||
<AssemblyName>FindCircleTool</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="halcondotnet">
|
||||
<HintPath>C:\Program Files\MVTec\HALCON-19.05-Progress\bin\dotnet20\halcondotnet.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="FindCircle.cs" />
|
||||
<Compile Include="FormFindCircle.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="FormFindCircle.Designer.cs">
|
||||
<DependentUpon>FormFindCircle.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DataStruct\DataStruct.csproj">
|
||||
<Project>{DF3D4D4C-02DF-4F92-9FD4-0A861F64B0EF}</Project>
|
||||
<Name>DataStruct</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\HalconWindowTest\HalconWindow.csproj">
|
||||
<Project>{4ADC75AE-59C7-4D36-B675-A6CE51B6F5BA}</Project>
|
||||
<Name>HalconWindow</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="FormFindCircle.resx">
|
||||
<DependentUpon>FormFindCircle.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
712
FindCircle/FormFindCircle.Designer.cs
generated
Normal file
712
FindCircle/FormFindCircle.Designer.cs
generated
Normal file
@@ -0,0 +1,712 @@
|
||||
namespace FindCircle
|
||||
{
|
||||
partial class FormFindCircle
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.tbx_threshold = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.btn_subThreshold = new System.Windows.Forms.Button();
|
||||
this.tbx_thresholdSpan = new System.Windows.Forms.TextBox();
|
||||
this.btn_addThreshold = new System.Windows.Forms.Button();
|
||||
this.cbx_polarity = new System.Windows.Forms.ComboBox();
|
||||
this.btn_switchPolarity = new System.Windows.Forms.Button();
|
||||
this.tbx_cliperNum = new System.Windows.Forms.TextBox();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.btn_subCliperNum = new System.Windows.Forms.Button();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.tbx_cliperNumSpan = new System.Windows.Forms.TextBox();
|
||||
this.btn_addCliperNum = new System.Windows.Forms.Button();
|
||||
this.tbx_ringRadiusLength = new System.Windows.Forms.TextBox();
|
||||
this.tbx_endAngle = new System.Windows.Forms.TextBox();
|
||||
this.tbx_expectCircelRow = new System.Windows.Forms.TextBox();
|
||||
this.tbx_expectCircleCol = new System.Windows.Forms.TextBox();
|
||||
this.tbx_expectCircleradius = new System.Windows.Forms.TextBox();
|
||||
this.tbx_startAngle = new System.Windows.Forms.TextBox();
|
||||
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
||||
this.tbx_resultCircleRow = new System.Windows.Forms.TextBox();
|
||||
this.tbx_resultCircleCol = new System.Windows.Forms.TextBox();
|
||||
this.tbx_resultCircleRadius = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.btn_subExpectCircleEndAngle = new System.Windows.Forms.Button();
|
||||
this.tbx_endAngleSpan = new System.Windows.Forms.TextBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.btn_addExpectCircleEndAngle = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.btn_subExpectCircleStartAngle = new System.Windows.Forms.Button();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.tbx_startAngleSpan = new System.Windows.Forms.TextBox();
|
||||
this.btn_addExpectCircleStartAngle = new System.Windows.Forms.Button();
|
||||
this.btn_runFindCircleTool = new System.Windows.Forms.Button();
|
||||
this.btn_subExpectRingRadiusLength = new System.Windows.Forms.Button();
|
||||
this.tbx_ringRadiusLengthSpan = new System.Windows.Forms.TextBox();
|
||||
this.btn_moveCliperRegion = new System.Windows.Forms.Button();
|
||||
this.btn_addExpectCircleRingRadiusLength = new System.Windows.Forms.Button();
|
||||
this.btn_subExpectCircleRadius = new System.Windows.Forms.Button();
|
||||
this.tbx_expectCircleRadiusSapn = new System.Windows.Forms.TextBox();
|
||||
this.btn_addExpectCirlceRadius = new System.Windows.Forms.Button();
|
||||
this.btn_addExpectCircleRow = new System.Windows.Forms.Button();
|
||||
this.btn_subExpectCircleCol = new System.Windows.Forms.Button();
|
||||
this.tbx_expectCircelRowSpan = new System.Windows.Forms.TextBox();
|
||||
this.tbx_expectCircleColSpan = new System.Windows.Forms.TextBox();
|
||||
this.btn_subExpectCircleRow = new System.Windows.Forms.Button();
|
||||
this.btn_addExpectCircleCol = new System.Windows.Forms.Button();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.groupBox2.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// tbx_threshold
|
||||
//
|
||||
this.tbx_threshold.Location = new System.Drawing.Point(545, 195);
|
||||
this.tbx_threshold.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_threshold.Name = "tbx_threshold";
|
||||
this.tbx_threshold.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_threshold.TabIndex = 213;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(484, 198);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(41, 12);
|
||||
this.label12.TabIndex = 214;
|
||||
this.label12.Text = "阈值:";
|
||||
//
|
||||
// btn_subThreshold
|
||||
//
|
||||
this.btn_subThreshold.Location = new System.Drawing.Point(649, 194);
|
||||
this.btn_subThreshold.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subThreshold.Name = "btn_subThreshold";
|
||||
this.btn_subThreshold.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subThreshold.TabIndex = 217;
|
||||
this.btn_subThreshold.Text = "-";
|
||||
this.btn_subThreshold.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_thresholdSpan
|
||||
//
|
||||
this.tbx_thresholdSpan.Location = new System.Drawing.Point(681, 195);
|
||||
this.tbx_thresholdSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_thresholdSpan.Name = "tbx_thresholdSpan";
|
||||
this.tbx_thresholdSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_thresholdSpan.TabIndex = 216;
|
||||
this.tbx_thresholdSpan.Text = "10";
|
||||
//
|
||||
// btn_addThreshold
|
||||
//
|
||||
this.btn_addThreshold.Location = new System.Drawing.Point(719, 194);
|
||||
this.btn_addThreshold.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addThreshold.Name = "btn_addThreshold";
|
||||
this.btn_addThreshold.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addThreshold.TabIndex = 215;
|
||||
this.btn_addThreshold.Text = "+";
|
||||
this.btn_addThreshold.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// cbx_polarity
|
||||
//
|
||||
this.cbx_polarity.FormattingEnabled = true;
|
||||
this.cbx_polarity.Items.AddRange(new object[] {
|
||||
"从明到暗",
|
||||
"从暗到明"});
|
||||
this.cbx_polarity.Location = new System.Drawing.Point(545, 287);
|
||||
this.cbx_polarity.Name = "cbx_polarity";
|
||||
this.cbx_polarity.Size = new System.Drawing.Size(71, 20);
|
||||
this.cbx_polarity.TabIndex = 212;
|
||||
this.cbx_polarity.Text = "从明到暗";
|
||||
//
|
||||
// btn_switchPolarity
|
||||
//
|
||||
this.btn_switchPolarity.Location = new System.Drawing.Point(649, 287);
|
||||
this.btn_switchPolarity.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_switchPolarity.Name = "btn_switchPolarity";
|
||||
this.btn_switchPolarity.Size = new System.Drawing.Size(99, 25);
|
||||
this.btn_switchPolarity.TabIndex = 211;
|
||||
this.btn_switchPolarity.Text = "切换";
|
||||
this.btn_switchPolarity.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_cliperNum
|
||||
//
|
||||
this.tbx_cliperNum.Location = new System.Drawing.Point(545, 257);
|
||||
this.tbx_cliperNum.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_cliperNum.Name = "tbx_cliperNum";
|
||||
this.tbx_cliperNum.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_cliperNum.TabIndex = 205;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(484, 291);
|
||||
this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(41, 12);
|
||||
this.label8.TabIndex = 210;
|
||||
this.label8.Text = "极性:";
|
||||
//
|
||||
// btn_subCliperNum
|
||||
//
|
||||
this.btn_subCliperNum.Location = new System.Drawing.Point(649, 256);
|
||||
this.btn_subCliperNum.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subCliperNum.Name = "btn_subCliperNum";
|
||||
this.btn_subCliperNum.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subCliperNum.TabIndex = 209;
|
||||
this.btn_subCliperNum.Text = "-";
|
||||
this.btn_subCliperNum.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(484, 259);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(65, 12);
|
||||
this.label11.TabIndex = 206;
|
||||
this.label11.Text = "卡尺数量:";
|
||||
//
|
||||
// tbx_cliperNumSpan
|
||||
//
|
||||
this.tbx_cliperNumSpan.Location = new System.Drawing.Point(681, 257);
|
||||
this.tbx_cliperNumSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_cliperNumSpan.Name = "tbx_cliperNumSpan";
|
||||
this.tbx_cliperNumSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_cliperNumSpan.TabIndex = 208;
|
||||
this.tbx_cliperNumSpan.Text = "10";
|
||||
//
|
||||
// btn_addCliperNum
|
||||
//
|
||||
this.btn_addCliperNum.Location = new System.Drawing.Point(719, 256);
|
||||
this.btn_addCliperNum.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addCliperNum.Name = "btn_addCliperNum";
|
||||
this.btn_addCliperNum.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addCliperNum.TabIndex = 207;
|
||||
this.btn_addCliperNum.Text = "+";
|
||||
this.btn_addCliperNum.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_ringRadiusLength
|
||||
//
|
||||
this.tbx_ringRadiusLength.Location = new System.Drawing.Point(545, 226);
|
||||
this.tbx_ringRadiusLength.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_ringRadiusLength.Name = "tbx_ringRadiusLength";
|
||||
this.tbx_ringRadiusLength.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_ringRadiusLength.TabIndex = 180;
|
||||
//
|
||||
// tbx_endAngle
|
||||
//
|
||||
this.tbx_endAngle.Location = new System.Drawing.Point(545, 153);
|
||||
this.tbx_endAngle.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_endAngle.Name = "tbx_endAngle";
|
||||
this.tbx_endAngle.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_endAngle.TabIndex = 199;
|
||||
//
|
||||
// tbx_expectCircelRow
|
||||
//
|
||||
this.tbx_expectCircelRow.Location = new System.Drawing.Point(545, 23);
|
||||
this.tbx_expectCircelRow.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircelRow.Name = "tbx_expectCircelRow";
|
||||
this.tbx_expectCircelRow.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_expectCircelRow.TabIndex = 174;
|
||||
//
|
||||
// tbx_expectCircleCol
|
||||
//
|
||||
this.tbx_expectCircleCol.Location = new System.Drawing.Point(545, 56);
|
||||
this.tbx_expectCircleCol.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircleCol.Name = "tbx_expectCircleCol";
|
||||
this.tbx_expectCircleCol.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_expectCircleCol.TabIndex = 176;
|
||||
//
|
||||
// tbx_expectCircleradius
|
||||
//
|
||||
this.tbx_expectCircleradius.Location = new System.Drawing.Point(545, 88);
|
||||
this.tbx_expectCircleradius.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircleradius.Name = "tbx_expectCircleradius";
|
||||
this.tbx_expectCircleradius.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_expectCircleradius.TabIndex = 178;
|
||||
//
|
||||
// tbx_startAngle
|
||||
//
|
||||
this.tbx_startAngle.Location = new System.Drawing.Point(545, 121);
|
||||
this.tbx_startAngle.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_startAngle.Name = "tbx_startAngle";
|
||||
this.tbx_startAngle.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_startAngle.TabIndex = 182;
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.tbx_resultCircleRow);
|
||||
this.groupBox2.Controls.Add(this.tbx_resultCircleCol);
|
||||
this.groupBox2.Controls.Add(this.tbx_resultCircleRadius);
|
||||
this.groupBox2.Controls.Add(this.label7);
|
||||
this.groupBox2.Controls.Add(this.label10);
|
||||
this.groupBox2.Controls.Add(this.label9);
|
||||
this.groupBox2.Location = new System.Drawing.Point(774, 22);
|
||||
this.groupBox2.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.groupBox2.Size = new System.Drawing.Size(201, 135);
|
||||
this.groupBox2.TabIndex = 204;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "结果圆";
|
||||
//
|
||||
// tbx_resultCircleRow
|
||||
//
|
||||
this.tbx_resultCircleRow.Location = new System.Drawing.Point(91, 28);
|
||||
this.tbx_resultCircleRow.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_resultCircleRow.Name = "tbx_resultCircleRow";
|
||||
this.tbx_resultCircleRow.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_resultCircleRow.TabIndex = 102;
|
||||
//
|
||||
// tbx_resultCircleCol
|
||||
//
|
||||
this.tbx_resultCircleCol.Location = new System.Drawing.Point(91, 61);
|
||||
this.tbx_resultCircleCol.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_resultCircleCol.Name = "tbx_resultCircleCol";
|
||||
this.tbx_resultCircleCol.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_resultCircleCol.TabIndex = 104;
|
||||
//
|
||||
// tbx_resultCircleRadius
|
||||
//
|
||||
this.tbx_resultCircleRadius.Location = new System.Drawing.Point(91, 93);
|
||||
this.tbx_resultCircleRadius.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_resultCircleRadius.Name = "tbx_resultCircleRadius";
|
||||
this.tbx_resultCircleRadius.Size = new System.Drawing.Size(71, 21);
|
||||
this.tbx_resultCircleRadius.TabIndex = 106;
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(39, 31);
|
||||
this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(53, 12);
|
||||
this.label7.TabIndex = 103;
|
||||
this.label7.Text = "行坐标:";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(39, 95);
|
||||
this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(41, 12);
|
||||
this.label10.TabIndex = 107;
|
||||
this.label10.Text = "半径:";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(39, 63);
|
||||
this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(53, 12);
|
||||
this.label9.TabIndex = 105;
|
||||
this.label9.Text = "列坐标:";
|
||||
//
|
||||
// btn_subExpectCircleEndAngle
|
||||
//
|
||||
this.btn_subExpectCircleEndAngle.Location = new System.Drawing.Point(649, 152);
|
||||
this.btn_subExpectCircleEndAngle.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectCircleEndAngle.Name = "btn_subExpectCircleEndAngle";
|
||||
this.btn_subExpectCircleEndAngle.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectCircleEndAngle.TabIndex = 203;
|
||||
this.btn_subExpectCircleEndAngle.Text = "-";
|
||||
this.btn_subExpectCircleEndAngle.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_endAngleSpan
|
||||
//
|
||||
this.tbx_endAngleSpan.Location = new System.Drawing.Point(681, 153);
|
||||
this.tbx_endAngleSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_endAngleSpan.Name = "tbx_endAngleSpan";
|
||||
this.tbx_endAngleSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_endAngleSpan.TabIndex = 202;
|
||||
this.tbx_endAngleSpan.Text = "10";
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(484, 90);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(41, 12);
|
||||
this.label3.TabIndex = 179;
|
||||
this.label3.Text = "半径:";
|
||||
//
|
||||
// btn_addExpectCircleEndAngle
|
||||
//
|
||||
this.btn_addExpectCircleEndAngle.Location = new System.Drawing.Point(719, 152);
|
||||
this.btn_addExpectCircleEndAngle.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCircleEndAngle.Name = "btn_addExpectCircleEndAngle";
|
||||
this.btn_addExpectCircleEndAngle.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCircleEndAngle.TabIndex = 201;
|
||||
this.btn_addExpectCircleEndAngle.Text = "+";
|
||||
this.btn_addExpectCircleEndAngle.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(484, 58);
|
||||
this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(53, 12);
|
||||
this.label2.TabIndex = 177;
|
||||
this.label2.Text = "列坐标:";
|
||||
//
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(484, 229);
|
||||
this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(65, 12);
|
||||
this.label4.TabIndex = 181;
|
||||
this.label4.Text = "圆环径长:";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(484, 155);
|
||||
this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(65, 12);
|
||||
this.label6.TabIndex = 200;
|
||||
this.label6.Text = "结束角度:";
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(484, 26);
|
||||
this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(53, 12);
|
||||
this.label1.TabIndex = 175;
|
||||
this.label1.Text = "行坐标:";
|
||||
//
|
||||
// btn_subExpectCircleStartAngle
|
||||
//
|
||||
this.btn_subExpectCircleStartAngle.Location = new System.Drawing.Point(649, 120);
|
||||
this.btn_subExpectCircleStartAngle.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectCircleStartAngle.Name = "btn_subExpectCircleStartAngle";
|
||||
this.btn_subExpectCircleStartAngle.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectCircleStartAngle.TabIndex = 198;
|
||||
this.btn_subExpectCircleStartAngle.Text = "-";
|
||||
this.btn_subExpectCircleStartAngle.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(484, 123);
|
||||
this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(65, 12);
|
||||
this.label5.TabIndex = 183;
|
||||
this.label5.Text = "起始角度:";
|
||||
//
|
||||
// tbx_startAngleSpan
|
||||
//
|
||||
this.tbx_startAngleSpan.Location = new System.Drawing.Point(681, 121);
|
||||
this.tbx_startAngleSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_startAngleSpan.Name = "tbx_startAngleSpan";
|
||||
this.tbx_startAngleSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_startAngleSpan.TabIndex = 197;
|
||||
this.tbx_startAngleSpan.Text = "10";
|
||||
//
|
||||
// btn_addExpectCircleStartAngle
|
||||
//
|
||||
this.btn_addExpectCircleStartAngle.Location = new System.Drawing.Point(719, 120);
|
||||
this.btn_addExpectCircleStartAngle.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCircleStartAngle.Name = "btn_addExpectCircleStartAngle";
|
||||
this.btn_addExpectCircleStartAngle.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCircleStartAngle.TabIndex = 196;
|
||||
this.btn_addExpectCircleStartAngle.Text = "+";
|
||||
this.btn_addExpectCircleStartAngle.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_runFindCircleTool
|
||||
//
|
||||
this.btn_runFindCircleTool.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btn_runFindCircleTool.Location = new System.Drawing.Point(877, 321);
|
||||
this.btn_runFindCircleTool.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_runFindCircleTool.Name = "btn_runFindCircleTool";
|
||||
this.btn_runFindCircleTool.Size = new System.Drawing.Size(98, 45);
|
||||
this.btn_runFindCircleTool.TabIndex = 173;
|
||||
this.btn_runFindCircleTool.Text = "运行";
|
||||
this.btn_runFindCircleTool.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_subExpectRingRadiusLength
|
||||
//
|
||||
this.btn_subExpectRingRadiusLength.Location = new System.Drawing.Point(649, 225);
|
||||
this.btn_subExpectRingRadiusLength.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectRingRadiusLength.Name = "btn_subExpectRingRadiusLength";
|
||||
this.btn_subExpectRingRadiusLength.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectRingRadiusLength.TabIndex = 195;
|
||||
this.btn_subExpectRingRadiusLength.Text = "-";
|
||||
this.btn_subExpectRingRadiusLength.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_ringRadiusLengthSpan
|
||||
//
|
||||
this.tbx_ringRadiusLengthSpan.Location = new System.Drawing.Point(681, 226);
|
||||
this.tbx_ringRadiusLengthSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_ringRadiusLengthSpan.Name = "tbx_ringRadiusLengthSpan";
|
||||
this.tbx_ringRadiusLengthSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_ringRadiusLengthSpan.TabIndex = 194;
|
||||
this.tbx_ringRadiusLengthSpan.Text = "10";
|
||||
//
|
||||
// btn_moveCliperRegion
|
||||
//
|
||||
this.btn_moveCliperRegion.Location = new System.Drawing.Point(672, 321);
|
||||
this.btn_moveCliperRegion.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_moveCliperRegion.Name = "btn_moveCliperRegion";
|
||||
this.btn_moveCliperRegion.Size = new System.Drawing.Size(76, 26);
|
||||
this.btn_moveCliperRegion.TabIndex = 172;
|
||||
this.btn_moveCliperRegion.Text = "编辑卡尺";
|
||||
this.btn_moveCliperRegion.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_addExpectCircleRingRadiusLength
|
||||
//
|
||||
this.btn_addExpectCircleRingRadiusLength.Location = new System.Drawing.Point(719, 225);
|
||||
this.btn_addExpectCircleRingRadiusLength.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCircleRingRadiusLength.Name = "btn_addExpectCircleRingRadiusLength";
|
||||
this.btn_addExpectCircleRingRadiusLength.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCircleRingRadiusLength.TabIndex = 193;
|
||||
this.btn_addExpectCircleRingRadiusLength.Text = "+";
|
||||
this.btn_addExpectCircleRingRadiusLength.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_subExpectCircleRadius
|
||||
//
|
||||
this.btn_subExpectCircleRadius.Location = new System.Drawing.Point(649, 87);
|
||||
this.btn_subExpectCircleRadius.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectCircleRadius.Name = "btn_subExpectCircleRadius";
|
||||
this.btn_subExpectCircleRadius.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectCircleRadius.TabIndex = 192;
|
||||
this.btn_subExpectCircleRadius.Text = "-";
|
||||
this.btn_subExpectCircleRadius.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_expectCircleRadiusSapn
|
||||
//
|
||||
this.tbx_expectCircleRadiusSapn.Location = new System.Drawing.Point(681, 88);
|
||||
this.tbx_expectCircleRadiusSapn.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircleRadiusSapn.Name = "tbx_expectCircleRadiusSapn";
|
||||
this.tbx_expectCircleRadiusSapn.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_expectCircleRadiusSapn.TabIndex = 191;
|
||||
this.tbx_expectCircleRadiusSapn.Text = "10";
|
||||
//
|
||||
// btn_addExpectCirlceRadius
|
||||
//
|
||||
this.btn_addExpectCirlceRadius.Location = new System.Drawing.Point(719, 87);
|
||||
this.btn_addExpectCirlceRadius.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCirlceRadius.Name = "btn_addExpectCirlceRadius";
|
||||
this.btn_addExpectCirlceRadius.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCirlceRadius.TabIndex = 190;
|
||||
this.btn_addExpectCirlceRadius.Text = "+";
|
||||
this.btn_addExpectCirlceRadius.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_addExpectCircleRow
|
||||
//
|
||||
this.btn_addExpectCircleRow.Location = new System.Drawing.Point(719, 22);
|
||||
this.btn_addExpectCircleRow.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCircleRow.Name = "btn_addExpectCircleRow";
|
||||
this.btn_addExpectCircleRow.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCircleRow.TabIndex = 184;
|
||||
this.btn_addExpectCircleRow.Text = "+";
|
||||
this.btn_addExpectCircleRow.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_subExpectCircleCol
|
||||
//
|
||||
this.btn_subExpectCircleCol.Location = new System.Drawing.Point(649, 55);
|
||||
this.btn_subExpectCircleCol.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectCircleCol.Name = "btn_subExpectCircleCol";
|
||||
this.btn_subExpectCircleCol.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectCircleCol.TabIndex = 189;
|
||||
this.btn_subExpectCircleCol.Text = "-";
|
||||
this.btn_subExpectCircleCol.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// tbx_expectCircelRowSpan
|
||||
//
|
||||
this.tbx_expectCircelRowSpan.Location = new System.Drawing.Point(681, 23);
|
||||
this.tbx_expectCircelRowSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircelRowSpan.Name = "tbx_expectCircelRowSpan";
|
||||
this.tbx_expectCircelRowSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_expectCircelRowSpan.TabIndex = 185;
|
||||
this.tbx_expectCircelRowSpan.Text = "10";
|
||||
//
|
||||
// tbx_expectCircleColSpan
|
||||
//
|
||||
this.tbx_expectCircleColSpan.Location = new System.Drawing.Point(681, 56);
|
||||
this.tbx_expectCircleColSpan.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbx_expectCircleColSpan.Name = "tbx_expectCircleColSpan";
|
||||
this.tbx_expectCircleColSpan.Size = new System.Drawing.Size(35, 21);
|
||||
this.tbx_expectCircleColSpan.TabIndex = 188;
|
||||
this.tbx_expectCircleColSpan.Text = "10";
|
||||
//
|
||||
// btn_subExpectCircleRow
|
||||
//
|
||||
this.btn_subExpectCircleRow.Location = new System.Drawing.Point(649, 22);
|
||||
this.btn_subExpectCircleRow.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_subExpectCircleRow.Name = "btn_subExpectCircleRow";
|
||||
this.btn_subExpectCircleRow.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_subExpectCircleRow.TabIndex = 186;
|
||||
this.btn_subExpectCircleRow.Text = "-";
|
||||
this.btn_subExpectCircleRow.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btn_addExpectCircleCol
|
||||
//
|
||||
this.btn_addExpectCircleCol.Location = new System.Drawing.Point(719, 55);
|
||||
this.btn_addExpectCircleCol.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
|
||||
this.btn_addExpectCircleCol.Name = "btn_addExpectCircleCol";
|
||||
this.btn_addExpectCircleCol.Size = new System.Drawing.Size(29, 25);
|
||||
this.btn_addExpectCircleCol.TabIndex = 187;
|
||||
this.btn_addExpectCircleCol.Text = "+";
|
||||
this.btn_addExpectCircleCol.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.Location = new System.Drawing.Point(12, 12);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(453, 405);
|
||||
this.panel1.TabIndex = 218;
|
||||
//
|
||||
// FormFindCircle
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(1042, 429);
|
||||
this.Controls.Add(this.panel1);
|
||||
this.Controls.Add(this.tbx_threshold);
|
||||
this.Controls.Add(this.label12);
|
||||
this.Controls.Add(this.btn_subThreshold);
|
||||
this.Controls.Add(this.tbx_thresholdSpan);
|
||||
this.Controls.Add(this.btn_addThreshold);
|
||||
this.Controls.Add(this.cbx_polarity);
|
||||
this.Controls.Add(this.btn_switchPolarity);
|
||||
this.Controls.Add(this.tbx_cliperNum);
|
||||
this.Controls.Add(this.label8);
|
||||
this.Controls.Add(this.btn_subCliperNum);
|
||||
this.Controls.Add(this.label11);
|
||||
this.Controls.Add(this.tbx_cliperNumSpan);
|
||||
this.Controls.Add(this.btn_addCliperNum);
|
||||
this.Controls.Add(this.tbx_ringRadiusLength);
|
||||
this.Controls.Add(this.tbx_endAngle);
|
||||
this.Controls.Add(this.tbx_expectCircelRow);
|
||||
this.Controls.Add(this.tbx_expectCircleCol);
|
||||
this.Controls.Add(this.tbx_expectCircleradius);
|
||||
this.Controls.Add(this.tbx_startAngle);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.btn_subExpectCircleEndAngle);
|
||||
this.Controls.Add(this.tbx_endAngleSpan);
|
||||
this.Controls.Add(this.label3);
|
||||
this.Controls.Add(this.btn_addExpectCircleEndAngle);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label4);
|
||||
this.Controls.Add(this.label6);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.btn_subExpectCircleStartAngle);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.tbx_startAngleSpan);
|
||||
this.Controls.Add(this.btn_addExpectCircleStartAngle);
|
||||
this.Controls.Add(this.btn_runFindCircleTool);
|
||||
this.Controls.Add(this.btn_subExpectRingRadiusLength);
|
||||
this.Controls.Add(this.tbx_ringRadiusLengthSpan);
|
||||
this.Controls.Add(this.btn_moveCliperRegion);
|
||||
this.Controls.Add(this.btn_addExpectCircleRingRadiusLength);
|
||||
this.Controls.Add(this.btn_subExpectCircleRadius);
|
||||
this.Controls.Add(this.tbx_expectCircleRadiusSapn);
|
||||
this.Controls.Add(this.btn_addExpectCirlceRadius);
|
||||
this.Controls.Add(this.btn_addExpectCircleRow);
|
||||
this.Controls.Add(this.btn_subExpectCircleCol);
|
||||
this.Controls.Add(this.tbx_expectCircelRowSpan);
|
||||
this.Controls.Add(this.tbx_expectCircleColSpan);
|
||||
this.Controls.Add(this.btn_subExpectCircleRow);
|
||||
this.Controls.Add(this.btn_addExpectCircleCol);
|
||||
this.Name = "FormFindCircle";
|
||||
this.Text = "FormFindCircle";
|
||||
this.Load += new System.EventHandler(this.FormFindCircle_Load);
|
||||
this.groupBox2.ResumeLayout(false);
|
||||
this.groupBox2.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
public System.Windows.Forms.TextBox tbx_threshold;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Button btn_subThreshold;
|
||||
private System.Windows.Forms.TextBox tbx_thresholdSpan;
|
||||
private System.Windows.Forms.Button btn_addThreshold;
|
||||
public System.Windows.Forms.ComboBox cbx_polarity;
|
||||
private System.Windows.Forms.Button btn_switchPolarity;
|
||||
public System.Windows.Forms.TextBox tbx_cliperNum;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Button btn_subCliperNum;
|
||||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.TextBox tbx_cliperNumSpan;
|
||||
private System.Windows.Forms.Button btn_addCliperNum;
|
||||
public System.Windows.Forms.TextBox tbx_ringRadiusLength;
|
||||
public System.Windows.Forms.TextBox tbx_endAngle;
|
||||
public System.Windows.Forms.TextBox tbx_expectCircelRow;
|
||||
public System.Windows.Forms.TextBox tbx_expectCircleCol;
|
||||
public System.Windows.Forms.TextBox tbx_expectCircleradius;
|
||||
public System.Windows.Forms.TextBox tbx_startAngle;
|
||||
private System.Windows.Forms.GroupBox groupBox2;
|
||||
public System.Windows.Forms.TextBox tbx_resultCircleRow;
|
||||
public System.Windows.Forms.TextBox tbx_resultCircleCol;
|
||||
public System.Windows.Forms.TextBox tbx_resultCircleRadius;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.Button btn_subExpectCircleEndAngle;
|
||||
private System.Windows.Forms.TextBox tbx_endAngleSpan;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button btn_addExpectCircleEndAngle;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.Button btn_subExpectCircleStartAngle;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox tbx_startAngleSpan;
|
||||
private System.Windows.Forms.Button btn_addExpectCircleStartAngle;
|
||||
public System.Windows.Forms.Button btn_runFindCircleTool;
|
||||
private System.Windows.Forms.Button btn_subExpectRingRadiusLength;
|
||||
private System.Windows.Forms.TextBox tbx_ringRadiusLengthSpan;
|
||||
private System.Windows.Forms.Button btn_moveCliperRegion;
|
||||
private System.Windows.Forms.Button btn_addExpectCircleRingRadiusLength;
|
||||
private System.Windows.Forms.Button btn_subExpectCircleRadius;
|
||||
private System.Windows.Forms.TextBox tbx_expectCircleRadiusSapn;
|
||||
private System.Windows.Forms.Button btn_addExpectCirlceRadius;
|
||||
private System.Windows.Forms.Button btn_addExpectCircleRow;
|
||||
private System.Windows.Forms.Button btn_subExpectCircleCol;
|
||||
private System.Windows.Forms.TextBox tbx_expectCircelRowSpan;
|
||||
private System.Windows.Forms.TextBox tbx_expectCircleColSpan;
|
||||
private System.Windows.Forms.Button btn_subExpectCircleRow;
|
||||
private System.Windows.Forms.Button btn_addExpectCircleCol;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
}
|
||||
}
|
||||
22
FindCircle/FormFindCircle.cs
Normal file
22
FindCircle/FormFindCircle.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
using HalconWindow.HalconWindow;
|
||||
|
||||
namespace FindCircle
|
||||
{
|
||||
public partial class FormFindCircle : Form
|
||||
{
|
||||
FindClrcle myFindCircle = null;
|
||||
public FormFindCircle(object findCircleClass)
|
||||
{
|
||||
InitializeComponent();
|
||||
myFindCircle = (FindClrcle)findCircleClass;
|
||||
}
|
||||
|
||||
private void FormFindCircle_Load(object sender, EventArgs e)
|
||||
{
|
||||
HWindow_Final myWindow = new HWindow_Final();
|
||||
this.panel1.Controls.Add(myWindow);
|
||||
}
|
||||
}
|
||||
}
|
||||
120
FindCircle/FormFindCircle.resx
Normal file
120
FindCircle/FormFindCircle.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
BIN
FindCircle/Properties/AssemblyInfo.cs
Normal file
BIN
FindCircle/Properties/AssemblyInfo.cs
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/DataStruct.dll
Normal file
BIN
FindCircle/bin/Debug/DataStruct.dll
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/DataStruct.pdb
Normal file
BIN
FindCircle/bin/Debug/DataStruct.pdb
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/FindCircleTool.dll
Normal file
BIN
FindCircle/bin/Debug/FindCircleTool.dll
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/FindCircleTool.pdb
Normal file
BIN
FindCircle/bin/Debug/FindCircleTool.pdb
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/HalconWindow.exe
Normal file
BIN
FindCircle/bin/Debug/HalconWindow.exe
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/HalconWindow.pdb
Normal file
BIN
FindCircle/bin/Debug/HalconWindow.pdb
Normal file
Binary file not shown.
BIN
FindCircle/bin/Debug/halcondotnet.dll
Normal file
BIN
FindCircle/bin/Debug/halcondotnet.dll
Normal file
Binary file not shown.
61480
FindCircle/bin/Debug/halcondotnet.xml
Normal file
61480
FindCircle/bin/Debug/halcondotnet.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
BIN
FindCircle/obj/Debug/FindCircle.FormFindCircle.resources
Normal file
BIN
FindCircle/obj/Debug/FindCircle.FormFindCircle.resources
Normal file
Binary file not shown.
13
FindCircle/obj/Debug/FindCircle.csproj.FileListAbsolute.txt
Normal file
13
FindCircle/obj/Debug/FindCircle.csproj.FileListAbsolute.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\halcondotnet.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\HalconWindow.exe
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\HalconWindow.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\halcondotnet.xml
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircle.csprojResolveAssemblyReference.cache
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircle.FormFindCircle.resources
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircle.csproj.GenerateResource.Cache
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\FindCircleTool.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\FindCircleTool.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\DataStruct.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\DataStruct.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.pdb
|
||||
BIN
FindCircle/obj/Debug/FindCircle.csproj.GenerateResource.Cache
Normal file
BIN
FindCircle/obj/Debug/FindCircle.csproj.GenerateResource.Cache
Normal file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\FindCircleTool.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\FindCircleTool.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\DataStruct.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\halcondotnet.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\HalconWindow.exe
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\DataStruct.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\HalconWindow.pdb
|
||||
F:\VSCode\VisionEditTest\FindCircle\bin\Debug\halcondotnet.xml
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.csprojResolveAssemblyReference.cache
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircle.FormFindCircle.resources
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.csproj.GenerateResource.Cache
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.dll
|
||||
F:\VSCode\VisionEditTest\FindCircle\obj\Debug\FindCircleTool.pdb
|
||||
Binary file not shown.
Binary file not shown.
BIN
FindCircle/obj/Debug/FindCircleTool.dll
Normal file
BIN
FindCircle/obj/Debug/FindCircleTool.dll
Normal file
Binary file not shown.
BIN
FindCircle/obj/Debug/FindCircleTool.pdb
Normal file
BIN
FindCircle/obj/Debug/FindCircleTool.pdb
Normal file
Binary file not shown.
Reference in New Issue
Block a user