资源简介
灰度图像和彩色图像关于水平和垂直的镜像
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Mirror
{
public partial class Form1 : Form
{
string _fileName;
Bitmap _bitMap;
public Form1()
{
InitializeComponent();
}
private void open_Click(object sender EventArgs e)
{
OpenFileDialog openDlg = new OpenFileDialog();
openDlg.title = “打开图片“;
openDlg.InitialDirectory = @“D:\Desktop\C#测试专用文件夹\数字图像处理的所有图片“;
openDlg.Filter = “图片|*.tif;*.png;*.jpg|所有文件|*.*“;
if (openDlg.ShowDialog()==DialogResult.OK)
{
_fileName = openDlg.FileName;
_bitMap = (Bitmap)Image.FromFile(_fileName);
pictureBox1.Image = _bitMap;
}
}
private void close_Click(object sender EventArgs e)
{
this.Close();
}
private void mirror_Click(object sender EventArgs e)
{
PictureMirror pm = new PictureMirror(_bitMappictureBox2);
pm.Show();
}
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 187 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\App.config
文件 13824 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.exe
文件 187 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.exe.config
文件 34304 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.pdb
文件 24224 2017-12-22 16:27 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.vshost.exe
文件 187 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.vshost.exe.config
文件 490 2010-03-17 22:39 4.2图像镜像\Mirror\Mirror\bin\Debug\Mirror.vshost.exe.manifest
文件 1356 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\Form1.cs
文件 4791 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\Form1.Designer.cs
文件 5817 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\Form1.resx
文件 4136 2017-12-21 17:23 4.2图像镜像\Mirror\Mirror\Mirror.csproj
文件 1453 2017-12-22 09:39 4.2图像镜像\Mirror\Mirror\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 7180 2017-12-21 17:16 4.2图像镜像\Mirror\Mirror\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 1285 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.csproj.FileListAbsolute.txt
文件 1043 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.csproj.GenerateResource.Cache
文件 2211 2017-12-21 17:06 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.csprojResolveAssemblyReference.cache
文件 13824 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.exe
文件 180 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.Form1.resources
文件 34304 2017-12-22 16:28 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.pdb
文件 180 2017-12-21 20:37 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.PictureMirror.resources
文件 180 2017-12-21 17:23 4.2图像镜像\Mirror\Mirror\obj\Debug\Mirror.Properties.Resources.resources
文件 0 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
文件 0 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
文件 0 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
文件 5735 2017-12-22 16:27 4.2图像镜像\Mirror\Mirror\PictureMirror.cs
文件 4608 2017-12-21 20:37 4.2图像镜像\Mirror\Mirror\PictureMirror.Designer.cs
文件 5817 2017-12-21 20:37 4.2图像镜像\Mirror\Mirror\PictureMirror.resx
文件 518 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\Program.cs
文件 1354 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\Properties\AssemblyInfo.cs
文件 2864 2017-12-21 16:54 4.2图像镜像\Mirror\Mirror\Properties\Resources.Designer.cs
............此处省略19个文件信息
评论
共有 条评论