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

📄 用c#实现的图象处理(源代码)------正在更新中! - lijigang1982的专栏 - csdnblog.htm

📁 CS中一个关于图象处理的程序集合是一个好
💻 HTM
📖 第 1 页 / 共 5 页
字号:
<UL class=list>
  <LI class=listitem><A 
  href="http://blog.csdn.net/lijigang1982/Gallery/149988.aspx">文章用图</A>
  <LI class=listitem><A 
  href="http://blog.csdn.net/lijigang1982/Gallery/149989.aspx">我的像册</A></LI></UL></DIV>
<DIV class=sidebarItem>
<H3 class=listtitle>我经常去的Space</H3>
<UL class=list>
  <LI class=listitem><A href="http://spaces.msn.com/members/kkc611hk/" 
  target=_blank>《大长今》专题</A>
  <LI class=listitem><A href="http://blog.csdn.net/net_lover" 
  target=_self>孟子E章</A>
  <LI class=listitem><A href="http://spaces.msn.com/members/liaowanxin520/" 
  target=_blank>宝宝的家</A>
  <LI class=listitem><A href="http://lijigang1982.cnblogs.com/" 
  target=_self>李计刚的又一据点</A></LI></UL></DIV>
<DIV class=sidebarItem>
<H3 class=listtitle>友人的Blog!</H3>
<UL class=list>
  <LI class=listitem><A href="http://blog.csdn.net/chengking/" 
  target=_self>ChengKing(bantamweight) 的专栏</A>
  <LI class=listitem><A 
  href="http://epan.cnblogs.com/archive/2005/08/27/98175.html" 
  target=_self>epan's diary</A>
  <LI class=listitem><A href="http://lisugar.cnblogs.com/category/13490.html" 
  target=_self>lisugar</A>
  <LI class=listitem><A href="http://www.54bk.com/blog.asp?name=yuexb" 
  target=_self>游来游去的游</A>
  <LI class=listitem><A 
  href="http://www.linuxeden.com/forum/blog/index.php?blogId=102235" 
  target=_blank>老虎不吃人</A></LI></UL></DIV>
<DIV class=sidebarItem>
<H3 class=listtitle>存档</H3>
<UL class=list>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/09.aspx">2006年09月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/08.aspx">2006年08月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/07.aspx">2006年07月(2)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/06.aspx">2006年06月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/04.aspx">2006年04月(3)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/03.aspx">2006年03月(7)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2006/02.aspx">2006年02月(1)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2005/12.aspx">2005年12月(2)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2005/11.aspx">2005年11月(7)</A>
  <LI><A 
  href="http://blog.csdn.net/lijigang1982/archive/2005/10.aspx">2005年10月(10)</A></LI></UL></DIV>
<H3 class=listtitle id=recentCommentCaption>最近评论</H3>
<UL class=list id=recentComment>
  <LI class=listitem>EnterBD:<A title=点击查看《对安装QQ高版本导致键盘锁定问题的探讨》 
  href="http://blog.csdn.net/lijigang1982/archive/2006/03/23/636211.aspx">是啊,登陆是没有问题,但是安全却是个问题了....QQ的这个保护机制能很清楚的告诉你你有没有中qq木马类问题,本来是没有小红叉的,如果出现了小红叉,说明你中了qq木马了,目前还没有一款qq木马,能在这个保护机制正常的情况下截取到qq的密码,你自己手动删除了这个功能的话,相当于给偷qq的人行了个方便,具体解决方法还是得靠腾讯,他们开发了密码保护机制,却不能让用户稳定的使用,真的烦啊......……</A>
  <LI class=listitem>123:<A title=点击查看《用C#实现的图象处理(源代码)------正在更新中!》 
  href="http://blog.csdn.net/lijigang1982/archive/2005/10/22/513854.aspx">321321321</A>
  <LI class=listitem>sjdydmm:<A title=点击查看《用asp.net和c#做个简易的Blog》 
  href="http://blog.csdn.net/lijigang1982/archive/2006/04/01/647279.aspx">我也在学习asp.net和c#是学生 
  你写的代码没看家年在哪下载啊 <BR>能不能发给我啊:sjdydmm@yahoo.com.cn</A>
  <LI class=listitem>李计刚:<A title=点击查看《在图象上书写文字或绘图》 
  href="http://blog.csdn.net/lijigang1982/archive/2005/11/20/533404.aspx">这个代码是说依据image的Graphics.FromImage()生成一个Graphics的对象,然后在坐标(5,5)~(100,30)之间以白色画笔填充矩形再在同样区域绘制个矩形.</A>
  <LI class=listitem>??????????:<A title=点击查看《在图象上书写文字或绘图》 
  href="http://blog.csdn.net/lijigang1982/archive/2005/11/20/533404.aspx">Dim g 
  As Graphics = Graphics.FromImage(i) <BR>g.FillRectangle(Brushes.White, 5, 5, 
  100, 30) <BR>g.DrawRectangle(Pens.DarkBlue, 5, 5, 100, 30) 
<BR>是什么意思呀?</A></LI></UL><BR><BR></DIV>
<DIV id=main>
<DIV class=Tag>
<SCRIPT language=javascript 
src="用C#实现的图象处理(源代码)------正在更新中! - lijigang1982的专栏 - CSDNBlog.files/urltag.aspx"></SCRIPT>

