| | |
| | | using LB_VisionProcesses.Alogrithms; |
| | | |
| | | namespace LB_VisionProcesses.Alogrithms.Halcon._2D.HEdgeExtractionTool |
| | | namespace LB_VisionProcesses.Alogrithms.Halcon |
| | | { |
| | | partial class HImageEnhancementToolEdit |
| | | { |
| | |
| | | MainTableLayoutPanel = new TableLayoutPanel(); |
| | | parasTabControl = new TabControl(); |
| | | tabPage1 = new TabPage(); |
| | | tableLayoutPanel1 = new TableLayoutPanel(); |
| | | dataGridViewIE = new DataGridView(); |
| | | tableLayoutPanel4 = new TableLayoutPanel(); |
| | | tableLayoutPanel3 = new TableLayoutPanel(); |
| | | cmbImageEnhancement = new ComboBox(); |
| | | btnAdd = new Button(); |
| | | labelImageEnhancement = new Label(); |
| | | btnDel = new Button(); |
| | | tableLayoutPanel5 = new TableLayoutPanel(); |
| | | labelMaskWidth = new Label(); |
| | | labelMaskHeight = new Label(); |
| | | labelFactor = new Label(); |
| | | txtMaskWidth = new TextBox(); |
| | | txtMaskHeight = new TextBox(); |
| | | txtFactor = new TextBox(); |
| | | tabPage5 = new TabPage(); |
| | | tableLayoutPanel2 = new TableLayoutPanel(); |
| | | cmbTypeRoi = new ComboBox(); |
| | |
| | | label22 = new Label(); |
| | | cmbFixture = new ComboBox(); |
| | | ckbDrawRoi = new CheckBox(); |
| | | tabPage2 = new TabPage(); |
| | | tableLayoutResults = new TableLayoutPanel(); |
| | | dtxtHeight = new TextBox(); |
| | | label9 = new Label(); |
| | | label5 = new Label(); |
| | | label6 = new Label(); |
| | | label7 = new Label(); |
| | | label8 = new Label(); |
| | | dtxtCenterX = new TextBox(); |
| | | dtxtCenterY = new TextBox(); |
| | | dtxtAngle = new TextBox(); |
| | | dtxtWidth = new TextBox(); |
| | | label18 = new Label(); |
| | | dtxtCount = new TextBox(); |
| | | imgTabControl = new TabControl(); |
| | | tabPageInputImage = new TabPage(); |
| | | tabPageRecordImage = new TabPage(); |
| | | pnlRecordImage = new Panel(); |
| | | tableLayoutPanel1 = new TableLayoutPanel(); |
| | | tableLayoutPanel3 = new TableLayoutPanel(); |
| | | label14 = new Label(); |
| | | cmbImageEnhancement = new ComboBox(); |
| | | button1 = new Button(); |
| | | dataGridView1 = new DataGridView(); |
| | | TopToolStrip.SuspendLayout(); |
| | | BtmStatusStrip.SuspendLayout(); |
| | | MainTableLayoutPanel.SuspendLayout(); |
| | | parasTabControl.SuspendLayout(); |
| | | tabPage1.SuspendLayout(); |
| | | tableLayoutPanel1.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)dataGridViewIE).BeginInit(); |
| | | tableLayoutPanel4.SuspendLayout(); |
| | | tableLayoutPanel3.SuspendLayout(); |
| | | tableLayoutPanel5.SuspendLayout(); |
| | | tabPage5.SuspendLayout(); |
| | | tableLayoutPanel2.SuspendLayout(); |
| | | tabPage2.SuspendLayout(); |
| | | tableLayoutResults.SuspendLayout(); |
| | | imgTabControl.SuspendLayout(); |
| | | tabPageInputImage.SuspendLayout(); |
| | | tabPageRecordImage.SuspendLayout(); |
| | | tableLayoutPanel1.SuspendLayout(); |
| | | tableLayoutPanel3.SuspendLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit(); |
| | | SuspendLayout(); |
| | | // |
| | | // pnlInputImage |
| | |
| | | pnlInputImage.Location = new Point(4, 4); |
| | | pnlInputImage.Margin = new Padding(5); |
| | | pnlInputImage.Name = "pnlInputImage"; |
| | | pnlInputImage.Size = new Size(782, 603); |
| | | pnlInputImage.Size = new Size(768, 603); |
| | | pnlInputImage.TabIndex = 44; |
| | | // |
| | | // TopToolStrip |
| | |
| | | btnRun.Name = "btnRun"; |
| | | btnRun.Size = new Size(43, 24); |
| | | btnRun.Text = "运行"; |
| | | btnRun.Click += btnRun_Click; |
| | | // |
| | | // btnLoadImage |
| | | // |
| | |
| | | btnLoadImage.Name = "btnLoadImage"; |
| | | btnLoadImage.Size = new Size(43, 24); |
| | | btnLoadImage.Text = "导图"; |
| | | btnLoadImage.Click += btnLoadImage_Click; |
| | | // |
| | | // btnSaveParas |
| | | // |
| | |
| | | btnSaveParas.Name = "btnSaveParas"; |
| | | btnSaveParas.Size = new Size(43, 24); |
| | | btnSaveParas.Text = "保存"; |
| | | btnSaveParas.Click += btnSaveParas_Click; |
| | | // |
| | | // btnLoadParas |
| | | // |
| | |
| | | // MainTableLayoutPanel |
| | | // |
| | | MainTableLayoutPanel.ColumnCount = 2; |
| | | MainTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 40F)); |
| | | MainTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 60F)); |
| | | MainTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 41F)); |
| | | MainTableLayoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 59F)); |
| | | MainTableLayoutPanel.Controls.Add(parasTabControl, 0, 0); |
| | | MainTableLayoutPanel.Controls.Add(imgTabControl, 1, 0); |
| | | MainTableLayoutPanel.Dock = DockStyle.Fill; |
| | |
| | | // |
| | | parasTabControl.Controls.Add(tabPage1); |
| | | parasTabControl.Controls.Add(tabPage5); |
| | | parasTabControl.Controls.Add(tabPage2); |
| | | parasTabControl.Dock = DockStyle.Fill; |
| | | parasTabControl.Location = new Point(4, 4); |
| | | parasTabControl.Margin = new Padding(4); |
| | | parasTabControl.Name = "parasTabControl"; |
| | | parasTabControl.SelectedIndex = 0; |
| | | parasTabControl.Size = new Size(528, 644); |
| | | parasTabControl.Size = new Size(542, 644); |
| | | parasTabControl.TabIndex = 48; |
| | | // |
| | | // tabPage1 |
| | |
| | | tabPage1.Margin = new Padding(4); |
| | | tabPage1.Name = "tabPage1"; |
| | | tabPage1.Padding = new Padding(4); |
| | | tabPage1.Size = new Size(520, 611); |
| | | tabPage1.Size = new Size(534, 611); |
| | | tabPage1.TabIndex = 0; |
| | | tabPage1.Text = "输入参数"; |
| | | tabPage1.UseVisualStyleBackColor = true; |
| | | // |
| | | // tableLayoutPanel1 |
| | | // |
| | | tableLayoutPanel1.ColumnCount = 1; |
| | | tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Controls.Add(dataGridViewIE, 0, 1); |
| | | tableLayoutPanel1.Controls.Add(tableLayoutPanel4, 0, 0); |
| | | tableLayoutPanel1.Dock = DockStyle.Fill; |
| | | tableLayoutPanel1.Location = new Point(4, 4); |
| | | tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | tableLayoutPanel1.RowCount = 2; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 135F)); |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Size = new Size(526, 603); |
| | | tableLayoutPanel1.TabIndex = 1; |
| | | // |
| | | // dataGridViewIE |
| | | // |
| | | dataGridViewIE.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridViewIE.Dock = DockStyle.Fill; |
| | | dataGridViewIE.Location = new Point(3, 138); |
| | | dataGridViewIE.Name = "dataGridViewIE"; |
| | | dataGridViewIE.RowHeadersWidth = 51; |
| | | dataGridViewIE.Size = new Size(520, 462); |
| | | dataGridViewIE.TabIndex = 2; |
| | | // |
| | | // tableLayoutPanel4 |
| | | // |
| | | tableLayoutPanel4.ColumnCount = 1; |
| | | tableLayoutPanel4.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel4.Controls.Add(tableLayoutPanel3, 0, 0); |
| | | tableLayoutPanel4.Controls.Add(tableLayoutPanel5, 0, 1); |
| | | tableLayoutPanel4.Dock = DockStyle.Fill; |
| | | tableLayoutPanel4.Location = new Point(3, 3); |
| | | tableLayoutPanel4.Name = "tableLayoutPanel4"; |
| | | tableLayoutPanel4.RowCount = 2; |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F)); |
| | | tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel4.Size = new Size(520, 129); |
| | | tableLayoutPanel4.TabIndex = 3; |
| | | // |
| | | // tableLayoutPanel3 |
| | | // |
| | | tableLayoutPanel3.ColumnCount = 4; |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 85F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 172F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel3.Controls.Add(cmbImageEnhancement, 1, 0); |
| | | tableLayoutPanel3.Controls.Add(btnAdd, 2, 0); |
| | | tableLayoutPanel3.Controls.Add(labelImageEnhancement, 0, 0); |
| | | tableLayoutPanel3.Controls.Add(btnDel, 3, 0); |
| | | tableLayoutPanel3.Location = new Point(3, 3); |
| | | tableLayoutPanel3.Name = "tableLayoutPanel3"; |
| | | tableLayoutPanel3.RowCount = 1; |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel3.Size = new Size(514, 38); |
| | | tableLayoutPanel3.TabIndex = 0; |
| | | // |
| | | // cmbImageEnhancement |
| | | // |
| | | cmbImageEnhancement.DropDownStyle = ComboBoxStyle.DropDownList; |
| | | cmbImageEnhancement.FormattingEnabled = true; |
| | | cmbImageEnhancement.ImeMode = ImeMode.Off; |
| | | cmbImageEnhancement.Location = new Point(89, 4); |
| | | cmbImageEnhancement.Margin = new Padding(4); |
| | | cmbImageEnhancement.Name = "cmbImageEnhancement"; |
| | | cmbImageEnhancement.Size = new Size(164, 28); |
| | | cmbImageEnhancement.TabIndex = 14; |
| | | cmbImageEnhancement.SelectedIndexChanged += cmbImageEnhancement_SelectedIndexChanged; |
| | | // |
| | | // btnAdd |
| | | // |
| | | btnAdd.Location = new Point(260, 3); |
| | | btnAdd.Name = "btnAdd"; |
| | | btnAdd.Size = new Size(122, 30); |
| | | btnAdd.TabIndex = 15; |
| | | btnAdd.Text = "添加"; |
| | | btnAdd.UseVisualStyleBackColor = true; |
| | | btnAdd.Click += btnAdd_Click; |
| | | // |
| | | // labelImageEnhancement |
| | | // |
| | | labelImageEnhancement.AutoSize = true; |
| | | labelImageEnhancement.Location = new Point(3, 0); |
| | | labelImageEnhancement.MaximumSize = new Size(0, 33); |
| | | labelImageEnhancement.MinimumSize = new Size(0, 33); |
| | | labelImageEnhancement.Name = "labelImageEnhancement"; |
| | | labelImageEnhancement.Size = new Size(69, 33); |
| | | labelImageEnhancement.TabIndex = 1; |
| | | labelImageEnhancement.Text = "滤波类型"; |
| | | labelImageEnhancement.TextAlign = ContentAlignment.MiddleCenter; |
| | | // |
| | | // btnDel |
| | | // |
| | | btnDel.Location = new Point(388, 3); |
| | | btnDel.Name = "btnDel"; |
| | | btnDel.Size = new Size(123, 32); |
| | | btnDel.TabIndex = 16; |
| | | btnDel.Text = "删除"; |
| | | btnDel.UseVisualStyleBackColor = true; |
| | | btnDel.Click += btnDel_Click; |
| | | // |
| | | // tableLayoutPanel5 |
| | | // |
| | | tableLayoutPanel5.ColumnCount = 4; |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 85F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 172F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 85F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 172F)); |
| | | tableLayoutPanel5.Controls.Add(labelMaskWidth, 0, 0); |
| | | tableLayoutPanel5.Controls.Add(labelMaskHeight, 2, 0); |
| | | tableLayoutPanel5.Controls.Add(labelFactor, 0, 1); |
| | | tableLayoutPanel5.Controls.Add(txtMaskWidth, 1, 0); |
| | | tableLayoutPanel5.Controls.Add(txtMaskHeight, 3, 0); |
| | | tableLayoutPanel5.Controls.Add(txtFactor, 1, 1); |
| | | tableLayoutPanel5.Location = new Point(3, 48); |
| | | tableLayoutPanel5.Name = "tableLayoutPanel5"; |
| | | tableLayoutPanel5.RowCount = 2; |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.Size = new Size(514, 74); |
| | | tableLayoutPanel5.TabIndex = 1; |
| | | // |
| | | // labelMaskWidth |
| | | // |
| | | labelMaskWidth.AutoSize = true; |
| | | labelMaskWidth.Location = new Point(3, 0); |
| | | labelMaskWidth.Name = "labelMaskWidth"; |
| | | labelMaskWidth.Size = new Size(54, 20); |
| | | labelMaskWidth.TabIndex = 0; |
| | | labelMaskWidth.Text = "掩膜宽"; |
| | | // |
| | | // labelMaskHeight |
| | | // |
| | | labelMaskHeight.AutoSize = true; |
| | | labelMaskHeight.Location = new Point(260, 0); |
| | | labelMaskHeight.Name = "labelMaskHeight"; |
| | | labelMaskHeight.Size = new Size(54, 20); |
| | | labelMaskHeight.TabIndex = 1; |
| | | labelMaskHeight.Text = "掩膜高"; |
| | | // |
| | | // labelFactor |
| | | // |
| | | labelFactor.AutoSize = true; |
| | | labelFactor.Location = new Point(3, 37); |
| | | labelFactor.Name = "labelFactor"; |
| | | labelFactor.Size = new Size(69, 20); |
| | | labelFactor.TabIndex = 2; |
| | | labelFactor.Text = "增强因子"; |
| | | // |
| | | // txtMaskWidth |
| | | // |
| | | txtMaskWidth.Location = new Point(88, 3); |
| | | txtMaskWidth.Name = "txtMaskWidth"; |
| | | txtMaskWidth.Size = new Size(166, 27); |
| | | txtMaskWidth.TabIndex = 3; |
| | | // |
| | | // txtMaskHeight |
| | | // |
| | | txtMaskHeight.Location = new Point(345, 3); |
| | | txtMaskHeight.Name = "txtMaskHeight"; |
| | | txtMaskHeight.Size = new Size(166, 27); |
| | | txtMaskHeight.TabIndex = 4; |
| | | // |
| | | // txtFactor |
| | | // |
| | | txtFactor.Location = new Point(88, 40); |
| | | txtFactor.Name = "txtFactor"; |
| | | txtFactor.Size = new Size(166, 27); |
| | | txtFactor.TabIndex = 5; |
| | | // |
| | | // tabPage5 |
| | | // |
| | |
| | | tabPage5.Location = new Point(4, 29); |
| | | tabPage5.Margin = new Padding(4); |
| | | tabPage5.Name = "tabPage5"; |
| | | tabPage5.Size = new Size(520, 611); |
| | | tabPage5.Size = new Size(534, 611); |
| | | tabPage5.TabIndex = 2; |
| | | tabPage5.Text = "运行参数"; |
| | | tabPage5.UseVisualStyleBackColor = true; |
| | |
| | | // |
| | | // cmbTypeRoi |
| | | // |
| | | cmbTypeRoi.Enabled = false; |
| | | cmbTypeRoi.FormattingEnabled = true; |
| | | cmbTypeRoi.Location = new Point(81, 4); |
| | | cmbTypeRoi.Margin = new Padding(4); |
| | | cmbTypeRoi.Name = "cmbTypeRoi"; |
| | | cmbTypeRoi.Size = new Size(154, 28); |
| | | cmbTypeRoi.TabIndex = 1; |
| | | cmbTypeRoi.SelectedIndexChanged += cmbTypeRoi_SelectedIndexChanged; |
| | | // |
| | | // label21 |
| | | // |
| | |
| | | ckbDrawRoi.Size = new Size(18, 17); |
| | | ckbDrawRoi.TabIndex = 2; |
| | | ckbDrawRoi.UseVisualStyleBackColor = true; |
| | | // |
| | | // tabPage2 |
| | | // |
| | | tabPage2.Controls.Add(tableLayoutResults); |
| | | tabPage2.Location = new Point(4, 29); |
| | | tabPage2.Margin = new Padding(4); |
| | | tabPage2.Name = "tabPage2"; |
| | | tabPage2.Padding = new Padding(4); |
| | | tabPage2.Size = new Size(520, 611); |
| | | tabPage2.TabIndex = 1; |
| | | tabPage2.Text = "输出结果"; |
| | | tabPage2.UseVisualStyleBackColor = true; |
| | | // |
| | | // tableLayoutResults |
| | | // |
| | | tableLayoutResults.ColumnCount = 2; |
| | | tableLayoutResults.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 129F)); |
| | | tableLayoutResults.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutResults.Controls.Add(dtxtHeight, 1, 4); |
| | | tableLayoutResults.Controls.Add(label9, 0, 4); |
| | | tableLayoutResults.Controls.Add(label5, 0, 0); |
| | | tableLayoutResults.Controls.Add(label6, 0, 1); |
| | | tableLayoutResults.Controls.Add(label7, 0, 2); |
| | | tableLayoutResults.Controls.Add(label8, 0, 3); |
| | | tableLayoutResults.Controls.Add(dtxtCenterX, 1, 0); |
| | | tableLayoutResults.Controls.Add(dtxtCenterY, 1, 1); |
| | | tableLayoutResults.Controls.Add(dtxtAngle, 1, 2); |
| | | tableLayoutResults.Controls.Add(dtxtWidth, 1, 3); |
| | | tableLayoutResults.Controls.Add(label18, 0, 5); |
| | | tableLayoutResults.Controls.Add(dtxtCount, 1, 5); |
| | | tableLayoutResults.Dock = DockStyle.Fill; |
| | | tableLayoutResults.Location = new Point(4, 4); |
| | | tableLayoutResults.Margin = new Padding(3, 4, 3, 4); |
| | | tableLayoutResults.Name = "tableLayoutResults"; |
| | | tableLayoutResults.RowCount = 10; |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.RowStyles.Add(new RowStyle(SizeType.Percent, 10F)); |
| | | tableLayoutResults.Size = new Size(512, 603); |
| | | tableLayoutResults.TabIndex = 1; |
| | | // |
| | | // dtxtHeight |
| | | // |
| | | dtxtHeight.Dock = DockStyle.Fill; |
| | | dtxtHeight.Location = new Point(132, 244); |
| | | dtxtHeight.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtHeight.Name = "dtxtHeight"; |
| | | dtxtHeight.ReadOnly = true; |
| | | dtxtHeight.Size = new Size(377, 27); |
| | | dtxtHeight.TabIndex = 9; |
| | | // |
| | | // label9 |
| | | // |
| | | label9.AutoSize = true; |
| | | label9.Dock = DockStyle.Fill; |
| | | label9.Location = new Point(3, 240); |
| | | label9.MaximumSize = new Size(0, 33); |
| | | label9.MinimumSize = new Size(0, 33); |
| | | label9.Name = "label9"; |
| | | label9.Size = new Size(123, 33); |
| | | label9.TabIndex = 3; |
| | | label9.Text = "高度"; |
| | | label9.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // label5 |
| | | // |
| | | label5.AutoSize = true; |
| | | label5.Dock = DockStyle.Fill; |
| | | label5.Location = new Point(3, 0); |
| | | label5.MaximumSize = new Size(0, 33); |
| | | label5.MinimumSize = new Size(0, 33); |
| | | label5.Name = "label5"; |
| | | label5.Size = new Size(123, 33); |
| | | label5.TabIndex = 0; |
| | | label5.Text = "X"; |
| | | label5.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // label6 |
| | | // |
| | | label6.AutoSize = true; |
| | | label6.Dock = DockStyle.Fill; |
| | | label6.Location = new Point(3, 60); |
| | | label6.MaximumSize = new Size(0, 33); |
| | | label6.MinimumSize = new Size(0, 33); |
| | | label6.Name = "label6"; |
| | | label6.Size = new Size(123, 33); |
| | | label6.TabIndex = 1; |
| | | label6.Text = "Y"; |
| | | label6.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // label7 |
| | | // |
| | | label7.AutoSize = true; |
| | | label7.Dock = DockStyle.Fill; |
| | | label7.Location = new Point(3, 120); |
| | | label7.MaximumSize = new Size(0, 33); |
| | | label7.MinimumSize = new Size(0, 33); |
| | | label7.Name = "label7"; |
| | | label7.Size = new Size(123, 33); |
| | | label7.TabIndex = 2; |
| | | label7.Text = "角度(°)"; |
| | | label7.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // label8 |
| | | // |
| | | label8.AutoSize = true; |
| | | label8.Dock = DockStyle.Fill; |
| | | label8.Location = new Point(3, 180); |
| | | label8.MaximumSize = new Size(0, 33); |
| | | label8.MinimumSize = new Size(0, 33); |
| | | label8.Name = "label8"; |
| | | label8.Size = new Size(123, 33); |
| | | label8.TabIndex = 3; |
| | | label8.Text = "宽度"; |
| | | label8.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // dtxtCenterX |
| | | // |
| | | dtxtCenterX.Dock = DockStyle.Fill; |
| | | dtxtCenterX.Location = new Point(132, 4); |
| | | dtxtCenterX.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtCenterX.Name = "dtxtCenterX"; |
| | | dtxtCenterX.ReadOnly = true; |
| | | dtxtCenterX.Size = new Size(377, 27); |
| | | dtxtCenterX.TabIndex = 5; |
| | | // |
| | | // dtxtCenterY |
| | | // |
| | | dtxtCenterY.Dock = DockStyle.Fill; |
| | | dtxtCenterY.Location = new Point(132, 64); |
| | | dtxtCenterY.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtCenterY.Name = "dtxtCenterY"; |
| | | dtxtCenterY.ReadOnly = true; |
| | | dtxtCenterY.Size = new Size(377, 27); |
| | | dtxtCenterY.TabIndex = 6; |
| | | // |
| | | // dtxtAngle |
| | | // |
| | | dtxtAngle.Dock = DockStyle.Fill; |
| | | dtxtAngle.Location = new Point(132, 124); |
| | | dtxtAngle.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtAngle.Name = "dtxtAngle"; |
| | | dtxtAngle.ReadOnly = true; |
| | | dtxtAngle.Size = new Size(377, 27); |
| | | dtxtAngle.TabIndex = 7; |
| | | // |
| | | // dtxtWidth |
| | | // |
| | | dtxtWidth.Dock = DockStyle.Fill; |
| | | dtxtWidth.Location = new Point(132, 184); |
| | | dtxtWidth.Margin = new Padding(3, 4, 3, 4); |
| | | dtxtWidth.Name = "dtxtWidth"; |
| | | dtxtWidth.ReadOnly = true; |
| | | dtxtWidth.Size = new Size(377, 27); |
| | | dtxtWidth.TabIndex = 8; |
| | | // |
| | | // label18 |
| | | // |
| | | label18.AutoSize = true; |
| | | label18.Dock = DockStyle.Fill; |
| | | label18.Location = new Point(4, 300); |
| | | label18.Margin = new Padding(4, 0, 4, 0); |
| | | label18.Name = "label18"; |
| | | label18.Size = new Size(121, 60); |
| | | label18.TabIndex = 10; |
| | | label18.Text = "数量"; |
| | | label18.TextAlign = ContentAlignment.TopCenter; |
| | | // |
| | | // dtxtCount |
| | | // |
| | | dtxtCount.Dock = DockStyle.Fill; |
| | | dtxtCount.Location = new Point(133, 304); |
| | | dtxtCount.Margin = new Padding(4); |
| | | dtxtCount.Name = "dtxtCount"; |
| | | dtxtCount.ReadOnly = true; |
| | | dtxtCount.Size = new Size(375, 27); |
| | | dtxtCount.TabIndex = 11; |
| | | ckbDrawRoi.CheckedChanged += ckbDrawRoi_CheckedChanged; |
| | | // |
| | | // imgTabControl |
| | | // |
| | | imgTabControl.Controls.Add(tabPageInputImage); |
| | | imgTabControl.Controls.Add(tabPageRecordImage); |
| | | imgTabControl.Dock = DockStyle.Fill; |
| | | imgTabControl.Location = new Point(540, 4); |
| | | imgTabControl.Location = new Point(554, 4); |
| | | imgTabControl.Margin = new Padding(4); |
| | | imgTabControl.Name = "imgTabControl"; |
| | | imgTabControl.SelectedIndex = 0; |
| | | imgTabControl.Size = new Size(798, 644); |
| | | imgTabControl.Size = new Size(784, 644); |
| | | imgTabControl.TabIndex = 49; |
| | | // |
| | | // tabPageInputImage |
| | |
| | | tabPageInputImage.Margin = new Padding(4); |
| | | tabPageInputImage.Name = "tabPageInputImage"; |
| | | tabPageInputImage.Padding = new Padding(4); |
| | | tabPageInputImage.Size = new Size(790, 611); |
| | | tabPageInputImage.Size = new Size(776, 611); |
| | | tabPageInputImage.TabIndex = 0; |
| | | tabPageInputImage.Text = "输入图像"; |
| | | tabPageInputImage.UseVisualStyleBackColor = true; |
| | |
| | | tabPageRecordImage.Margin = new Padding(4); |
| | | tabPageRecordImage.Name = "tabPageRecordImage"; |
| | | tabPageRecordImage.Padding = new Padding(4); |
| | | tabPageRecordImage.Size = new Size(790, 611); |
| | | tabPageRecordImage.Size = new Size(776, 611); |
| | | tabPageRecordImage.TabIndex = 1; |
| | | tabPageRecordImage.Text = "结果图像"; |
| | | tabPageRecordImage.UseVisualStyleBackColor = true; |
| | |
| | | pnlRecordImage.Location = new Point(4, 4); |
| | | pnlRecordImage.Margin = new Padding(5); |
| | | pnlRecordImage.Name = "pnlRecordImage"; |
| | | pnlRecordImage.Size = new Size(782, 603); |
| | | pnlRecordImage.Size = new Size(768, 603); |
| | | pnlRecordImage.TabIndex = 45; |
| | | // |
| | | // tableLayoutPanel1 |
| | | // |
| | | tableLayoutPanel1.ColumnCount = 1; |
| | | tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel1.Controls.Add(tableLayoutPanel3, 0, 0); |
| | | tableLayoutPanel1.Controls.Add(dataGridView1, 0, 1); |
| | | tableLayoutPanel1.Dock = DockStyle.Fill; |
| | | tableLayoutPanel1.Location = new Point(4, 4); |
| | | tableLayoutPanel1.Name = "tableLayoutPanel1"; |
| | | tableLayoutPanel1.RowCount = 2; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 10.2819233F)); |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 89.71808F)); |
| | | tableLayoutPanel1.Size = new Size(512, 603); |
| | | tableLayoutPanel1.TabIndex = 1; |
| | | // |
| | | // tableLayoutPanel3 |
| | | // |
| | | tableLayoutPanel3.ColumnCount = 3; |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 31.5363884F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 68.4636154F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 136F)); |
| | | tableLayoutPanel3.Controls.Add(cmbImageEnhancement, 1, 0); |
| | | tableLayoutPanel3.Controls.Add(label14, 0, 0); |
| | | tableLayoutPanel3.Controls.Add(button1, 2, 0); |
| | | tableLayoutPanel3.Location = new Point(3, 3); |
| | | tableLayoutPanel3.Name = "tableLayoutPanel3"; |
| | | tableLayoutPanel3.RowCount = 1; |
| | | tableLayoutPanel3.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel3.Size = new Size(506, 54); |
| | | tableLayoutPanel3.TabIndex = 1; |
| | | // |
| | | // label14 |
| | | // |
| | | label14.AutoSize = true; |
| | | label14.Location = new Point(3, 0); |
| | | label14.MaximumSize = new Size(0, 33); |
| | | label14.MinimumSize = new Size(0, 33); |
| | | label14.Name = "label14"; |
| | | label14.Size = new Size(69, 33); |
| | | label14.TabIndex = 1; |
| | | label14.Text = "滤波类型"; |
| | | label14.TextAlign = ContentAlignment.MiddleCenter; |
| | | // |
| | | // cmbImageEnhancement |
| | | // |
| | | cmbImageEnhancement.FormattingEnabled = true; |
| | | cmbImageEnhancement.Location = new Point(120, 4); |
| | | cmbImageEnhancement.Margin = new Padding(4); |
| | | cmbImageEnhancement.Name = "cmbImageEnhancement"; |
| | | cmbImageEnhancement.Size = new Size(129, 28); |
| | | cmbImageEnhancement.TabIndex = 14; |
| | | // |
| | | // button1 |
| | | // |
| | | button1.Location = new Point(372, 3); |
| | | button1.Name = "button1"; |
| | | button1.Size = new Size(131, 48); |
| | | button1.TabIndex = 15; |
| | | button1.Text = "添加"; |
| | | button1.UseVisualStyleBackColor = true; |
| | | // |
| | | // dataGridView1 |
| | | // |
| | | dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| | | dataGridView1.Location = new Point(3, 64); |
| | | dataGridView1.Name = "dataGridView1"; |
| | | dataGridView1.RowHeadersWidth = 51; |
| | | dataGridView1.Size = new Size(506, 536); |
| | | dataGridView1.TabIndex = 2; |
| | | // |
| | | // HImageEnhancementToolEdit |
| | | // |
| | |
| | | Margin = new Padding(3, 4, 3, 4); |
| | | Name = "HImageEnhancementToolEdit"; |
| | | Size = new Size(1342, 705); |
| | | Load += HImageEnhancementToolEdit_Load; |
| | | TopToolStrip.ResumeLayout(false); |
| | | TopToolStrip.PerformLayout(); |
| | | BtmStatusStrip.ResumeLayout(false); |
| | |
| | | MainTableLayoutPanel.ResumeLayout(false); |
| | | parasTabControl.ResumeLayout(false); |
| | | tabPage1.ResumeLayout(false); |
| | | tableLayoutPanel1.ResumeLayout(false); |
| | | ((System.ComponentModel.ISupportInitialize)dataGridViewIE).EndInit(); |
| | | tableLayoutPanel4.ResumeLayout(false); |
| | | tableLayoutPanel3.ResumeLayout(false); |
| | | tableLayoutPanel3.PerformLayout(); |
| | | tableLayoutPanel5.ResumeLayout(false); |
| | | tableLayoutPanel5.PerformLayout(); |
| | | tabPage5.ResumeLayout(false); |
| | | tableLayoutPanel2.ResumeLayout(false); |
| | | tableLayoutPanel2.PerformLayout(); |
| | | tabPage2.ResumeLayout(false); |
| | | tableLayoutResults.ResumeLayout(false); |
| | | tableLayoutResults.PerformLayout(); |
| | | imgTabControl.ResumeLayout(false); |
| | | tabPageInputImage.ResumeLayout(false); |
| | | tabPageRecordImage.ResumeLayout(false); |
| | | tableLayoutPanel1.ResumeLayout(false); |
| | | tableLayoutPanel3.ResumeLayout(false); |
| | | tableLayoutPanel3.PerformLayout(); |
| | | ((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit(); |
| | | ResumeLayout(false); |
| | | PerformLayout(); |
| | | } |
| | |
| | | private ToolStripButton btnLoadImage; |
| | | private TabControl parasTabControl; |
| | | private TabPage tabPage1; |
| | | private TabPage tabPage2; |
| | | private TableLayoutPanel tableLayoutResults; |
| | | private Label label5; |
| | | private Label label6; |
| | | private Label label7; |
| | | private Label label8; |
| | | private TextBox dtxtCenterX; |
| | | private TextBox dtxtCenterY; |
| | | private TextBox dtxtAngle; |
| | | private TextBox dtxtWidth; |
| | | private TextBox dtxtHeight; |
| | | private Label label9; |
| | | private TabPage tabPage5; |
| | | private TabControl imgTabControl; |
| | | private TabPage tabPageInputImage; |
| | |
| | | private ToolStripButton btnSaveParas; |
| | | private ToolStripButton btnLoadParas; |
| | | private Panel pnlRecordImage; |
| | | private Label label18; |
| | | private TextBox dtxtCount; |
| | | private ToolStripStatusLabel lblRunTime; |
| | | private TableLayoutPanel tableLayoutPanel2; |
| | | public ComboBox cmbTypeRoi; |
| | |
| | | private CheckBox ckbDrawRoi; |
| | | private TableLayoutPanel tableLayoutPanel1; |
| | | private TableLayoutPanel tableLayoutPanel3; |
| | | private Label label14; |
| | | private Label labelImageEnhancement; |
| | | private ComboBox cmbImageEnhancement; |
| | | private Button button1; |
| | | private DataGridView dataGridView1; |
| | | private DataGridView dataGridViewIE; |
| | | private TableLayoutPanel tableLayoutPanel4; |
| | | private Button btnAdd; |
| | | private TableLayoutPanel tableLayoutPanel5; |
| | | private Label labelMaskWidth; |
| | | private Label labelMaskHeight; |
| | | private TextBox txtMaskWidth; |
| | | private TextBox txtMaskHeight; |
| | | private Label labelFactor; |
| | | private TextBox txtFactor; |
| | | private Button btnDel; |
| | | } |
| | | } |