| | |
| | | cmbImageEnhancement = new ComboBox(); |
| | | btnAdd = new Button(); |
| | | labelImageEnhancement = new Label(); |
| | | btnDel = new Button(); |
| | | tableLayoutPanel5 = new TableLayoutPanel(); |
| | | labelMaskWidth = new Label(); |
| | | labelMaskHeight = new Label(); |
| | |
| | | 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.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.RowCount = 2; |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 135F)); |
| | | tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel1.Size = new Size(512, 603); |
| | | 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(506, 462); |
| | | dataGridViewIE.Size = new Size(520, 462); |
| | | dataGridViewIE.TabIndex = 2; |
| | | // |
| | | // tableLayoutPanel4 |
| | |
| | | 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(506, 125); |
| | | tableLayoutPanel4.Size = new Size(520, 129); |
| | | tableLayoutPanel4.TabIndex = 3; |
| | | // |
| | | // tableLayoutPanel3 |
| | | // |
| | | tableLayoutPanel3.ColumnCount = 3; |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 125F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F)); |
| | | tableLayoutPanel3.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 125F)); |
| | | 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(500, 38); |
| | | tableLayoutPanel3.TabIndex = 1; |
| | | tableLayoutPanel3.Size = new Size(514, 38); |
| | | tableLayoutPanel3.TabIndex = 0; |
| | | // |
| | | // cmbImageEnhancement |
| | | // |
| | | cmbImageEnhancement.DropDownStyle = ComboBoxStyle.DropDownList; |
| | | cmbImageEnhancement.FormattingEnabled = true; |
| | | cmbImageEnhancement.Location = new Point(129, 4); |
| | | cmbImageEnhancement.ImeMode = ImeMode.Off; |
| | | cmbImageEnhancement.Location = new Point(89, 4); |
| | | cmbImageEnhancement.Margin = new Padding(4); |
| | | cmbImageEnhancement.Name = "cmbImageEnhancement"; |
| | | cmbImageEnhancement.Size = new Size(242, 28); |
| | | cmbImageEnhancement.Size = new Size(164, 28); |
| | | cmbImageEnhancement.TabIndex = 14; |
| | | cmbImageEnhancement.SelectedIndexChanged += cmbImageEnhancement_SelectedIndexChanged; |
| | | // |
| | | // btnAdd |
| | | // |
| | | btnAdd.Location = new Point(378, 3); |
| | | btnAdd.Location = new Point(260, 3); |
| | | btnAdd.Name = "btnAdd"; |
| | | btnAdd.Size = new Size(119, 30); |
| | | btnAdd.Size = new Size(122, 30); |
| | | btnAdd.TabIndex = 15; |
| | | btnAdd.Text = "添加"; |
| | | btnAdd.UseVisualStyleBackColor = true; |
| | |
| | | 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.Percent, 25F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | tableLayoutPanel5.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 25F)); |
| | | 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.RowCount = 2; |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.RowStyles.Add(new RowStyle(SizeType.Percent, 50F)); |
| | | tableLayoutPanel5.Size = new Size(500, 74); |
| | | tableLayoutPanel5.TabIndex = 2; |
| | | tableLayoutPanel5.Size = new Size(514, 74); |
| | | tableLayoutPanel5.TabIndex = 1; |
| | | // |
| | | // labelMaskWidth |
| | | // |
| | |
| | | // labelMaskHeight |
| | | // |
| | | labelMaskHeight.AutoSize = true; |
| | | labelMaskHeight.Location = new Point(253, 0); |
| | | labelMaskHeight.Location = new Point(260, 0); |
| | | labelMaskHeight.Name = "labelMaskHeight"; |
| | | labelMaskHeight.Size = new Size(54, 20); |
| | | labelMaskHeight.TabIndex = 1; |
| | |
| | | // |
| | | // txtMaskWidth |
| | | // |
| | | txtMaskWidth.Location = new Point(128, 3); |
| | | txtMaskWidth.Location = new Point(88, 3); |
| | | txtMaskWidth.Name = "txtMaskWidth"; |
| | | txtMaskWidth.Size = new Size(119, 27); |
| | | txtMaskWidth.Size = new Size(166, 27); |
| | | txtMaskWidth.TabIndex = 3; |
| | | // |
| | | // txtMaskHeight |
| | | // |
| | | txtMaskHeight.Location = new Point(378, 3); |
| | | txtMaskHeight.Location = new Point(345, 3); |
| | | txtMaskHeight.Name = "txtMaskHeight"; |
| | | txtMaskHeight.Size = new Size(119, 27); |
| | | txtMaskHeight.Size = new Size(166, 27); |
| | | txtMaskHeight.TabIndex = 4; |
| | | // |
| | | // txtFactor |
| | | // |
| | | txtFactor.Location = new Point(128, 40); |
| | | txtFactor.Location = new Point(88, 40); |
| | | txtFactor.Name = "txtFactor"; |
| | | txtFactor.Size = new Size(119, 27); |
| | | 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; |
| | | 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; |
| | | // |
| | | // 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); |
| | |
| | | private TableLayoutPanel tableLayoutPanel5; |
| | | private Label labelMaskWidth; |
| | | private Label labelMaskHeight; |
| | | private Label labelFactor; |
| | | private TextBox txtMaskWidth; |
| | | private TextBox txtMaskHeight; |
| | | private Label labelFactor; |
| | | private TextBox txtFactor; |
| | | private Button btnDel; |
| | | } |
| | | } |