电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

图象浏览处理器VIP免费

图象浏览处理器_第1页
1/32
图象浏览处理器_第2页
2/32
图象浏览处理器_第3页
3/32
图象浏览处理器作者:吴坚等图象浏览处理小工具直接打开后图片后就可以对图片进行处理,源图象与处理后图象同时出现,并对处理过程采取动态化,简单,易用,但是资源占用过高的问题目前没有解决,对大图片处理有时会有错误发生.软件运行需求:.net1.0或更高环境下运行,基于studio2003开发,C#语言设计思路:使用CDI+显示处理多种格式的图象文件,使用Widows的PictureBox控件,在窗体上加载和显示图片,同时用mainMenu控件进行菜单的设计.进行处理时用Bitmap封装GDI+位图,用MenuItem_Click进行事件发生的处理,用openFileDialog和saveFileDialog控件进行图象的保存和打开.处理方法:图象处理是对一幅彩色图象的各种象素进行变换并依变换后的新象素值进行重新显示.使用Bitmap类的GetPixel方法获取图象上指定象素的颜色值,并参考目前已有的算法对图象进行处理,然后用FromArgb方法创建Color结构,再用Bitmap类的SetPixel方法设置象素,则处理完成.完成情况目前已经具备反色,平滑处理,霓虹处理,边缘检测等基本处理.程序主要代码:Form1.csusingSystem;usingSystem.Drawing;usingSystem.Collections;usingSystem.ComponentModel;usingSystem.Windows.Forms;usingSystem.Data;usingSystem.Text;usingSystem.Globalization;namespaceWindowsApplication1{//////Form1的摘要说明。///publicclassForm1:System.Windows.Forms.Form{privateSystem.Windows.Forms.MainMenumainMenu1;privateSystem.Windows.Forms.MenuItemmenuItem1;privateSystem.Windows.Forms.MenuItemmenuItem2;privateSystem.Windows.Forms.MenuItemmenuItem3;privateSystem.Windows.Forms.MenuItemmenuItem4;privateSystem.Windows.Forms.PictureBoxpictureBox1;privateSystem.Windows.Forms.PictureBoxpictureBox2;privateSystem.Windows.Forms.MenuItemmenuItem5;privateSystem.Windows.Forms.MenuItemmenuItem6;privateSystem.Windows.Forms.OpenFileDialogopenFileDialog1;privateSystem.Windows.Forms.SaveFileDialogsaveFileDialog1;privateSystem.Windows.Forms.MenuItemmenuItem7;privateSystem.Windows.Forms.MenuItemmenuItem8;privateSystem.Windows.Forms.MenuItemmenuItem9;privateSystem.Windows.Forms.MenuItemmenuItem10;privateSystem.Windows.Forms.MenuItemmenuItem11;privateSystem.Windows.Forms.MenuItemmenuItem12;privateSystem.Windows.Forms.MenuItemmenuItem13;privateSystem.Windows.Forms.MenuItemmenuItem14;privateSystem.Windows.Forms.MenuItemmenuItem15;privateSystem.Windows.Forms.MenuItemmenuItem16;privateSystem.Windows.Forms.MenuItemmenuItem17;privateSystem.Windows.Forms.MenuItemmenuItem18;privateSystem.Windows.Forms.MenuItemmenuItem20;privateSystem.Windows.Forms.Labellabel1;privateSystem.Windows.Forms.Labellabel2;privateSystem.Windows.Forms.MenuItemmenuItem19;privateSystem.Windows.Forms.MenuItemmenuItem21;privateSystem.Windows.Forms.MenuItemmenuItem22;privateSystem.Windows.Forms.MenuItemmenuItem23;privateSystem.Windows.Forms.MenuItemmenuItem24;privateSystem.Windows.Forms.MenuItemmenuItem25;//////必需的设计器变量。///privateSystem.ComponentModel.Containercomponents=null;publicForm1(){////Windows窗体设计器支持所必需的//InitializeComponent();////TODO:在InitializeComponent调用后添加任何构造函数代码//}//////清理所有正在使用的资源。///protectedoverridevoidDispose(booldisposing){if(disposing){if(components!=null){components.Dispose();}}base.Dispose(disposing);}#regionWindows窗体//////privatevoidInitializeComponent(){System.Resources.ResourceManagerresources=newSystem.Resources.ResourceManager(typeof(Form1));this.mainMenu1=newSystem.Windows.Forms.MainMenu();this.menuItem1=newSystem.Windows.Forms.MenuItem();this.men...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

图象浏览处理器

您可能关注的文档

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部