Picture box control for displaying an image.

This control is inherited from System.Windows.Forms.PictureBox and is aimed to resolve one of its issues - inability to display images with high color depth, like 16 bpp grayscale, 48 bpp and 64 bpp color images. .NET framework does not handle 16 bpp grayscale images at all, throwing exception when user tries to display them. Color images with 48 bpp and 64 bpp are "kind of" supported, but only maximum of 13 bits for each color plane are allowed. Therefore this control is created, which allows to display as 16 bpp grayscale images, as 48 bpp and 64 bpp color images.

To display high color depth images, the control does internal conversion of them to lower color depth images - 8 bpp grayscale, 24 bpp and 32 bpp color images respectively. In the case source image already has low color depth, it is displayed without any conversions.

Наследование: System.Windows.Forms.PictureBox
Пример #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\Mix.xaml"
                ((NOocx.Mix)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.menubar = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 3:
                this.videoMenu = ((System.Windows.Controls.ComboBox)(target));

            #line 24 "..\..\Mix.xaml"
                this.videoMenu.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.videoMenu_SelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.mediaType = ((System.Windows.Controls.ComboBox)(target));

            #line 26 "..\..\Mix.xaml"
                this.mediaType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.mediaType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 5:
                this.currfileName = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.zoomasc = ((System.Windows.Controls.Button)(target));

            #line 28 "..\..\Mix.xaml"
                this.zoomasc.Click += new System.Windows.RoutedEventHandler(this.zoomasc_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.zoomdesc = ((System.Windows.Controls.Button)(target));

            #line 29 "..\..\Mix.xaml"
                this.zoomdesc.Click += new System.Windows.RoutedEventHandler(this.zoomdesc_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.wfhost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 9:
                this.videoPlayer = ((AForge.Controls.VideoSourcePlayer)(target));
                return;

            case 10:
                this.canvashost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
                return;

            case 11:
                this.canvas = ((AForge.Controls.PictureBox)(target));
                return;

            case 12:

            #line 46 "..\..\Mix.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Capture_Click);

            #line default
            #line hidden
                return;

            case 13:

            #line 53 "..\..\Mix.xaml"
                ((System.Windows.Controls.ScrollViewer)(target)).ScrollChanged += new System.Windows.Controls.ScrollChangedEventHandler(this.ScrollViewer_ScrollChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.bottom_image = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Пример #2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._groupBox1        = new System.Windows.Forms.GroupBox();
     this._maxHBox          = new System.Windows.Forms.TextBox();
     this._label2           = new System.Windows.Forms.Label();
     this._minHBox          = new System.Windows.Forms.TextBox();
     this._label1           = new System.Windows.Forms.Label();
     this._huePicker        = new AForge.Controls.HuePicker();
     this._groupBox2        = new System.Windows.Forms.GroupBox();
     this._saturationSlider = new AForge.Controls.ColorSlider();
     this._maxSBox          = new System.Windows.Forms.TextBox();
     this._minSBox          = new System.Windows.Forms.TextBox();
     this._label4           = new System.Windows.Forms.Label();
     this._label3           = new System.Windows.Forms.Label();
     this._groupBox3        = new System.Windows.Forms.GroupBox();
     this._luminanceSlider  = new AForge.Controls.ColorSlider();
     this._maxLBox          = new System.Windows.Forms.TextBox();
     this._minLBox          = new System.Windows.Forms.TextBox();
     this._label5           = new System.Windows.Forms.Label();
     this._label6           = new System.Windows.Forms.Label();
     this._groupBox5        = new System.Windows.Forms.GroupBox();
     this._filterPreview    = new AForge.Controls.PictureBox();
     this._groupBox4        = new System.Windows.Forms.GroupBox();
     this._updateLCheck     = new System.Windows.Forms.CheckBox();
     this._fillLBox         = new System.Windows.Forms.TextBox();
     this._label9           = new System.Windows.Forms.Label();
     this._updateSCheck     = new System.Windows.Forms.CheckBox();
     this._fillSBox         = new System.Windows.Forms.TextBox();
     this._label8           = new System.Windows.Forms.Label();
     this._updateHCheck     = new System.Windows.Forms.CheckBox();
     this._fillHBox         = new System.Windows.Forms.TextBox();
     this._label7           = new System.Windows.Forms.Label();
     this._fillTypeCombo    = new System.Windows.Forms.ComboBox();
     this._label10          = new System.Windows.Forms.Label();
     this._cancelButton     = new System.Windows.Forms.Button();
     this._okButton         = new System.Windows.Forms.Button();
     this.llblHelp          = new System.Windows.Forms.LinkLabel();
     this._groupBox1.SuspendLayout();
     this._groupBox2.SuspendLayout();
     this._groupBox3.SuspendLayout();
     this._groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._filterPreview)).BeginInit();
     this._groupBox4.SuspendLayout();
     this.SuspendLayout();
     //
     // _groupBox1
     //
     this._groupBox1.Controls.Add(this._maxHBox);
     this._groupBox1.Controls.Add(this._label2);
     this._groupBox1.Controls.Add(this._minHBox);
     this._groupBox1.Controls.Add(this._label1);
     this._groupBox1.Controls.Add(this._huePicker);
     this._groupBox1.Location = new System.Drawing.Point(10, 10);
     this._groupBox1.Name     = "_groupBox1";
     this._groupBox1.Size     = new System.Drawing.Size(280, 230);
     this._groupBox1.TabIndex = 1;
     this._groupBox1.TabStop  = false;
     this._groupBox1.Text     = "Hue";
     //
     // _maxHBox
     //
     this._maxHBox.Location     = new System.Drawing.Point(218, 20);
     this._maxHBox.Name         = "_maxHBox";
     this._maxHBox.Size         = new System.Drawing.Size(50, 20);
     this._maxHBox.TabIndex     = 4;
     this._maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged);
     //
     // _label2
     //
     this._label2.Location = new System.Drawing.Point(186, 23);
     this._label2.Name     = "_label2";
     this._label2.Size     = new System.Drawing.Size(39, 15);
     this._label2.TabIndex = 3;
     this._label2.Text     = "Max:";
     //
     // _minHBox
     //
     this._minHBox.Location     = new System.Drawing.Point(40, 20);
     this._minHBox.Name         = "_minHBox";
     this._minHBox.Size         = new System.Drawing.Size(50, 20);
     this._minHBox.TabIndex     = 2;
     this._minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged);
     //
     // _label1
     //
     this._label1.Location = new System.Drawing.Point(10, 23);
     this._label1.Name     = "_label1";
     this._label1.Size     = new System.Drawing.Size(31, 17);
     this._label1.TabIndex = 1;
     this._label1.Text     = "Min:";
     //
     // _huePicker
     //
     this._huePicker.Location       = new System.Drawing.Point(53, 50);
     this._huePicker.Name           = "_huePicker";
     this._huePicker.Size           = new System.Drawing.Size(170, 170);
     this._huePicker.TabIndex       = 0;
     this._huePicker.Type           = AForge.Controls.HuePicker.HuePickerType.Range;
     this._huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     this._huePicker.Click         += new System.EventHandler(this._huePicker_Click);
     //
     // _groupBox2
     //
     this._groupBox2.Controls.Add(this._saturationSlider);
     this._groupBox2.Controls.Add(this._maxSBox);
     this._groupBox2.Controls.Add(this._minSBox);
     this._groupBox2.Controls.Add(this._label4);
     this._groupBox2.Controls.Add(this._label3);
     this._groupBox2.Location = new System.Drawing.Point(10, 245);
     this._groupBox2.Name     = "_groupBox2";
     this._groupBox2.Size     = new System.Drawing.Size(280, 75);
     this._groupBox2.TabIndex = 2;
     this._groupBox2.TabStop  = false;
     this._groupBox2.Text     = "Saturation";
     //
     // _saturationSlider
     //
     this._saturationSlider.Location       = new System.Drawing.Point(8, 45);
     this._saturationSlider.Name           = "_saturationSlider";
     this._saturationSlider.Size           = new System.Drawing.Size(262, 23);
     this._saturationSlider.TabIndex       = 4;
     this._saturationSlider.Type           = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient;
     this._saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged);
     //
     // _maxSBox
     //
     this._maxSBox.Location     = new System.Drawing.Point(218, 20);
     this._maxSBox.Name         = "_maxSBox";
     this._maxSBox.Size         = new System.Drawing.Size(50, 20);
     this._maxSBox.TabIndex     = 3;
     this._maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged);
     //
     // _minSBox
     //
     this._minSBox.Location     = new System.Drawing.Point(40, 20);
     this._minSBox.Name         = "_minSBox";
     this._minSBox.Size         = new System.Drawing.Size(50, 20);
     this._minSBox.TabIndex     = 2;
     this._minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged);
     //
     // _label4
     //
     this._label4.Location = new System.Drawing.Point(186, 23);
     this._label4.Name     = "_label4";
     this._label4.Size     = new System.Drawing.Size(30, 17);
     this._label4.TabIndex = 1;
     this._label4.Text     = "Max:";
     //
     // _label3
     //
     this._label3.Location = new System.Drawing.Point(10, 23);
     this._label3.Name     = "_label3";
     this._label3.Size     = new System.Drawing.Size(30, 16);
     this._label3.TabIndex = 0;
     this._label3.Text     = "Min:";
     //
     // _groupBox3
     //
     this._groupBox3.Controls.Add(this._luminanceSlider);
     this._groupBox3.Controls.Add(this._maxLBox);
     this._groupBox3.Controls.Add(this._minLBox);
     this._groupBox3.Controls.Add(this._label5);
     this._groupBox3.Controls.Add(this._label6);
     this._groupBox3.Location = new System.Drawing.Point(10, 325);
     this._groupBox3.Name     = "_groupBox3";
     this._groupBox3.Size     = new System.Drawing.Size(280, 75);
     this._groupBox3.TabIndex = 3;
     this._groupBox3.TabStop  = false;
     this._groupBox3.Text     = "Luminance";
     //
     // _luminanceSlider
     //
     this._luminanceSlider.Location       = new System.Drawing.Point(8, 45);
     this._luminanceSlider.Name           = "_luminanceSlider";
     this._luminanceSlider.Size           = new System.Drawing.Size(262, 23);
     this._luminanceSlider.TabIndex       = 9;
     this._luminanceSlider.Type           = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient;
     this._luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged);
     //
     // _maxLBox
     //
     this._maxLBox.Location     = new System.Drawing.Point(218, 20);
     this._maxLBox.Name         = "_maxLBox";
     this._maxLBox.Size         = new System.Drawing.Size(50, 20);
     this._maxLBox.TabIndex     = 8;
     this._maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged);
     //
     // _minLBox
     //
     this._minLBox.Location     = new System.Drawing.Point(40, 20);
     this._minLBox.Name         = "_minLBox";
     this._minLBox.Size         = new System.Drawing.Size(50, 20);
     this._minLBox.TabIndex     = 7;
     this._minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged);
     //
     // _label5
     //
     this._label5.Location = new System.Drawing.Point(186, 23);
     this._label5.Name     = "_label5";
     this._label5.Size     = new System.Drawing.Size(30, 17);
     this._label5.TabIndex = 6;
     this._label5.Text     = "Max:";
     //
     // _label6
     //
     this._label6.Location = new System.Drawing.Point(10, 23);
     this._label6.Name     = "_label6";
     this._label6.Size     = new System.Drawing.Size(30, 16);
     this._label6.TabIndex = 5;
     this._label6.Text     = "Min:";
     //
     // _groupBox5
     //
     this._groupBox5.Controls.Add(this._filterPreview);
     this._groupBox5.Location = new System.Drawing.Point(300, 10);
     this._groupBox5.Name     = "_groupBox5";
     this._groupBox5.Size     = new System.Drawing.Size(322, 230);
     this._groupBox5.TabIndex = 4;
     this._groupBox5.TabStop  = false;
     this._groupBox5.Text     = "Detector View";
     //
     // _filterPreview
     //
     this._filterPreview.Image    = null;
     this._filterPreview.Location = new System.Drawing.Point(10, 15);
     this._filterPreview.Name     = "_filterPreview";
     this._filterPreview.Size     = new System.Drawing.Size(306, 205);
     this._filterPreview.TabIndex = 0;
     this._filterPreview.TabStop  = false;
     this._filterPreview.Click   += new System.EventHandler(this._filterPreview_Click);
     //
     // _groupBox4
     //
     this._groupBox4.Controls.Add(this._updateLCheck);
     this._groupBox4.Controls.Add(this._fillLBox);
     this._groupBox4.Controls.Add(this._label9);
     this._groupBox4.Controls.Add(this._updateSCheck);
     this._groupBox4.Controls.Add(this._fillSBox);
     this._groupBox4.Controls.Add(this._label8);
     this._groupBox4.Controls.Add(this._updateHCheck);
     this._groupBox4.Controls.Add(this._fillHBox);
     this._groupBox4.Controls.Add(this._label7);
     this._groupBox4.Location = new System.Drawing.Point(300, 245);
     this._groupBox4.Name     = "_groupBox4";
     this._groupBox4.Size     = new System.Drawing.Size(170, 100);
     this._groupBox4.TabIndex = 5;
     this._groupBox4.TabStop  = false;
     this._groupBox4.Text     = "Fill Color";
     //
     // _updateLCheck
     //
     this._updateLCheck.Checked         = true;
     this._updateLCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this._updateLCheck.Location        = new System.Drawing.Point(125, 70);
     this._updateLCheck.Name            = "_updateLCheck";
     this._updateLCheck.Size            = new System.Drawing.Size(14, 24);
     this._updateLCheck.TabIndex        = 8;
     this._updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged);
     //
     // _fillLBox
     //
     this._fillLBox.Location     = new System.Drawing.Point(40, 70);
     this._fillLBox.Name         = "_fillLBox";
     this._fillLBox.Size         = new System.Drawing.Size(50, 20);
     this._fillLBox.TabIndex     = 7;
     this._fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged);
     //
     // _label9
     //
     this._label9.Location = new System.Drawing.Point(10, 73);
     this._label9.Name     = "_label9";
     this._label9.Size     = new System.Drawing.Size(20, 16);
     this._label9.TabIndex = 6;
     this._label9.Text     = "L:";
     //
     // _updateSCheck
     //
     this._updateSCheck.Checked         = true;
     this._updateSCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this._updateSCheck.Location        = new System.Drawing.Point(125, 45);
     this._updateSCheck.Name            = "_updateSCheck";
     this._updateSCheck.Size            = new System.Drawing.Size(14, 24);
     this._updateSCheck.TabIndex        = 5;
     this._updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged);
     //
     // _fillSBox
     //
     this._fillSBox.Location     = new System.Drawing.Point(40, 45);
     this._fillSBox.Name         = "_fillSBox";
     this._fillSBox.Size         = new System.Drawing.Size(50, 20);
     this._fillSBox.TabIndex     = 4;
     this._fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged);
     //
     // _label8
     //
     this._label8.Location = new System.Drawing.Point(10, 48);
     this._label8.Name     = "_label8";
     this._label8.Size     = new System.Drawing.Size(20, 16);
     this._label8.TabIndex = 3;
     this._label8.Text     = "S:";
     //
     // _updateHCheck
     //
     this._updateHCheck.Checked         = true;
     this._updateHCheck.CheckState      = System.Windows.Forms.CheckState.Checked;
     this._updateHCheck.Location        = new System.Drawing.Point(125, 20);
     this._updateHCheck.Name            = "_updateHCheck";
     this._updateHCheck.Size            = new System.Drawing.Size(14, 24);
     this._updateHCheck.TabIndex        = 2;
     this._updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged);
     //
     // _fillHBox
     //
     this._fillHBox.Location     = new System.Drawing.Point(40, 20);
     this._fillHBox.Name         = "_fillHBox";
     this._fillHBox.Size         = new System.Drawing.Size(50, 20);
     this._fillHBox.TabIndex     = 1;
     this._fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged);
     //
     // _label7
     //
     this._label7.Location = new System.Drawing.Point(10, 23);
     this._label7.Name     = "_label7";
     this._label7.Size     = new System.Drawing.Size(20, 16);
     this._label7.TabIndex = 0;
     this._label7.Text     = "H:";
     //
     // _fillTypeCombo
     //
     this._fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._fillTypeCombo.Items.AddRange(new object[] {
         "Outside",
         "Inside"
     });
     this._fillTypeCombo.Location              = new System.Drawing.Point(300, 379);
     this._fillTypeCombo.Name                  = "_fillTypeCombo";
     this._fillTypeCombo.Size                  = new System.Drawing.Size(170, 21);
     this._fillTypeCombo.TabIndex              = 10;
     this._fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // _label10
     //
     this._label10.AutoSize = true;
     this._label10.Location = new System.Drawing.Point(297, 352);
     this._label10.Name     = "_label10";
     this._label10.Size     = new System.Drawing.Size(45, 13);
     this._label10.TabIndex = 13;
     this._label10.Text     = "Fill type:";
     //
     // _cancelButton
     //
     this._cancelButton.AutoSize     = true;
     this._cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this._cancelButton.Location     = new System.Drawing.Point(570, 407);
     this._cancelButton.Name         = "_cancelButton";
     this._cancelButton.Size         = new System.Drawing.Size(52, 25);
     this._cancelButton.TabIndex     = 12;
     this._cancelButton.Text         = "Cancel";
     //
     // _okButton
     //
     this._okButton.AutoSize     = true;
     this._okButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._okButton.FlatStyle    = System.Windows.Forms.FlatStyle.Flat;
     this._okButton.Location     = new System.Drawing.Point(531, 407);
     this._okButton.Name         = "_okButton";
     this._okButton.Size         = new System.Drawing.Size(33, 25);
     this._okButton.TabIndex     = 11;
     this._okButton.Text         = "Ok";
     this._okButton.Click       += new System.EventHandler(this._okButton_Click);
     //
     // llblHelp
     //
     this.llblHelp.AutoSize     = true;
     this.llblHelp.Location     = new System.Drawing.Point(476, 413);
     this.llblHelp.Name         = "llblHelp";
     this.llblHelp.Size         = new System.Drawing.Size(29, 13);
     this.llblHelp.TabIndex     = 64;
     this.llblHelp.TabStop      = true;
     this.llblHelp.Text         = "Help";
     this.llblHelp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblHelp_LinkClicked);
     //
     // HSLFilteringForm
     //
     this.AcceptButton      = this._okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton      = this._cancelButton;
     this.ClientSize        = new System.Drawing.Size(634, 439);
     this.Controls.Add(this.llblHelp);
     this.Controls.Add(this._fillTypeCombo);
     this.Controls.Add(this._label10);
     this.Controls.Add(this._cancelButton);
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._groupBox4);
     this.Controls.Add(this._groupBox5);
     this.Controls.Add(this._groupBox3);
     this.Controls.Add(this._groupBox2);
     this.Controls.Add(this._groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "HSLFilteringForm";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text            = "HSL Filtering";
     this.Load           += new System.EventHandler(this.HSLFilteringForm_Load);
     this._groupBox1.ResumeLayout(false);
     this._groupBox1.PerformLayout();
     this._groupBox2.ResumeLayout(false);
     this._groupBox2.PerformLayout();
     this._groupBox3.ResumeLayout(false);
     this._groupBox3.PerformLayout();
     this._groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._filterPreview)).EndInit();
     this._groupBox4.ResumeLayout(false);
     this._groupBox4.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this._groupBox1 = new System.Windows.Forms.GroupBox();
     this._maxHBox = new System.Windows.Forms.TextBox();
     this._label2 = new System.Windows.Forms.Label();
     this._minHBox = new System.Windows.Forms.TextBox();
     this._label1 = new System.Windows.Forms.Label();
     this._huePicker = new AForge.Controls.HuePicker();
     this._groupBox2 = new System.Windows.Forms.GroupBox();
     this._saturationSlider = new AForge.Controls.ColorSlider();
     this._maxSBox = new System.Windows.Forms.TextBox();
     this._minSBox = new System.Windows.Forms.TextBox();
     this._label4 = new System.Windows.Forms.Label();
     this._label3 = new System.Windows.Forms.Label();
     this._groupBox3 = new System.Windows.Forms.GroupBox();
     this._luminanceSlider = new AForge.Controls.ColorSlider();
     this._maxLBox = new System.Windows.Forms.TextBox();
     this._minLBox = new System.Windows.Forms.TextBox();
     this._label5 = new System.Windows.Forms.Label();
     this._label6 = new System.Windows.Forms.Label();
     this._groupBox5 = new System.Windows.Forms.GroupBox();
     this._filterPreview = new AForge.Controls.PictureBox();
     this._groupBox4 = new System.Windows.Forms.GroupBox();
     this._updateLCheck = new System.Windows.Forms.CheckBox();
     this._fillLBox = new System.Windows.Forms.TextBox();
     this._label9 = new System.Windows.Forms.Label();
     this._updateSCheck = new System.Windows.Forms.CheckBox();
     this._fillSBox = new System.Windows.Forms.TextBox();
     this._label8 = new System.Windows.Forms.Label();
     this._updateHCheck = new System.Windows.Forms.CheckBox();
     this._fillHBox = new System.Windows.Forms.TextBox();
     this._label7 = new System.Windows.Forms.Label();
     this._fillTypeCombo = new System.Windows.Forms.ComboBox();
     this._label10 = new System.Windows.Forms.Label();
     this._cancelButton = new System.Windows.Forms.Button();
     this._okButton = new System.Windows.Forms.Button();
     this.llblHelp = new System.Windows.Forms.LinkLabel();
     this._groupBox1.SuspendLayout();
     this._groupBox2.SuspendLayout();
     this._groupBox3.SuspendLayout();
     this._groupBox5.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this._filterPreview)).BeginInit();
     this._groupBox4.SuspendLayout();
     this.SuspendLayout();
     //
     // _groupBox1
     //
     this._groupBox1.Controls.Add(this._maxHBox);
     this._groupBox1.Controls.Add(this._label2);
     this._groupBox1.Controls.Add(this._minHBox);
     this._groupBox1.Controls.Add(this._label1);
     this._groupBox1.Controls.Add(this._huePicker);
     this._groupBox1.Location = new System.Drawing.Point(10, 10);
     this._groupBox1.Name = "_groupBox1";
     this._groupBox1.Size = new System.Drawing.Size(280, 230);
     this._groupBox1.TabIndex = 1;
     this._groupBox1.TabStop = false;
     this._groupBox1.Text = "Hue";
     //
     // _maxHBox
     //
     this._maxHBox.Location = new System.Drawing.Point(218, 20);
     this._maxHBox.Name = "_maxHBox";
     this._maxHBox.Size = new System.Drawing.Size(50, 20);
     this._maxHBox.TabIndex = 4;
     this._maxHBox.TextChanged += new System.EventHandler(this.maxHBox_TextChanged);
     //
     // _label2
     //
     this._label2.Location = new System.Drawing.Point(186, 23);
     this._label2.Name = "_label2";
     this._label2.Size = new System.Drawing.Size(39, 15);
     this._label2.TabIndex = 3;
     this._label2.Text = "Max:";
     //
     // _minHBox
     //
     this._minHBox.Location = new System.Drawing.Point(40, 20);
     this._minHBox.Name = "_minHBox";
     this._minHBox.Size = new System.Drawing.Size(50, 20);
     this._minHBox.TabIndex = 2;
     this._minHBox.TextChanged += new System.EventHandler(this.minHBox_TextChanged);
     //
     // _label1
     //
     this._label1.Location = new System.Drawing.Point(10, 23);
     this._label1.Name = "_label1";
     this._label1.Size = new System.Drawing.Size(31, 17);
     this._label1.TabIndex = 1;
     this._label1.Text = "Min:";
     //
     // _huePicker
     //
     this._huePicker.Location = new System.Drawing.Point(53, 50);
     this._huePicker.Name = "_huePicker";
     this._huePicker.Size = new System.Drawing.Size(170, 170);
     this._huePicker.TabIndex = 0;
     this._huePicker.Type = AForge.Controls.HuePicker.HuePickerType.Range;
     this._huePicker.ValuesChanged += new System.EventHandler(this.huePicker_ValuesChanged);
     this._huePicker.Click += new System.EventHandler(this._huePicker_Click);
     //
     // _groupBox2
     //
     this._groupBox2.Controls.Add(this._saturationSlider);
     this._groupBox2.Controls.Add(this._maxSBox);
     this._groupBox2.Controls.Add(this._minSBox);
     this._groupBox2.Controls.Add(this._label4);
     this._groupBox2.Controls.Add(this._label3);
     this._groupBox2.Location = new System.Drawing.Point(10, 245);
     this._groupBox2.Name = "_groupBox2";
     this._groupBox2.Size = new System.Drawing.Size(280, 75);
     this._groupBox2.TabIndex = 2;
     this._groupBox2.TabStop = false;
     this._groupBox2.Text = "Saturation";
     //
     // _saturationSlider
     //
     this._saturationSlider.Location = new System.Drawing.Point(8, 45);
     this._saturationSlider.Name = "_saturationSlider";
     this._saturationSlider.Size = new System.Drawing.Size(262, 23);
     this._saturationSlider.TabIndex = 4;
     this._saturationSlider.Type = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient;
     this._saturationSlider.ValuesChanged += new System.EventHandler(this.saturationSlider_ValuesChanged);
     //
     // _maxSBox
     //
     this._maxSBox.Location = new System.Drawing.Point(218, 20);
     this._maxSBox.Name = "_maxSBox";
     this._maxSBox.Size = new System.Drawing.Size(50, 20);
     this._maxSBox.TabIndex = 3;
     this._maxSBox.TextChanged += new System.EventHandler(this.maxSBox_TextChanged);
     //
     // _minSBox
     //
     this._minSBox.Location = new System.Drawing.Point(40, 20);
     this._minSBox.Name = "_minSBox";
     this._minSBox.Size = new System.Drawing.Size(50, 20);
     this._minSBox.TabIndex = 2;
     this._minSBox.TextChanged += new System.EventHandler(this.minSBox_TextChanged);
     //
     // _label4
     //
     this._label4.Location = new System.Drawing.Point(186, 23);
     this._label4.Name = "_label4";
     this._label4.Size = new System.Drawing.Size(30, 17);
     this._label4.TabIndex = 1;
     this._label4.Text = "Max:";
     //
     // _label3
     //
     this._label3.Location = new System.Drawing.Point(10, 23);
     this._label3.Name = "_label3";
     this._label3.Size = new System.Drawing.Size(30, 16);
     this._label3.TabIndex = 0;
     this._label3.Text = "Min:";
     //
     // _groupBox3
     //
     this._groupBox3.Controls.Add(this._luminanceSlider);
     this._groupBox3.Controls.Add(this._maxLBox);
     this._groupBox3.Controls.Add(this._minLBox);
     this._groupBox3.Controls.Add(this._label5);
     this._groupBox3.Controls.Add(this._label6);
     this._groupBox3.Location = new System.Drawing.Point(10, 325);
     this._groupBox3.Name = "_groupBox3";
     this._groupBox3.Size = new System.Drawing.Size(280, 75);
     this._groupBox3.TabIndex = 3;
     this._groupBox3.TabStop = false;
     this._groupBox3.Text = "Luminance";
     //
     // _luminanceSlider
     //
     this._luminanceSlider.Location = new System.Drawing.Point(8, 45);
     this._luminanceSlider.Name = "_luminanceSlider";
     this._luminanceSlider.Size = new System.Drawing.Size(262, 23);
     this._luminanceSlider.TabIndex = 9;
     this._luminanceSlider.Type = AForge.Controls.ColorSlider.ColorSliderType.InnerGradient;
     this._luminanceSlider.ValuesChanged += new System.EventHandler(this.luminanceSlider_ValuesChanged);
     //
     // _maxLBox
     //
     this._maxLBox.Location = new System.Drawing.Point(218, 20);
     this._maxLBox.Name = "_maxLBox";
     this._maxLBox.Size = new System.Drawing.Size(50, 20);
     this._maxLBox.TabIndex = 8;
     this._maxLBox.TextChanged += new System.EventHandler(this.maxLBox_TextChanged);
     //
     // _minLBox
     //
     this._minLBox.Location = new System.Drawing.Point(40, 20);
     this._minLBox.Name = "_minLBox";
     this._minLBox.Size = new System.Drawing.Size(50, 20);
     this._minLBox.TabIndex = 7;
     this._minLBox.TextChanged += new System.EventHandler(this.minLBox_TextChanged);
     //
     // _label5
     //
     this._label5.Location = new System.Drawing.Point(186, 23);
     this._label5.Name = "_label5";
     this._label5.Size = new System.Drawing.Size(30, 17);
     this._label5.TabIndex = 6;
     this._label5.Text = "Max:";
     //
     // _label6
     //
     this._label6.Location = new System.Drawing.Point(10, 23);
     this._label6.Name = "_label6";
     this._label6.Size = new System.Drawing.Size(30, 16);
     this._label6.TabIndex = 5;
     this._label6.Text = "Min:";
     //
     // _groupBox5
     //
     this._groupBox5.Controls.Add(this._filterPreview);
     this._groupBox5.Location = new System.Drawing.Point(300, 10);
     this._groupBox5.Name = "_groupBox5";
     this._groupBox5.Size = new System.Drawing.Size(322, 230);
     this._groupBox5.TabIndex = 4;
     this._groupBox5.TabStop = false;
     this._groupBox5.Text = "Detector View";
     //
     // _filterPreview
     //
     this._filterPreview.Image = null;
     this._filterPreview.Location = new System.Drawing.Point(10, 15);
     this._filterPreview.Name = "_filterPreview";
     this._filterPreview.Size = new System.Drawing.Size(306, 205);
     this._filterPreview.TabIndex = 0;
     this._filterPreview.TabStop = false;
     this._filterPreview.Click += new System.EventHandler(this._filterPreview_Click);
     //
     // _groupBox4
     //
     this._groupBox4.Controls.Add(this._updateLCheck);
     this._groupBox4.Controls.Add(this._fillLBox);
     this._groupBox4.Controls.Add(this._label9);
     this._groupBox4.Controls.Add(this._updateSCheck);
     this._groupBox4.Controls.Add(this._fillSBox);
     this._groupBox4.Controls.Add(this._label8);
     this._groupBox4.Controls.Add(this._updateHCheck);
     this._groupBox4.Controls.Add(this._fillHBox);
     this._groupBox4.Controls.Add(this._label7);
     this._groupBox4.Location = new System.Drawing.Point(300, 245);
     this._groupBox4.Name = "_groupBox4";
     this._groupBox4.Size = new System.Drawing.Size(170, 100);
     this._groupBox4.TabIndex = 5;
     this._groupBox4.TabStop = false;
     this._groupBox4.Text = "Fill Color";
     //
     // _updateLCheck
     //
     this._updateLCheck.Checked = true;
     this._updateLCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this._updateLCheck.Location = new System.Drawing.Point(125, 70);
     this._updateLCheck.Name = "_updateLCheck";
     this._updateLCheck.Size = new System.Drawing.Size(14, 24);
     this._updateLCheck.TabIndex = 8;
     this._updateLCheck.CheckedChanged += new System.EventHandler(this.updateLCheck_CheckedChanged);
     //
     // _fillLBox
     //
     this._fillLBox.Location = new System.Drawing.Point(40, 70);
     this._fillLBox.Name = "_fillLBox";
     this._fillLBox.Size = new System.Drawing.Size(50, 20);
     this._fillLBox.TabIndex = 7;
     this._fillLBox.TextChanged += new System.EventHandler(this.fillLBox_TextChanged);
     //
     // _label9
     //
     this._label9.Location = new System.Drawing.Point(10, 73);
     this._label9.Name = "_label9";
     this._label9.Size = new System.Drawing.Size(20, 16);
     this._label9.TabIndex = 6;
     this._label9.Text = "L:";
     //
     // _updateSCheck
     //
     this._updateSCheck.Checked = true;
     this._updateSCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this._updateSCheck.Location = new System.Drawing.Point(125, 45);
     this._updateSCheck.Name = "_updateSCheck";
     this._updateSCheck.Size = new System.Drawing.Size(14, 24);
     this._updateSCheck.TabIndex = 5;
     this._updateSCheck.CheckedChanged += new System.EventHandler(this.updateSCheck_CheckedChanged);
     //
     // _fillSBox
     //
     this._fillSBox.Location = new System.Drawing.Point(40, 45);
     this._fillSBox.Name = "_fillSBox";
     this._fillSBox.Size = new System.Drawing.Size(50, 20);
     this._fillSBox.TabIndex = 4;
     this._fillSBox.TextChanged += new System.EventHandler(this.fillSBox_TextChanged);
     //
     // _label8
     //
     this._label8.Location = new System.Drawing.Point(10, 48);
     this._label8.Name = "_label8";
     this._label8.Size = new System.Drawing.Size(20, 16);
     this._label8.TabIndex = 3;
     this._label8.Text = "S:";
     //
     // _updateHCheck
     //
     this._updateHCheck.Checked = true;
     this._updateHCheck.CheckState = System.Windows.Forms.CheckState.Checked;
     this._updateHCheck.Location = new System.Drawing.Point(125, 20);
     this._updateHCheck.Name = "_updateHCheck";
     this._updateHCheck.Size = new System.Drawing.Size(14, 24);
     this._updateHCheck.TabIndex = 2;
     this._updateHCheck.CheckedChanged += new System.EventHandler(this.updateHCheck_CheckedChanged);
     //
     // _fillHBox
     //
     this._fillHBox.Location = new System.Drawing.Point(40, 20);
     this._fillHBox.Name = "_fillHBox";
     this._fillHBox.Size = new System.Drawing.Size(50, 20);
     this._fillHBox.TabIndex = 1;
     this._fillHBox.TextChanged += new System.EventHandler(this.fillHBox_TextChanged);
     //
     // _label7
     //
     this._label7.Location = new System.Drawing.Point(10, 23);
     this._label7.Name = "_label7";
     this._label7.Size = new System.Drawing.Size(20, 16);
     this._label7.TabIndex = 0;
     this._label7.Text = "H:";
     //
     // _fillTypeCombo
     //
     this._fillTypeCombo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this._fillTypeCombo.Items.AddRange(new object[] {
     "Outside",
     "Inside"});
     this._fillTypeCombo.Location = new System.Drawing.Point(300, 379);
     this._fillTypeCombo.Name = "_fillTypeCombo";
     this._fillTypeCombo.Size = new System.Drawing.Size(170, 21);
     this._fillTypeCombo.TabIndex = 10;
     this._fillTypeCombo.SelectedIndexChanged += new System.EventHandler(this.fillTypeCombo_SelectedIndexChanged);
     //
     // _label10
     //
     this._label10.AutoSize = true;
     this._label10.Location = new System.Drawing.Point(297, 352);
     this._label10.Name = "_label10";
     this._label10.Size = new System.Drawing.Size(45, 13);
     this._label10.TabIndex = 13;
     this._label10.Text = "Fill type:";
     //
     // _cancelButton
     //
     this._cancelButton.AutoSize = true;
     this._cancelButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this._cancelButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this._cancelButton.Location = new System.Drawing.Point(570, 407);
     this._cancelButton.Name = "_cancelButton";
     this._cancelButton.Size = new System.Drawing.Size(52, 25);
     this._cancelButton.TabIndex = 12;
     this._cancelButton.Text = "Cancel";
     //
     // _okButton
     //
     this._okButton.AutoSize = true;
     this._okButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this._okButton.DialogResult = System.Windows.Forms.DialogResult.OK;
     this._okButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this._okButton.Location = new System.Drawing.Point(531, 407);
     this._okButton.Name = "_okButton";
     this._okButton.Size = new System.Drawing.Size(33, 25);
     this._okButton.TabIndex = 11;
     this._okButton.Text = "Ok";
     this._okButton.Click += new System.EventHandler(this._okButton_Click);
     //
     // llblHelp
     //
     this.llblHelp.AutoSize = true;
     this.llblHelp.Location = new System.Drawing.Point(476, 413);
     this.llblHelp.Name = "llblHelp";
     this.llblHelp.Size = new System.Drawing.Size(29, 13);
     this.llblHelp.TabIndex = 64;
     this.llblHelp.TabStop = true;
     this.llblHelp.Text = "Help";
     this.llblHelp.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.llblHelp_LinkClicked);
     //
     // HSLFilteringForm
     //
     this.AcceptButton = this._okButton;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CancelButton = this._cancelButton;
     this.ClientSize = new System.Drawing.Size(634, 439);
     this.Controls.Add(this.llblHelp);
     this.Controls.Add(this._fillTypeCombo);
     this.Controls.Add(this._label10);
     this.Controls.Add(this._cancelButton);
     this.Controls.Add(this._okButton);
     this.Controls.Add(this._groupBox4);
     this.Controls.Add(this._groupBox5);
     this.Controls.Add(this._groupBox3);
     this.Controls.Add(this._groupBox2);
     this.Controls.Add(this._groupBox1);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox = false;
     this.MinimizeBox = false;
     this.Name = "HSLFilteringForm";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "HSL Filtering";
     this.Load += new System.EventHandler(this.HSLFilteringForm_Load);
     this._groupBox1.ResumeLayout(false);
     this._groupBox1.PerformLayout();
     this._groupBox2.ResumeLayout(false);
     this._groupBox2.PerformLayout();
     this._groupBox3.ResumeLayout(false);
     this._groupBox3.PerformLayout();
     this._groupBox5.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this._filterPreview)).EndInit();
     this._groupBox4.ResumeLayout(false);
     this._groupBox4.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }