Shape Detection - designer
' translated in VB:NET from c#
' by Giuseppe Di Santo - Studio IT
Imports Emgu.CV.UI
Imports Emgu.CV
Imports Emgu.CV.Structure
Imports System
Imports System.ComponentModel
Imports System.Drawing
Imports System.Windows.Forms
Imports System.Collections.Generic
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class ShapeDetection
Inherits System.Windows.Forms.Form
'Form overrides dispose to clean up the component list.
<System.Diagnostics.DebuggerNonUserCode()> _
Protected Overrides Sub Dispose(ByVal disposing As Boolean)
Try
If disposing AndAlso components IsNot Nothing Then
components.Dispose()
End If
Finally
MyBase.Dispose(disposing)
End Try
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
'NOTE: The following procedure is required by the Windows Form Designer
'It can be modified using the Windows Form Designer.
'Do not modify it using the code editor.
<System.Diagnostics.DebuggerStepThrough()> _
Private Sub InitializeComponent()
Me.components = New System.ComponentModel.Container
Me.panel1 = New System.Windows.Forms.Panel
Me.fileNameTextBox = New System.Windows.Forms.TextBox
Me.label5 = New System.Windows.Forms.Label
Me.loadImageButton = New System.Windows.Forms.Button
Me.splitContainer1 = New System.Windows.Forms.SplitContainer
Me.splitContainer2 = New System.Windows.Forms.SplitContainer
Me.originalImageBox = New Emgu.CV.UI.ImageBox
Me.panel2 = New System.Windows.Forms.Panel
Me.label1 = New System.Windows.Forms.Label
Me.circleImageBox = New Emgu.CV.UI.ImageBox
Me.panel4 = New System.Windows.Forms.Panel
Me.label3 = New System.Windows.Forms.Label
Me.splitContainer3 = New System.Windows.Forms.SplitContainer
Me.triangleRectangleImageBox = New Emgu.CV.UI.ImageBox
Me.panel3 = New System.Windows.Forms.Panel
Me.label2 = New System.Windows.Forms.Label
Me.lineImageBox = New Emgu.CV.UI.ImageBox
Me.panel5 = New System.Windows.Forms.Panel
Me.label4 = New System.Windows.Forms.Label
Me.openFileDialog1 = New System.Windows.Forms.OpenFileDialog
Me.panel1.SuspendLayout()
Me.splitContainer1.Panel1.SuspendLayout()
Me.splitContainer1.Panel2.SuspendLayout()
Me.splitContainer1.SuspendLayout()
Me.splitContainer2.Panel1.SuspendLayout()
Me.splitContainer2.Panel2.SuspendLayout()
Me.splitContainer2.SuspendLayout()
CType(Me.originalImageBox, System.ComponentModel.ISupportInitialize).BeginInit()
Me.panel2.SuspendLayout()
CType(Me.circleImageBox, System.ComponentModel.ISupportInitialize).BeginInit()
Me.panel4.SuspendLayout()
Me.splitContainer3.Panel1.SuspendLayout()
Me.splitContainer3.Panel2.SuspendLayout()
Me.splitContainer3.SuspendLayout()
CType(Me.triangleRectangleImageBox, System.ComponentModel.ISupportInitialize).BeginInit()
Me.panel3.SuspendLayout()
CType(Me.lineImageBox, System.ComponentModel.ISupportInitialize).BeginInit()
Me.panel5.SuspendLayout()
Me.SuspendLayout()
'
'panel1
'
Me.panel1.Controls.Add(Me.fileNameTextBox)
Me.panel1.Controls.Add(Me.label5)
Me.panel1.Controls.Add(Me.loadImageButton)
Me.panel1.Dock = System.Windows.Forms.DockStyle.Top
Me.panel1.Location = New System.Drawing.Point(0, 0)
Me.panel1.Name = "panel1"
Me.panel1.Size = New System.Drawing.Size(822, 53)
Me.panel1.TabIndex = 0
'
'fileNameTextBox
'
Me.fileNameTextBox.Location = New System.Drawing.Point(49, 14)
Me.fileNameTextBox.Name = "fileNameTextBox"
Me.fileNameTextBox.ReadOnly = True
Me.fileNameTextBox.Size = New System.Drawing.Size(215, 20)
Me.fileNameTextBox.TabIndex = 2
Me.fileNameTextBox.Text = "pic3.png"
'
'label5
'
Me.label5.AutoSize = True
Me.label5.Location = New System.Drawing.Point(16, 17)
Me.label5.Name = "label5"
Me.label5.Size = New System.Drawing.Size(26, 13)
Me.label5.TabIndex = 1
Me.label5.Text = "File:"
'
'loadImageButton
'
Me.loadImageButton.Location = New System.Drawing.Point(270, 12)
Me.loadImageButton.Name = "loadImageButton"
Me.loadImageButton.Size = New System.Drawing.Size(30, 23)
Me.loadImageButton.TabIndex = 0
Me.loadImageButton.Text = "..."
Me.loadImageButton.UseVisualStyleBackColor = True
'
'splitContainer1
'
Me.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill
Me.splitContainer1.Location = New System.Drawing.Point(0, 53)
Me.splitContainer1.Name = "splitContainer1"
'
'splitContainer1.Panel1
'
Me.splitContainer1.Panel1.Controls.Add(Me.splitContainer2)
'
'splitContainer1.Panel2
'
Me.splitContainer1.Panel2.Controls.Add(Me.splitContainer3)
Me.splitContainer1.Size = New System.Drawing.Size(822, 700)
Me.splitContainer1.SplitterDistance = 404
Me.splitContainer1.TabIndex = 1
'
'splitContainer2
'
Me.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill
Me.splitContainer2.Location = New System.Drawing.Point(0, 0)
Me.splitContainer2.Name = "splitContainer2"
Me.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal
'
'splitContainer2.Panel1
'
Me.splitContainer2.Panel1.Controls.Add(Me.originalImageBox)
Me.splitContainer2.Panel1.Controls.Add(Me.panel2)
'
'splitContainer2.Panel2
'
Me.splitContainer2.Panel2.Controls.Add(Me.circleImageBox)
Me.splitContainer2.Panel2.Controls.Add(Me.panel4)
Me.splitContainer2.Size = New System.Drawing.Size(404, 700)
Me.splitContainer2.SplitterDistance = 358
Me.splitContainer2.TabIndex = 0
'
'originalImageBox
'
Me.originalImageBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.originalImageBox.Cursor = System.Windows.Forms.Cursors.Cross
Me.originalImageBox.Dock = System.Windows.Forms.DockStyle.Fill
Me.originalImageBox.Location = New System.Drawing.Point(0, 25)
Me.originalImageBox.Name = "originalImageBox"
Me.originalImageBox.Size = New System.Drawing.Size(404, 333)
Me.originalImageBox.TabIndex = 3
Me.originalImageBox.TabStop = False
'
'panel2
'
Me.panel2.Controls.Add(Me.label1)
Me.panel2.Dock = System.Windows.Forms.DockStyle.Top
Me.panel2.Location = New System.Drawing.Point(0, 0)
Me.panel2.Name = "panel2"
Me.panel2.Size = New System.Drawing.Size(404, 25)
Me.panel2.TabIndex = 2
'
'label1
'
Me.label1.AutoSize = True
Me.label1.Location = New System.Drawing.Point(12, 5)
Me.label1.Name = "label1"
Me.label1.Size = New System.Drawing.Size(74, 13)
Me.label1.TabIndex = 0
Me.label1.Text = "Original Image"
'
'circleImageBox
'
Me.circleImageBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.circleImageBox.Cursor = System.Windows.Forms.Cursors.Cross
Me.circleImageBox.Dock = System.Windows.Forms.DockStyle.Fill
Me.circleImageBox.Location = New System.Drawing.Point(0, 25)
Me.circleImageBox.Name = "circleImageBox"
Me.circleImageBox.Size = New System.Drawing.Size(404, 313)
Me.circleImageBox.TabIndex = 4
Me.circleImageBox.TabStop = False
'
'panel4
'
Me.panel4.Controls.Add(Me.label3)
Me.panel4.Dock = System.Windows.Forms.DockStyle.Top
Me.panel4.Location = New System.Drawing.Point(0, 0)
Me.panel4.Name = "panel4"
Me.panel4.Size = New System.Drawing.Size(404, 25)
Me.panel4.TabIndex = 3
'
'label3
'
Me.label3.AutoSize = True
Me.label3.Location = New System.Drawing.Point(12, 5)
Me.label3.Name = "label3"
Me.label3.Size = New System.Drawing.Size(85, 13)
Me.label3.TabIndex = 0
Me.label3.Text = "Detected Circles"
'
'splitContainer3
'
Me.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill
Me.splitContainer3.Location = New System.Drawing.Point(0, 0)
Me.splitContainer3.Name = "splitContainer3"
Me.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal
'
'splitContainer3.Panel1
'
Me.splitContainer3.Panel1.Controls.Add(Me.triangleRectangleImageBox)
Me.splitContainer3.Panel1.Controls.Add(Me.panel3)
'
'splitContainer3.Panel2
'
Me.splitContainer3.Panel2.Controls.Add(Me.lineImageBox)
Me.splitContainer3.Panel2.Controls.Add(Me.panel5)
Me.splitContainer3.Size = New System.Drawing.Size(414, 700)
Me.splitContainer3.SplitterDistance = 358
Me.splitContainer3.TabIndex = 0
'
'triangleRectangleImageBox
'
Me.triangleRectangleImageBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.triangleRectangleImageBox.Cursor = System.Windows.Forms.Cursors.Cross
Me.triangleRectangleImageBox.Dock = System.Windows.Forms.DockStyle.Fill
Me.triangleRectangleImageBox.Location = New System.Drawing.Point(0, 25)
Me.triangleRectangleImageBox.Name = "triangleRectangleImageBox"
Me.triangleRectangleImageBox.Size = New System.Drawing.Size(414, 333)
Me.triangleRectangleImageBox.TabIndex = 4
Me.triangleRectangleImageBox.TabStop = False
'
'panel3
'
Me.panel3.Controls.Add(Me.label2)
Me.panel3.Dock = System.Windows.Forms.DockStyle.Top
Me.panel3.Location = New System.Drawing.Point(0, 0)
Me.panel3.Name = "panel3"
Me.panel3.Size = New System.Drawing.Size(414, 25)
Me.panel3.TabIndex = 3
'
'label2
'
Me.label2.AutoSize = True
Me.label2.Location = New System.Drawing.Point(16, 5)
Me.label2.Name = "label2"
Me.label2.Size = New System.Drawing.Size(178, 13)
Me.label2.TabIndex = 0
Me.label2.Text = "Detected Triangles and Rectangles"
'
'lineImageBox
'
Me.lineImageBox.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D
Me.lineImageBox.Cursor = System.Windows.Forms.Cursors.Cross
Me.lineImageBox.Dock = System.Windows.Forms.DockStyle.Fill
Me.lineImageBox.Location = New System.Drawing.Point(0, 25)
Me.lineImageBox.Name = "lineImageBox"
Me.lineImageBox.Size = New System.Drawing.Size(414, 313)
Me.lineImageBox.TabIndex = 4
Me.lineImageBox.TabStop = False
'
'panel5
'
Me.panel5.Controls.Add(Me.label4)
Me.panel5.Dock = System.Windows.Forms.DockStyle.Top
Me.panel5.Location = New System.Drawing.Point(0, 0)
Me.panel5.Name = "panel5"
Me.panel5.Size = New System.Drawing.Size(414, 25)
Me.panel5.TabIndex = 3
'
'label4
'
Me.label4.AutoSize = True
Me.label4.Location = New System.Drawing.Point(16, 5)
Me.label4.Name = "label4"
Me.label4.Size = New System.Drawing.Size(79, 13)
Me.label4.TabIndex = 0
Me.label4.Text = "Detected Lines"
'
'openFileDialog1
'
Me.openFileDialog1.FileName = "openFileDialog1"
'
'ShapeDetection
'
Me.ClientSize = New System.Drawing.Size(822, 753)
Me.Controls.Add(Me.splitContainer1)
Me.Controls.Add(Me.panel1)
Me.Name = "ShapeDetection"
Me.Text = "Shape Detection"
Me.panel1.ResumeLayout(False)
Me.panel1.PerformLayout()
Me.splitContainer1.Panel1.ResumeLayout(False)
Me.splitContainer1.Panel2.ResumeLayout(False)
Me.splitContainer1.ResumeLayout(False)
Me.splitContainer2.Panel1.ResumeLayout(False)
Me.splitContainer2.Panel2.ResumeLayout(False)
Me.splitContainer2.ResumeLayout(False)
CType(Me.originalImageBox, System.ComponentModel.ISupportInitialize).EndInit()
Me.panel2.ResumeLayout(False)
Me.panel2.PerformLayout()
CType(Me.circleImageBox, System.ComponentModel.ISupportInitialize).EndInit()
Me.panel4.ResumeLayout(False)
Me.panel4.PerformLayout()
Me.splitContainer3.Panel1.ResumeLayout(False)
Me.splitContainer3.Panel2.ResumeLayout(False)
Me.splitContainer3.ResumeLayout(False)
CType(Me.triangleRectangleImageBox, System.ComponentModel.ISupportInitialize).EndInit()
Me.panel3.ResumeLayout(False)
Me.panel3.PerformLayout()
CType(Me.lineImageBox, System.ComponentModel.ISupportInitialize).EndInit()
Me.panel5.ResumeLayout(False)
Me.panel5.PerformLayout()
Me.ResumeLayout(False)
End Sub
' Fields
Private circleImageBox As ImageBox
Friend WithEvents fileNameTextBox As TextBox
Private label1 As Label
Private label2 As Label
Private label3 As Label
Private label4 As Label
Private label5 As Label
Private lineImageBox As ImageBox
Friend WithEvents loadImageButton As System.Windows.Forms.Button
Private openFileDialog1 As OpenFileDialog
Private originalImageBox As ImageBox
Private panel1 As Panel
Private panel2 As Panel
Private panel3 As Panel
Private panel4 As Panel
Private panel5 As Panel
Private splitContainer1 As SplitContainer
Private splitContainer2 As SplitContainer
Private splitContainer3 As SplitContainer
Private triangleRectangleImageBox As ImageBox
End Class
<< back to index
|