- 博客(12)
- 资源 (1)
- 收藏
- 关注
原创 前面几个类的基类ImageInfo
public class ImageInfo { /// /// 每像素字节数 BytesPerPixel /// public const int BPP = 4; }
2006-07-05 20:07:00 1380
原创 边缘检测类(包括Roberts, Sobel, Prewitt, Kirsch等算子的边缘检测算法)
public class EdgeDetect : ImageInfo { /************************************************************ * * Roberts, Sobel, Prewitt, Kirsch, GaussLaplacian * 水平检测、垂直检测、
2006-07-05 20:04:00 10565 5
原创 颜色翻转模块
#region 颜色翻转 public Bitmap Invert(Bitmap b) { int width = b.Width; int height = b.Height; BitmapData data = b.LockBits(new Rectangle(0, 0, width, heig
2006-07-05 20:03:00 944 2
转载 前面几个模块用到的公共类Matrix3x3
public class Matrix3x3 { int topLeft = 0, topMid = 0, topRight = 0; int midLeft = 0, center = 1, midRight = 0; int bottomLeft = 0, bottomMid = 0, bottomRight = 0; in
2006-07-05 20:00:00 1769 1
原创 锐化模块
#region 锐化模块 public Bitmap Sharpen(Bitmap b) { Matrix3x3 m = new Matrix3x3(); m.Init(0); m.Scale = 1; m.TopMid = m.MidLeft = m.MidRight = m
2006-07-05 19:58:00 902
原创 高斯模糊模块
#region 高斯模糊模块 public Bitmap GaussBlur(Bitmap b) { Matrix3x3 m = new Matrix3x3(); m.Init(1); m.Scale = 16; m.TopMid = m.MidLeft = m.MidRigh
2006-07-05 19:56:00 1732
原创 平滑处理模块
#region 平滑处理模块 public Bitmap Smooth(Bitmap b) { Matrix3x3 m = new Matrix3x3(); m.Init(1); m.Scale = 9; return m.Convolute(b); }
2006-07-05 19:55:00 925
原创 图像的二值化模块(固定阈值法和Otsu阈值法)
#region 固定阈值法二值化模块 public Bitmap Threshoding(Bitmap b, byte threshold) { int width = b.Width; int height = b.Height; BitmapData data = b.LockBits(
2006-07-05 19:52:00 3759 1
原创 图像的灰度化模块
public Bitmap Gray(Bitmap b) { int width = b.Width; int height = b.Height; BitmapData data = b.LockBits(new Rectangle(0, 0, width, height), ImageLockMode.ReadWr
2006-07-05 19:49:00 1600
原创 图像的打开和保存
//打开图像模块 picBox.Refresh(); openFileDialog1.InitialDirectory = "."; if (openFileDialog1.ShowDialog() == DialogResult.OK) { string srcFileNam
2006-07-05 19:47:00 960 2
javaBean自动生成工具,jdbc连接池封装
2017-05-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人