摘要:
绘制图像灰度直方图在绘制图像灰度时我们要考虑到在WinForm中坐标轴的走向,左上角为原点,向右为X轴,向下为Y轴private void btnImageOperation_Click( object sender, EventArgs e ) { int height = this.pbImageOld.Image.Height; int width = this.pbImageOld.Image.Width; int[]imageArr=new int[256]; for (int i ... 阅读全文