<DIV style="CLEAR: both"></DIV></DIV>
<SCRIPT>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no,width=475,height=575,left=75,top=20,status=no,resizable=yes'));keyit.focus();}</SCRIPT>

<DIV class=post>
<DIV class=postTitle><A 
href="http://blog.csdn.net/lijigang1982/archive/2005/10/22/513854.aspx"><IMG 
height=13 
src="用C#实现的图象处理(源代码)------正在更新中! - lijigang1982的专栏 - CSDNBlog.files/authorship.gif" 
width=15 border=0>&nbsp;用C#实现的图象处理(源代码)------正在更新中!</A> </DIV>
<DIV class=postText>
<P>//以下是form1.cs部分!</P>
<P>using System;<BR>using System.Drawing;<BR>using System.Collections;<BR>using 
System.ComponentModel;<BR>using System.Windows.Forms;<BR>using 
System.Data;<BR>using System.Drawing.Drawing2D;<BR>using 
System.Drawing.Imaging;<BR>using System.Drawing.Text;<BR>namespace 
李计刚的数字图象处理作业<BR>{<BR>&nbsp;/// &lt;summary&gt;<BR>&nbsp;/// Form1 
的摘要说明。<BR>&nbsp;/// &lt;/summary&gt;<BR>&nbsp;public class Form1 : 
System.Windows.Forms.Form<BR>&nbsp;{<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MainMenu mainMenu1;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem1;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem2;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem3;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem4;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem5;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem6;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem7;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem8;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem9;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem10;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem11;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem12;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem13;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem14;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem15;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem16;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem17;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem18;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.OpenFileDialog openFileDialog1;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.SaveFileDialog saveFileDialog1;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.PictureBox pictureBox1;<BR>&nbsp;&nbsp;private 
System.Windows.Forms.MenuItem menuItem19;<BR>&nbsp;&nbsp;private 
System.Drawing.Bitmap m_bitmap;<BR>&nbsp;&nbsp;private System.Drawing.Bitmap 
m_copybitmap;//对当前打开文件的备份<BR>&nbsp;&nbsp;private System.Windows.Forms.Label 
label1;<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem20;<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem21;<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem22;<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem23;//用于判断图象是否被修改过!<BR>&nbsp;&nbsp;private int 
brightness;//获取亮度属性!<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem24;<BR>&nbsp;&nbsp;private System.Windows.Forms.MenuItem 
menuItem25;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /// 
&lt;summary&gt;<BR>&nbsp;&nbsp;/// 必需的设计器变量。<BR>&nbsp;&nbsp;/// 
&lt;/summary&gt;<BR>&nbsp;&nbsp;private System.ComponentModel.Container 
components = null;</P>
<P>&nbsp;&nbsp;public 
Form1()<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;// Windows 
窗体设计器支持所必需的<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;InitializeComponent();</P>
<P>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;// TODO: 在 InitializeComponent 
调用后添加任何构造函数代码<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;}</P>
<P>&nbsp;&nbsp;/// &lt;summary&gt;<BR>&nbsp;&nbsp;/// 
清理所有正在使用的资源。<BR>&nbsp;&nbsp;/// &lt;/summary&gt;<BR>&nbsp;&nbsp;protected 
override void Dispose( bool disposing 
)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;if( disposing 
)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (components != null) 
<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;components.Dispose();<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;base.Dispose( 
disposing );<BR>&nbsp;&nbsp;}</P>
<P>&nbsp;&nbsp;#region Windows 窗体设计器生成的代码<BR>&nbsp;&nbsp;/// 
&lt;summary&gt;<BR>&nbsp;&nbsp;/// 设计器支持所需的方法 - 不要使用代码编辑器修改<BR>&nbsp;&nbsp;/// 
此方法的内容。<BR>&nbsp;&nbsp;/// &lt;/summary&gt;<BR>&nbsp;&nbsp;private void 
InitializeComponent()<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;this.mainMenu1 = new 
System.Windows.Forms.MainMenu();<BR>&nbsp;&nbsp;&nbsp;this.menuItem1 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem16 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem17 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem25 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem18 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem2 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem6 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem7 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem8 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem20 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem21 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem22 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem23 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem24 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem3 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem9 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem10 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem11 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem12 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem13 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem14 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem4 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem15 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem5 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.menuItem19 = new 
System.Windows.Forms.MenuItem();<BR>&nbsp;&nbsp;&nbsp;this.openFileDialog1 = new 
System.Windows.Forms.OpenFileDialog();<BR>&nbsp;&nbsp;&nbsp;this.saveFileDialog1 
= new 
System.Windows.Forms.SaveFileDialog();<BR>&nbsp;&nbsp;&nbsp;this.pictureBox1 = 
new System.Windows.Forms.PictureBox();<BR>&nbsp;&nbsp;&nbsp;this.label1 = new 
System.Windows.Forms.Label();<BR>&nbsp;&nbsp;&nbsp;this.SuspendLayout();<BR>&nbsp;&nbsp;&nbsp;// 
<BR>&nbsp;&nbsp;&nbsp;// mainMenu1<BR>&nbsp;&nbsp;&nbsp;// 
<BR>&nbsp;&nbsp;&nbsp;this.mainMenu1.MenuItems.AddRange(new 
System.Windows.Forms.MenuItem[] 
{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
this.menuItem1,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
this.menuItem2,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
this.menuItem3,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
this.menuItem4,<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 

⌨️ 快捷键说明

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