自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 利用JDBC连接池封装类自动根据mysql数据库生成对应的model类

根据数据库表自动生成对应的Model实体类,完全模仿手写。

2017-05-27 17:40:14 836

原创 JDBC 连接池封装

jdbc

2017-05-27 16:30:33 1311

原创 前面几个类的基类ImageInfo

  public class ImageInfo    {        ///         /// 每像素字节数 BytesPerPixel        ///         public const int BPP = 4;            } 

2006-07-05 20:07:00 1373

原创 边缘检测类(包括Roberts, Sobel, Prewitt, Kirsch等算子的边缘检测算法)

 public class EdgeDetect : ImageInfo    {        /************************************************************         *          * Roberts, Sobel, Prewitt, Kirsch, GaussLaplacian         * 水平检测、垂直检测、

2006-07-05 20:04:00 10535 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 934 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 1760 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 896

原创 高斯模糊模块

 #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 1727

原创 平滑处理模块

#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 917

原创 图像的二值化模块(固定阈值法和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 3751 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 1592

原创 图像的打开和保存

 //打开图像模块           picBox.Refresh();            openFileDialog1.InitialDirectory = ".";            if (openFileDialog1.ShowDialog() == DialogResult.OK)            {                string srcFileNam

2006-07-05 19:47:00 950 2

javaBean自动生成工具,jdbc连接池封装

根据mysql数据库自动生成对应的javabean,附带jdbc连接池工具类封装,支持Resultset转List javabean对象

2017-05-27

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除