⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 form1.h

📁 Program to find the Image Statistics of the given Image.
💻 H
📖 第 1 页 / 共 3 页
字号:
			this->pnlStat->Name = L"pnlStat";
			this->pnlStat->Size = System::Drawing::Size(159, 355);
			this->pnlStat->TabIndex = 1;
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label1->Location = System::Drawing::Point(11, 154);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(141, 75);
			this->label1->TabIndex = 1;
			this->label1->Text = L"The Mean, Median, \r\nMode and Standard \r\nDeviation values of \r\nthe Image are displ" 
				L"ayed \r\nbelow.";
			// 
			// button1
			// 
			this->button1->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->button1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->button1->Location = System::Drawing::Point(19, 52);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(115, 23);
			this->button1->TabIndex = 0;
			this->button1->Text = L"Main Menu";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click_2);
			// 
			// pnlFilter
			// 
			this->pnlFilter->BackColor = System::Drawing::SystemColors::GradientActiveCaption;
			this->pnlFilter->Controls->Add(this->btnFilMain);
			this->pnlFilter->Controls->Add(this->btnMode);
			this->pnlFilter->Controls->Add(this->btnMedian);
			this->pnlFilter->Controls->Add(this->btnMean);
			this->pnlFilter->Location = System::Drawing::Point(556, 39);
			this->pnlFilter->Name = L"pnlFilter";
			this->pnlFilter->Size = System::Drawing::Size(159, 356);
			this->pnlFilter->TabIndex = 2;
			// 
			// btnFilMain
			// 
			this->btnFilMain->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnFilMain->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnFilMain->Location = System::Drawing::Point(19, 67);
			this->btnFilMain->Name = L"btnFilMain";
			this->btnFilMain->Size = System::Drawing::Size(115, 23);
			this->btnFilMain->TabIndex = 3;
			this->btnFilMain->Text = L"Main Menu";
			this->btnFilMain->UseVisualStyleBackColor = true;
			this->btnFilMain->Click += gcnew System::EventHandler(this, &Form1::btnFilMain_Click);
			// 
			// btnMode
			// 
			this->btnMode->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnMode->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnMode->Location = System::Drawing::Point(19, 234);
			this->btnMode->Name = L"btnMode";
			this->btnMode->Size = System::Drawing::Size(115, 23);
			this->btnMode->TabIndex = 2;
			this->btnMode->Text = L"Mode Filter";
			this->btnMode->UseVisualStyleBackColor = true;
			// 
			// btnMedian
			// 
			this->btnMedian->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnMedian->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnMedian->Location = System::Drawing::Point(19, 177);
			this->btnMedian->Name = L"btnMedian";
			this->btnMedian->Size = System::Drawing::Size(115, 23);
			this->btnMedian->TabIndex = 1;
			this->btnMedian->Text = L"Median Filter";
			this->btnMedian->UseVisualStyleBackColor = true;
			// 
			// btnMean
			// 
			this->btnMean->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnMean->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnMean->Location = System::Drawing::Point(19, 119);
			this->btnMean->Name = L"btnMean";
			this->btnMean->Size = System::Drawing::Size(115, 23);
			this->btnMean->TabIndex = 0;
			this->btnMean->Text = L"Mean Filter";
			this->btnMean->UseVisualStyleBackColor = true;
			this->btnMean->Click += gcnew System::EventHandler(this, &Form1::btnMean_Click);
			// 
			// pnlMain
			// 
			this->pnlMain->BackColor = System::Drawing::SystemColors::GradientActiveCaption;
			this->pnlMain->Controls->Add(this->pnlStat);
			this->pnlMain->Controls->Add(this->btnFilter);
			this->pnlMain->Controls->Add(this->btnEdge);
			this->pnlMain->Controls->Add(this->btnLine);
			this->pnlMain->Controls->Add(this->btnHistogram);
			this->pnlMain->Controls->Add(this->btnStat);
			this->pnlMain->Location = System::Drawing::Point(556, 40);
			this->pnlMain->Name = L"pnlMain";
			this->pnlMain->Size = System::Drawing::Size(159, 355);
			this->pnlMain->TabIndex = 4;
			// 
			// btnFilter
			// 
			this->btnFilter->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnFilter->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnFilter->Location = System::Drawing::Point(19, 282);
			this->btnFilter->Name = L"btnFilter";
			this->btnFilter->Size = System::Drawing::Size(121, 23);
			this->btnFilter->TabIndex = 4;
			this->btnFilter->Text = L"Image Filter";
			this->btnFilter->UseVisualStyleBackColor = true;
			this->btnFilter->Click += gcnew System::EventHandler(this, &Form1::btnFilter_Click);
			// 
			// btnEdge
			// 
			this->btnEdge->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnEdge->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnEdge->Location = System::Drawing::Point(19, 229);
			this->btnEdge->Name = L"btnEdge";
			this->btnEdge->Size = System::Drawing::Size(121, 23);
			this->btnEdge->TabIndex = 3;
			this->btnEdge->Text = L"Edge Detction";
			this->btnEdge->UseVisualStyleBackColor = true;
			// 
			// btnLine
			// 
			this->btnLine->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnLine->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnLine->Location = System::Drawing::Point(19, 172);
			this->btnLine->Name = L"btnLine";
			this->btnLine->Size = System::Drawing::Size(121, 27);
			this->btnLine->TabIndex = 2;
			this->btnLine->Text = L"Line, Pixel Marker";
			this->btnLine->UseVisualStyleBackColor = true;
			// 
			// btnHistogram
			// 
			this->btnHistogram->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnHistogram->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnHistogram->Location = System::Drawing::Point(19, 109);
			this->btnHistogram->Name = L"btnHistogram";
			this->btnHistogram->Size = System::Drawing::Size(121, 23);
			this->btnHistogram->TabIndex = 1;
			this->btnHistogram->Text = L"Histogram";
			this->btnHistogram->UseVisualStyleBackColor = true;
			this->btnHistogram->Click += gcnew System::EventHandler(this, &Form1::btnHistogram_Click);
			// 
			// btnStat
			// 
			this->btnStat->FlatStyle = System::Windows::Forms::FlatStyle::Flat;
			this->btnStat->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->btnStat->Location = System::Drawing::Point(19, 47);
			this->btnStat->Name = L"btnStat";
			this->btnStat->Size = System::Drawing::Size(121, 28);
			this->btnStat->TabIndex = 0;
			this->btnStat->Text = L"Image Statistics";
			this->btnStat->UseVisualStyleBackColor = true;
			this->btnStat->Click += gcnew System::EventHandler(this, &Form1::button1_Click_1);
			// 
			// panel4
			// 
			this->panel4->BackColor = System::Drawing::SystemColors::GradientActiveCaption;
			this->panel4->Controls->Add(this->lblWidth);
			this->panel4->Controls->Add(this->label11);
			this->panel4->Controls->Add(this->lblHeight);
			this->panel4->Controls->Add(this->label9);
			this->panel4->Location = System::Drawing::Point(556, 402);
			this->panel4->Name = L"panel4";
			this->panel4->Size = System::Drawing::Size(159, 133);
			this->panel4->TabIndex = 6;
			// 
			// lblWidth
			// 
			this->lblWidth->AutoSize = true;
			this->lblWidth->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lblWidth->Location = System::Drawing::Point(91, 59);
			this->lblWidth->Name = L"lblWidth";
			this->lblWidth->Size = System::Drawing::Size(43, 17);
			this->lblWidth->TabIndex = 3;
			this->lblWidth->Text = L"lbl12";
			// 
			// label11
			// 
			this->label11->AutoSize = true;
			this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label11->Location = System::Drawing::Point(71, 59);
			this->label11->Name = L"label11";
			this->label11->Size = System::Drawing::Size(28, 17);
			this->label11->TabIndex = 2;
			this->label11->Text = L" X ";
			// 
			// lblHeight
			// 
			this->lblHeight->AutoSize = true;
			this->lblHeight->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lblHeight->Location = System::Drawing::Point(36, 59);
			this->lblHeight->Name = L"lblHeight";
			this->lblHeight->Size = System::Drawing::Size(43, 17);
			this->lblHeight->TabIndex = 1;
			this->lblHeight->Text = L"lbl10";
			// 
			// label9
			// 
			this->label9->AutoSize = true;
			this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label9->Location = System::Drawing::Point(36, 19);
			this->label9->Name = L"label9";
			this->label9->Size = System::Drawing::Size(87, 17);
			this->label9->TabIndex = 0;
			this->label9->Text = L"Image Size";
			// 
			// panel3
			// 
			this->panel3->BackColor = System::Drawing::SystemColors::GradientActiveCaption;
			this->panel3->Controls->Add(this->label8);
			this->panel3->Controls->Add(this->lblStdv);
			this->panel3->Controls->Add(this->label6);
			this->panel3->Controls->Add(this->lblMedian);
			this->panel3->Controls->Add(this->label4);
			this->panel3->Controls->Add(this->lblMode);
			this->panel3->Controls->Add(this->label2);
			this->panel3->Controls->Add(this->lblMean);
			this->panel3->Location = System::Drawing::Point(13, 402);
			this->panel3->Name = L"panel3";
			this->panel3->Size = System::Drawing::Size(537, 133);
			this->panel3->TabIndex = 7;
			// 
			// label8
			// 
			this->label8->AutoSize = true;
			this->label8->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label8->Location = System::Drawing::Point(365, 60);
			this->label8->Name = L"label8";
			this->label8->Size = System::Drawing::Size(52, 17);
			this->label8->TabIndex = 7;
			this->label8->Text = L"label8";
			// 
			// lblStdv
			// 
			this->lblStdv->AutoSize = true;
			this->lblStdv->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lblStdv->Location = System::Drawing::Point(204, 60);
			this->lblStdv->Name = L"lblStdv";
			this->lblStdv->Size = System::Drawing::Size(166, 17);
			this->lblStdv->TabIndex = 6;
			this->lblStdv->Text = L"Standard Devaition = ";
			// 
			// label6
			// 
			this->label6->AutoSize = true;
			this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label6->Location = System::Drawing::Point(280, 19);
			this->label6->Name = L"label6";
			this->label6->Size = System::Drawing::Size(52, 17);
			this->label6->TabIndex = 5;
			this->label6->Text = L"label6";
			// 
			// lblMedian
			// 
			this->lblMedian->AutoSize = true;
			this->lblMedian->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->lblMedian->Location = System::Drawing::Point(204, 19);
			this->lblMedian->Name = L"lblMedian";
			this->lblMedian->Size = System::Drawing::Size(79, 17);
			this->lblMedian->TabIndex = 4;
			this->lblMedian->Text = L"Median = ";
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));
			this->label4->Location = System::Drawing::Point(92, 60);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(52, 17);
			this->label4->TabIndex = 3;
			this->label4->Text = L"label4";
			// 
			// lblMode
			// 
			this->lblMode->AutoSize = true;
			this->lblMode->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 10, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(0)));

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -